summaryrefslogtreecommitdiff
path: root/engine.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2006-08-20 18:40:57 +0000
committerrubidium <rubidium@openttd.org>2006-08-20 18:40:57 +0000
commit28a08437075be6495df383ca854f6026965a8b8e (patch)
tree146ad5e3c72a49bcc04fae58e750b972f063d8c2 /engine.h
parent5e4667624e5093ea2b83bcdf63d836d1a34d46bc (diff)
downloadopenttd-28a08437075be6495df383ca854f6026965a8b8e.tar.xz
(svn r5999) -Feature: change the original date format to a 32 bits format based at the year 0.
The game date subsystem now allows someone to start in the year 0 and continue up to the year 5 000 000. However, you currently cannot build anything before 1920 as there is no newgrf support for dates before 1920 or after 2090 yet.
Diffstat (limited to 'engine.h')
-rw-r--r--engine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine.h b/engine.h
index c62c1900a..6df7c650a 100644
--- a/engine.h
+++ b/engine.h
@@ -76,8 +76,8 @@ typedef struct RoadVehicleInfo {
typedef struct EngineInfo {
Date base_intro;
byte unk2; ///< Carriages have the highest bit set in this one
- byte lifelength;
- byte base_life;
+ Year lifelength;
+ Year base_life;
byte railtype:4;
byte climates:4;
uint32 refit_mask;