(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:
@@ -362,7 +362,7 @@ void GenerateLandscapeWndProc(Window *w, WindowEvent *e)
|
||||
case 19: // Year text
|
||||
WP(w, def_d).data_3 = START_DATE_QUERY;
|
||||
SetDParam(0, _patches_newgame.starting_year);
|
||||
ShowQueryString(STR_CONFIG_PATCHES_INT32, STR_START_DATE_QUERY_CAPT, 5, 100, WC_GENERATE_LANDSCAPE, mode, CS_NUMERAL);
|
||||
ShowQueryString(STR_CONFIG_PATCHES_INT32, STR_START_DATE_QUERY_CAPT, 8, 100, WC_GENERATE_LANDSCAPE, mode, CS_NUMERAL);
|
||||
break;
|
||||
case 21: case 23: // Snow line buttons
|
||||
/* Don't allow too fast scrolling */
|
||||
@@ -629,7 +629,7 @@ void CreateScenarioWndProc(Window *w, WindowEvent *e)
|
||||
case 15: // Year text
|
||||
WP(w, def_d).data_3 = START_DATE_QUERY;
|
||||
SetDParam(0, _patches_newgame.starting_year);
|
||||
ShowQueryString(STR_CONFIG_PATCHES_INT32, STR_START_DATE_QUERY_CAPT, 5, 100, WC_GENERATE_LANDSCAPE, GLWP_SCENARIO, CS_NUMERAL);
|
||||
ShowQueryString(STR_CONFIG_PATCHES_INT32, STR_START_DATE_QUERY_CAPT, 8, 100, WC_GENERATE_LANDSCAPE, GLWP_SCENARIO, CS_NUMERAL);
|
||||
break;
|
||||
case 17: case 19: // Height level buttons
|
||||
/* Don't allow too fast scrolling */
|
||||
|
||||
Reference in New Issue
Block a user