mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-25 09:44:02 +00:00
update precacher.txt, file is now in the repo, and speedup loading a little bit more on slow machines
This commit is contained in:
parent
e5fad1e72e
commit
263bff3659
2 changed files with 45 additions and 4 deletions
|
@ -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);
|
||||
|
|
41
files/data/precache.txt
Normal file
41
files/data/precache.txt
Normal file
|
@ -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
|
Loading…
Reference in a new issue