Commit Graph

15 Commits (725cfc26d0a323b8649369c048acf6192d8875e4)

Author SHA1 Message Date
peter1138 82f38f45d3 (svn r4446) - Add function to determine if a Sprite ID exists. 18 years ago
Darkvater 4a58250cb9 (svn r2962) - const correctness for all Get* functions and most Draw* functions that don't change their pointer parameters
- change a lot of byte player types to PlayerID
- beautify header files, same "#endif /* filename */" ending
19 years ago
tron ab1990e5c0 (svn r2933) Implement the non-breaking space 19 years ago
tron a7d6b41c6a (svn r2866) Move all functions and tables which aren't directly involved in managing the sprite heap to a new file gfxinit.c.
This doesn't ease the global variable mess, but makes the distinction between sprite heap and gfx loading routines easier.
19 years ago
tron eb2dc7ef91 (svn r2845) Remove sprite size caching, it was unused
This makes GetSpriteDimension() superflous, because now it's just a thin wrapper around GetSprite() returning only part of the information, therefore remove it too
19 years ago
tron 689dc10b13 (svn r2833) Remove saving of sprite cache data:
the benefits are questionable, it's error prone, undocumented and hasn't been widely used for ages, if ever
19 years ago
tron 647cbd6bdd (svn r2701) Insert Id tags into all source files 19 years ago
tron 87be1312d2 (svn r2633) Move spritecache related variable from variables.h to spritecache.[ch] 19 years ago
tron 784420e706 (svn r2522) Reorganize sprite load and decompression in order to remove a special case from the sprite blitter, which decompressed certain sprites every time when blitting them 19 years ago
tron a011190723 (svn r1865) Fix some warnings 20 years ago
tron 9b0bad683d (svn r1861) Constify Get(Non)Sprite() 20 years ago
tron febe132c48 (svn r1860) The sprite header endianness issue was solved in r1855 20 years ago
tron 12c7e128a9 (svn r1856) Make GfxInitSpriteMem() static, because it's only used withing spritecache.c 20 years ago
tron d2703fd672 (svn r1854) Split GetSpritePtr() into GetSprite() for regular sprites (returning a Sprite*) and GetNonSprite() for "sprites" of type 0xFF (returning byte*) 20 years ago
tron 7cd19fe07a (svn r1853) Move spritecache function declarations into a header of their own and use SpriteID as parameter type where appropriate 20 years ago