1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-12 09:09:09 +00:00

(svn r1768) -Codechange: Store town index in _map2 of town tiles

Moved house type from _map2 to _map3_hi for MP_HOUSE
  Moved foundation and roadworks from _map2 to _map3 for
MP_STREET
  This increases game speed by a factor of around 15(!) if many cities are around.
  Converting an old game is done automagically, but can take a while
This commit is contained in:
celestar
2005-02-02 14:17:13 +00:00
parent 03095f85bc
commit 30a328705e
5 changed files with 77 additions and 37 deletions

View File

@@ -8,7 +8,7 @@
enum {
SAVEGAME_MAJOR_VERSION = 6,
SAVEGAME_MINOR_VERSION = 0,
SAVEGAME_MINOR_VERSION = 1,
SAVEGAME_LOADABLE_VERSION = (SAVEGAME_MAJOR_VERSION << 8) + SAVEGAME_MINOR_VERSION
};