rubidium
7fd1e1df81
(svn r23198) -Codechange: introduce a free that takes const pointers so we don't need to cast to void/non-const before being able to free
13 years ago
frosch
398ed7ebb8
(svn r22881) -Fix (r22875): GCC warnings on 64bit systems.
13 years ago
frosch
5ccd091fd1
(svn r22881) -Fix (r22875): GCC warnings on 64bit systems.
13 years ago
michi_cc
dcef62040f
(svn r22875) -Codechange: Add some asserts and checks to better prevent overflow of the argument to malloc. (monoid)
13 years ago
michi_cc
f227e90c24
(svn r22875) -Codechange: Add some asserts and checks to better prevent overflow of the argument to malloc. (monoid)
13 years ago
alberth
7a625aa7df
(svn r22171) -Add: Add settings generator program.
14 years ago
alberth
98d5302c63
(svn r22171) -Add: Add settings generator program.
14 years ago
smatz
817392c9b0
(svn r22041) -Codechange: add a check that we called PoolItem::CanAllocateItem() before actually allocating it
14 years ago
smatz
fbfb0ffbf2
(svn r22041) -Codechange: add a check that we called PoolItem::CanAllocateItem() before actually allocating it
14 years ago
glx
3da0c86304
(svn r21680) -Fix (r21656): of course MSVC complains
14 years ago
glx
aa7a587ca3
(svn r21680) -Fix (r21656): of course MSVC complains
14 years ago
rubidium
0a34d95374
(svn r19853) -Fix [FS#3840]: revert r19781 and apply a more sensible version with the same effect
15 years ago
rubidium
2de9e2d16b
(svn r19853) -Fix [FS#3840]: revert r19781 and apply a more sensible version with the same effect
15 years ago
glx
862321c62a
(svn r19787) -Fix: compilation with MinGW GCC 4.5.0 and UNICODE
15 years ago
glx
26bf9a13de
(svn r19787) -Fix: compilation with MinGW GCC 4.5.0 and UNICODE
15 years ago
rubidium
a06b3c0646
(svn r19781) -Fix [FS#3809]: compilation on NetBSD failed (Krille)
15 years ago
rubidium
a8fa3dd3ce
(svn r19781) -Fix [FS#3809]: compilation on NetBSD failed (Krille)
15 years ago
rubidium
fe63c484cb
(svn r19778) -Change: use the value from PATH_MAX (POSIX) for MAX_PATH (Windows/OpenTTD) if it exists
15 years ago
rubidium
369dedca89
(svn r19778) -Change: use the value from PATH_MAX (POSIX) for MAX_PATH (Windows/OpenTTD) if it exists
15 years ago
rubidium
d058df8828
(svn r19698) -Add: macros to get the size/length of a variable within a class
15 years ago
rubidium
f642c01fb4
(svn r19698) -Add: macros to get the size/length of a variable within a class
15 years ago
smatz
258b128a56
(svn r19614) -Codechange: "it's" => "its" where appropriate
15 years ago
smatz
0ef33548c2
(svn r19614) -Codechange: "it's" => "its" where appropriate
15 years ago
frosch
19e26fcb12
(svn r19604) -Codechange: Reintroduce assert_tcompile().
15 years ago
frosch
03c609f019
(svn r19604) -Codechange: Reintroduce assert_tcompile().
15 years ago
yexo
5d37ff11ba
(svn r19570) -Add: [NewGRF] support for extended text code 0x9A 11, print qword
15 years ago
yexo
705955b1e6
(svn r19570) -Add: [NewGRF] support for extended text code 0x9A 11, print qword
15 years ago
yexo
128ef7617d
(svn r19352) -Fix (r19332): MSVC doesn't have M_PI in math.h
15 years ago
yexo
0baa5ff944
(svn r19352) -Fix (r19332): MSVC doesn't have M_PI in math.h
15 years ago
rubidium
b893abb356
(svn r19248) -Fix: DOS 'port' did not compile anymore
15 years ago
rubidium
77214378ca
(svn r19248) -Fix: DOS 'port' did not compile anymore
15 years ago
rubidium
52047aef75
(svn r19177) -Codechange: introduce INT8_MIN/MAX and UINT8_MAX for MSVC.
15 years ago
rubidium
e2adecd927
(svn r19177) -Codechange: introduce INT8_MIN/MAX and UINT8_MAX for MSVC.
15 years ago
rubidium
0bf54aaedb
(svn r18862) -Fix [FS#3544]: don't pass AI strings through iconv
15 years ago
rubidium
b1bd106703
(svn r18862) -Fix [FS#3544]: don't pass AI strings through iconv
15 years ago
smatz
b27a12b8b6
(svn r18057) -Codechange: replace assert_compile() by new one which works with gcc3.3 and removes the need of assert_tcompile()
15 years ago
smatz
8d95e16ff1
(svn r18057) -Codechange: replace assert_compile() by new one which works with gcc3.3 and removes the need of assert_tcompile()
15 years ago
rubidium
eeb6cf766b
(svn r18045) -Fix: GCC 4.5@HEAD not compiling OpenTTD anymore because of a "non-placement deallocation function [is] selected for placement delete", or in other words delete(void *, size_t) is 'magic'.
...
We implemented these delete(void *, size_t) operator functions because MSVC warned that "no matching operator delete found; memory will not be freed if initialization throws an exception" for new(size_t, size_t).
This disables MSVC warning about this because we do not use exceptions in the (constructors that use the) overridden allocation functions, as such they will never be called; delete(void *) remains necessary though.
15 years ago
rubidium
485b5a9c2f
(svn r18045) -Fix: GCC 4.5@HEAD not compiling OpenTTD anymore because of a "non-placement deallocation function [is] selected for placement delete", or in other words delete(void *, size_t) is 'magic'.
...
We implemented these delete(void *, size_t) operator functions because MSVC warned that "no matching operator delete found; memory will not be freed if initialization throws an exception" for new(size_t, size_t).
This disables MSVC warning about this because we do not use exceptions in the (constructors that use the) overridden allocation functions, as such they will never be called; delete(void *) remains necessary though.
15 years ago
frosch
966d8d8f52
(svn r17810) -Codechange/Fix: Add assert_tcompile() and use it.
...
OTTD's traditional assert_compile() does not work inside templates for gcc compilers, static_assert() does though.
The new assert_tcompile() resolves into static_assert() if present, or into a runtime assert() else.
15 years ago
frosch
b8f8c60839
(svn r17810) -Codechange/Fix: Add assert_tcompile() and use it.
...
OTTD's traditional assert_compile() does not work inside templates for gcc compilers, static_assert() does though.
The new assert_tcompile() resolves into static_assert() if present, or into a runtime assert() else.
15 years ago
michi_cc
83e1f7358f
(svn r17706) -Codechange: [OSX] Rework the crash handling to use the common CrashLog infrastructure.
15 years ago
michi_cc
5f67762a7f
(svn r17706) -Codechange: [OSX] Rework the crash handling to use the common CrashLog infrastructure.
15 years ago
rubidium
d579a9366a
(svn r17606) -Add: initial support for Haiku; a dedicated server with zlib and libpng compiles and links (for me). Something's fishy with the network so it doesn't actually work (yet)
15 years ago
rubidium
01ab1c6001
(svn r17606) -Add: initial support for Haiku; a dedicated server with zlib and libpng compiles and links (for me). Something's fishy with the network so it doesn't actually work (yet)
15 years ago
smatz
17993769c0
(svn r17465) -Codechange: use builtin static_assert() for assert_compile() if available
15 years ago
smatz
2e2d00bee7
(svn r17465) -Codechange: use builtin static_assert() for assert_compile() if available
15 years ago
rubidium
a595d3f8c3
(svn r17453) -Add: crash logger for all Unixy OSes; should work for all, but I don't have all exotic machines so it might break compilation on the more exotic configurations
15 years ago
rubidium
d916400521
(svn r17453) -Add: crash logger for all Unixy OSes; should work for all, but I don't have all exotic machines so it might break compilation on the more exotic configurations
15 years ago
rubidium
1d7619fdb5
(svn r17450) -Codechange: refactor the windows crash logger so parts of it can be reused by other crash logger implementations
15 years ago
rubidium
2b144e2ea6
(svn r17450) -Codechange: refactor the windows crash logger so parts of it can be reused by other crash logger implementations
15 years ago
rubidium
fab411abdc
(svn r17410) -Codechange: use the same define for determining whether windows does crash reports instead of using several that aren't necessarily equal
15 years ago
rubidium
c9a1f33418
(svn r17410) -Codechange: use the same define for determining whether windows does crash reports instead of using several that aren't necessarily equal
15 years ago
smatz
8cf944001d
(svn r17358) -Fix: compilation was broken for gcc older than 3.4
15 years ago
smatz
94988a79f3
(svn r17358) -Fix: compilation was broken for gcc older than 3.4
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
yexo
c463176a9c
(svn r17219) -Cleanup: remove a lot of unused string code
15 years ago
yexo
94198e09ce
(svn r17219) -Cleanup: remove a lot of unused string code
15 years ago
rubidium
6cf59514d1
(svn r16828) -Codechange: attempt at making OSX compile with the 10.6 SDK too; no guarantees ofcourse...
15 years ago
rubidium
6f0d8acf55
(svn r16828) -Codechange: attempt at making OSX compile with the 10.6 SDK too; no guarantees ofcourse...
15 years ago
smatz
fe57925910
(svn r16715) -Codechange: add attribute to assert_compile(), so it doesn't warn when used inside function
15 years ago
smatz
93c5300fc5
(svn r16715) -Codechange: add attribute to assert_compile(), so it doesn't warn when used inside function
15 years ago
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.
16 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
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
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
6ceeb47c8b
(svn r15892) -Codechange: [OSX] some type fixes so OpenTTD likes more of the 3.1.x Xcodes.
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
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.
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
968a2c95f8
(svn r15706) -Fix: Make sure the filename passed to unlink() is always in file system encoding.
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
1dcbba1c2d
(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
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
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...
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
28ea38ae55
(svn r14949) -Cleanup: pointer coding style
16 years ago
rubidium
11da45ee55
(svn r14949) -Cleanup: pointer coding style
16 years ago
rubidium
5dd4735da1
(svn r14636) -Add: DOS port of OpenTTD, without network support though.
16 years ago
rubidium
a614dd7174
(svn r14636) -Add: DOS port of OpenTTD, without network support though.
16 years ago
rubidium
b0a9ce2d9a
(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
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
f1911b167a
(svn r14553) -Doc: Add some doxygen comments
16 years ago
skidd13
6043b4574e
(svn r14553) -Doc: Add some doxygen comments
16 years ago
glx
4bb40a7d44
(svn r14154) -Fix (r14153): strndup is a GNU extension, so it doesn't exist on all platforms
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
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
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
33e18c236d
(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
17 years ago
rubidium
5c5ee7eb57
(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
glx
5ea41a57b8
(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
402a1e24ba
(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
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
f1820a5708
(svn r12930) -Add: build support for NetBSD and HP-UX. Patch by ahoka.
17 years ago
rubidium
4097d81323
(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
smatz
f32ecbcadb
(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
rubidium
9d8fa486af
(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
smatz
fb379b522d
(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
rubidium
c5814a72ce
(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
skidd13
442efcffb0
(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
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
a83b91dbc5
(svn r11939) -Codechange: some type fixes and very initial steps into supporting NDS by default. Based on work by Dominik.
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
d4e8ffd7b3
(svn r11856) -Revert (r11772): since FS#1335 is solved, we do not need the extra checking and such anymore.
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
cfcce9603c
(svn r11772) -Change: add some extra checking in the hope to find the cause of FS#1335
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
851f19b341
(svn r11694) -Codechange: move more endianness related stuff to endian_func.hpp.
17 years ago
rubidium
b3f6c0734b
(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
skidd13
da5d3a7b3b
(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
rubidium
a773d45885
(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
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
8bd26725d3
(svn r11610) -Cleanup (r8572): remove orphan comment
17 years ago
glx
46c0edc80b
(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
079c0fd66a
(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
rubidium
42dbdbb7f9
(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
1a43c6a6f6
(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
skidd13
58bb5c7525
(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
rubidium
e15a5365d1
(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
bjarni
04dd59df0e
(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
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
fef1907c39
(svn r10607) -Fix r10605: use '&&' in preprocessor directives (MSVC doesn't like 'and')
17 years ago
glx
d8690139b4
(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
736eafaf8e
(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
efc7fdf2fd
(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
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
c5a122d642
(svn r10428) -Fix: some more VC code analyzer warnings disabled
17 years ago
KUDr
255389a963
(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
7dc5d11448
(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
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
f765b3d6aa
(svn r10212) -Fix [FS#723]: money overflow bugs in many locations.
18 years ago
rubidium
16ce2192e4
(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
6680a6a0e6
(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
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
rubidium
9a57a1912d
(svn r10073) -Codechange: make the NewGRF paths in the config file without any full paths (again).
18 years ago
rubidium
142f2aba15
(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
glx
5b74a6ab2f
(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
c8a84628f6
(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
rubidium
f9e0d3835b
(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
truelight
a5b77fad87
(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
607a55f4ec
(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
belugas
dfe5533db6
(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
00bc893312
(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
KUDr
933c406678
(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
Darkvater
2536a14abd
(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
rubidium
f1abcf0ff7
(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
Darkvater
c0971bafdc
(svn r8974) -Fix: [win32] Define a win32 target platform ourselves so that we don't conflict with Vista Platform SDK (boekabart)
18 years ago
rubidium
af18972b7a
(svn r8818) -Codechange: remove the #ifdef _cplusplus remnants.
18 years ago
rubidium
ee3d28ff8f
(svn r8818) -Codechange: remove the #ifdef _cplusplus remnants.
18 years ago
truelight
c8c9c0c831
(svn r8674) [PSP] -Add: added network code for PSP, based on the work of Turulo
...
-Add: added general header-inclusing for PSP
18 years ago
truelight
0d91ed68a9
(svn r8674) [PSP] -Add: added network code for PSP, based on the work of Turulo
...
-Add: added general header-inclusing for PSP
18 years ago
truelight
f5ea97e0b3
(svn r8647) -Codechange: add a general way to handle platforms who can only 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.
18 years ago
truelight
7cd68b5a07
(svn r8647) -Codechange: add a general way to handle platforms who can only 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.
18 years ago
KUDr
727409d2e8
(svn r8613) -Fix [MorphOS]: offsetof() macro undefined for MorphOS build
18 years ago
KUDr
f801a5c04f
(svn r8613) -Fix [MorphOS]: offsetof() macro undefined for MorphOS build
18 years ago
KUDr
3f7d1fd2de
(svn r8574) -Fix: Silence VC2003 warning: "compiler limit : terminating debug information emission for enum 'StringIdEnum'"
18 years ago
KUDr
62486a73ed
(svn r8574) -Fix: Silence VC2003 warning: "compiler limit : terminating debug information emission for enum 'StringIdEnum'"
18 years ago
rubidium
9796411a24
(svn r8573) -Cleanup: obey the comment style in stdafx.h.
18 years ago
rubidium
ec058624ad
(svn r8573) -Cleanup: obey the comment style in stdafx.h.
18 years ago
rubidium
3675874113
(svn r8572) -Fix: use the C++ version of the Standard C Library headers. 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.
18 years ago
rubidium
1945653380
(svn r8572) -Fix: use the C++ version of the Standard C Library headers. 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.
18 years ago
KUDr
1943e8cb8c
(svn r8413) -Fix [MORPHOS]: disable #define offsetof conflict on Morphos (seems that g++ 2.95 defines it anyway)
18 years ago