(svn r13821) -Codechange: replace some uint8/bytes with more specificly named typedefs and replace a few magic numbers.

This commit is contained in:
rubidium
2008-07-25 10:00:03 +00:00
parent ff41af4b77
commit fae2695854
4 changed files with 8 additions and 6 deletions

View File

@@ -20,9 +20,9 @@ struct Engine : PoolItem<Engine, EngineID, &_Engine_pool> {
uint16 duration_phase_1, duration_phase_2, duration_phase_3;
byte lifelength;
byte flags;
uint8 preview_player_rank;
PlayerByte preview_player_rank;
byte preview_wait;
byte player_avail;
PlayerMask player_avail;
uint8 image_index; ///< Original vehicle image index
VehicleType type; ///< type, ie VEH_ROAD, VEH_TRAIN, etc.