(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 89d8f5f7b5
commit ea319b78f8
13 changed files with 287 additions and 127 deletions

View File

@@ -147,6 +147,7 @@ typedef struct PlayerAiNew {
} PlayerAiNew;
typedef uint32 PlayerFace;
typedef struct Player {
uint32 name_2;
@@ -155,7 +156,7 @@ typedef struct Player {
uint16 president_name_1;
uint32 president_name_2;
uint32 face;
PlayerFace face;
int32 player_money;
int32 current_loan;