summaryrefslogtreecommitdiff
path: root/stdafx.h
AgeCommit message (Collapse)Author
2005-11-14(svn r3181) -Bracingtron
-Indentation -Whitespace -DeMorgan's Law -Test with NULL or 0 for non-booleans -'\0' instead of 0 for chars -Remove redundantly redundant comments (like DoFoo(); // Do foo) -Join multiple short lines with a single statement -Split single lines with multiple statements -Avoid assignments in if
2005-10-03(svn r3011) Refix last revision's fix of VS6 which broke compilation on ↵Darkvater
MinGW. Also beautify stdafx.h with nice indentation and comments after big #ifdef blocks. Hope it didn't break compilation on any OS's.
2005-10-03(svn r3009) DIEEEEEEEEEEE VS6 (you good-for-nothing compiler)Darkvater
2005-10-02(svn r3008) [ 1247535 ] Native Support for Win64 (compile&run only) (michi_cc)Darkvater
Fix warning in graph_gui.c with const problem
2005-09-18(svn r2962) - const correctness for all Get* functions and most Draw* ↵Darkvater
functions that don't change their pointer parameters - change a lot of byte player types to PlayerID - beautify header files, same "#endif /* filename */" ending
2005-07-29(svn r2745) -Fix: [OSX] removed the assert window introduced in 2741 from strgenbjarni
- it appeared to cause problems and strgen don't need a GUI - renamed ottd to openttd in the app menu (Tobin)
2005-07-28(svn r2741) -Feature: [OSX] added a window to display asserts on OSX (Tobin)bjarni
2005-07-24(svn r2701) Insert Id tags into all source filestron
2005-07-19(svn r2635) Fix: [ntp/misc] Improve the old pathfinder. Changed it to A* ↵ludde
instead of Dijkstra. - Benchmark shows that NTP is now around 10x faster than NPF. - Made IsTunnelTile macro to determine if a tile is a tunnel. - Added some useful debugging functions for making tiles red / getting accurate timestamps. - Remove old depot finding algorithm. - Disable warning for signed/unsigned comparisons.
2005-07-17(svn r2617) - Fix: fix some warnings, and reenable vs.net2003 ↵Darkvater
signed/unsigned warnings
2005-07-13(svn r2560) Fix: various minor code changes.ludde
Added RandomTile/RandomTileSeed functions to generate a random tile. Changed landscape routines so they don't assume that the Y map side is a power of two. (support for this is not complete, though) Changed some frequently used map macros to not compute the values each time. Silence some warnings on MSVC.
2005-05-30(svn r2387) - CodeChange: made the saveload code more readable and also ↵Darkvater
removed the 'byte' saveload arrays which means you can save an array of more than 255 elements, or bigger structs than 255 bytes. This doesn't yet solve the problem that a chunk can be a maximum of 16384 big. - Fix: also fix an unnoticed error in SlSaveLoadConv() due to wrong types.
2005-05-14(svn r2316) - Fix: [ 1154454 ] Fix BeOS build on Trunk (myob)Darkvater
2005-04-24(svn r2225) -Fix: split the endian-detection to target/host. Now ↵truelight
cross-compiling on i386-linux for MacOSX should also work for the language-files (strgen issues)
2005-02-06(svn r1821) Move generic string handling functions to string.[ch] and ↵tron
introduce stre{cpy,cat}, see string.h for their semantics
2005-01-15(svn r1523) -Fix: somehow mousewheel was disabled on windows using SDL; ↵darkvater
reenabled again -Fix: added missing CDECL to ellipsis functions and changed VS6 project file to use _cdecl calling conventions (thx tamlin)
2005-01-06(svn r1402) Trim trailing whitespacetron
2005-01-03(svn r1339) -Fix: compilation with networking works on MinGW32 again (thx ↵darkvater
orudge).
2004-12-23(svn r1266) -Fix: fix some cygwin/mingw warningsdarkvater
-Note: when compiling with MinGW (-mno-cygwin) __MINGW32__ is defined; when compiling without it __CYGWIN32__ is defined. You need to set either -mno-cygwin (MinGW) or -mwin32 (Cygwin) to have WIN32 defined
2004-12-23(svn r1248) -Add: initial OS/2 support (read docs/ReadMe_OS2.txt) (orudge)truelight
Works fine, beside some minor stuff: - Network is not working yet - Keyboard is not working - No MIDI support - 'A few file selector bugs involving drives'
2004-12-22(svn r1236) MorphOS: added make release like in OSX (tokai)bjarni
MorphOS: cleaned up the code telling the difference between AmigaOS and MorphOS (tokai)
2004-12-08(svn r980) Fixed issues where MorphOS would get problems if AmigaOS would ↵bjarni
get a port, since MorphOS also have the flag __AMIGA__ defined (Tokai)
2004-12-04(svn r942) -Merged branch/network back into the trunktruelight
2004-12-03(svn r907) Sprinkle holy ANSI water:tron
- "inline" must before the return type (and after "static") - Initialise all struct members, not just some of them - Remove (one) spurious semicolon
2004-11-24(svn r793) Merge INLINE -> inline replacement (revision 376)tron
2004-11-17(svn r655) Add the necessary bits to make building on SunOS/Solaris worktron
2004-11-15(svn r624) Merge r377 to trunk:tron
Remove the memmove special case for MSVC According to the MSDN it was just plain wrong and memmove was directly used in some places anyway
2004-09-19(svn r295) -Fix: Rewrite and fix of console stuff, including marking (XXX) ↵darkvater
of areas that require further investigation (Tron) -Note: booby trapped some suspicous assignments (Tron)
2004-09-17(svn r281) -Fix: some endian issues fixed in network codesignde
2004-09-10(svn r194) -Codechange: stripping trailing-spaces. Please keep this that way!truelight
2004-09-04(svn r158) -Fix: make endianess check 100% accurate (hopefully ;))truelight
2004-08-09(svn r1) Import of revision 975 of old (crashed) SVNtruelight