Age | Commit message (Collapse) | Author |
|
- 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.
|
|
deprecated by Apple (pvz)
|
|
|
|
|
|
debugging levels to
use in debug.h. grfmsg() is now used as a specific debug-function for grf.
|
|
|
|
scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
|
|
|
|
and silence 'set volume not implemented' warning at the default debug level.
|
|
macros for endian conversion
This increases the execution speed a lot since GCC can't detect the OTTD macro as an endian conversion
while Apple's code uses the instruction to convert endian instead of a series of instructions to produce the same result
Since we don't have that many endian conversions in the game, overall performance should not increase noteworthy
|
|
|
|
target by default
|
|
comments, excess empty lines, minor other changes
nothing spectacular, just some stuff, which piled up
|
|
this eliminates the long pauses between songs and the "leaving process hehind" bug (moebius_)
|
|
|
|
didn't work (glx)
|
|
argument list of execlp() as suggested by the manpage to make it correctly work on 64bit platforms
|
|
of exit(), because we don't want any atexit handlers - especially flushing output streams - to run, if exec() fails
Half a credit is due to Darkvater (;
|
|
|
|
example code in MSDN, this should fix a strange crash upon deinitialising wave out sound
|
|
|
|
Also check the return value of CreateThread()
|
|
- Merge the .c and .cpp part into one file
- Properly deinitialize at the end
- Remove "experimental" status
- Miscellaneous smaller changes
-Fix: Volume control works now
|
|
|
|
|
|
some #ifdefs and #includes for the Windows build
|
|
|
|
|
|
directories, oh my...
|
|
|
|
files and move them into subfolders.
This results in shorter and hopefully easier to maintain files.
Note: I had to change paths in #include statements of some unrelated files, because I added the ottd base directory to the include path (-I.)
|