forked from len0rd/rockbox
Properly cache animations at level start. Switches still need some caching code. Added a debug cache flag for use in the sim to w_wad.c. Should be taken out when switches are handled.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9706 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
239564c80e
commit
08b417f149
3 changed files with 51 additions and 4 deletions
|
@ -95,8 +95,8 @@ typedef struct
|
|||
|
||||
#define MAXANIMS 32 // no longer a strict limit -- killough
|
||||
|
||||
static anim_t* lastanim;
|
||||
static anim_t* anims; // new structure w/o limits -- killough
|
||||
anim_t* lastanim;
|
||||
anim_t* anims; // new structure w/o limits -- killough
|
||||
static size_t maxanims;
|
||||
|
||||
// killough 3/7/98: Initialize generalized scrolling
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue