summaryrefslogtreecommitdiff
path: root/src/stdafx.h
AgeCommit message (Collapse)Author
2008-01-21(svn r11939) -Codechange: some type fixes and very initial steps into ↵rubidium
supporting NDS by default. Based on work by Dominik.
2008-01-15(svn r11856) -Revert (r11772): since FS#1335 is solved, we do not need the ↵glx
extra checking and such anymore.
2008-01-07(svn r11772) -Change: add some extra checking in the hope to find the cause ↵glx
of FS#1335
2007-12-25(svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp.rubidium
2007-12-23(svn r11687) -Codechange: move some defines to a better placeskidd13
2007-12-23(svn r11684) -Codechange: split gfx.h in a type and functional header.rubidium
2007-12-09(svn r11611) -Codechange: it is now possible to use a define to enable ↵glx
asserts and show them in crash.log for MSVC release builds
2007-12-09(svn r11610) -Cleanup (r8572): remove orphan commentglx
2007-12-09(svn r11606) -Revert (r11584): since FS#1482 is solved, we do not need the ↵rubidium
extra checking and such anymore.
2007-12-06(svn r11584) -Change: add some extra checking in the hope to find the cause ↵rubidium
of FS#1482.
2007-12-02(svn r11563) -Codechange: Align the preprocessor code in stdafx.h with tabsskidd13
2007-11-19(svn r11480) -Codechange: Rename the function ALIGN fitting to the naming styleskidd13
This fixes also FS#1450
2007-11-18(svn r11467) -Fix [FS#1450]: OpenBSD has ALIGN already defined, causing ↵rubidium
compilation failures.
2007-10-21(svn r11325) -Fix (r11312)[FS#1357]: [OSX] fixed compilation on OSXbjarni
2007-08-03(svn r10778) -Fix: one-liners to allow MSVC and WINCE to work together (or ↵truelight
anyway, a step towards that goal) -Fix: put DEBUG lines under WINCE via a function designed for just that under WINCE
2007-07-18(svn r10607) -Fix r10605: use '&&' in preprocessor directives (MSVC doesn't ↵glx
like 'and')
2007-07-17(svn r10605) -Fix [FS#1046]: also OpenBSD does not know wchar. Patch by ↵rubidium
Matthias.
2007-07-16(svn r10587) -Codechange: move the string/dparam related stuff from ↵rubidium
variables.h to strings.h
2007-07-14(svn r10562) -Fix: most of the MorphOS issues; MorphOS doesn't know about ↵rubidium
wchars, so disable all code that has to use wchars for MorphOS.
2007-07-04(svn r10428) -Fix: some more VC code analyzer warnings disabledKUDr
2007-07-03(svn r10421) -Fix [MSVC]: suppress some code analyzer warnings for VC8KUDr
2007-06-23(svn r10292) -Fix: suppress VC 7.1 warning: "\src\texteff.cpp(251) : warning ↵KUDr
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-19(svn r10212) -Fix [FS#723]: money overflow bugs in many locations.rubidium
2007-06-17(svn r10191) -Backport (r9148 from NoAI): detecting of CPU type (32 vs 64 bits).rubidium
2007-06-17(svn r10182) -Codechange: rewrite most part of the file loading/searching to ↵rubidium
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.
2007-06-08(svn r10073) -Codechange: make the NewGRF paths in the config file without ↵rubidium
any full paths (again).
2007-05-17(svn r9865) -Fix (r9862): NOT_REACHED() and error() declarations are needed ↵glx
for strgen
2007-05-17(svn r9862) -Fix (9842): strgen's error() does return in contrast to OTTD's ↵rubidium
error().
2007-05-15(svn r9842) -Codechange: now NOT_REACHED is also triggered when debugging is ↵rubidium
disabled.
2007-04-21(svn r9711) -Fix: don't include one system-header-file on MorphOS as it ↵truelight
gives silly warnings and is unneeded for OpenTTD
2007-04-17(svn r9662) -Documentation: Doxygen corrections and @file omissionsbelugas
2007-04-04(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. ↵belugas
The end of the preliminary work is near
2007-03-10(svn r9104) -Fix(r9080, r9081): UINT32_MAX is undefined on MSVC, ↵KUDr
std::numeric_limits doesn't exist in gcc 2.95 (MorphOS), so back to tree and use ~0 instead (peter1138)
2007-03-09(svn r9081) -Fix(r9080): UINT32_MAX is undefined on MSVC. Use ↵KUDr
std::numeric_limits<uint32>::max() instead.
2007-03-07(svn r9055) -Codechange: Change windows unicode handling and allow a pure ↵Darkvater
non-unicode build to function. Win9x binaries will be possible with mingw/nightly system.
2007-03-06(svn r9036) -Fix [SunOS]: SunOS/Solaris does not have stdint.h, so use ↵rubidium
inttypes.h which defines the things we need from stdint.h.
2007-03-02(svn r8974) -Fix: [win32] Define a win32 target platform ourselves so that ↵Darkvater
we don't conflict with Vista Platform SDK (boekabart)
2007-02-19(svn r8818) -Codechange: remove the #ifdef _cplusplus remnants.rubidium
2007-02-11(svn r8674) [PSP] -Add: added network code for PSP, based on the work of Turulotruelight
-Add: added general header-inclusing for PSP
2007-02-08(svn r8647) -Codechange: add a general way to handle platforms who can only ↵truelight
have a limited amount of file-descripters open at any given time. The Fios keeps track how many times a file is opened, and tries to close up files which aren't used often. The first platform using this is PSP. Patch based on the work of Turulo.
2007-02-06(svn r8613) -Fix [MorphOS]: offsetof() macro undefined for MorphOS buildKUDr
2007-02-04(svn r8574) -Fix: Silence VC2003 warning: "compiler limit : terminating ↵KUDr
debug information emission for enum 'StringIdEnum'"
2007-02-04(svn r8573) -Cleanup: obey the comment style in stdafx.h.rubidium
2007-02-04(svn r8572) -Fix: use the C++ version of the Standard C Library headers. ↵rubidium
This due to the fact that some stl headers will include them anyway and #undef several defines made in stdafx.h. An example of this is that fopen that we redefine to _wfopen (for Windows Unicode compatability), is reverted to a non-Windows Unicode compatible fopen. This makes it impossible to start openttd with non-ASCII characters in the path or load savegames with non-ASCII characters under Windows.
2007-01-26(svn r8413) -Fix [MORPHOS]: disable #define offsetof conflict on Morphos ↵KUDr
(seems that g++ 2.95 defines it anyway)
2007-01-24(svn r8382) -Fix (r8374): moved the include of stdint.h to the front of stdafx.hbjarni
This fixes the issue where OSX included stdint.h though other includes before defining __STDC_LIMIT_MACROS (and failed to compile because of this)
2007-01-23(svn r8374) -Fix (r8367): LLONG_MAX isn't always defined, and INT64_MAX ↵maedhros
describes the required value better anyway. However, INT64_MAX comes from stdint.h which doesn't seem to exist on MSVC or MorphOS, so it's defined manually for them.
2007-01-23(svn r8373) -Codechange: remove some obsolete MSVC6 compatability definesrubidium
2007-01-21(svn r8306) [WinCE] -Fix: some functions don't exists in WinCE, so give an ↵truelight
alternative where possible
2007-01-14(svn r8131) -Fix (r8125): g++ warning: 'invalid access to non-static data ↵KUDr
member ‘<class>::<member>’ of NULL object'. It is weird, but renaming the 'offsetof' macro helped.