Commit Graph

436 Commits (jgrpp)

Author SHA1 Message Date
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
KUDr 29a332e829 (svn r8413) -Fix [MORPHOS]: disable #define offsetof conflict on Morphos (seems that g++ 2.95 defines it anyway) 18 years ago
bjarni 625368772e (svn r8382) -Fix (r8374): moved the include of stdint.h to the front of stdafx.h
This fixes the issue where OSX included stdint.h though other includes before defining __STDC_LIMIT_MACROS (and failed to compile because of this)
18 years ago
bjarni 072e429220 (svn r8382) -Fix (r8374): moved the include of stdint.h to the front of stdafx.h
This fixes the issue where OSX included stdint.h though other includes before defining __STDC_LIMIT_MACROS (and failed to compile because of this)
18 years ago
maedhros 24b81e6e46 (svn r8374) -Fix (r8367): LLONG_MAX isn't always defined, and INT64_MAX 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.
18 years ago
maedhros 18fa2ca233 (svn r8374) -Fix (r8367): LLONG_MAX isn't always defined, and INT64_MAX 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.
18 years ago
rubidium 96e3e8cd1a (svn r8373) -Codechange: remove some obsolete MSVC6 compatability defines 18 years ago
rubidium cfb7fb3ac4 (svn r8373) -Codechange: remove some obsolete MSVC6 compatability defines 18 years ago
truelight 7ee1ff5af1 (svn r8306) [WinCE] -Fix: some functions don't exists in WinCE, so give an alternative where possible 18 years ago
truelight 4dae672e92 (svn r8306) [WinCE] -Fix: some functions don't exists in WinCE, so give an alternative where possible 18 years ago
KUDr 3439942ab5 (svn r8131) -Fix (r8125): g++ warning: 'invalid access to non-static data member ‘<class>::<member>’ of NULL object'. It is weird, but renaming the 'offsetof' macro helped. 18 years ago
KUDr f8a434e9fc (svn r8131) -Fix (r8125): g++ warning: 'invalid access to non-static data member ‘<class>::<member>’ of NULL object'. It is weird, but renaming the 'offsetof' macro helped. 18 years ago
orudge 5652c39bdd (svn r8042) - Fix: OS/2 compilation with GCC (thanks to Paul Smedley and TrueBrain for their help) 18 years ago
orudge 6b58c1c2ff (svn r8042) - Fix: OS/2 compilation with GCC (thanks to Paul Smedley and TrueBrain for their help) 18 years ago
rubidium a7d0cdf95f (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 18 years ago
rubidium f35ed4bbc2 (svn r8038) -Merge: the cpp branch. Effort of KUDr, Celestar, glx, Smoovius, stillunknown and pv2b. 18 years ago
bjarni 1082ab40fa (svn r7887) -Fix: [OSX] Endian32_Swap should always return a uint32, not a long unsigned int
This kills an OSX specific warning in newgrf_config.c
  Ensured that Endian16_Swap returns uint16 as well, even though that one didn't result in any warnings (yet)
18 years ago
bjarni 674dcfa5d2 (svn r7887) -Fix: [OSX] Endian32_Swap should always return a uint32, not a long unsigned int
This kills an OSX specific warning in newgrf_config.c
  Ensured that Endian16_Swap returns uint16 as well, even though that one didn't result in any warnings (yet)
18 years ago
rubidium 013df98f79 (svn r7759) -Merge: makefile rewrite. This merge features:
- A proper ./configure, so everything needs to be configured only once, not for every make.
 - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
 - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
 - Proper support for OSX universal binaries.
 - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
 - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.

Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
18 years ago
rubidium 66bbf336c6 (svn r7759) -Merge: makefile rewrite. This merge features:
- A proper ./configure, so everything needs to be configured only once, not for every make.
 - Usage of makedepend when available. This greatly reduces the time needed for generating the dependencies.
 - A generator for all project files. There is a single file with sources, which is used to generate Makefiles and the project files for MSVC.
 - Proper support for OSX universal binaries.
 - Object files for non-MSVC compiles are also placed in separate directories, making is faster to switch between debug and release compiles and it does not touch the directory with the source files.
 - Functionality to make a bundle of all needed files for for example a nightly or distribution of a binary with all needed GRFs and language files.

Note: as this merge moves almost all files, it is recommended to make a backup of your working copy before updating your working copy.
18 years ago