#pragma once #include //=========================== //======== playSound ======== //=========================== //abstract function that plays sound with provided path to .wav file //'wait' parameter blocks program until playback is finished (otherwise launched in another thread) int playSound(const char * filePath, bool wait); //========================== //===== playSoundAsync ===== //========================== //launches playSound in another thread to prevent delay //due to loading of wav file taking up to 300ms //(equivalent to playsound() with parameter wait=false) int playSoundAsync(const char *filePath);