Commit Graph

81 Commits

Author SHA1 Message Date
smatz 846044ee26 (svn r15571) -Fix: incorrect use of memset 2009-02-24 22:25:23 +00:00
rubidium 102cc11ee9 (svn r15113) -Codechange: unify calling ScanForTarFiles when determining the paths. 2009-01-16 16:32:48 +00:00
rubidium b1a33a494f (svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings. 2009-01-16 12:59:47 +00:00
rubidium cda853872a (svn r14944) -Cleanup: add spaces around some operators 2009-01-09 22:56:28 +00:00
smatz 7368c740a6 (svn r14828) -Codechange: move most of save/load-specific code to separate files 2009-01-04 15:32:25 +00:00
rubidium 32583bd405 (svn r14773) -Fix-ish[FS#2469]: attach a signal handler during loading savegames to catch any crashes due to broken savegames/missing NewGRFs and tell the user about that instead of "just" crashing without explanation. 2008-12-30 15:14:23 +00:00
skidd13 706dd0f86c (svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible 2008-11-02 11:20:15 +00:00
rubidium 633b15caf3 (svn r14542) -Codechange: replace some sprintf with s[en]printf to make sure they will not overflow their buffers. 2008-10-28 16:04:41 +00:00
smatz 1e7e5fb175 (svn r14518) -Fix (r14514): forgot win32 and OS/2 files (glx) 2008-10-22 20:23:50 +00:00
rubidium e7829c1a57 (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
rubidium 86f1a98ac8 (svn r14397) -Fix: possible buffer overrun, wrong parameter type passed to printf and && where || is meant. Found by MSVC's code analysis (Darkvater) 2008-09-24 23:25:24 +00:00
rubidium 6b86de13d6 (svn r14200) -Fix (r14199): some OSes failed to compile. Furthermore I hate wrong comments! 2008-08-31 11:51:09 +00:00
smatz e840aabf8d (svn r14176) -Fix: better 'safe' than ... 'save' 2008-08-25 20:54:34 +00:00
glx 9895afb43e (svn r13701) -Codechange: add some more info in crash.log 2008-07-14 20:04:54 +00:00
rubidium f2730396da (svn r13572) -Fix: MSVC x64 complains. 2008-06-19 09:15:52 +00:00
smatz bd5067b5a0 (svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most places 2008-06-10 21:59:22 +00:00
glx ee256e770a (svn r13390) -Codechange: introduce usererror() for fatal but not openttd related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror(). 2008-06-05 20:54:52 +00:00
smatz c7a9637834 (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
glx 014cb33bb9 (svn r13361) -Fix (r13360): regexp failed 2008-06-02 14:30:55 +00:00
skidd13 11cdcf875c (svn r13360) -Fix (r13359): Forgot to remove some instances of FiosAlloc() 2008-06-02 14:27:58 +00:00
rubidium 5c5ee7eb57 (svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings. 2008-05-27 21:41:00 +00:00
glx b4682bff97 (svn r13081) -Fix: Empty while-loop warnings from gcc 4.3+ 2008-05-13 22:42:10 +00:00
glx 0b37b81956 (svn r13019) -Fix [FS#1997]: silence some more MSVC x64 warnings (michi_cc) 2008-05-08 20:05:32 +00:00
glx e48a351f8e (svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings 2008-05-08 13:20:54 +00:00
glx a9d263c459 (svn r12981) -Codechange: remove some useless includes and defines 2008-05-06 23:43:47 +00:00
smatz 297f99e100 (svn r12944) -Codechange: use rev.h instead of externs at many places 2008-05-04 21:53:36 +00:00
rubidium acafc26426 (svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs). 2008-04-18 04:54:09 +00:00
rubidium 9d8fa486af (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 2008-04-18 04:37:06 +00:00
glx 2832a6cafb (svn r11779) -Fix: win32 compile failed. Also removed a duplicate include 2008-01-07 15:35:36 +00:00
rubidium a3ccdcea36 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary. 2008-01-07 14:23:25 +00:00
rubidium 429521a7d1 (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' 2007-12-25 11:26:07 +00:00
rubidium bf98e25e43 (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed. 2007-12-25 09:48:53 +00:00
glx 451abbecb1 (svn r11686) -Fix (r11684): win32 compilation was broken again :) 2007-12-23 13:31:24 +00:00
belugas 82d240e300 (svn r11683) -Fix(r11682): win32.cpp still requires gfx.h inclusion, at least for now. 2007-12-23 04:31:45 +00:00
rubidium 8f0e68285b (svn r11682) -Codechange: move some 'generic' geometry related types into a single file and do not include gfx.h everywhere to get a Point type. 2007-12-22 23:30:28 +00:00
glx 65754b8d12 (svn r11676) -Fix (r11674): some references to macros.h were left 2007-12-21 21:16:14 +00:00
rubidium d582aea639 (svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found. 2007-12-19 20:45:46 +00:00
rubidium 8896bea306 (svn r11667) -Codechange: split window.h into a header that defines some 'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps. 2007-12-19 19:44:29 +00:00
glx 6a83f9141b (svn r11611) -Codechange: it is now possible to use a define to enable asserts and show them in crash.log for MSVC release builds 2007-12-09 21:20:21 +00:00
rubidium f1e4914b5f (svn r11597) -Change: replace all remaining instances of (re|m|c)alloc with (Re|M|C)allocT and add a check for out-of-memory situations to the *allocT functions. 2007-12-08 14:50:41 +00:00
skidd13 83601671c7 (svn r11488) -Codechange: Spilt the random functions out to seperate file
-Codechange: Make the mersenne twister more readable
-Codechange: Unify the seeding process of random
2007-11-21 19:13:38 +00:00
skidd13 71c4325c50 (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 2007-11-19 21:02:30 +00:00
glx 17870089d0 (svn r11116) -Fix (r11106): tar loader was not compiled for WIN32 2007-09-15 15:21:17 +00:00
glx ffdbaad8ec (svn r10948) -Add: [win32] crash.dmp support for MSVC release builds 2007-08-19 21:51:36 +00:00
truelight 424757c078 (svn r10781) -Fix: ported more pieces to WinCE, so it compiles a bit more
-Fix: WinCE doesn't support console
-Fix: Set debug lvl4 when running a debug WinCE build (as you can't give parameters any easy way)
2007-08-04 12:53:41 +00:00
peter1138 06986b7744 (svn r10736) -Fix: Correct all mispellings of 'successful'. 2007-07-30 13:36:09 +00:00
KUDr 5eb4036eb2 (svn r10713) -Cleanup (r10711): too long string buffers, unsafe sprintf used (Darkvater) 2007-07-27 23:49:48 +00:00
KUDr 51b26f96d2 (svn r10712) -Fix (r10711): \0 at the end of string constant (glx) 2007-07-27 22:32:48 +00:00
KUDr f9411f30c4 (svn r10711) -Fix [Win32]: take default language from current user's locale on Windows (In-) 2007-07-27 22:19:19 +00:00
rubidium b290268645 (svn r10684) -Codechange: some more coding style related changes. Primarily moving { to a new line. 2007-07-25 00:16:30 +00:00