Commit Graph

127 Commits

Author SHA1 Message Date
rubidium 414c397000 (svn r22904) -Codechange: add tar filename to file scanning 2011-09-08 09:48:52 +00:00
rubidium 672df52e0c (svn r22835) -Codechange: keep track of the subdirectory we are looking through in the file scanner 2011-08-25 10:31:35 +00:00
rubidium 41169291e3 (svn r22834) -Codechange: unify some code, and extend it to work for other filenames that should end in a particular way 2011-08-25 10:24:49 +00:00
rubidium 2a12c9df2f (svn r22825) -Codechange: pass subdir to FioOpenFile 2011-08-24 13:42:06 +00:00
rubidium 0061b5f184 (svn r22822) -Codechange: make a distinction between base sets and newgrfs for their directory 2011-08-24 13:33:49 +00:00
smatz 564dc66131 (svn r22719) -Fix: compilation with gcc 4.7 2011-08-04 20:04:58 +00:00
alberth 89c7193b8f (svn r22709) -Doc: Doxyment fileio.cpp. 2011-08-01 19:36:11 +00:00
alberth d55b380b69 (svn r22669) -Codechange: For non-windows, only test for file existence again if strtolower actually changed the name. 2011-07-16 18:43:22 +00:00
alberth 20c2b5fdde (svn r22668) -Codechange: FioFindFullPath tests already whether the file exists. 2011-07-16 18:34:04 +00:00
glx 986d5e950d (svn r22502) -Fix (r22501): WIN32 compilation 2011-05-28 03:23:34 +00:00
alberth 6e3ef9fa1a (svn r22501) -Codechange: Move FileExists to a better place. 2011-05-27 21:42:51 +00:00
frosch b319fb31d5 (svn r22465) -Fix [FS#4613]: When determining the executable path failed, the working directory was used instead, circumventing the not-home-directory check. 2011-05-15 17:18:46 +00:00
alberth 990ec6f0a9 (svn r22460) -Doc: Semantic documentation fixes, and doxygen additions (partly by planetmaker). 2011-05-14 18:38:54 +00:00
rubidium f7b2a87292 (svn r21247) -Fix: make the tar scanner forget about old (possibly removed) tars 2010-11-18 22:26:29 +00:00
alberth 7e48d85104 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 2010-10-30 17:51:07 +00:00
alberth 9f5a96ead2 (svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file. 2010-08-29 15:58:43 +00:00
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
rubidium 5b1fc7304a (svn r20194) -Fix: compilation with network disabled failed 2010-07-19 17:46:53 +00:00
rubidium b8487afe54 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 2010-07-19 17:28:27 +00:00
rubidium eb30ebe1a4 (svn r20188) -Codechange: unVARDEF the _[config|log|highscore]_file variables and move them to a more logical location 2010-07-19 17:11:09 +00:00
rubidium 6863b7539c (svn r20166) -Fix [FS#3949]: do not scan /data and ~/data (if they happen to be your working directory). If it's the directory where your binary is located it will still scan them. 2010-07-16 19:32:39 +00:00
yexo 258ca28819 (svn r20055) -Feature: save/load hotkeys to/from hotkeys.cfg 2010-07-03 13:28:15 +00:00
rubidium 08919d2747 (svn r19779) -Change: add a return type to AppendPathSeparator and use that 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 09:49:02 +00:00
rubidium 948beec597 (svn r19777) -Change: use the file scanner to find the .tars 2010-05-10 09:37:17 +00:00
smatz 0ef33548c2 (svn r19614) -Codechange: "it's" => "its" where appropriate 2010-04-12 14:12:47 +00:00
rubidium 4ba69b572d (svn r19427) -Codechange: gracefully handle the case where we can't open a .tar file. 2010-03-15 17:44:54 +00:00
rubidium 0f6d82df7e (svn r19262) -Feature: finalise BaNaNaS support for music sets 2010-02-26 00:00:55 +00:00
rubidium 77214378ca (svn r19248) -Fix: DOS 'port' did not compile anymore 2010-02-25 13:06:00 +00:00
rubidium ef90fa7d02 (svn r19151) -Codechange [FS#3625]: Move home directory to a better place in Haiku (jrepan) 2010-02-17 16:45:55 +00:00
smatz 2b8f7f2078 (svn r19000) -Cleanup: remove redundant check 2010-02-04 00:40:11 +00:00
rubidium 15adbad2f4 (svn r18834) -Fix [FS#3538]: compilation failed on OpenBSD (matze) 2010-01-16 22:01:33 +00:00
rubidium 91747d72dc (svn r18611) -Fix (r18608): uppercase-to-lowercase conversion when opening a file wasn't applied when finding the full path of a file 2009-12-23 09:08:52 +00:00
smatz a84921f8f5 (svn r18032) -Codechange: add one const 2009-11-09 16:33:52 +00:00
glx 85a910f02e (svn r18029) -Fix (r18028): AppendPathSeparator() should stay global 2009-11-09 15:16:38 +00:00
rubidium 860b9b1cea (svn r18028) -Codechange: unglobalise some functions 2009-11-09 10:40:33 +00:00
rubidium 3702746756 (svn r18026) -Codechange: make a lookup table static that doesn't need to be 'exported' 2009-11-09 09:27:48 +00:00
rubidium f76ef2f6ce (svn r17686) -Fix [FS#3247]: make the -c <config file> location relative to the current directory instead of the directory of the binary 2009-10-03 14:51:30 +00:00
rubidium e9624fe0cc (svn r17682) -Codechange: remove erroneous space before some commas 2009-10-02 15:13:15 +00:00
rubidium e8ddf001c8 (svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos 2009-09-19 09:51:14 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
rubidium 98b4f1fce2 (svn r16590) -Fix [FS#2967]: don't crash when tars/newgrfs are removed, just tell the file could be opened/found. 2009-06-18 09:47:06 +00:00
rubidium 168ae6f7e2 (svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts. 2009-05-24 21:09:00 +00:00
rubidium 0d99b6c71c (svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it. 2009-05-24 20:29:04 +00:00
smatz f5316c5cbd (svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
2009-05-10 17:27:25 +00:00
rubidium bee930f9b3 (svn r16024) -Codechange: harden string copying on places where it's possible 2009-04-10 20:37:05 +00:00
orudge bcc870e3f8 (svn r15745) -Fix: Resolve compile error in fileio.cpp on OS/2 - base paths on OS/2 behave much like DOS 2009-03-16 20:03:37 +00:00
rubidium b25a4f8231 (svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too 2009-03-15 00:32:18 +00:00
rubidium f5c1365471 (svn r15641) -Fix: some gcc compilers seem to be chosing the C++ standard for strrchr, others the C standard... 2009-03-07 23:02:28 +00:00
rubidium 15e9fdd47a (svn r15615) -Feature: show scenarios/heightmaps from both your home 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 23:12:15 +00:00
rubidium a52d50c62f (svn r15612) -Codechange: unduplicate directory creation 2009-03-04 14:25:53 +00:00