summaryrefslogtreecommitdiff
path: root/src/win32.cpp
AgeCommit message (Collapse)Author
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-14(svn r15710) -Fix (r15706): for non MSVC io.h needs to be included before ↵glx
defining unlink. Also remove redundant tchar.h includes as it is already in stdafx.h.
2009-02-24(svn r15571) -Fix: incorrect use of memsetsmatz
2009-01-16(svn r15113) -Codechange: unify calling ScanForTarFiles when determining the ↵rubidium
paths.
2009-01-16(svn r15104) -Codechange: unify the resolving of the xyz kbytes/megabytes ↵rubidium
strings.
2009-01-09(svn r14944) -Cleanup: add spaces around some operatorsrubidium
2009-01-04(svn r14828) -Codechange: move most of save/load-specific code to separate filessmatz
2008-12-30(svn r14773) -Fix-ish[FS#2469]: attach a signal handler during loading ↵rubidium
savegames to catch any crashes due to broken savegames/missing NewGRFs and tell the user about that instead of "just" crashing without explanation.
2008-11-02(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat ↵skidd13
and strecpy where direct conversion is possible
2008-10-28(svn r14542) -Codechange: replace some sprintf with s[en]printf to make sure ↵rubidium
they will not overflow their buffers.
2008-10-22(svn r14518) -Fix (r14514): forgot win32 and OS/2 files (glx)smatz
2008-09-29(svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy ↵rubidium
doesn't guarantee the resulting string is '\0'-terminated.
2008-09-24(svn r14397) -Fix: possible buffer overrun, wrong parameter type passed to ↵rubidium
printf and && where || is meant. Found by MSVC's code analysis (Darkvater)
2008-08-31(svn r14200) -Fix (r14199): some OSes failed to compile. Furthermore I hate ↵rubidium
wrong comments!
2008-08-25(svn r14176) -Fix: better 'safe' than ... 'save'smatz
2008-07-14(svn r13701) -Codechange: add some more info in crash.logglx
2008-06-19(svn r13572) -Fix: MSVC x64 complains.rubidium
2008-06-10(svn r13456) -Codechange: use AllocaM() macro instead of alloca() at most placessmatz
2008-06-05(svn r13390) -Codechange: introduce usererror() for fatal but not openttd ↵glx
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().
2008-06-03(svn r13375) -Add: logging of actions that could possibly cause desyncs and ↵smatz
crashes to simplify debugging. See readme.txt for details
2008-06-02(svn r13361) -Fix (r13360): regexp failedglx
2008-06-02(svn r13360) -Fix (r13359): Forgot to remove some instances of FiosAlloc()skidd13
2008-05-27(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.rubidium
2008-05-13(svn r13081) -Fix: Empty while-loop warnings from gcc 4.3+glx
2008-05-08(svn r13019) -Fix [FS#1997]: silence some more MSVC x64 warnings (michi_cc)glx
2008-05-08(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warningsglx
2008-05-06(svn r12981) -Codechange: remove some useless includes and definesglx
2008-05-04(svn r12944) -Codechange: use rev.h instead of externs at many placessmatz
2008-04-18(svn r12762) -Fix: tabs after the first non-tab character are generally not ↵rubidium
okay (or lines starting with a space and then tabs).
2008-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
2008-01-07(svn r11779) -Fix: win32 compile failed. Also removed a duplicate includeglx
2008-01-07(svn r11777) -Codechange: split the string header and make do not include it ↵rubidium
when it's not necessary.
2007-12-25(svn r11692) -Codechange: move some functions from 'functions.h' to a more ↵rubidium
logical place and remove about 50% of the includes of 'functions.h'
2007-12-25(svn r11691) -Codechange: move+rename helpers.hpp and only include it when ↵rubidium
it is really needed.
2007-12-23(svn r11686) -Fix (r11684): win32 compilation was broken again :)glx
2007-12-23(svn r11683) -Fix(r11682): win32.cpp still requires gfx.h inclusion, at ↵belugas
least for now.
2007-12-22(svn r11682) -Codechange: move some 'generic' geometry related types into a ↵rubidium
single file and do not include gfx.h everywhere to get a Point type.
2007-12-21(svn r11676) -Fix (r11674): some references to macros.h were leftglx
2007-12-19(svn r11668) -Codechange: more refactoring aimed at reducing compile time ↵rubidium
and making it more logic where function definitions can be found.
2007-12-19(svn r11667) -Codechange: split window.h into a header that defines some ↵rubidium
'global' window related types, on that defined 'global' window functions and one that defines functions and types only used by *_gui.cpps.
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-08(svn r11597) -Change: replace all remaining instances of (re|m|c)alloc with ↵rubidium
(Re|M|C)allocT and add a check for out-of-memory situations to the *allocT functions.
2007-11-21(svn r11488) -Codechange: Spilt the random functions out to seperate fileskidd13
-Codechange: Make the mersenne twister more readable -Codechange: Unify the seeding process of random
2007-11-19(svn r11481) -Codechange: Rename the HASBIT function to fit with the naming ↵skidd13
style
2007-09-15(svn r11116) -Fix (r11106): tar loader was not compiled for WIN32glx
2007-08-19(svn r10948) -Add: [win32] crash.dmp support for MSVC release buildsglx
2007-08-04(svn r10781) -Fix: ported more pieces to WinCE, so it compiles a bit moretruelight
-Fix: WinCE doesn't support console -Fix: Set debug lvl4 when running a debug WinCE build (as you can't give parameters any easy way)
2007-07-30(svn r10736) -Fix: Correct all mispellings of 'successful'.peter1138
2007-07-27(svn r10713) -Cleanup (r10711): too long string buffers, unsafe sprintf used ↵KUDr
(Darkvater)
2007-07-27(svn r10712) -Fix (r10711): \0 at the end of string constant (glx)KUDr