Commit Graph

15 Commits (179cd84cc35989570fbe6ae9c85fd61a07a145a7)

Author SHA1 Message Date
peter1138 4db1144b6d (svn r4446) - Add function to determine if a Sprite ID exists. 18 years ago
Darkvater 8e6a911700 (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 9de2c05c56 (svn r2933) Implement the non-breaking space 19 years ago
tron 19f5036c46 (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 e42b560049 (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 b101846d3b (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 a227065ab7 (svn r2701) Insert Id tags into all source files 19 years ago
tron c1da382e9a (svn r2633) Move spritecache related variable from variables.h to spritecache.[ch] 19 years ago
tron a06b2fdc44 (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 58c46bed40 (svn r1865) Fix some warnings 20 years ago
tron 9c99c7d11a (svn r1861) Constify Get(Non)Sprite() 20 years ago
tron 3a93a250b7 (svn r1860) The sprite header endianness issue was solved in r1855 20 years ago
tron 33cf096b03 (svn r1856) Make GfxInitSpriteMem() static, because it's only used withing spritecache.c 20 years ago
tron 94c75f33bb (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 2a151d9354 (svn r1853) Move spritecache function declarations into a header of their own and use SpriteID as parameter type where appropriate 20 years ago