(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.
This commit is contained in:
@@ -1929,7 +1929,8 @@ static const SaveLoad _industry_desc[] = {
|
||||
SLE_VAR(Industry,type, SLE_UINT8),
|
||||
SLE_VAR(Industry,owner, SLE_UINT8),
|
||||
SLE_VAR(Industry,color_map, SLE_UINT8),
|
||||
SLE_VAR(Industry,last_prod_year, SLE_UINT8),
|
||||
SLE_CONDVAR(Industry, last_prod_year, SLE_FILE_U8 | SLE_VAR_I32, 0, 30),
|
||||
SLE_CONDVAR(Industry, last_prod_year, SLE_INT32, 31, SL_MAX_VERSION),
|
||||
SLE_VAR(Industry,was_cargo_delivered,SLE_UINT8),
|
||||
|
||||
// reserve extra space in savegame here. (currently 32 bytes)
|
||||
|
||||
Reference in New Issue
Block a user