Commit Graph

41 Commits

Author SHA1 Message Date
rubidium 034735a54c (svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL) 2014-04-25 15:40:32 +00:00
rubidium 0b159549d4 (svn r26508) -Codechange: use seprintf instead of a custom vstrcatprintf hybrid 2014-04-25 15:25:59 +00:00
rubidium 6ecc602050 (svn r26486) -Codechange: replace a number of snprintfs with seprintf 2014-04-23 21:12:09 +00:00
rubidium 2be4215f43 (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 2014-04-23 20:13:33 +00:00
smatz cbf64bbc6c (svn r23901) -Fix: memory leak everytime one clicked a savegame in the load GUI 2012-02-05 15:51:13 +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
rubidium 9fc2798baf (svn r22411) -Document: another bunch of bits 2011-05-02 17:42:12 +00:00
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
frosch a7e486360d (svn r20957) -Codechange: Add another parameter to FindGRFConfig() to define search restrictions. 2010-10-17 12:12:13 +00:00
frosch e1ebb3509a (svn r20955) -Fix (r20952): Suppress bogus inconsistencies for games saved while Grfs were missing. 2010-10-16 22:46:53 +00:00
frosch 22da4b2a5c (svn r20954) -Codechange (r20952, r20953): Don't make stuff more complicated than needed. 2010-10-16 22:34:43 +00:00
frosch 7484da1abd (svn r20953) -Add: Resolve Grf filenames from the gamelog also using the md5sum. 2010-10-16 21:20:46 +00:00
frosch 2140031737 (svn r20952) -Add: When printing the gamelog keep track of added/removed Grfs and check them for consistency. 2010-10-16 21:13:55 +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 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium 9fd2afb147 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 2010-07-19 17:28:27 +00:00
rubidium 6ef7b78c8b (svn r20191) -Codechange: unVARDEF _tick_counter and move it to a more logical location 2010-07-19 17:24:33 +00:00
frosch 52c4af211a (svn r19972) -Change: Use the md5sum from the previous save of the game for BaNaNaS instead of the initial (when the grf was added) md5sum from the gamelog. Neither method is 'better', but this way it is independent from the gamelog. 2010-06-13 14:11:32 +00:00
rubidium a70fd540fc (svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int 2010-05-13 10:14:29 +00:00
rubidium 9317384c1a (svn r19391) -Fix (r19255): shuffling around GRFIdentifier in GRFConfig caused gamelog to log the wrong data which could cause crashes later on when that data is queried 2010-03-12 19:18:26 +00:00
yexo b21278659c (svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it 2010-02-25 20:05:31 +00:00
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
smatz f85b8c4e09 (svn r17596) -Codechange: constify some tables 2009-09-20 23:11:01 +00:00
rubidium 310465da07 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 2009-09-19 09:51:14 +00:00
smatz b9852168c0 (svn r17537) -Fix: don't crash while printing gamelog in crash handler if we crashed before while gamelog action was active 2009-09-14 19:30:13 +00:00
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
smatz d091c7d80f (svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD for months. All attempts to do another workaround failed. 2009-06-01 11:49:46 +00:00
smatz ce7dff4acc (svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
2009-05-10 17:27:25 +00:00
glx ec704b21ca (svn r15893) -Add: watermark crash.sav and don't generate crash information if a loaded crash.sav causes a crash 2009-03-30 00:21:43 +00:00
rubidium 283b3d16ab (svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability. 2009-02-08 12:25:13 +00:00
smatz 9021c20b5e (svn r15299) -Cleanup: remove many redundant includes 2009-01-31 20:16:06 +00:00
rubidium 993ba73aff (svn r15285) -Fix: valgrind complaining about reading uninitialised memory when saving 2009-01-27 14:31:33 +00:00
rubidium d8b3a237dc (svn r15225) -Fix (r15126): searching for 'missing' NewGRFs gave the 'compatability loaded' NewGRF instead of the one that we're actually looking for 2009-01-23 15:06:56 +00:00
smatz f0ff90d71c (svn r15216) -Feature: native support for Transport Tycoon (Original) savegames. Based on SVXConverter's source code and documentation by Roman Vetter 2009-01-23 02:35:17 +00:00
smatz 91233ea596 (svn r14828) -Codechange: move most of save/load-specific code to separate files 2009-01-04 15:32:25 +00:00
rubidium 5ab74534da (svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy doesn't guarantee the resulting string is '\0'-terminated. 2008-09-29 16:27:02 +00:00
smatz f1c0555d2e (svn r13816) -Fix [FS#2150]: check for vehicle length changes outside a depot (callback 0x11) and give a warning about that 2008-07-24 15:19:26 +00:00
smatz 8fb9f600c8 (svn r13727) -Fix (r13375): compilation with NO_DEBUG_MESSAGES was broken 2008-07-18 12:11:46 +00:00
smatz 41457acd47 (svn r13520) -Fix (r13375): pointer has to be valid before it can be loaded to (SLE_STR) 2008-06-15 13:52:51 +00:00
glx 6d3f35af8f (svn r13396) -Fix (r13375): assertion failing when changing grfs in game (compatible grfs) 2008-06-06 19:27:09 +00:00
smatz 1f55797fe3 (svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details 2008-06-03 18:35:58 +00:00