Commit Graph

79 Commits (e3c7a77b4066f00f3248e390184da874bd20d7ee)

Author SHA1 Message Date
smatz 93c5300fc5 (svn r16715) -Codechange: add attribute to assert_compile(), so it doesn't warn when used inside function 15 years ago
smatz c03ce4b1c7 (svn r16492) -Remove: support for gcc2. It hasn't been able to compile OTTD for months. All attempts to do another workaround failed. 16 years ago
smatz f5316c5cbd (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
16 years ago
rubidium 8293be426c (svn r15892) -Codechange: [OSX] some type fixes so OpenTTD likes more of the 3.1.x Xcodes. 16 years ago
glx 1692ce8312 (svn r15710) -Fix (r15706): for non MSVC io.h needs to be included before defining unlink. Also remove redundant tchar.h includes as it is already in stdafx.h. 16 years ago
michi_cc b1479bec02 (svn r15706) -Fix: Make sure the filename passed to unlink() is always in file system encoding. 16 years ago
smatz df79660531 (svn r15296) -Cleanup: remove redundant _MSC_VER >= 1400 checks, older versions aren't supported anymore. One check in stdafx.h is enough 16 years ago
rubidium 450b9b7900 (svn r15275) -Fix: SDL adds _GNU_SOURCE to the defined macros even when the compiler doesn't provide the functions promised when that define exists... 16 years ago
rubidium 11da45ee55 (svn r14949) -Cleanup: pointer coding style 16 years ago
rubidium a614dd7174 (svn r14636) -Add: DOS port of OpenTTD, without network support though. 16 years ago
rubidium bb25748a9d (svn r14635) -Change: use S_ISDIR/S_ISREG as x & S_IFREG always results false on platforms when S_IFREG is 0x0000. 16 years ago
skidd13 6043b4574e (svn r14553) -Doc: Add some doxygen comments 16 years ago
glx 2ddb86eea5 (svn r14154) -Fix (r14153): strndup is a GNU extension, so it doesn't exist on all platforms 16 years ago
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(). 17 years ago
rubidium 5c5ee7eb57 (svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings. 17 years ago
glx 5ea41a57b8 (svn r13122) -Fix: WIN32_LEAN_AND_MEAN define is needed for all WIN32 compilers 17 years ago
rubidium 402a1e24ba (svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations. 17 years ago
rubidium d03994098b (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 17 years ago
rubidium 4097d81323 (svn r12930) -Add: build support for NetBSD and HP-UX. Patch by ahoka. 17 years ago
smatz f32ecbcadb (svn r12777) -Codechange: rename fatal() and error() in strgen, so it can always have the NORETURN attribute 17 years ago
rubidium 9d8fa486af (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 17 years ago
smatz fb379b522d (svn r12573) -Codechange: use defined constants instead of numbers in math_func.hpp 17 years ago
rubidium c5814a72ce (svn r12571) -Fix: MorphOS misses INT16_MAX/INT16_MIN. 17 years ago
skidd13 442efcffb0 (svn r12344) -Codechange: Check uint64 bitsize on compiletime too. 17 years ago
rubidium bbdc5a9314 (svn r11979) -Codechange: drop MSVC 2003 support because MSVC 2003 is broken in such a manner that it triggers an internal compiler error without any clue what of the code is wrong. Even trying to bisect the problem does not give a single line of code that causes the trouble. 17 years ago
rubidium 9444eb4484 (svn r11939) -Codechange: some type fixes and very initial steps into supporting NDS by default. Based on work by Dominik. 17 years ago
glx af59eb2543 (svn r11856) -Revert (r11772): since FS#1335 is solved, we do not need the extra checking and such anymore. 17 years ago
glx 119b03ea70 (svn r11772) -Change: add some extra checking in the hope to find the cause of FS#1335 17 years ago
rubidium b3f6c0734b (svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp. 17 years ago
skidd13 da5d3a7b3b (svn r11687) -Codechange: move some defines to a better place 17 years ago
rubidium a773d45885 (svn r11684) -Codechange: split gfx.h in a type and functional header. 17 years ago
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 17 years ago
glx 46c0edc80b (svn r11610) -Cleanup (r8572): remove orphan comment 17 years ago
rubidium 079c0fd66a (svn r11606) -Revert (r11584): since FS#1482 is solved, we do not need the extra checking and such anymore. 17 years ago
rubidium 42dbdbb7f9 (svn r11584) -Change: add some extra checking in the hope to find the cause of FS#1482. 17 years ago
skidd13 1a43c6a6f6 (svn r11563) -Codechange: Align the preprocessor code in stdafx.h with tabs 17 years ago
skidd13 58bb5c7525 (svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style
This fixes also FS#1450
17 years ago
rubidium e15a5365d1 (svn r11467) -Fix [FS#1450]: OpenBSD has ALIGN already defined, causing compilation failures. 17 years ago
bjarni 04dd59df0e (svn r11325) -Fix (r11312)[FS#1357]: [OSX] fixed compilation on OSX 17 years ago
truelight b3bed1eda1 (svn r10778) -Fix: one-liners to allow MSVC and WINCE to work together (or anyway, a step towards that goal)
-Fix: put DEBUG lines under WINCE via a function designed for just that under WINCE
17 years ago
glx d8690139b4 (svn r10607) -Fix r10605: use '&&' in preprocessor directives (MSVC doesn't like 'and') 17 years ago
rubidium 736eafaf8e (svn r10605) -Fix [FS#1046]: also OpenBSD does not know wchar. Patch by Matthias. 17 years ago
rubidium efc7fdf2fd (svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h 17 years ago
rubidium b8e302d2a0 (svn r10562) -Fix: most of the MorphOS issues; MorphOS doesn't know about wchars, so disable all code that has to use wchars for MorphOS. 17 years ago
KUDr 255389a963 (svn r10428) -Fix: some more VC code analyzer warnings disabled 17 years ago
KUDr 7dc5d11448 (svn r10421) -Fix [MSVC]: suppress some code analyzer warnings for VC8 17 years ago
KUDr 6ced6f8f5f (svn r10292) -Fix: suppress VC 7.1 warning: "\src\texteff.cpp(251) : warning C4258: 'y' : definition from the for loop is ignored; the definition from the enclosing scope is used" which prevents compilation on MSVC 2003 18 years ago
rubidium 16ce2192e4 (svn r10212) -Fix [FS#723]: money overflow bugs in many locations. 18 years ago
rubidium 6680a6a0e6 (svn r10191) -Backport (r9148 from NoAI): detecting of CPU type (32 vs 64 bits). 18 years ago
rubidium 347c28b71a (svn r10182) -Codechange: rewrite most part of the file loading/searching to be more flexible.
-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
18 years ago