diff --git a/Aquaria/DSQ.cpp b/Aquaria/DSQ.cpp index d56c7d9..ea09d97 100644 --- a/Aquaria/DSQ.cpp +++ b/Aquaria/DSQ.cpp @@ -673,9 +673,9 @@ static void loadBitForSoundCache() { if (soundsLoaded > 0 && soundsLoaded < soundsExpected) { - // Only update every 4 sounds so we don't waste too much + // Only update every few sounds so we don't waste too much // time waiting for vsync. - if (soundsLoaded % 4 == 0) + if (soundsLoaded % 16 == 0) { loadBit(LOAD_SOUNDCACHE, (float)soundsLoaded / soundsExpected); @@ -685,12 +685,12 @@ static void loadBitForSoundCache() } static unsigned int texturesLoaded = 0; -static const unsigned int texturesExpected = 652; +static const unsigned int texturesExpected = 663; static void loadBitForTexPrecache() { if (texturesLoaded > 0 && texturesLoaded < texturesExpected) { - if (texturesLoaded % 16 == 0) + if (texturesLoaded % 32 == 0) { loadBit(LOAD_TEXTURES, (float)texturesLoaded / texturesExpected); diff --git a/files/data/precache.txt b/files/data/precache.txt new file mode 100644 index 0000000..91c340e --- /dev/null +++ b/files/data/precache.txt @@ -0,0 +1,41 @@ +gui/*.png +gui/worldmap/*.png +gui/minimap/*.png +particles/*.png +naija/*.png +song/*.png +shots/*.png +ingredients/*.png +gems/*.png +collectibles/*.png +missingImage +menu +glow +shock-lines +gameover-0001 +gameover-0002 +gameover-0003 +gameover-0004 +bubble +font +manaballLines +manaballRing +glint +menu2 +cursor +cursor-sing +cursor-swim +cursor-burst +cursor-look +Aquarian +fish-0002 +damage +fader +mouse-leftbutton +mouse-rightbutton +mouse-middlebutton +mouse-body +water/water-line +areyousure +yes +no \ No newline at end of file