Peter Nelson
56085be9bd
Codechange: Move includes for common STL headers to stdafx.
1 year ago
Rubidium
3a822fcd01
Codechange: Make FiosItem's name and title std::string
1 year ago
Rubidium
c829930440
Codechange: replace strnatcmp with C++ string capable version
1 year ago
Rubidium
df19673fbd
Codechange: let convert_to_fs accept std::string
1 year ago
Rubidium
f5f6306af3
Codechange: use string/fmt instead of printf for ShowInfo(F)
1 year ago
Rubidium
9e89eb5726
Codechange: move main function(s) to separate files
1 year ago
Charles Pigott
b282664242
Codechange: Replace all usages of alloca/AllocaM with more modern/less discouraged alternatives
1 year ago
glx22
16abdd5254
Change: [Win32] Set the console codepage to UTF-8
3 years ago
rubidium42
55a11710a6
Codechange: convert printf DEBUG statements to fmt Debug statements
3 years ago
glx22
744a9e4745
Codechange: [WIN32] Add a wrapper around GetProcAddress()
3 years ago
glx22
f4c7d5577e
Codechange: [WIN32] Use VersionHelpers where appropriate
3 years ago
Patric Stout
ca9a7df752
Codechange: rename str_validate to StrMakeValid(InPlace) ( #9304 )
...
This to be more explicit the function changes the value, and not
returns yes/no.
3 years ago
PeterN
f018471b36
Cleanup: Remove old FiosList helper methods. ( #9139 )
3 years ago
PeterN
56f982fa7f
Fix #9015 : Don't set free space value if not requested. ( #9016 )
3 years ago
Wim Leflere
5233fd2751
Change: [win32] Use user UI language for initial language selection ( #8973 ) ( #8974 )
3 years ago
Niels Martin Hansen
746f1ca11a
Codechange: Remove the now meaningless console_cp parameter from OTTD2FS
3 years ago
Niels Martin Hansen
e0561dbded
Fix #8713 : Change OTTD2FS and FS2OTTD to return string objects instead of static buffers
3 years ago
Niels Martin Hansen
cc465efa67
Change: [Win32] Use more modern way of getting free disk space
3 years ago
Niels Martin Hansen
b427ddce88
Codechange: Switch to explicit wide strings
3 years ago
Niels Martin Hansen
beeb9e0a1b
Remove: [Win32] Last pretenses of being able to build for Windows 95
3 years ago
Michael Lutz
ef478ade64
Add: [Win32] Video driver that uses OpenGL to transfer the video buffer to the screen.
3 years ago
glx22
348f322df1
Fix f1f281b31: [Win32] MinGW doesn't know timeapi.h
3 years ago
Loïc Guilloux
f1f281b318
Fix: [Win32] Set minimum resolution for timers to 1ms. ( #8660 )
3 years ago
Patric Stout
ab7da117e0
Add: always set PERSONAL_DIR "/content_download" in search path ( #8481 )
...
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.
3 years ago
Michael Lutz
f3326d34e7
Codechange: Use std::string in FIO search path handling.
3 years ago
Michael Lutz
0c6e8a8123
Codechange: Store file search paths as std::string.
3 years ago
Michael Lutz
dd138fc460
Codechange: Stringify config file paths.
3 years ago
Patric Stout
b7851e51ad
Fix: set SP_WORKING_DIR earlier with '-c'
...
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.
4 years ago
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
5 years ago
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
5 years ago
glx22
3e608afa6c
Fix: [Windows] OpenTTD window may be inactive when an error happens ( #7482 )
5 years ago
Michael Lutz
967b27a2c1
Codechange: C++11 STL has a function for getting the number of CPU cores.
5 years ago
Michael Lutz
ae748166d0
Codechange: Use platform independent C++11 function for sleeping on a thread.
5 years ago
Michael Lutz
05bc2ed7cb
Codechange: Replace custom thread code with C++11 thread objects.
...
We assume a conforming C++11 compiler environment that has a valid <thread>-header.
Failure to run a real thread is handled gracefully.
5 years ago
Charles Pigott
fe8c24e081
Codechange: Remove unnecessarily defined functions under MinGW
5 years ago
Charles Pigott
2d981a4b2c
Fix: A few minor compile warnings under MinGW
5 years ago
glx
92d3358db5
Fix: [Win32] don't mess with std[out|err|in] if we can't allocate a console
5 years ago
Charles Pigott
f5b1115039
Doc: Lots and lots of doxymentation fixes
6 years ago
Charles Pigott
63898f61b0
Codechange: Rearrange struct packing defines and make MinGW use _Pragma pack style
6 years ago
Michael Lutz
f4394debdc
Add: [Win32] Native natural sort implementation.
6 years ago
Patric Stout
aef69443e7
Remove: WinCE support
6 years ago
michi_cc
c83306391e
(svn r27673) -Add: [Win32] Thread names for windows debuggers.
8 years ago
alberth
95bb103a23
(svn r27643) -Codechange: FiosGetDrives function also takes a destination file list.
8 years ago
michi_cc
be689517f6
(svn r27481) -Fix: [Win32] Stdin/out/err need to be re-assigned differently if the runtime lib of MSVC2015 is used.
9 years ago
rubidium
8b1f9399bc
(svn r27385) -Fix: compilation failure due #define-ing enum name of a system library before including the system library
9 years ago
rubidium
10466746b4
(svn r27290) -Fix: sanitize the command line arguments before doing anything complex with them
9 years ago
frosch
51f68c42bb
(svn r26606) -Fix [FS#6022]: Filename capitalisation (NG)
10 years ago
rubidium
5ebf72d126
(svn r26517) -Fix: Windows 9x (or rather non-unicode) compile failures
10 years ago
rubidium
9ed12b0f07
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
10 years ago
rubidium
ce06139328
(svn r26490) -Fix (r26489): compilation under Windows
10 years ago