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
rubidium
ed8788d581
(svn r17682) -Codechange: remove erroneous space before some commas
2009-10-02 15:13:15 +00:00
rubidium
310465da07
(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
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
2009-08-21 20:21:05 +00:00
rubidium
62ee93c702
(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
2832d69272
(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
c496a3e014
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
2009-05-24 20:29:04 +00:00
smatz
ce7dff4acc
(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
11e2ca71e6
(svn r16024) -Codechange: harden string copying on places where it's possible
2009-04-10 20:37:05 +00:00
orudge
de67610a7a
(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
c3e87f345d
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
2009-03-15 00:32:18 +00:00
rubidium
c718984618
(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
8a6f72d26a
(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
013e354c47
(svn r15612) -Codechange: unduplicate directory creation
2009-03-04 14:25:53 +00:00
rubidium
a6ca7b8237
(svn r15610) -Change: allow loading of heightmaps and savegames (any form) that are in .tar files
2009-03-04 09:53:31 +00:00
rubidium
d82e5d205f
(svn r15607) -Codechange: support searching files without filtering on extension.
2009-03-04 00:19:42 +00:00
rubidium
fb978c04b1
(svn r15606) -Codechange: make it possible to not recursively search with the file scanner (i.e. only search a single directory).
2009-03-04 00:17:51 +00:00
smatz
34bfb35105
(svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating fails
2009-02-24 20:59:17 +00:00
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
2009-01-31 20:16:06 +00:00
rubidium
72b0341ed0
(svn r15126) -Feature: downloading content from a central server (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-17 16:53:32 +00:00
rubidium
3fb43b6bcb
(svn r15113) -Codechange: unify calling ScanForTarFiles when determining the paths.
2009-01-16 16:32:48 +00:00
rubidium
7c51d9f429
(svn r15112) -Fix (r15108): transform should include algorithm as that's where it's from. Furthermore not including it gives compile errors for some
2009-01-16 16:29:07 +00:00
rubidium
435a69da1e
(svn r15111) -Fix: when scanning a path and saying it should ignore tars, it didn't do so
2009-01-16 16:14:01 +00:00
truebrain
47406dbc69
(svn r15108) -Fix: TarAddLink didn't lowercase strings, breaking tar-loading when using uppercase files
2009-01-16 14:56:33 +00:00
truebrain
e436f0218f
(svn r15095) -Add [NoAI]: allow AI Libraries to be in .tar files (subdir 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-15 18:15:12 +00:00
rubidium
eb19b0abf9
(svn r15082) -Codechange: make the AI library path also a searchdir instead of manually manufacturing it into a searchdir.
2009-01-14 15:20:06 +00:00
truebrain
c2406cd42d
(svn r15027) -Merge: tomatos and bananas left to be, here is NoAI for all to 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
2009-01-12 17:11:45 +00:00
rubidium
9bd1435fcf
(svn r14656) -Change: replace instances of x & S_IFREG with S_ISREG(x) as S_IFREG can be 0 on some platforms.
2008-12-05 18:02:04 +00:00
rubidium
5dd4735da1
(svn r14636) -Add: DOS port of OpenTTD, without network support though.
2008-11-26 13:12:45 +00:00
rubidium
b0a9ce2d9a
(svn r14635) -Change: use S_ISDIR/S_ISREG as x & S_IFREG always results false on platforms when S_IFREG is 0x0000.
2008-11-26 01:07:49 +00:00