summaryrefslogtreecommitdiff
path: root/src/os/windows/win32.cpp
AgeCommit message (Collapse)Author
2021-04-11Fix #9015: Don't set free space value if not requested. (#9016)PeterN
2021-04-09Change: [win32] Use user UI language for initial language selection (#8973) ↵Wim Leflere
(#8974)
2021-04-07Codechange: Remove the now meaningless console_cp parameter from OTTD2FSNiels Martin Hansen
2021-04-07Fix #8713: Change OTTD2FS and FS2OTTD to return string objects instead of ↵Niels Martin Hansen
static buffers
2021-02-23Change: [Win32] Use more modern way of getting free disk spaceNiels Martin Hansen
2021-02-23Codechange: Switch to explicit wide stringsNiels Martin Hansen
2021-02-23Remove: [Win32] Last pretenses of being able to build for Windows 95Niels Martin Hansen
2021-02-22Add: [Win32] Video driver that uses OpenGL to transfer the video buffer to ↵Michael Lutz
the screen.
2021-02-13Fix f1f281b31: [Win32] MinGW doesn't know timeapi.hglx22
2021-02-09Fix: [Win32] Set minimum resolution for timers to 1ms. (#8660)Loïc Guilloux
2021-01-03Add: always set PERSONAL_DIR "/content_download" in search path (#8481)Patric Stout
This means that if you start OpenTTD with "-c" to indicate another location to store files, it can still read the content you already downloaded from your PERSONAL_DIR. This folder is, however, read-only. This is useful for situations where you downloaded OpenGFX via the content-service, but want to run the regression or want to run with a clean configuration. With this change, you no longer need to download OpenGFX again.
2020-12-27Codechange: Use std::string in FIO search path handling.Michael Lutz
2020-12-27Codechange: Store file search paths as std::string.Michael Lutz
2020-12-27Codechange: Stringify config file paths.Michael Lutz
2020-12-13Fix: set SP_WORKING_DIR earlier with '-c'Patric Stout
On Windows, relative folders don't work so well. So we need to lookup the full path. This is best done in DetermineBasePaths() and as a bonus that only sets SP_WORKING_DIR once.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-04-07Fix: [Windows] OpenTTD window may be inactive when an error happens (#7482)glx22
2019-04-06Codechange: C++11 STL has a function for getting the number of CPU cores.Michael Lutz
2019-04-06Codechange: Use platform independent C++11 function for sleeping on a thread.Michael Lutz
2019-04-06Codechange: Replace custom thread code with C++11 thread objects.Michael Lutz
We assume a conforming C++11 compiler environment that has a valid <thread>-header. Failure to run a real thread is handled gracefully.
2019-01-17Codechange: Remove unnecessarily defined functions under MinGWCharles Pigott
2019-01-17Fix: A few minor compile warnings under MinGWCharles Pigott
2019-01-05Fix: [Win32] don't mess with std[out|err|in] if we can't allocate a consoleglx
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-07-19Codechange: Rearrange struct packing defines and make MinGW use _Pragma pack ↵Charles Pigott
style
2018-06-06Add: [Win32] Native natural sort implementation.Michael Lutz
2018-04-29Remove: WinCE supportPatric Stout
2016-10-30(svn r27673) -Add: [Win32] Thread names for windows debuggers.michi_cc
2016-09-04(svn r27643) -Codechange: FiosGetDrives function also takes a destination ↵alberth
file list.
2015-12-28(svn r27481) -Fix: [Win32] Stdin/out/err need to be re-assigned differently ↵michi_cc
if the runtime lib of MSVC2015 is used.
2015-08-13(svn r27385) -Fix: compilation failure due #define-ing enum name of a system ↵rubidium
library before including the system library
2015-05-20(svn r27290) -Fix: sanitize the command line arguments before doing anything ↵rubidium
complex with them
2014-05-22(svn r26606) -Fix [FS#6022]: Filename capitalisation (NG)frosch
2014-04-26(svn r26517) -Fix: Windows 9x (or rather non-unicode) compile failuresrubidium
2014-04-25(svn r26509) -Codechange: replace strdup with stredup (the latter ensures ↵rubidium
the return is not NULL)
2014-04-23(svn r26490) -Fix (r26489): compilation under Windowsrubidium
2014-04-23(svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy ↵frosch
and strecat.
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-08-05(svn r25676) -Fix: [Win32] The ANSI code page is not UTF-8 for non-Unicode ↵michi_cc
builds.
2013-08-05(svn r25674) -Fix: [Win32] The console code page for non-Unicode builds is ↵michi_cc
not the normal ANSI code page and definitely not UTF-8 either.
2013-08-05(svn r25673) -Fix: [Win32] Use the right code page for converting ANSI ↵michi_cc
strings into UTF-8 for non-Unicode builds. And don't crap out on DBCS code pages either.
2013-06-28(svn r25506) -Document: a function, and name it slightly betterrubidium
2013-04-06(svn r25155) -Codechange: [Win32] Improve SHGetFolderPath emulation.michi_cc
2013-04-06(svn r25154) -Fix: [Win32] Don't store invalid paths in the search path list.michi_cc
2013-04-06(svn r25153) -Fix [FS#5522] (r24487): [Win32] Don't statically link to ↵michi_cc
SHGetFolderPath as it may not exist.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-10-04(svn r24572) -Fix: do not cast away some other constsrubidium
2012-07-19(svn r24417) -Codechange: [Win32] Don't needlessly include windows.h in a ↵michi_cc
commonly used header.
2011-12-11(svn r23490) -Add [FS#2750]: OpenBrowser function to open a browser on major ↵yexo
OSes