glx
4bb40a7d44
(svn r14154) -Fix (r14153): strndup is a GNU extension, so it doesn't exist on all platforms
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().
17 years ago
rubidium
33e18c236d
(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
17 years ago
glx
bbb9dafa32
(svn r13122) -Fix: WIN32_LEAN_AND_MEAN define is needed for all WIN32 compilers
17 years ago
rubidium
c27f3cfa62
(svn r12977) -Codechange: remove quite some redundant (duplicate) function declarations.
17 years ago
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.
17 years ago
rubidium
f1820a5708
(svn r12930) -Add: build support for NetBSD and HP-UX. Patch by ahoka.
17 years ago
smatz
3fe8c58257
(svn r12777) -Codechange: rename fatal() and error() in strgen, so it can always have the NORETURN attribute
17 years ago
rubidium
ca1f8fbe2e
(svn r12761) -Codechange: lots of minor whitespace coding style fixes around operators.
17 years ago
smatz
c3399b6848
(svn r12573) -Codechange: use defined constants instead of numbers in math_func.hpp
17 years ago
rubidium
1db6c4d55e
(svn r12571) -Fix: MorphOS misses INT16_MAX/INT16_MIN.
17 years ago
skidd13
5a98861958
(svn r12344) -Codechange: Check uint64 bitsize on compiletime too.
17 years ago
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.
17 years ago
rubidium
a83b91dbc5
(svn r11939) -Codechange: some type fixes and very initial steps into supporting NDS by default. Based on work by Dominik.
17 years ago
glx
d4e8ffd7b3
(svn r11856) -Revert (r11772): since FS#1335 is solved, we do not need the extra checking and such anymore.
17 years ago
glx
cfcce9603c
(svn r11772) -Change: add some extra checking in the hope to find the cause of FS#1335
17 years ago
rubidium
851f19b341
(svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp.
17 years ago
skidd13
fec9cd587c
(svn r11687) -Codechange: move some defines to a better place
17 years ago
rubidium
507463e420
(svn r11684) -Codechange: split gfx.h in a type and functional header.
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
glx
8bd26725d3
(svn r11610) -Cleanup (r8572): remove orphan comment
17 years ago
rubidium
bde4b44473
(svn r11606) -Revert (r11584): since FS#1482 is solved, we do not need the extra checking and such anymore.
17 years ago
rubidium
2b9f51219f
(svn r11584) -Change: add some extra checking in the hope to find the cause of FS#1482.
17 years ago
skidd13
2b372e7e7b
(svn r11563) -Codechange: Align the preprocessor code in stdafx.h with tabs
17 years ago
skidd13
7a4d96f629
(svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style
...
This fixes also FS#1450
17 years ago
rubidium
b166ca6bec
(svn r11467) -Fix [FS#1450]: OpenBSD has ALIGN already defined, causing compilation failures.
17 years ago
bjarni
d8fe1e3bb4
(svn r11325) -Fix (r11312)[FS#1357]: [OSX] fixed compilation on OSX
17 years ago
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
17 years ago
glx
fef1907c39
(svn r10607) -Fix r10605: use '&&' in preprocessor directives (MSVC doesn't like 'and')
17 years ago
rubidium
524e306650
(svn r10605) -Fix [FS#1046]: also OpenBSD does not know wchar. Patch by Matthias.
17 years ago
rubidium
df009178d4
(svn r10587) -Codechange: move the string/dparam related stuff from variables.h to strings.h
17 years ago
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.
17 years ago
KUDr
c5a122d642
(svn r10428) -Fix: some more VC code analyzer warnings disabled
17 years ago
KUDr
94a5310888
(svn r10421) -Fix [MSVC]: suppress some code analyzer warnings for VC8
17 years ago
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
18 years ago
rubidium
f765b3d6aa
(svn r10212) -Fix [FS#723]: money overflow bugs in many locations.
18 years ago
rubidium
28f97c790a
(svn r10191) -Backport (r9148 from NoAI): detecting of CPU type (32 vs 64 bits).
18 years ago
rubidium
3c7a85fe94
(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
rubidium
9a57a1912d
(svn r10073) -Codechange: make the NewGRF paths in the config file without any full paths (again).
18 years ago
glx
91e638271c
(svn r9865) -Fix (r9862): NOT_REACHED() and error() declarations are needed for strgen
18 years ago
rubidium
b91ef25683
(svn r9862) -Fix (9842): strgen's error() does return in contrast to OTTD's error().
18 years ago
rubidium
f17f17fa45
(svn r9842) -Codechange: now NOT_REACHED is also triggered when debugging is disabled.
18 years ago
truelight
b12b03dcda
(svn r9711) -Fix: don't include one system-header-file on MorphOS as it gives silly warnings and is unneeded for OpenTTD
18 years ago
belugas
097b3b3c7b
(svn r9662) -Documentation: Doxygen corrections and @file omissions
18 years ago
belugas
6a86e75870
(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. The end of the preliminary work is near
18 years ago
KUDr
3ccc5e7b27
(svn r9104) -Fix(r9080, r9081): UINT32_MAX is undefined on MSVC, std::numeric_limits doesn't exist in gcc 2.95 (MorphOS), so back to tree and use ~0 instead (peter1138)
18 years ago
KUDr
9cd4f3a204
(svn r9081) -Fix(r9080): UINT32_MAX is undefined on MSVC. Use std::numeric_limits<uint32>::max() instead.
18 years ago
Darkvater
1a2576cd7e
(svn r9055) -Codechange: Change windows unicode handling and allow a pure non-unicode build to function. Win9x binaries will be possible with mingw/nightly system.
18 years ago
rubidium
b9b0edbec4
(svn r9036) -Fix [SunOS]: SunOS/Solaris does not have stdint.h, so use inttypes.h which defines the things we need from stdint.h.
18 years ago
Darkvater
e514d3972f
(svn r8974) -Fix: [win32] Define a win32 target platform ourselves so that we don't conflict with Vista Platform SDK (boekabart)
18 years ago