diff options
author | rubidium <rubidium@openttd.org> | 2007-03-02 01:17:11 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-03-02 01:17:11 +0000 |
commit | ea319b78f80fb970b1f394cf0853bb03c12ba475 (patch) | |
tree | b045a4c93b01abf5447be66d16bd305c4e9dcb4f /src/functions.h | |
parent | 89d8f5f7b5376850e8d2f0c1b72253d012ed9bed (diff) | |
download | openttd-ea319b78f80fb970b1f394cf0853bb03c12ba475.tar.xz |
(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
Diffstat (limited to 'src/functions.h')
-rw-r--r-- | src/functions.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/functions.h b/src/functions.h index 4e1f3c216..f1d387885 100644 --- a/src/functions.h +++ b/src/functions.h @@ -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); |