(svn r5919) -Cleanup: use the type Date when the variable really is a date

This commit is contained in:
rubidium
2006-08-15 16:55:40 +00:00
parent 1cc6e186f0
commit a0b4a29a57
8 changed files with 18 additions and 18 deletions

View File

@@ -74,7 +74,7 @@ typedef struct RoadVehicleInfo {
* @see table/engines.h
*/
typedef struct EngineInfo {
uint16 base_intro;
Date base_intro;
byte unk2; ///< Carriages have the highest bit set in this one
byte lifelength;
byte base_life;
@@ -87,8 +87,8 @@ typedef struct EngineInfo {
} EngineInfo;
typedef struct Engine {
uint16 intro_date;
uint16 age;
Date intro_date;
Date age;
uint16 reliability;
uint16 reliability_spd_dec;
uint16 reliability_start, reliability_max, reliability_final;