Commit Graph

62 Commits (2f2937356b859b33e1fc10d40da83e23372c6250)

Author SHA1 Message Date
frosch 8bd3a8a991 (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 f286ba8db2 (svn r27653) -Fix(r27647): Rename FileOperation enum and values to SaveLoadOperation to avoid nameclash with windows compiler toolkit. 8 years ago
alberth c3bed437ee (svn r27649) -Codechange: Introduce detailed file type enum, rebuild FiosType with it. 8 years ago
alberth 3b84827773 (svn r27648) -Codechange: Remove remaining _saveload_mode usage. 8 years ago
alberth ec2b2fad58 (svn r27647) -Codechange: Introduce file operations, and use it to replace most of SaveLoadDialogMode 8 years ago
alberth ac72a6b1ed (svn r27646) -Codechange: Move _fios_items variable into the SaveLoadWindow class. 8 years ago
alberth 8a9e9f838b (svn r27644) -Codechange: Split GetFiosItem into BuildFileList and FindItem, and move both to FileList. 8 years ago
alberth 93baf192a0 (svn r27642) -Codechange: FiosGet* file query functions take a destination file list. 8 years ago
alberth a38cdeccc0 (svn r27641) -Codechange: Fold the _fios_items file list vector into its own class. 8 years ago
alberth e78627f2f1 (svn r27638) -Codechange: Move FiosType enum, move and rename SetFiosType function. 8 years ago
alberth a35e970ab0 (svn r27635) -Codechange: Move FileType and FileToSaveLoad structure definitions. 8 years ago
alberth df2221ba7e (svn r27634) -Codechange: Improve name of the SmallFiosItem struct. 8 years ago
alberth 55c7c21c5d (svn r27633) -Codechange: Extract _saveload_mode use from BuildFileList 8 years ago
rubidium 5c7c2445d8 (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 73474728e3 (svn r26057) -Fix: a number of possibly uninitialised variables 11 years ago
rubidium 2b2706009e (svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w 11 years ago
planetmaker f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
rubidium bfe5b5e0e6 (svn r24491) -Fix: compilation error with networking disabled 12 years ago
yexo 4d1d6332fb (svn r24487) -Codechange [FS#5236]: make several DoesContentExist return the path instead of a boolean (LordAro) 12 years ago
yexo 047957487a (svn r23065) -Add: -q option to read a savegame, write some general info and exit 13 years ago
alberth c8a1de957b (svn r22513) -Add: Allow for saving a heightmap from the file dialogue window. 13 years ago
alberth 4b295664ad (svn r22511) -Add: Function to make heightmap file paths. 13 years ago
alberth 19a9fc4a40 (svn r22500) -Doc: Fix and add fios doxygen documentation. 13 years ago
rubidium c46cadf3fd (svn r21895) -Cleanup: get rid of the unused SLD_NEW_GAME 14 years ago
smatz ec106759d1 (svn r20755) -Fix (r19975): small memory leak at program exit (happens only once) 14 years ago
rubidium 360d6daf34 (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 14 years ago
frosch 5f6534b5ec (svn r19984) -Feature: Show some savegame details when selecting items in saveload GUIs. 14 years ago
frosch cce89a5cb9 (svn r19981) -Add: Read NewGRF configuration during SL_LOAD_CHECK. 14 years ago
frosch 928ecf82bb (svn r19980) -Add: Load some general data from savegames on SL_LOAD_CHECK. 14 years ago
frosch 23557b1172 (svn r19978) -Add: Read settings during SL_LOAD_CHECK. 14 years ago
frosch 593c7d178f (svn r19977) -Add: Read current date during SL_LOAD_CHECK. 14 years ago
frosch af21685eb8 (svn r19976) -Add: Read mapsize during SL_LOAD_CHECK. 14 years ago
frosch ec903570f1 (svn r19975) -Add: SL_LOAD_CHECK mode for partial reading of savegames. 14 years ago
frosch d12e364952 (svn r19937) -Codechange: Move some fios related prototypes to fios.h 14 years ago
frosch 8ef0aed0ae (svn r19936) -Codechange: If there is an enum, also use it. 14 years ago
rubidium f09a74a996 (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 6d92880bb3 (svn r19084) -Codechange: minor coding-style fixups 15 years ago
rubidium ca78c69924 (svn r17528) -Codechange: use QSortT instead of qsort for sorting FiosItems 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
rubidium 1bd82bf71d (svn r15608) -Codechange: use the file scanner to find the files for the saveload window. 16 years ago
rubidium 9e3449ecc9 (svn r15605) -Codechange: constify a function 16 years ago
smatz 575a3a4563 (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 eff693d2e9 (svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings. 16 years ago
rubidium a20b833516 (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 cd75303d80 (svn r13859) -Fix: loading of TTD(Patch) savegames from the command line didn't work 16 years ago
skidd13 ad9b19b77a (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 8b3db22075 (svn r13360) -Fix (r13359): Forgot to remove some instances of FiosAlloc() 16 years ago
skidd13 f1c954e842 (svn r13359) -Codechange: convert _fios_items to a SmallVector
-Cleanup: some reincarnations of _fios_items in the code
16 years ago
rubidium 793ac8baa4 (svn r13320) -Codechange: move some enums from openttd.h to more logical locations. 16 years ago
peter1138 b471c5d312 (svn r12848) -Cleanup/Codechange: Use correct variable types, don't prefix with _ for non-globals, and use implicit enum numbering. 16 years ago