summaryrefslogtreecommitdiff
path: root/src/fileio_func.h
AgeCommit message (Collapse)Author
2021-06-10Add: '-X' option to ignore global folders in the search path (#9341)Patric Stout
This is extreme useful for automated testing. Without this, OpenTTD will always look in your personal-dir (like ~/.local/share/openttd or %USER%\Documents\OpenTTD). For most users this is exactly what we want, that there is a shared place for all their files. However, for automated testing this is rather annoying, as your local development files influence the automated test. As such, '-X' counters this, and only gives the local folders. This is especially useful in combination with '-x' and '-c'.
2021-05-08Cleanup: remove the old FIO slot functionsRubidium
2021-05-08Codechange: introduce SpriteFile to be used by the sprite loader instead of ↵Rubidium
the global FIO slot functionality
2021-05-08Codechange: let NewGRF sounds make use of RandomAccessFile instead of the ↵Rubidium
FIO slot functions
2021-05-03Codechange: Replace FOR_ALL_SEARCHPATHS with range-based for loopsglx22
2021-04-07Fix #8713: Change OTTD2FS and FS2OTTD to return string objects instead of ↵Niels Martin Hansen
static buffers
2021-04-02Fix: Freeing LanguagePack with wrong size.milek7
2021-02-23Codechange: Switch to explicit wide stringsNiels Martin Hansen
2020-12-27Fix b408fe7: Don't try to construct a std::string from nullptrCharles Pigott
2020-12-27Codechange: Use std::string in file scanners.Michael Lutz
2020-12-27Codechange: Keep filenames of loaded Fio files in std::strings.Michael Lutz
2020-12-27Codechange: Use automatic memory management for language pack reading.Michael Lutz
2020-12-27Codechange: Even more std::string usage in file IO.Michael Lutz
2020-12-27Codechange: Convert some more FIO functions to take std::string.Michael Lutz
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-05-21Codechange: Store info about the dedicated server log file in globals with ↵Michael Lutz
automatic destruction to simplify control flow in openttd_main.
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-07-21Codechange: Remove unused FioTarFirstDir and FioTarAddLink functionsAlberth
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-24Codechange: Use override specifer for overriding member declarationsHenry Wilson
This is a C++11 feature that allows the compiler to check that a virtual member declaration overrides a base-class member with the same signature. Also src/blitter/32bpp_anim_sse4.hpp +38 is no longer erroneously marked as virtual despite being a template.
2018-12-27Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined ↵glx
macro _WIN32
2018-06-05Codechange: Make FioCreateDirectory publicNiels Martin Hansen
2018-05-26Change: [Win32] Parse and load DLS files for the DirectMusic driver without ↵Michael Lutz
relying on high-level functions.
2014-04-23(svn r26489) -Codechange: properly account for the end of buffers in the ↵rubidium
file io code instead of assuming MAX_PATH is okay
2013-11-13(svn r25974) -Codechange: make the _personal_dir global const, since once ↵rubidium
it's set it shouldn't be changed anyhow
2012-12-09(svn r24804) -Add: Separate subdirectory for screenshots.frosch
2012-07-19(svn r24417) -Codechange: [Win32] Don't needlessly include windows.h in a ↵michi_cc
commonly used header.
2011-12-19(svn r23605) -Add: GAME_DIR and CONTENT_TYPE_GAME, and read gamescript from ↵truebrain
that directory
2011-12-19(svn r23595) -Codechange: add comma after last enum to get a more uniform ↵rubidium
coding style
2011-11-16(svn r23234) -Fix [FS#4840]: crash when after downloading contentrubidium
2011-11-14(svn r23217) -Codechange: introduce the concept of scanning only in a ↵rubidium
limited set of sub directories
2011-11-14(svn r23216) -Codechange: introduce the concept of having different tar listsrubidium
2011-09-08(svn r22904) -Codechange: add tar filename to file scanningrubidium
2011-08-25(svn r22835) -Codechange: keep track of the subdirectory we are looking ↵rubidium
through in the file scanner
2011-08-24(svn r22827) -Codechange: pass the/a more proper sub directory when opening ↵rubidium
(some) files instead of the default one
2011-08-24(svn r22825) -Codechange: pass subdir to FioOpenFilerubidium
2011-08-24(svn r22822) -Codechange: make a distinction between base sets and newgrfs ↵rubidium
for their directory
2011-05-14(svn r22459) -Doc: Typo fixes and doxygen markup improvements.alberth
2010-08-29(svn r20689) -Codechange: Make some global functions used in 1 .cpp file ↵alberth
static in that file.
2010-05-10(svn r19779) -Change: add a return type to AppendPathSeparator and use that ↵rubidium
to determine whether we could append the path separator. If not, do not recurse into that directory as the path would exceed the maximum path length
2010-05-10(svn r19777) -Change: use the file scanner to find the .tarsrubidium
2010-02-26(svn r19262) -Feature: finalise BaNaNaS support for music setsrubidium
2009-11-09(svn r18029) -Fix (r18028): AppendPathSeparator() should stay globalglx
2009-11-09(svn r18028) -Codechange: unglobalise some functionsrubidium
2009-11-09(svn r18026) -Codechange: make a lookup table static that doesn't need to be ↵rubidium
'exported'
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-03-04(svn r15606) -Codechange: make it possible to not recursively search with ↵rubidium
the file scanner (i.e. only search a single directory).
2009-01-17(svn r15126) -Feature: downloading content from a central server ↵rubidium
(content.openttd.org) where authors can upload they NewGRFS/AI etc. This should make joining servers that use only NewGRFs that are distributed via this system easier as the players can download the NewGRFs from in the game. It should also make it easier to see whether there are updates for NewGRFs and make the necessary updates.