462 EXPENSES_SHIP_INC = 10, |
462 EXPENSES_SHIP_INC = 10, |
463 EXPENSES_LOAN_INT = 11, |
463 EXPENSES_LOAN_INT = 11, |
464 EXPENSES_OTHER = 12, |
464 EXPENSES_OTHER = 12, |
465 }; |
465 }; |
466 |
466 |
|
467 enum { |
|
468 MAX_LANG = 64, |
|
469 }; |
|
470 |
467 // special string constants |
471 // special string constants |
468 enum SpecialStrings { |
472 enum SpecialStrings { |
469 |
473 |
470 // special strings for town names. the town name is generated dynamically on request. |
474 // special strings for town names. the town name is generated dynamically on request. |
471 SPECSTR_TOWNNAME_START = 0x20C0, |
475 SPECSTR_TOWNNAME_START = 0x20C0, |
504 |
508 |
505 SPECSTR_ANDCO_NAME = 0x70E6, |
509 SPECSTR_ANDCO_NAME = 0x70E6, |
506 SPECSTR_PRESIDENT_NAME = 0x70E7, |
510 SPECSTR_PRESIDENT_NAME = 0x70E7, |
507 SPECSTR_SONGNAME = 0x70E8, |
511 SPECSTR_SONGNAME = 0x70E8, |
508 |
512 |
509 // reserve 32 strings for the *.lng files |
513 // reserve MAX_LANG strings for the *.lng files |
510 SPECSTR_LANGUAGE_START = 0x7100, |
514 SPECSTR_LANGUAGE_START = 0x7100, |
511 SPECSTR_LANGUAGE_END = 0x711f, |
515 SPECSTR_LANGUAGE_END = SPECSTR_LANGUAGE_START + MAX_LANG - 1, |
512 |
516 |
513 // reserve 32 strings for various screen resolutions |
517 // reserve 32 strings for various screen resolutions |
514 SPECSTR_RESOLUTION_START = 0x7120, |
518 SPECSTR_RESOLUTION_START = SPECSTR_LANGUAGE_END + 1, |
515 SPECSTR_RESOLUTION_END = 0x713f, |
519 SPECSTR_RESOLUTION_END = SPECSTR_RESOLUTION_START + 0x1F, |
516 |
520 |
517 // reserve 32 strings for screenshot formats |
521 // reserve 32 strings for screenshot formats |
518 SPECSTR_SCREENSHOT_START = 0x7140, |
522 SPECSTR_SCREENSHOT_START = SPECSTR_RESOLUTION_END + 1, |
519 SPECSTR_SCREENSHOT_END = 0x715F, |
523 SPECSTR_SCREENSHOT_END = SPECSTR_SCREENSHOT_START + 0x1F, |
520 |
524 |
521 // Used to implement SetDParamStr |
525 // Used to implement SetDParamStr |
522 STR_SPEC_DYNSTRING = 0xF800, |
526 STR_SPEC_DYNSTRING = 0xF800, |
523 STR_SPEC_USERSTRING = 0xF808, |
527 STR_SPEC_USERSTRING = 0xF808, |
524 }; |
528 }; |