diff options
author | frosch <frosch@openttd.org> | 2017-01-14 13:12:49 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2017-01-14 13:12:49 +0000 |
commit | ec9a920aab1af1001abb216a89cdc13e0ba1c3ab (patch) | |
tree | 08b793017fae46a658fda51e8e2d5720867335b2 /src/fios.h | |
parent | 6696e5c4e1aca4a928dc88656497c63b6ebda6fa (diff) | |
download | openttd-ec9a920aab1af1001abb216a89cdc13e0ba1c3ab.tar.xz |
(svn r27729) -Codechange: Do not count static NewGRF when checking for the maximum number of NewGRFs in a game.
-Codechange: Remove LAST_GRF_SLOT and MAX_NEWGRFS. Now NETWORK_MAX_GRF_COUNT is the only constant to specify the maximum number of non-static NewGRF.
-Codechange: Increase the number of file slots, effectively increasing the maximum number of static NewGRF and baseset GRFs.
Diffstat (limited to 'src/fios.h')
-rw-r--r-- | src/fios.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/fios.h b/src/fios.h index 51e0c275a..5e17e8ee1 100644 --- a/src/fios.h +++ b/src/fios.h @@ -81,20 +81,17 @@ extern LoadCheckData _load_check_data; enum FileSlots { /** - * Slot used for the GRF scanning and such. This slot cannot be reused - * as it will otherwise cause issues when pressing "rescan directories". - * It can furthermore not be larger than LAST_GRF_SLOT as that complicates - * the testing for "too much NewGRFs". + * Slot used for the GRF scanning and such. + * This slot is used for all temporary accesses to files when scanning/testing files, + * and thus cannot be used for files, which are continuously accessed during a game. */ CONFIG_SLOT = 0, /** Slot for the sound. */ SOUND_SLOT = 1, /** First slot usable for (New)GRFs used during the game. */ FIRST_GRF_SLOT = 2, - /** Last slot usable for (New)GRFs used during the game. */ - LAST_GRF_SLOT = 63, /** Maximum number of slots. */ - MAX_FILE_SLOTS = 64 + MAX_FILE_SLOTS = 128, }; /** Deals with finding savegames */ |