From: drumsetmonkey Date: Wed, 9 Dec 2015 13:30:04 +0000 (-0500) Subject: Did Shit X-Git-Url: https://code.bitgloo.com/?a=commitdiff_plain;h=1d3ba18c99850996f0ba85d99e269270d42056bf;p=clyne%2Fgamedev.git Did Shit --- 1d3ba18c99850996f0ba85d99e269270d42056bf diff --cc main.cpp index e02677d,4cafc24..bde880d --- a/main.cpp +++ b/main.cpp @@@ -403,9 -403,6 +405,9 @@@ int main(/*int argc, char *argv[]*/) */ names = fopen("assets/names_en-us", "r+"); + + crickets=Mix_LoadWAV("assets/sounds/crickets.wav"); - Mix_Volume(3,25); ++ //Mix_Volume(2,25); /* * Create all the worlds, entities, mobs, and the player. This function is defined in @@@ -955,10 -955,8 +960,10 @@@ void logic() if(!(tickCount%DAY_CYCLE)||!tickCount){ if(weather==SUNNY){ weather=DARK; - Mix_PlayChannel(3,crickets,0); ++ Mix_PlayChannel(2,crickets,0); }else{ weather=SUNNY; - Mix_Pause(3); ++ Mix_Pause(2); } }