Commit Graph

80 Commits

Author SHA1 Message Date
rubidium
6cf59514d1 (svn r16828) -Codechange: attempt at making OSX compile with the 10.6 SDK too; no guarantees ofcourse... 2009-07-14 17:16:32 +00:00
smatz
fe57925910 (svn r16715) -Codechange: add attribute to assert_compile(), so it doesn't warn when used inside function 2009-07-01 21:29:03 +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
rubidium
6ceeb47c8b (svn r15892) -Codechange: [OSX] some type fixes so OpenTTD likes more of the 3.1.x Xcodes. 2009-03-29 19:55:08 +00:00
glx
81361189ca (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. 2009-03-14 15:42:53 +00:00
michi_cc
968a2c95f8 (svn r15706) -Fix: Make sure the filename passed to unlink() is always in file system encoding. 2009-03-14 00:25:59 +00:00
smatz
1dcbba1c2d (svn r15296) -Cleanup: remove redundant _MSC_VER >= 1400 checks, older versions aren't supported anymore. One check in stdafx.h is enough 2009-01-30 17:54:48 +00:00
rubidium
692aec71b1 (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... 2009-01-25 22:51:59 +00:00
rubidium
28ea38ae55 (svn r14949) -Cleanup: pointer coding style 2009-01-10 00:31:47 +00:00
rubidium
5dd4735da1 (svn r14636) -Add: DOS port of OpenTTD, without network support though. 2008-11-26 13:12:45 +00:00
rubidium
b0a9ce2d9a (svn r14635) -Change: use S_ISDIR/S_ISREG as x & S_IFREG always results false on platforms when S_IFREG is 0x0000. 2008-11-26 01:07:49 +00:00
skidd13
f1911b167a (svn r14553) -Doc: Add some doxygen comments 2008-11-02 11:05:26 +00:00
glx
4bb40a7d44 (svn r14154) -Fix (r14153): strndup is a GNU extension, so it doesn't exist on all platforms 2008-08-24 17:02:21 +00:00
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(). 2008-06-05 20:54:52 +00:00
rubidium
33e18c236d (svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings. 2008-05-27 21:41:00 +00:00
glx
bbb9dafa32 (svn r13122) -Fix: WIN32_LEAN_AND_MEAN define is needed for all WIN32 compilers 2008-05-16 17:53:19 +00:00
rubidium
c27f3cfa62 (svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations. 2008-05-06 22:17:12 +00:00
rubidium
1ce0b03bf0 (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. 2008-05-06 15:11:33 +00:00
rubidium
f1820a5708 (svn r12930) -Add: build support for NetBSD and HP-UX. Patch by ahoka. 2008-04-30 07:39:46 +00:00
smatz
3fe8c58257 (svn r12777) -Codechange: rename fatal() and error() in strgen, so it can always have the NORETURN attribute 2008-04-18 21:33:21 +00:00
rubidium
ca1f8fbe2e (svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators. 2008-04-18 04:37:06 +00:00
smatz
c3399b6848 (svn r12573) -Codechange: use defined constants instead of numbers in math_func.hpp 2008-04-04 20:34:09 +00:00
rubidium
1db6c4d55e (svn r12571) -Fix: MorphOS misses INT16_MAX/INT16_MIN. 2008-04-04 19:10:45 +00:00
skidd13
5a98861958 (svn r12344) -Codechange: Check uint64 bitsize on compiletime too. 2008-03-05 18:51:26 +00:00
rubidium
f037d98ef4 (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. 2008-01-24 18:47:05 +00:00
rubidium
a83b91dbc5 (svn r11939) -Codechange: some type fixes and very initial steps into supporting NDS by default. Based on work by Dominik. 2008-01-21 23:55:57 +00:00
glx
d4e8ffd7b3 (svn r11856) -Revert (r11772): since FS#1335 is solved, we do not need the extra checking and such anymore. 2008-01-15 00:11:28 +00:00
glx
cfcce9603c (svn r11772) -Change: add some extra checking in the hope to find the cause of FS#1335 2008-01-07 00:43:03 +00:00
rubidium
851f19b341 (svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp. 2007-12-25 13:28:09 +00:00
skidd13
fec9cd587c (svn r11687) -Codechange: move some defines to a better place 2007-12-23 14:06:03 +00:00
rubidium
507463e420 (svn r11684) -Codechange: split gfx.h in a type and functional header. 2007-12-23 10:56:02 +00:00
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 2007-12-09 21:20:21 +00:00
glx
8bd26725d3 (svn r11610) -Cleanup (r8572): remove orphan comment 2007-12-09 20:20:52 +00:00
rubidium
bde4b44473 (svn r11606) -Revert (r11584): since FS#1482 is solved, we do not need the extra checking and such anymore. 2007-12-09 15:17:49 +00:00
rubidium
2b9f51219f (svn r11584) -Change: add some extra checking in the hope to find the cause of FS#1482. 2007-12-06 22:29:47 +00:00
skidd13
2b372e7e7b (svn r11563) -Codechange: Align the preprocessor code in stdafx.h with tabs 2007-12-02 21:43:16 +00:00
skidd13
7a4d96f629 (svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style
This fixes also FS#1450
2007-11-19 20:40:14 +00:00
rubidium
b166ca6bec (svn r11467) -Fix [FS#1450]: OpenBSD has ALIGN already defined, causing compilation failures. 2007-11-18 20:21:41 +00:00
bjarni
d8fe1e3bb4 (svn r11325) -Fix (r11312)[FS#1357]: [OSX] fixed compilation on OSX 2007-10-21 10:53:23 +00:00
truelight
930bb84242 (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
2007-08-03 23:26:12 +00:00
glx
fef1907c39 (svn r10607) -Fix r10605: use '&&' in preprocessor directives (MSVC doesn't like 'and') 2007-07-18 02:08:56 +00:00
rubidium
524e306650 (svn r10605) -Fix [FS#1046]: also OpenBSD does not know wchar. Patch by Matthias. 2007-07-17 16:59:21 +00:00
rubidium
df009178d4 (svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h 2007-07-16 09:16:58 +00:00
rubidium
25028759c1 (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. 2007-07-14 20:30:35 +00:00
KUDr
c5a122d642 (svn r10428) -Fix: some more VC code analyzer warnings disabled 2007-07-04 02:37:48 +00:00
KUDr
94a5310888 (svn r10421) -Fix [MSVC]: suppress some code analyzer warnings for VC8 2007-07-03 23:08:51 +00:00
KUDr
e494b4021f (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 2007-06-23 09:04:07 +00:00
rubidium
f765b3d6aa (svn r10212) -Fix [FS#723]: money overflow bugs in many locations. 2007-06-19 00:05:26 +00:00
rubidium
28f97c790a (svn r10191) -Backport (r9148 from NoAI): detecting of CPU type (32 vs 64 bits). 2007-06-17 20:36:14 +00:00