Commit Graph

140 Commits

Author SHA1 Message Date
rubidium 6bc634efba (svn r23983) -Fix [FS#5083]: tarred heightmaps wouldn't be found 2012-02-25 08:42:39 +00:00
truebrain ff7797c421 (svn r23612) -Add: allow importing libraries in the same way as AI does, only with GS prefix (and in game/library) 2011-12-19 20:56:59 +00:00
truebrain 14325e2391 (svn r23605) -Add: GAME_DIR and CONTENT_TYPE_GAME, and read gamescript from that directory 2011-12-19 20:54:37 +00:00
rubidium ffccec6d84 (svn r23234) -Fix [FS#4840]: crash when after downloading content 2011-11-16 16:54:37 +00:00
frosch 1ab0108bb9 (svn r23228) -Fix (r23227): FileScanner::Scan() still did not scan all required directories for basesets. 2011-11-15 12:14:08 +00:00
frosch 88980e11a3 (svn r23227) -Fix (r23219): The FileScanner should also consider the old directories. 2011-11-15 00:26:06 +00:00
frosch 4eb0160cf6 (svn r23226) -Fix (r23219): If you find a file, also use it. 2011-11-15 00:25:17 +00:00
rubidium 44cc20b269 (svn r23225) -Fix: create the newgrf/baseset/ai directories in the personal directory so the user has some clue where to place the different files 2011-11-14 21:58:19 +00:00
rubidium 5135e2a09e (svn r23219) -Change: different directories for basesets and newgrfs. So data to baseset or newgrf, and gm to baseset 2011-11-14 21:34:27 +00:00
rubidium 78628b590d (svn r23218) -Codechange: prepare code for a separate base set directory 2011-11-14 21:32:10 +00:00
rubidium 4d281cce97 (svn r23217) -Codechange: introduce the concept of scanning only in a limited set of sub directories 2011-11-14 21:30:37 +00:00
rubidium 9bf2cb0e86 (svn r23216) -Codechange: introduce the concept of having different tar lists 2011-11-14 21:28:43 +00:00
rubidium 33d71b45fe (svn r23198) -Codechange: introduce a free that takes const pointers so we don't need to cast to void/non-const before being able to free 2011-11-12 13:00:29 +00:00
rubidium 661e5c6655 (svn r22904) -Codechange: add tar filename to file scanning 2011-09-08 09:48:52 +00:00
rubidium fb5a2f4485 (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 33896fbffe (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 26788cf363 (svn r22825) -Codechange: pass subdir to FioOpenFile 2011-08-24 13:42:06 +00:00
rubidium c8167de1c2 (svn r22822) -Codechange: make a distinction between base sets and newgrfs for their directory 2011-08-24 13:33:49 +00:00
smatz 4436588bab (svn r22719) -Fix: compilation with gcc 4.7 2011-08-04 20:04:58 +00:00
alberth 288fdb3459 (svn r22709) -Doc: Doxyment fileio.cpp. 2011-08-01 19:36:11 +00:00
alberth ef58554bd2 (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 7a60662b15 (svn r22668) -Codechange: FioFindFullPath tests already whether the file exists. 2011-07-16 18:34:04 +00:00
glx 3e1bafdc0d (svn r22502) -Fix (r22501): WIN32 compilation 2011-05-28 03:23:34 +00:00
alberth 45f05f2419 (svn r22501) -Codechange: Move FileExists to a better place. 2011-05-27 21:42:51 +00:00
frosch 9027e2c49e (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 3ae756f85f (svn r22460) -Doc: Semantic documentation fixes, and doxygen additions (partly by planetmaker). 2011-05-14 18:38:54 +00:00
rubidium 9ba8361f77 (svn r21247) -Fix: make the tar scanner forget about old (possibly removed) tars 2010-11-18 22:26:29 +00:00
alberth 063931d435 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 2010-10-30 17:51:07 +00:00
alberth 2b4da1d345 (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 137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
rubidium 1062330ba1 (svn r20194) -Fix: compilation with network disabled failed 2010-07-19 17:46:53 +00:00
rubidium 9fd2afb147 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 2010-07-19 17:28:27 +00:00
rubidium 54ec48f7ce (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 0ca6c03b1e (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 a0a657585e (svn r20055) -Feature: save/load hotkeys to/from hotkeys.cfg 2010-07-03 13:28:15 +00:00
rubidium c03844c22a (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 2099d3ffb8 (svn r19777) -Change: use the file scanner to find the .tars 2010-05-10 09:37:17 +00:00
smatz 258b128a56 (svn r19614) -Codechange: "it's" => "its" where appropriate 2010-04-12 14:12:47 +00:00
rubidium f671a51666 (svn r19427) -Codechange: gracefully handle the case where we can't open a .tar file. 2010-03-15 17:44:54 +00:00
rubidium 04fbf762fb (svn r19262) -Feature: finalise BaNaNaS support for music sets 2010-02-26 00:00:55 +00:00
rubidium b893abb356 (svn r19248) -Fix: DOS 'port' did not compile anymore 2010-02-25 13:06:00 +00:00
rubidium dd714d1e96 (svn r19151) -Codechange [FS#3625]: Move home directory to a better place in Haiku (jrepan) 2010-02-17 16:45:55 +00:00
smatz c27b069ca5 (svn r19000) -Cleanup: remove redundant check 2010-02-04 00:40:11 +00:00
rubidium 8676af5618 (svn r18834) -Fix [FS#3538]: compilation failed on OpenBSD (matze) 2010-01-16 22:01:33 +00:00
rubidium 8fc7d7ca49 (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 0fb50708bd (svn r18032) -Codechange: add one const 2009-11-09 16:33:52 +00:00
glx 2e499a43a9 (svn r18029) -Fix (r18028): AppendPathSeparator() should stay global 2009-11-09 15:16:38 +00:00
rubidium 224f4e0197 (svn r18028) -Codechange: unglobalise some functions 2009-11-09 10:40:33 +00:00
rubidium f1f3009782 (svn r18026) -Codechange: make a lookup table static that doesn't need to be 'exported' 2009-11-09 09:27:48 +00:00
rubidium 7c675ce9a0 (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