summaryrefslogtreecommitdiff
path: root/src/win32.cpp
AgeCommit message (Collapse)Author
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
2007-04-18(svn r9673) -Cleanup: remove spaces before tabs and replace non-indenting ↵rubidium
tabs with spaces.
2007-04-18(svn r9672) -Cleanup: lots of coding style fixes around operands.rubidium
2007-04-09(svn r9580) -Documentation: Correction of doxygen function declarationsbelugas
2007-04-06(svn r9568) -Documentation: doxygen and comment changes: Root of src is ↵belugas
finally done. Now, time to start clearing as much as possible
2007-04-04(svn r9560) -Codechange: add support for multiple 'base' directories for ↵rubidium
newgrf searching. -Codechange: do not add duplicate files to the newgrf list.
2007-03-17(svn r9266) -Codechange: unify the retrieval of the base paths a little more.rubidium
2007-03-12(svn r9129) -Codechange: unify parts of DeterminePaths.rubidium
2007-03-10(svn r9085) -Codechange/Fix: [win32] Move the initialisation of _codepage ↵Darkvater
(non-UNICODE) to winMain as a dedicated server, or different video driver will not have a win32 messageloop.
2007-03-10(svn r9084) -Fix: [win9x] Clipboard paste for Windows95 (doesn't have ↵Darkvater
CF_UNICODETEXT) correctly converts the input to the current locale.
2007-03-07(svn r9055) -Codechange: Change windows unicode handling and allow a pure ↵Darkvater
non-unicode build to function. Win9x binaries will be possible with mingw/nightly system.
2007-03-07(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};rubidium
2007-03-07(svn r9050) -Codechange: Foo(void) -> Foo()rubidium
2007-03-06(svn r9043) -Fix [FS#652]: the personal (.openttd) directories were hidden ↵rubidium
in the load/save directory listings (stepancheg).
2007-03-02(svn r8975) -Regression: [win32] Possible buffer overflow if unicode text is ↵Darkvater
pasted into an input box and needs trimming. The last character was wrongly assumed to be of length 1 (tb->maxlength - 1), while a unicode character can be up to 4 long.
2007-02-27(svn r8933) -Fix [Win64]: rdtsc now uses intrinsic on VC8 (michi_cc)KUDr
2007-02-27(svn r8919) -Regression (UTF8) (try #2): Win9x is very picky about trailing ↵Darkvater
slashes in paths, so C:\\* will not work (but C:\Windows\\* does; go figure). Thanks glx for pointing it out and for the initial fix.
2007-02-23(svn r8860) -Cleanup: some style changes, proper #endif comments, variable ↵Darkvater
initialisation, WINCE ifdef and a vsprintf to vsnprintf change.
2007-02-23(svn r8853) -Cleanup: doxygen changes. Correct forgotten c files to cpp ↵belugas
files with the @file tag as well as a few general comments style
2007-02-20(svn r8824) -Fix (r8821): don't use MSVC2005 runtime library-only ↵Darkvater
_snwprintf_s function, but use 'insecure/deprecated' version and zero-terminate string ourselves. Thanks for testing glx.
2007-02-20(svn r8821) -Regression: Unable to browse directories on *nix if the ↵Darkvater
filesystem is not in UTF-8 charset and special characters are used. The string passed to opendir() which is UTF-8 was not parsed back to the filesystem format. Use a wrapper called ttd_opendir() instead of redefining opendir itself.
2007-02-01(svn r8508) -Codechange (r5762): [win32] Use an atomic operation to query ↵Darkvater
and set the value of _global_dir_is_in_use for opendir etc to guarantee concurrency.
2007-01-21(svn r8309) [WinCE] -Fix: WinCE doesn't know resolution changingtruelight
-Fix: WinCE doesn't know GetKeyboardState -Fix: made a replacement of GetCurrentDirectory, where CurDir is assumed to be the dir the executable is located (esoftinteractive.com) -Fix: the GCC compiler is more happy if the WinMain is called that -Fix: a really old typo (missing ')') ;) -Fix: GdiFlush() isn't supported on WinCE
2007-01-18(svn r8239) -Regression (r7278): Help window was empty for UNICODE buildsDarkvater
2007-01-14(svn r8134) -Fix (r8013): Add a newline after the ShowInfo console outputDarkvater