Commit Graph

49 Commits

Author SHA1 Message Date
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
rubidium
90acd52f22 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 2008-01-13 01:21:35 +00:00
belugas
1b76c8bb67 (svn r11714) -Fix[FS#1569]: Do not allow player inauguration date on scenarios to be bigger than current year.
This will not (yet) be true if you are loading a scenario with the "-g" command line option.
2007-12-28 04:20:56 +00:00
belugas
db45093f7b (svn r11713) -Codechange: Move some declarations and definitions in a more logical disposition 2007-12-28 03:14:55 +00:00
belugas
716ef17757 (svn r11711) -Codechange: Name the Save Load Dialog Mode enum 2007-12-27 17:29:27 +00:00
rubidium
3722b834ef (svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled gracefully causing crashes and such. 2007-10-29 23:02:31 +00:00
Darkvater
1a2576cd7e (svn r9055) -Codechange: Change windows unicode handling and allow a pure non-unicode build to function. Win9x binaries will be possible with mingw/nightly system. 2007-03-07 18:58:28 +00:00
rubidium
979ccd45ba (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; 2007-03-07 12:11:48 +00:00
rubidium
4169bfba06 (svn r9050) -Codechange: Foo(void) -> Foo() 2007-03-07 11:47:46 +00:00
belugas
240cbd4dd2 (svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style. 2007-03-01 01:24:44 +00:00
Darkvater
fa16e74d01 (svn r8823) -Fix (r8821): wrapping opendir to ottd-specific function failed on non-windows because this wrapper was only active for win32 (thx Rubidium) 2007-02-20 09:46:10 +00:00
Darkvater
7eab669a88 (svn r8821) -Regression: Unable to browse directories on *nix if the filesystem is not in UTF-8 charset and special characters are used. The string passed to opendir() which is UTF-8 was not parsed back to the filesystem format. Use a wrapper called ttd_opendir() instead of redefining opendir itself. 2007-02-20 00:09:23 +00:00
rubidium
013df98f79 (svn r7759) -Merge: makefile rewrite. This merge features:
- A proper ./configure, so everything needs to be configured only once, not for every make.
 - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
 - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
 - Proper support for OSX universal binaries.
 - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
 - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.

Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
2007-01-02 19:19:48 +00:00