(svn r8969) -Codechange: rework of the player face bits.

- introduce a new format (with backward compatability) that is more clear and needs a much simpler face drawer
 - replace tons of ifs/switches/magic numbers by table lookups
This commit is contained in:
rubidium
2007-03-02 01:17:11 +00:00
parent f414b1d8e2
commit 5b4b9cbd5c
13 changed files with 287 additions and 127 deletions

View File

@@ -106,9 +106,6 @@ static inline TileIndex RandomTile(void) { return TILE_MASK(Random()); }
uint32 InteractiveRandom(void); // Used for random sequences that are not the same on the other end of the multiplayer link
uint InteractiveRandomRange(uint max);
/* facedraw.cpp */
void DrawPlayerFace(uint32 face, int color, int x, int y);
/* texteff.cpp */
void MoveAllTextEffects(void);
void AddTextEffect(StringID msg, int x, int y, uint16 duration);