Commit Graph

80 Commits (1a5a673ec9a6639f3afcbf17d1d3e55e2cd071d1)

Author SHA1 Message Date
rubidium 3fb43b6bcb (svn r15113) -Codechange: unify calling ScanForTarFiles when determining the paths. 16 years ago
rubidium eff693d2e9 (svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes strings. 16 years ago
rubidium c0e7434f38 (svn r14944) -Cleanup: add spaces around some operators 16 years ago
smatz 91233ea596 (svn r14828) -Codechange: move most of save/load-specific code to separate files 16 years ago
rubidium 2fb24a8a83 (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. 16 years ago
skidd13 9b282b3e51 (svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible 16 years ago
rubidium db1fd2e085 (svn r14542) -Codechange: replace some sprintf with s[en]printf to make sure they will not overflow their buffers. 16 years ago
smatz 02cbe47754 (svn r14518) -Fix (r14514): forgot win32 and OS/2 files (glx) 16 years ago
rubidium 5ab74534da (svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy doesn't guarantee the resulting string is '\0'-terminated. 16 years ago
rubidium 48ece47bd9 (svn r14397) -Fix: possible buffer overrun, wrong parameter type passed to printf and && where || is meant. Found by MSVC's code analysis (Darkvater) 16 years ago
rubidium 05d9c19226 (svn r14200) -Fix (r14199): some OSes failed to compile. Furthermore I hate wrong comments! 16 years ago
smatz 6074de33d0 (svn r14176) -Fix: better 'safe' than ... 'save' 16 years ago
glx d9d32d3619 (svn r13701) -Codechange: add some more info in crash.log 16 years ago
rubidium ae91120307 (svn r13572) -Fix: MSVC x64 complains. 16 years ago
smatz 506cde94b6 (svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most places 16 years ago
glx b60a1326bf (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(). 16 years ago
smatz 1f55797fe3 (svn r13375) -Add: logging of actions that could possibly cause desyncs and crashes to simplify debugging. See readme.txt for details 16 years ago
glx 679ca6af52 (svn r13361) -Fix (r13360): regexp failed 16 years ago
skidd13 8b3db22075 (svn r13360) -Fix (r13359): Forgot to remove some instances of FiosAlloc() 16 years ago
rubidium 33e18c236d (svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings. 16 years ago
glx 1ce52ef5cb (svn r13081) -Fix: Empty while-loop warnings from gcc 4.3+ 16 years ago
glx a8e8329d41 (svn r13019) -Fix [FS#1997]: silence some more MSVC x64 warnings (michi_cc) 16 years ago
glx a28ea38653 (svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings 16 years ago
glx 3ba47883c0 (svn r12981) -Codechange: remove some useless includes and defines 16 years ago
smatz 89a8dc8cf7 (svn r12944) -Codechange: use rev.h instead of externs at many places 16 years ago
rubidium f4b07a78c4 (svn r12762) -Fix: tabs after the first non-tab character are generally not okay (or lines starting with a space and then tabs). 16 years ago
rubidium ca1f8fbe2e (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 16 years ago
glx 9e875495bf (svn r11779) -Fix: win32 compile failed. Also removed a duplicate include 17 years ago
rubidium b09d957f31 (svn r11777) -Codechange: split the string header and make do not include it when it's not necessary. 17 years ago
rubidium 81bf9f8503 (svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h' 17 years ago
rubidium 00c9d3ef20 (svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed. 17 years ago
glx 43f03dff68 (svn r11686) -Fix (r11684): win32 compilation was broken again :) 17 years ago
belugas a3693160cf (svn r11683) -Fix(r11682): win32.cpp still requires gfx.h inclusion, at least for now. 17 years ago
rubidium 1f6043458c (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. 17 years ago
glx a122971ae2 (svn r11676) -Fix (r11674): some references to macros.h were left 17 years ago
rubidium 2cf7d5b2cb (svn r11668) -Codechange: more refactoring aimed at reducing compile time and making it more logic where function definitions can be found. 17 years ago
rubidium 8bfbfd0031 (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. 17 years ago
glx 15085aa7f4 (svn r11611) -Codechange: it is now possible to use a define to enable asserts and show them in crash.log for MSVC release builds 17 years ago
rubidium 33cdfc71dc (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. 17 years ago
skidd13 039570342d (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
17 years ago
skidd13 c0a2c0c23e (svn r11481) -Codechange: Rename the HASBIT function to fit with the naming style 17 years ago
glx 7d551bae1b (svn r11116) -Fix (r11106): tar loader was not compiled for WIN32 17 years ago
glx e86564d7cd (svn r10948) -Add: [win32] crash.dmp support for MSVC release builds 17 years ago
truelight 8ca03887b9 (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)
17 years ago
peter1138 61f94c2d5e (svn r10736) -Fix: Correct all mispellings of 'successful'. 17 years ago
KUDr 7a28ccbcf6 (svn r10713) -Cleanup (r10711): too long string buffers, unsafe sprintf used (Darkvater) 17 years ago
KUDr bcb8169b12 (svn r10712) -Fix (r10711): \0 at the end of string constant (glx) 17 years ago
KUDr 1eda754469 (svn r10711) -Fix [Win32]: take default language from current user's locale on Windows (In-) 17 years ago
rubidium 7fe3635cdb (svn r10684) -Codechange: some more coding style related changes. Primarily moving { to a new line. 17 years ago
KUDr 767412f410 (svn r10445) -Fix (Win32, r10444): remove #include "hal.h" 17 years ago