Commit Graph

62 Commits (f35a59fd3834f55bf6bbfac5c487affcc993475c)

Author SHA1 Message Date
frosch ec9a920aab (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.
8 years ago
alberth 0adfb1ac6f (svn r27653) -Fix(r27647): Rename FileOperation enum and values to SaveLoadOperation to avoid nameclash with windows compiler toolkit. 8 years ago
alberth df9a9f074a (svn r27649) -Codechange: Introduce detailed file type enum, rebuild FiosType with it. 8 years ago
alberth 88bdf482c0 (svn r27648) -Codechange: Remove remaining _saveload_mode usage. 8 years ago
alberth 75ad6d0100 (svn r27647) -Codechange: Introduce file operations, and use it to replace most of SaveLoadDialogMode 8 years ago
alberth 2d7201781b (svn r27646) -Codechange: Move _fios_items variable into the SaveLoadWindow class. 8 years ago
alberth d6cd3b1605 (svn r27644) -Codechange: Split GetFiosItem into BuildFileList and FindItem, and move both to FileList. 8 years ago
alberth caf3379746 (svn r27642) -Codechange: FiosGet* file query functions take a destination file list. 8 years ago
alberth bc08fe7c5f (svn r27641) -Codechange: Fold the _fios_items file list vector into its own class. 8 years ago
alberth 2fa0fdb176 (svn r27638) -Codechange: Move FiosType enum, move and rename SetFiosType function. 8 years ago
alberth 9135f7130e (svn r27635) -Codechange: Move FileType and FileToSaveLoad structure definitions. 8 years ago
alberth d6812947f3 (svn r27634) -Codechange: Improve name of the SmallFiosItem struct. 8 years ago
alberth a52864ef27 (svn r27633) -Codechange: Extract _saveload_mode use from BuildFileList 8 years ago
rubidium 21f991e235 (svn r26489) -Codechange: properly account for the end of buffers in the file io code instead of assuming MAX_PATH is okay 10 years ago
rubidium b3e93d6520 (svn r26057) -Fix: a number of possibly uninitialised variables 11 years ago
rubidium f292a87dc4 (svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w 11 years ago
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
rubidium 4563c50c91 (svn r24491) -Fix: compilation error with networking disabled 12 years ago
yexo fe31aa28c4 (svn r24487) -Codechange [FS#5236]: make several DoesContentExist return the path instead of a boolean (LordAro) 12 years ago
yexo 433f74edd9 (svn r23065) -Add: -q option to read a savegame, write some general info and exit 13 years ago
alberth c6f3ded6d5 (svn r22513) -Add: Allow for saving a heightmap from the file dialogue window. 13 years ago
alberth 1838225192 (svn r22511) -Add: Function to make heightmap file paths. 13 years ago
alberth f5637b7975 (svn r22500) -Doc: Fix and add fios doxygen documentation. 13 years ago
rubidium d74fc0bee3 (svn r21895) -Cleanup: get rid of the unused SLD_NEW_GAME 14 years ago
smatz 8909a5a2da (svn r20755) -Fix (r19975): small memory leak at program exit (happens only once) 14 years ago
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
frosch ff89345a5c (svn r19984) -Feature: Show some savegame details when selecting items in saveload GUIs. 14 years ago
frosch d9b4d92050 (svn r19981) -Add: Read NewGRF configuration during SL_LOAD_CHECK. 14 years ago
frosch 16618e6f16 (svn r19980) -Add: Load some general data from savegames on SL_LOAD_CHECK. 14 years ago
frosch 0270ca846e (svn r19978) -Add: Read settings during SL_LOAD_CHECK. 14 years ago
frosch 86244ad31e (svn r19977) -Add: Read current date during SL_LOAD_CHECK. 14 years ago
frosch 2d8c2af5e9 (svn r19976) -Add: Read mapsize during SL_LOAD_CHECK. 14 years ago
frosch 8d9b573f8f (svn r19975) -Add: SL_LOAD_CHECK mode for partial reading of savegames. 14 years ago
frosch 13d43b8dab (svn r19937) -Codechange: Move some fios related prototypes to fios.h 14 years ago
frosch 1d9a84a934 (svn r19936) -Codechange: If there is an enum, also use it. 14 years ago
rubidium 398418b8fa (svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int 14 years ago
smatz c5b34444af (svn r19084) -Codechange: minor coding-style fixups 15 years ago
rubidium ca7f6f5d7a (svn r17528) -Codechange: use QSortT instead of qsort for sorting FiosItems 15 years ago
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 0682c1c46c (svn r15608) -Codechange: use the file scanner to find the files for the saveload window. 16 years ago
rubidium 908e850b5a (svn r15605) -Codechange: constify a function 16 years ago
smatz 3bceaf41b4 (svn r15144) -Codechange: make sure we don't run out of bounds while determining old savegame name
Note this can't happen in current code
16 years ago
rubidium b1a33a494f (svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings. 16 years ago
rubidium ea1f180a55 (svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too. 16 years ago
smatz 88637d9213 (svn r13859) -Fix: loading of TTD(Patch) savegames from the command line didn't work 16 years ago
skidd13 2f65d35ead (svn r13575) -Codechange: Move small vector to core since it fits better in there
-Codechange: convert smallvector from struct to class
16 years ago
skidd13 11cdcf875c (svn r13360) -Fix (r13359): Forgot to remove some instances of FiosAlloc() 16 years ago
skidd13 8a40ca49c6 (svn r13359) -Codechange: convert _fios_items to a SmallVector
-Cleanup: some reincarnations of _fios_items in the code
16 years ago
rubidium 34e2d8f1e1 (svn r13320) -Codechange: move some enums from openttd.h to more logical locations. 16 years ago
peter1138 24cccc8333 (svn r12848) -Cleanup/Codechange: Use correct variable types, don't prefix with _ for non-globals, and use implicit enum numbering. 16 years ago