Loïc Guilloux
c64b0946e8
Fix e0561dbde: [MinGW] use ofstring(wchar_t*) as ofstring(wstring) doesn't exist ( #8985 )
4 years ago
Niels Martin Hansen
e0561dbded
Fix #8713 : Change OTTD2FS and FS2OTTD to return string objects instead of static buffers
4 years ago
Niels Martin Hansen
b427ddce88
Codechange: Switch to explicit wide strings
4 years ago
Michael Lutz
358056ec42
Codechange: Keep filenames of loaded Fio files in std::strings.
4 years ago
Michael Lutz
dd138fc460
Codechange: Stringify config file paths.
4 years ago
Patric Stout
d15dc9f40f
Add: support for emscripten (play-OpenTTD-in-the-browser)
...
Emscripten compiles to WASM, which can be loaded via
HTML / JavaScript. This allows you to play OpenTTD inside a
browser.
Co-authored-by: milek7 <me@milek7.pl>
4 years ago
TechGeekNZ
716c883737
Fix: Globally apply preprocessor directive coding style
...
Global; except for the 32-bit SSE blitter, which has some #DEFINEs
in not-very-nice places.
4 years ago
Michael Lutz
715aa67a9c
Codechange: Use std::string in INI file parsing.
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
6 years ago
glx
c540d72445
Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined macro _WIN32
6 years ago
frosch
6114788508
(svn r27389) -Fix: There are two different availability conditions for fdatasync in the manpage. Use them both, since at least on some MinGW versions one is not enough.
9 years ago
rubidium
5ebf72d126
(svn r26517) -Fix: Windows 9x (or rather non-unicode) compile failures
11 years ago
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
11 years ago
rubidium
0e9c992104
(svn r26058) -Fix: handle the return value of a number of functions better
11 years ago
michi_cc
36181b3fb2
(svn r24417) -Codechange: [Win32] Don't needlessly include windows.h in a commonly used header.
12 years ago
rubidium
05300a00b1
(svn r22824) -Codechange: pass sub directory to ini loading
13 years ago
rubidium
0061b5f184
(svn r22822) -Codechange: make a distinction between base sets and newgrfs for their directory
13 years ago
rubidium
fb5ecb9499
(svn r22411) -Document: another bunch of bits
14 years ago
glx
ec56036dc7
(svn r22179) -Fix (r22167): compilation on win32
14 years ago
alberth
722296e797
(svn r22168) -Codechange: Move ini file IO and file error reporting to virtual functions.
14 years ago
alberth
d19a9f5df5
(svn r22167) -Codechange: Extract IniLoadFile base class for loading ini files out of IniFile.
14 years ago
alberth
31386c42a7
(svn r22145) -Codechange: Do explicit test for non-bool values.
14 years ago
rubidium
7efd7e19ed
(svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m].
14 years ago
yexo
e91e2498c7
(svn r20693) -Fix: use strncmp instead of memcmp for comparing strings
14 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
smatz
114d48e492
(svn r17596) -Codechange: constify some tables
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
208234a7a0
(svn r16128) -Change: allow loading (and storing) NULL values for STRQ in openttd.cfg.
16 years ago
rubidium
930bc73e7a
(svn r16018) -Fix (r16014): properly escape IPv6 style ([::]) addresses so they aren't seen as new groups.
16 years ago
michi_cc
0ca92a47a2
(svn r15707) -Fix (r15686): The config file was not updated on Windows because rename() can't replace existing files.
16 years ago
rubidium
bd2e1ac903
(svn r15686) -Codechange: make it a bit harder for crashes to trash your config file.
16 years ago
rubidium
84e5e44ca9
(svn r15682) -Codechange: some coding style
16 years ago
peter1138
7d70f0cd14
(svn r15085) -Fix (r14164): Clearing a settings group did not delete old items nor reset the last_item pointer, causing lists to not be saved unless they started blank.
16 years ago
rubidium
f4ee4fd5ae
(svn r14257) -Fix (r14153): incorrect update of ini-file group tail pointer causing memory corruption.
16 years ago
rubidium
a482f0053d
(svn r14231) -Fix: Windows binaries not able to read non-windows newlines ini files. For more detail read the 'attached' diff.
16 years ago
rubidium
ea1f180a55
(svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too.
16 years ago
rubidium
621a9b647a
(svn r14167) -Fix: items in some ini-groups got duplicated on save.
16 years ago
rubidium
411c65e755
(svn r14164) -Codechange: simplify and unify the addition of ini items with value when not loading an ini file.
...
-Fix: wrong insertion management causing leaks.
16 years ago
rubidium
b2d6254b44
(svn r14161) -Codechange: allow inis to be loaded from tars.
16 years ago
smatz
0d4e7f9537
(svn r14156) -Fix (r14153): missing/wrong comments
16 years ago
rubidium
ae32d158cb
(svn r14153) -Codechange: split ini file reading/saving from settings.cpp.
16 years ago