summaryrefslogtreecommitdiff
path: root/src/fileio.cpp
AgeCommit message (Collapse)Author
2010-08-29(svn r20689) -Codechange: Make some global functions used in 1 .cpp file ↵alberth
static in that file.
2010-07-24(svn r20211) -Codechange: Indented code should have curly braces around it.alberth
2010-07-19(svn r20194) -Fix: compilation with network disabled failedrubidium
2010-07-19(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be ↵rubidium
missed :)
2010-07-19(svn r20188) -Codechange: unVARDEF the _[config|log|highscore]_file ↵rubidium
variables and move them to a more logical location
2010-07-16(svn r20166) -Fix [FS#3949]: do not scan /data and ~/data (if they happen to ↵rubidium
be your working directory). If it's the directory where your binary is located it will still scan them.
2010-07-03(svn r20055) -Feature: save/load hotkeys to/from hotkeys.cfgyexo
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-04-12(svn r19614) -Codechange: "it's" => "its" where appropriatesmatz
2010-03-15(svn r19427) -Codechange: gracefully handle the case where we can't open a ↵rubidium
.tar file.
2010-02-26(svn r19262) -Feature: finalise BaNaNaS support for music setsrubidium
2010-02-25(svn r19248) -Fix: DOS 'port' did not compile anymorerubidium
2010-02-17(svn r19151) -Codechange [FS#3625]: Move home directory to a better place in ↵rubidium
Haiku (jrepan)
2010-02-04(svn r19000) -Cleanup: remove redundant checksmatz
2010-01-16(svn r18834) -Fix [FS#3538]: compilation failed on OpenBSD (matze)rubidium
2009-12-23(svn r18611) -Fix (r18608): uppercase-to-lowercase conversion when opening a ↵rubidium
file wasn't applied when finding the full path of a file
2009-11-09(svn r18032) -Codechange: add one constsmatz
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-10-03(svn r17686) -Fix [FS#3247]: make the -c <config file> location relative to ↵rubidium
the current directory instead of the directory of the binary
2009-10-02(svn r17682) -Codechange: remove erroneous space before some commasrubidium
2009-09-19(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, ↵rubidium
which were sometimes missing and sometimes just typos
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-06-18(svn r16590) -Fix [FS#2967]: don't crash when tars/newgrfs are removed, just ↵rubidium
tell the file could be opened/found.
2009-05-24(svn r16422) -Codechange: use const_cast for removing const and warn when ↵rubidium
const is (accidentally?) removed using C-style casts.
2009-05-24(svn r16421) -Codechange: do not unnecessarily remove constness or ↵rubidium
unnecessarily add it.
2009-05-10(svn r16269) -Codechange: use gcc's ability to check parameters sent to ↵smatz
printf-like functions -Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
2009-04-10(svn r16024) -Codechange: harden string copying on places where it's possiblerubidium
2009-03-16(svn r15745) -Fix: Resolve compile error in fileio.cpp on OS/2 - base paths ↵orudge
on OS/2 behave much like DOS
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-07(svn r15641) -Fix: some gcc compilers seem to be chosing the C++ standard ↵rubidium
for strrchr, others the C standard...
2009-03-04(svn r15615) -Feature: show scenarios/heightmaps from both your home ↵rubidium
directory and installation directory. -Change [FS#2692]: make it more likely that scenarios are saved to the directory where openttd.cfg is and not the installation directory (gives problems with e.g. Vista). The working directory still overrides the openttd.cfg directory though, but only if it has a scenario directory.
2009-03-04(svn r15612) -Codechange: unduplicate directory creationrubidium
2009-03-04(svn r15610) -Change: allow loading of heightmaps and savegames (any form) ↵rubidium
that are in .tar files
2009-03-04(svn r15607) -Codechange: support searching files without filtering on ↵rubidium
extension.
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-02-24(svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating failssmatz
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
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.
2009-01-16(svn r15113) -Codechange: unify calling ScanForTarFiles when determining the ↵rubidium
paths.
2009-01-16(svn r15112) -Fix (r15108): transform should include algorithm as that's ↵rubidium
where it's from. Furthermore not including it gives compile errors for some
2009-01-16(svn r15111) -Fix: when scanning a path and saying it should ignore tars, it ↵rubidium
didn't do so
2009-01-16(svn r15108) -Fix: TarAddLink didn't lowercase strings, breaking tar-loading ↵truebrain
when using uppercase files
2009-01-15(svn r15095) -Add [NoAI]: allow AI Libraries to be in .tar files (subdir ↵truebrain
required, as with AIs -Add [NoAI]: allow multiple versions of the same AI co-exist -Change [NoAI]: updated the whole method of AI (Library) finding and loading; it is now much more clear and transparent -Change [NoAI]: the name of the AI is now the name used by CreateInstance() -Change [NoAI]: make the AI finder a bit more clever, mostly related to version finding
2009-01-14(svn r15082) -Codechange: make the AI library path also a searchdir instead ↵rubidium
of manually manufacturing it into a searchdir.
2009-01-12(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to ↵truebrain
see. NoAI is an API (a framework) to build your own AIs in. See: http://wiki.openttd.org/wiki/index.php/AI:Main_Page With many thanks to: - glx and Rubidium for their syncing, feedback and hard work - Yexo for his feedback, patches, and AIs which tested the system very deep - Morloth for his feedback and patches - TJIP for hosting a challenge which kept NoAI on track - All AI authors for testing our AI API, and all other people who helped in one way or another -Remove: all old AIs and their cheats/hacks
2008-12-05(svn r14656) -Change: replace instances of x & S_IFREG with S_ISREG(x) as ↵rubidium
S_IFREG can be 0 on some platforms.
2008-11-26(svn r14636) -Add: DOS port of OpenTTD, without network support though.rubidium