Commit Graph

62 Commits

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