rubidium
b8487afe54
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
14 years ago
rubidium
54ec48f7ce
(svn r20188) -Codechange: unVARDEF the _[config|log|highscore]_file variables and move them to a more logical location
14 years ago
rubidium
eb30ebe1a4
(svn r20188) -Codechange: unVARDEF the _[config|log|highscore]_file variables and move them to a more logical location
14 years ago
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.
14 years ago
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.
14 years ago
yexo
a0a657585e
(svn r20055) -Feature: save/load hotkeys to/from hotkeys.cfg
14 years ago
yexo
258ca28819
(svn r20055) -Feature: save/load hotkeys to/from hotkeys.cfg
14 years ago
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
15 years ago
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
15 years ago
rubidium
2099d3ffb8
(svn r19777) -Change: use the file scanner to find the .tars
15 years ago
rubidium
948beec597
(svn r19777) -Change: use the file scanner to find the .tars
15 years ago
smatz
258b128a56
(svn r19614) -Codechange: "it's" => "its" where appropriate
15 years ago
smatz
0ef33548c2
(svn r19614) -Codechange: "it's" => "its" where appropriate
15 years ago
rubidium
f671a51666
(svn r19427) -Codechange: gracefully handle the case where we can't open a .tar file.
15 years ago
rubidium
4ba69b572d
(svn r19427) -Codechange: gracefully handle the case where we can't open a .tar file.
15 years ago
rubidium
04fbf762fb
(svn r19262) -Feature: finalise BaNaNaS support for music sets
15 years ago
rubidium
0f6d82df7e
(svn r19262) -Feature: finalise BaNaNaS support for music sets
15 years ago
rubidium
b893abb356
(svn r19248) -Fix: DOS 'port' did not compile anymore
15 years ago
rubidium
77214378ca
(svn r19248) -Fix: DOS 'port' did not compile anymore
15 years ago
rubidium
dd714d1e96
(svn r19151) -Codechange [FS#3625]: Move home directory to a better place in Haiku (jrepan)
15 years ago
rubidium
ef90fa7d02
(svn r19151) -Codechange [FS#3625]: Move home directory to a better place in Haiku (jrepan)
15 years ago
smatz
c27b069ca5
(svn r19000) -Cleanup: remove redundant check
15 years ago
smatz
2b8f7f2078
(svn r19000) -Cleanup: remove redundant check
15 years ago
rubidium
8676af5618
(svn r18834) -Fix [FS#3538]: compilation failed on OpenBSD (matze)
15 years ago
rubidium
15adbad2f4
(svn r18834) -Fix [FS#3538]: compilation failed on OpenBSD (matze)
15 years ago
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
15 years ago
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
15 years ago
smatz
0fb50708bd
(svn r18032) -Codechange: add one const
15 years ago
smatz
a84921f8f5
(svn r18032) -Codechange: add one const
15 years ago
glx
2e499a43a9
(svn r18029) -Fix (r18028): AppendPathSeparator() should stay global
15 years ago
glx
85a910f02e
(svn r18029) -Fix (r18028): AppendPathSeparator() should stay global
15 years ago
rubidium
224f4e0197
(svn r18028) -Codechange: unglobalise some functions
15 years ago
rubidium
860b9b1cea
(svn r18028) -Codechange: unglobalise some functions
15 years ago
rubidium
f1f3009782
(svn r18026) -Codechange: make a lookup table static that doesn't need to be 'exported'
15 years ago
rubidium
3702746756
(svn r18026) -Codechange: make a lookup table static that doesn't need to be 'exported'
15 years ago
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
15 years ago
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
15 years ago
rubidium
ed8788d581
(svn r17682) -Codechange: remove erroneous space before some commas
15 years ago
rubidium
e9624fe0cc
(svn r17682) -Codechange: remove erroneous space before some commas
15 years ago
rubidium
310465da07
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
15 years ago
rubidium
e8ddf001c8
(svn r17570) -Fix: a number of Doxygen warnings about missing parameters, which were sometimes missing and sometimes just typos
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
62ee93c702
(svn r16590) -Fix [FS#2967]: don't crash when tars/newgrfs are removed, just tell the file could be opened/found.
16 years ago
rubidium
98b4f1fce2
(svn r16590) -Fix [FS#2967]: don't crash when tars/newgrfs are removed, just tell the file could be opened/found.
16 years ago
rubidium
2832d69272
(svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts.
16 years ago
rubidium
168ae6f7e2
(svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts.
16 years ago
rubidium
c496a3e014
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
16 years ago
rubidium
0d99b6c71c
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
16 years ago
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
16 years ago
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
16 years ago
rubidium
11e2ca71e6
(svn r16024) -Codechange: harden string copying on places where it's possible
16 years ago
rubidium
bee930f9b3
(svn r16024) -Codechange: harden string copying on places where it's possible
16 years ago
orudge
de67610a7a
(svn r15745) -Fix: Resolve compile error in fileio.cpp on OS/2 - base paths on OS/2 behave much like DOS
16 years ago
orudge
bcc870e3f8
(svn r15745) -Fix: Resolve compile error in fileio.cpp on OS/2 - base paths on OS/2 behave much like DOS
16 years ago
rubidium
c3e87f345d
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
rubidium
c718984618
(svn r15641) -Fix: some gcc compilers seem to be chosing the C++ standard for strrchr, others the C standard...
16 years ago
rubidium
f5c1365471
(svn r15641) -Fix: some gcc compilers seem to be chosing the C++ standard for strrchr, others the C standard...
16 years ago
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.
16 years ago
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.
16 years ago
rubidium
013e354c47
(svn r15612) -Codechange: unduplicate directory creation
16 years ago
rubidium
a52d50c62f
(svn r15612) -Codechange: unduplicate directory creation
16 years ago
rubidium
a6ca7b8237
(svn r15610) -Change: allow loading of heightmaps and savegames (any form) that are in .tar files
16 years ago
rubidium
0d8da02ec1
(svn r15610) -Change: allow loading of heightmaps and savegames (any form) that are in .tar files
16 years ago
rubidium
d82e5d205f
(svn r15607) -Codechange: support searching files without filtering on extension.
16 years ago
rubidium
4f3da358ee
(svn r15607) -Codechange: support searching files without filtering on extension.
16 years ago
rubidium
fb978c04b1
(svn r15606) -Codechange: make it possible to not recursively search with the file scanner (i.e. only search a single directory).
16 years ago
rubidium
d1d0778a54
(svn r15606) -Codechange: make it possible to not recursively search with the file scanner (i.e. only search a single directory).
16 years ago
smatz
34bfb35105
(svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating fails
16 years ago
smatz
d73c1fa7bf
(svn r15568) -Cleanup: *allocT/AllocaM doesn't return NULL when allocating fails
16 years ago
smatz
9021c20b5e
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
smatz
0d3f5e6e74
(svn r15299) -Cleanup: remove many redundant includes
16 years ago
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.
16 years ago
rubidium
3a13b75e37
(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.
16 years ago
rubidium
3fb43b6bcb
(svn r15113) -Codechange: unify calling ScanForTarFiles when determining the paths.
16 years ago
rubidium
102cc11ee9
(svn r15113) -Codechange: unify calling ScanForTarFiles when determining the paths.
16 years ago
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
16 years ago
rubidium
c333790dd8
(svn r15112) -Fix (r15108): transform should include algorithm as that's where it's from. Furthermore not including it gives compile errors for some
16 years ago
rubidium
435a69da1e
(svn r15111) -Fix: when scanning a path and saying it should ignore tars, it didn't do so
16 years ago
rubidium
2adcaa576f
(svn r15111) -Fix: when scanning a path and saying it should ignore tars, it didn't do so
16 years ago
truebrain
47406dbc69
(svn r15108) -Fix: TarAddLink didn't lowercase strings, breaking tar-loading when using uppercase files
16 years ago
truebrain
a43cd3456b
(svn r15108) -Fix: TarAddLink didn't lowercase strings, breaking tar-loading when using uppercase files
16 years ago
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
16 years ago
truebrain
ef62688522
(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
16 years ago
rubidium
eb19b0abf9
(svn r15082) -Codechange: make the AI library path also a searchdir instead of manually manufacturing it into a searchdir.
16 years ago
rubidium
ea5457d831
(svn r15082) -Codechange: make the AI library path also a searchdir instead of manually manufacturing it into a searchdir.
16 years ago
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
16 years ago
truebrain
a3dd7506d3
(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
16 years ago
rubidium
9bd1435fcf
(svn r14656) -Change: replace instances of x & S_IFREG with S_ISREG(x) as S_IFREG can be 0 on some platforms.
16 years ago
rubidium
bcb9a11754
(svn r14656) -Change: replace instances of x & S_IFREG with S_ISREG(x) as S_IFREG can be 0 on some platforms.
16 years ago
rubidium
5dd4735da1
(svn r14636) -Add: DOS port of OpenTTD, without network support though.
16 years ago
rubidium
a614dd7174
(svn r14636) -Add: DOS port of OpenTTD, without network support though.
16 years ago
rubidium
b0a9ce2d9a
(svn r14635) -Change: use S_ISDIR/S_ISREG as x & S_IFREG always results false on platforms when S_IFREG is 0x0000.
16 years ago
rubidium
bb25748a9d
(svn r14635) -Change: use S_ISDIR/S_ISREG as x & S_IFREG always results false on platforms when S_IFREG is 0x0000.
16 years ago
skidd13
9b282b3e51
(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible
16 years ago
skidd13
706dd0f86c
(svn r14555) -Codechange: replace ttd_strlcat and ttd_strlcpy with strecat and strecpy where direct conversion is possible
16 years ago
rubidium
e7bb5c63a4
(svn r14466) -Doc: remove some obsolete parameters, fix a few parameter names in comments and add a little more doxygen documentation.
16 years ago
rubidium
a999bb3227
(svn r14466) -Doc: remove some obsolete parameters, fix a few parameter names in comments and add a little more doxygen documentation.
16 years ago
rubidium
5ab74534da
(svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy doesn't guarantee the resulting string is '\0'-terminated.
16 years ago
rubidium
e7829c1a57
(svn r14414) -Fix: replace instances of strncpy with strecpy as strncpy doesn't guarantee the resulting string is '\0'-terminated.
16 years ago
rubidium
a20b833516
(svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too.
16 years ago
rubidium
ea1f180a55
(svn r14199) -Codechange: split fileio.h into fileio_type.h and fileio_func.h so not everything that includes saveload.h needs to include everything else too.
16 years ago
rubidium
d452683aa6
(svn r14196) -Codechange: make the searching for files with a specific extension extendable.
16 years ago
rubidium
1afa473d0f
(svn r14196) -Codechange: make the searching for files with a specific extension extendable.
16 years ago
rubidium
a7d3d86f55
(svn r14069) -Fix: silence MSVC 64-bits compile warnings.
16 years ago
rubidium
d986380169
(svn r14069) -Fix: silence MSVC 64-bits compile warnings.
16 years ago
rubidium
355c3bb482
(svn r13810) -Fix: small memory leak when tar files would be found.
16 years ago
rubidium
81c50c6c32
(svn r13810) -Fix: small memory leak when tar files would be found.
16 years ago
frosch
e631c70b1c
(svn r13698) -Fix (r13697): MorphOS compilation.
16 years ago
frosch
1c17405721
(svn r13698) -Fix (r13697): MorphOS compilation.
16 years ago
frosch
ac0ae1536f
(svn r13697) -Feature: Add some support for symbolic links in .tar files.
16 years ago
frosch
1655a6f2a8
(svn r13697) -Feature: Add some support for symbolic links in .tar files.
16 years ago
frosch
16ad1fe7bb
(svn r13693) -Fix (r11106, r11117): Do not rely on .tar files always ending with a block of zeros.
16 years ago
frosch
2b6dee7f64
(svn r13693) -Fix (r11106, r11117): Do not rely on .tar files always ending with a block of zeros.
16 years ago
smatz
40d5242f91
(svn r13618) -Codechange: move tar-specific declarations to separate file
...
Removes indirect dependency on <string> and <map> for over 40 files
17 years ago
smatz
fee2adb299
(svn r13618) -Codechange: move tar-specific declarations to separate file
...
Removes indirect dependency on <string> and <map> for over 40 files
17 years ago
glx
b60a1326bf
(svn r13390) -Codechange: introduce usererror() for fatal but not openttd related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror().
17 years ago
glx
ee256e770a
(svn r13390) -Codechange: introduce usererror() for fatal but not openttd related errors. Now all error() will 'crash' openttd after showing the message in win32 releases (MSVC), creating a crash.log and crash.dmp (like the '!' hack used before). On the other hand, usererror() will just close the game. So use error() only when it can be helpful to debugging, else use usererror().
17 years ago
smatz
47c22cffce
(svn r13303) -Fix (r13301): 64bit gcc compilation was broken
17 years ago
smatz
8aa797603c
(svn r13303) -Fix (r13301): 64bit gcc compilation was broken
17 years ago
rubidium
33e18c236d
(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
17 years ago
rubidium
5c5ee7eb57
(svn r13301) -Fix [FS#1997]: resolve more MSVC 9 x64 warnings.
17 years ago
glx
a28ea38653
(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings
17 years ago
glx
e48a351f8e
(svn r13008) -Fix [FS#1997]: silence some MSVC x64 warnings
17 years ago
rubidium
e7d125de58
(svn r12963) -Fix (r12960): loading some NewGRFs could cause an infinite loop.
17 years ago
rubidium
50516f2372
(svn r12963) -Fix (r12960): loading some NewGRFs could cause an infinite loop.
17 years ago
rubidium
f2683a6037
(svn r12960) -Codechange: handle return values of (some) file system related functions.
17 years ago
rubidium
56e1178dca
(svn r12960) -Codechange: handle return values of (some) file system related functions.
17 years ago
rubidium
8fe14f7162
(svn r12943) -Fix: reading/modifying invalid data under some circumstances.
17 years ago
rubidium
0b8b5d1f3b
(svn r12943) -Fix: reading/modifying invalid data under some circumstances.
17 years ago
peter1138
78156065cf
(svn r11940) -Codechange: Store short filename once per open file instead of once per sprite cache entry. Not all file types need this, but most of the time no sprite cache entry needed it either.
17 years ago
peter1138
ffec79bbcf
(svn r11940) -Codechange: Store short filename once per open file instead of once per sprite cache entry. Not all file types need this, but most of the time no sprite cache entry needed it either.
17 years ago
bjarni
adf1e34ead
(svn r11837) -Feature: [OSX] added "/Library/Application Support/OpenTTD" to the search paths (based on patch by pv2b)
...
It is possible to set this to something else setting shared-dir with config
This works on other OSes as well but it's off by default (and not really tested)
17 years ago
bjarni
e281180d06
(svn r11837) -Feature: [OSX] added "/Library/Application Support/OpenTTD" to the search paths (based on patch by pv2b)
...
It is possible to set this to something else setting shared-dir with config
This works on other OSes as well but it's off by default (and not really tested)
17 years ago
rubidium
b09d957f31
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
17 years ago
rubidium
a3ccdcea36
(svn r11777) -Codechange: split the string header and make do not include it when it's not necessary.
17 years ago
rubidium
81bf9f8503
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
17 years ago
rubidium
429521a7d1
(svn r11692) -Codechange: move some functions from 'functions.h' to a more logical place and remove about 50% of the includes of 'functions.h'
17 years ago
rubidium
00c9d3ef20
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
17 years ago
rubidium
bf98e25e43
(svn r11691) -Codechange: move+rename helpers.hpp and only include it when it is really needed.
17 years ago
rubidium
8ebdfb258f
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
17 years ago
rubidium
01e20c9140
(svn r11674) -Codechange: refactor some functions out of macros.h into more logical locations.
17 years ago
rubidium
eb0be0322a
(svn r11569) -Fix [FS#1480]: full paths sometimes did not work correctly.
17 years ago
rubidium
5f576e12aa
(svn r11569) -Fix [FS#1480]: full paths sometimes did not work correctly.
17 years ago
skidd13
7a4d96f629
(svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style
...
This fixes also FS#1450
17 years ago
skidd13
58bb5c7525
(svn r11480) -Codechange: Rename the function ALIGN fitting to the naming style
...
This fixes also FS#1450
17 years ago
rubidium
da6ee7c73b
(svn r11464) -Fix: some issue that made OpenTTD on MorphOS seriously unplayable.
17 years ago
rubidium
92e0bf68e3
(svn r11464) -Fix: some issue that made OpenTTD on MorphOS seriously unplayable.
17 years ago
rubidium
3722b834ef
(svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled gracefully causing crashes and such.
17 years ago
rubidium
b14c94867a
(svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled gracefully causing crashes and such.
17 years ago
glx
d7d03edf2d
(svn r11159) -Fix (r11155): restore the ability to save in a non existing file
17 years ago
glx
94a710fa46
(svn r11159) -Fix (r11155): restore the ability to save in a non existing file
17 years ago
glx
958895a7a7
(svn r11156) -Fix r11155: fix one compiler makes the other warn ;)
17 years ago
glx
54fe17050b
(svn r11156) -Fix r11155: fix one compiler makes the other warn ;)
17 years ago
rubidium
3e31222294
(svn r11155) -Fix [FS#1253]: work around a nasty MS CRT 8 SP1 bug making it virtually impossible to debug 32bpp games under MSVC ( http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=257606 ). Patch by boekabart.
17 years ago
rubidium
2408a68910
(svn r11155) -Fix [FS#1253]: work around a nasty MS CRT 8 SP1 bug making it virtually impossible to debug 32bpp games under MSVC ( http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=257606 ). Patch by boekabart.
17 years ago
truelight
4a621fec63
(svn r11119) -Codechange: analyze .tar files upon loading, remembering their files and offsets, which speeds up .tar handling with a big factor
...
-Fix: several win32 .tar support problems
-Fix: better checking of .tar versions and other minor things
-Codechange: don't call fclose() but FioFClose to close a file
17 years ago
truelight
631dc06212
(svn r11119) -Codechange: analyze .tar files upon loading, remembering their files and offsets, which speeds up .tar handling with a big factor
...
-Fix: several win32 .tar support problems
-Fix: better checking of .tar versions and other minor things
-Codechange: don't call fclose() but FioFClose to close a file
17 years ago
truelight
9b7814159e
(svn r11117) -Add: add support for 7z .tar files, which are in the 'old' (deprecated) format
17 years ago
truelight
6a8e5398a2
(svn r11117) -Add: add support for 7z .tar files, which are in the 'old' (deprecated) format
17 years ago
glx
7d551bae1b
(svn r11116) -Fix (r11106): tar loader was not compiled for WIN32
17 years ago
glx
17870089d0
(svn r11116) -Fix (r11106): tar loader was not compiled for WIN32
17 years ago
truelight
357783eb1e
(svn r11109) -Fix r11106: it is silly to use a std::list for something that is cleary a std::vector (less memory ;) WHOHO!)
17 years ago
truelight
f438dcdd67
(svn r11109) -Fix r11106: it is silly to use a std::list for something that is cleary a std::vector (less memory ;) WHOHO!)
17 years ago
truelight
9e14778057
(svn r11106) -Add: added .tar support; you can pack all files in your data/ dir in how ever many .tar files you like, keeping the dir-structure equal to the unpacked version, and OpenTTD can handle them just like the files were unpacked
...
-Note: useful for GRF-packs and 32bpp PNGs. Don't forget to keep the dir-structure alive for 32bpp PNGs!
-Note: file-loading-order: search-paths, .tar-files in the order found on disk (can be anything at all, don't depend on it.. use 'openttd -d1' to see which order they are added)
17 years ago
truelight
5647bd5157
(svn r11106) -Add: added .tar support; you can pack all files in your data/ dir in how ever many .tar files you like, keeping the dir-structure equal to the unpacked version, and OpenTTD can handle them just like the files were unpacked
...
-Note: useful for GRF-packs and 32bpp PNGs. Don't forget to keep the dir-structure alive for 32bpp PNGs!
-Note: file-loading-order: search-paths, .tar-files in the order found on disk (can be anything at all, don't depend on it.. use 'openttd -d1' to see which order they are added)
17 years ago
truelight
e994f3195a
(svn r11100) -Fix r11099: darn typos...
17 years ago
truelight
7648df7fb5
(svn r11100) -Fix r11099: darn typos...
17 years ago
truelight
b84bd3cd1c
(svn r11099) -Codechange: allow on opening of a file via FioFOpenFile to request the size of the file, so we can keep that in mind
17 years ago
truelight
3d0ac92267
(svn r11099) -Codechange: allow on opening of a file via FioFOpenFile to request the size of the file, so we can keep that in mind
17 years ago
truelight
e545220563
(svn r11095) -Codechange: don't abuse 'file_pos' by storing the file_slot in it too, but use a nice seperate variable for it
...
-Note: on a side-note, this allows files bigger than 16+ MiB, needed for tar-support
17 years ago
truelight
8cd9ab9b7e
(svn r11095) -Codechange: don't abuse 'file_pos' by storing the file_slot in it too, but use a nice seperate variable for it
...
-Note: on a side-note, this allows files bigger than 16+ MiB, needed for tar-support
17 years ago
truelight
b2c765e620
(svn r10715) -Fix: limited-fs code was broken
17 years ago
truelight
3a45534e4e
(svn r10715) -Fix: limited-fs code was broken
17 years ago
glx
ad41b2dbd4
(svn r10272) -Fix (FS#916): remove more invalid characters from savegame names
18 years ago
glx
337d56d4bb
(svn r10272) -Fix (FS#916): remove more invalid characters from savegame names
18 years ago
rubidium
0d8e82b7d7
(svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch.
18 years ago
rubidium
f806b46cc9
(svn r10246) -Fix (r10297): some forgotten money conversions and truncation issues. Thanks to benc for providing the patch.
18 years ago
rubidium
e2f839b6a2
(svn r10194) -Codechange: prefer the current working directory above the user's home directory when openttd.cfg exists in the current working directory, otherwise prefer the home directory.
18 years ago
rubidium
5938dea88d
(svn r10194) -Codechange: prefer the current working directory above the user's home directory when openttd.cfg exists in the current working directory, otherwise prefer the home directory.
18 years ago
rubidium
c016eca97f
(svn r10188) -Codechange: make it a little easier to load a savegame from the console:
...
-g <absolute path>
-g <relative path from current working directory>
-g <relative path from within the savegame directory>
18 years ago
rubidium
b2799961bc
(svn r10188) -Codechange: make it a little easier to load a savegame from the console:
...
-g <absolute path>
-g <relative path from current working directory>
-g <relative path from within the savegame directory>
18 years ago
rubidium
3c7a85fe94
(svn r10182) -Codechange: rewrite most part of the file loading/searching to be more flexible.
...
-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
18 years ago
rubidium
347c28b71a
(svn r10182) -Codechange: rewrite most part of the file loading/searching to be more flexible.
...
-Codechange: add support for personal directories on Windows.
-Fix [FS#153, FS#193, FS#502, FS#816, FS#854]: fix issues related to fixed names, fixed places of files/directories and application bundles.
18 years ago
truelight
19513f2604
(svn r10143) -Add: store the filename of the grfs opened and allow easy access to the name
...
-Codechange: store the SpriteID in the spritecache too
-Add: add a PNG loader for graphical files
-Documentation: added a document to explain the PNG format
18 years ago
truelight
b7443d800b
(svn r10143) -Add: store the filename of the grfs opened and allow easy access to the name
...
-Codechange: store the SpriteID in the spritecache too
-Add: add a PNG loader for graphical files
-Documentation: added a document to explain the PNG format
18 years ago
rubidium
60d738f23a
(svn r10116) -Fix [FS#850]: remove invalid characters (for the file system) from savegame names. Based on a patch by TheJosh.
18 years ago
rubidium
73790d9cd6
(svn r10116) -Fix [FS#850]: remove invalid characters (for the file system) from savegame names. Based on a patch by TheJosh.
18 years ago
rubidium
9a57a1912d
(svn r10073) -Codechange: make the NewGRF paths in the config file without any full paths (again).
18 years ago
rubidium
142f2aba15
(svn r10073) -Codechange: make the NewGRF paths in the config file without any full paths (again).
18 years ago
rubidium
b5915a25df
(svn r9990) -Fix: MorphOS and AmigaOS do not like "//" in filenames as that means the same as "/../" in means in Unix.
18 years ago
rubidium
b17a89c53d
(svn r9990) -Fix: MorphOS and AmigaOS do not like "//" in filenames as that means the same as "/../" in means in Unix.
18 years ago
rubidium
1c1a4bc872
(svn r9560) -Codechange: add support for multiple 'base' directories for newgrf searching.
...
-Codechange: do not add duplicate files to the newgrf list.
18 years ago
rubidium
db91588845
(svn r9560) -Codechange: add support for multiple 'base' directories for newgrf searching.
...
-Codechange: do not add duplicate files to the newgrf list.
18 years ago
rubidium
065144b5ae
(svn r9281) -Fix [FS#687]: compile failure when compiling with 'home directories' enabled (stepancheg).
18 years ago
rubidium
5171c3fbe4
(svn r9281) -Fix [FS#687]: compile failure when compiling with 'home directories' enabled (stepancheg).
18 years ago
rubidium
b30f46f274
(svn r9271) -Codechange: make the language pack initialisation a little more clear and extendable (more language paths).
18 years ago
rubidium
7fb3b4f83e
(svn r9271) -Codechange: make the language pack initialisation a little more clear and extendable (more language paths).
18 years ago
rubidium
aeb7241db8
(svn r9266) -Codechange: unify the retrieval of the base paths a little more.
18 years ago
rubidium
50b2088674
(svn r9266) -Codechange: unify the retrieval of the base paths a little more.
18 years ago
rubidium
9a107b8752
(svn r9130) -Codechange: move the fileio functions that do open a file into a Fio slot together.
18 years ago
rubidium
1926b9038d
(svn r9130) -Codechange: move the fileio functions that do open a file into a Fio slot together.
18 years ago
rubidium
c0ac3745a0
(svn r9129) -Codechange: unify parts of DeterminePaths.
18 years ago
rubidium
9299e76a25
(svn r9129) -Codechange: unify parts of DeterminePaths.
18 years ago
rubidium
979ccd45ba
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
18 years ago
rubidium
24c4d5b06d
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
18 years ago
rubidium
4169bfba06
(svn r9050) -Codechange: Foo(void) -> Foo()
18 years ago
rubidium
36bb92ae24
(svn r9050) -Codechange: Foo(void) -> Foo()
18 years ago
belugas
5792aa85c7
(svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing tags and (more than just) a few comments style.
18 years ago
belugas
b71354dc40
(svn r8987) -Cleanup: doxygen changes. Again. Mostly (still) @files missing tags and (more than just) a few comments style.
18 years ago
belugas
240cbd4dd2
(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
18 years ago
belugas
978d7da818
(svn r8950) -Cleanup: doxygen changes. Mostly @files missing tags and a few comments style.
18 years ago
truelight
f5ea97e0b3
(svn r8647) -Codechange: add a general way to handle platforms who can only have a limited amount of file-descripters open at any given time.
...
The Fios keeps track how many times a file is opened, and tries to close up files which aren't used often.
The first platform using this is PSP. Patch based on the work of Turulo.
18 years ago
truelight
7cd68b5a07
(svn r8647) -Codechange: add a general way to handle platforms who can only have a limited amount of file-descripters open at any given time.
...
The Fios keeps track how many times a file is opened, and tries to close up files which aren't used often.
The first platform using this is PSP. Patch based on the work of Turulo.
18 years ago
KUDr
07c30785ab
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
18 years ago
KUDr
e373ea7096
(svn r8033) [cpp] - Prepare for merge from branches/cpp (all .c files renamed to .cpp)
18 years ago