summaryrefslogtreecommitdiff
path: root/src/win32.cpp
AgeCommit message (Collapse)Author
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
2007-07-27(svn r10711) -Fix [Win32]: take default language from current user's locale ↵KUDr
on Windows (In-)
2007-07-25(svn r10684) -Codechange: some more coding style related changes. Primarily ↵rubidium
moving { to a new line.
2007-07-05(svn r10445) -Fix (Win32, r10444): remove #include "hal.h"KUDr
2007-06-17(svn r10182) -Codechange: rewrite most part of the file loading/searching to ↵rubidium
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.
2007-06-08(svn r10073) -Codechange: make the NewGRF paths in the config file without ↵rubidium
any full paths (again).
2007-05-14(svn r9834) -Add: win9x check in win32 buildsglx