Patric Stout
1f57150d80
Codechange: "basedir.h" is a system include, not a local
5 years ago
Patric Stout
7784d77713
Remove: MorphOS / AmigaOS support
...
In 10 years there is no commit to change how MorphOS works, and we
have no active maintainer for it. It is unlikely it works in its
current state (but not impossible).
With the arrival of SDL2 (and removal of SDL), MorphOS is no longer
support. There is an SDL2 port for MorphOS, but it is not maintained
by upstream SDL2, and nobody can currently test it out.
If anyone wants to re-add MorphOS, please do (revert this patch,
fix the problems, and create a Pull Request). If you need any help
doing so, let us know! It is not that we don't like MorphOS, it is
that we don't have anyone fixing the problems :(
5 years ago
Jonathan G Rennison
4f1d54564e
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/debug.cpp
6 years ago
glx
c540d72445
Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined macro _WIN32
6 years ago
Jonathan G Rennison
e735c1a51a
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/aircraft_cmd.cpp
# src/autoreplace_cmd.cpp
# src/pathfinder/follow_track.hpp
# src/pathfinder/yapf/yapf_rail.cpp
# src/saveload/afterload.cpp
# src/saveload/saveload.cpp
# src/script/api/ai/ai_station.hpp.sq
# src/script/api/game/game_station.hpp.sq
# src/script/api/script_station.hpp
# src/track_func.h
# src/vehicle_base.h
6 years ago
Charles Pigott
f5b1115039
Doc: Lots and lots of doxymentation fixes
6 years ago
Jonathan G Rennison
8e9d68048a
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/string.cpp
6 years ago
Niels Martin Hansen
458e441a4c
Codechange: Make FioCreateDirectory public
6 years ago
Jonathan G Rennison
ad1c402ad8
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/debug.cpp
# src/saveload/afterload.cpp
# src/saveload/saveload.cpp
# src/settings_type.h
# src/town_cmd.cpp
# src/window.cpp
6 years ago
Patric Stout
aef69443e7
Remove: WinCE support
6 years ago
Jonathan G Rennison
4a0d949d83
Merge branch 'master' into jgrpp
7 years ago
frosch
2e20751c5f
(svn r27954) -Cleanup [FS#6644]: Remove unused function (M3Henry)
7 years ago
frosch
6b11ab49d2
(svn r27954) -Cleanup [FS#6644]: Remove unused function (M3Henry)
7 years ago
Jonathan G Rennison
f34833f111
Merge branch 'improved_breakdowns' into jgrpp
...
# Conflicts:
# src/vehiclelist.cpp
7 years ago
frosch
b4b98e5165
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
7 years ago
frosch
a47fb85cd8
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
7 years ago
Jonathan G Rennison
82ec6d93dc
Merge branch 'master' into jgrpp
7 years ago
frosch
4c50ecd958
(svn r27886) -Fix [FS#6575-ish]: Do not modify argv[0].
7 years ago
frosch
2f7ac7c41f
(svn r27886) -Fix [FS#6575-ish]: Do not modify argv[0].
7 years ago
Jonathan G Rennison
f89e8b76d6
Fix increased number of NewGRFs support.
...
Improve error handling if multiplayer limit is exceeded.
7 years ago
rubidium
9edf5eba4e
(svn r26514) -Fix: rewrite link-in-tar handling so it doesn't use strncpy and it doesn't overrun its buffers anymore
10 years ago
rubidium
5ef2042819
(svn r26514) -Fix: rewrite link-in-tar handling so it doesn't use strncpy and it doesn't overrun its buffers anymore
10 years ago
rubidium
034735a54c
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
10 years ago
rubidium
9ed12b0f07
(svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL)
10 years ago
rubidium
699779324e
(svn r26499) -Codechange: replace strndup with stredup
10 years ago
rubidium
8960939b22
(svn r26499) -Codechange: replace strndup with stredup
10 years ago
rubidium
5c7c2445d8
(svn r26489) -Codechange: properly account for the end of buffers in the file io code instead of assuming MAX_PATH is okay
10 years ago
rubidium
21f991e235
(svn r26489) -Codechange: properly account for the end of buffers in the file io code instead of assuming MAX_PATH is okay
10 years ago
frosch
24c7134bff
(svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy and strecat.
10 years ago
frosch
ef4c2ce031
(svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy and strecat.
10 years ago
rubidium
2be4215f43
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
10 years ago
rubidium
0463dbdc9e
(svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
10 years ago
rubidium
bb5984a02b
(svn r26114) -Fix-ish: do our best to not get bit by getenv being unsafe as hell
11 years ago
rubidium
d2ffba07bb
(svn r26114) -Fix-ish: do our best to not get bit by getenv being unsafe as hell
11 years ago
rubidium
d9a3177862
(svn r26089) -Fix: a number of minor memory leaks
11 years ago
rubidium
0ac9ed0b6b
(svn r26089) -Fix: a number of minor memory leaks
11 years ago
rubidium
86621f0ff4
(svn r26087) -Fix: file descriptor leak when finding a corrupt tar
11 years ago
rubidium
3eecd246eb
(svn r26087) -Fix: file descriptor leak when finding a corrupt tar
11 years ago
rubidium
e591a65ade
(svn r26082) -Fix [FS#5816] (r26077): tar files with more than one file in the root directory would not be read properly (zydeco)
11 years ago
rubidium
b75e60124d
(svn r26082) -Fix [FS#5816] (r26077): tar files with more than one file in the root directory would not be read properly (zydeco)
11 years ago
rubidium
954a141ca8
(svn r26077) -Codechange: handle strings like strings when scanning a tar instead of merely blobs of memory
11 years ago
rubidium
5e2d22da79
(svn r26077) -Codechange: handle strings like strings when scanning a tar instead of merely blobs of memory
11 years ago
rubidium
428faaf4ad
(svn r26076) -Codechange: upgrade some C-style named structs to C++-style named structs
11 years ago
rubidium
5049e938f5
(svn r26076) -Codechange: upgrade some C-style named structs to C++-style named structs
11 years ago
rubidium
e4b208c069
(svn r26061) -Fix: negative result of ftell wasn't handled correctly in some cases
11 years ago
rubidium
78a316d349
(svn r26061) -Fix: negative result of ftell wasn't handled correctly in some cases
11 years ago
rubidium
a6fae2c608
(svn r26058) -Fix: handle the return value of a number of functions better
11 years ago
rubidium
0e9c992104
(svn r26058) -Fix: handle the return value of a number of functions better
11 years ago
rubidium
446613e868
(svn r26008) -Fix (r25975): uninitialised warning
11 years ago
rubidium
b934e528d9
(svn r26008) -Fix (r25975): uninitialised warning
11 years ago
rubidium
a77aa68f16
(svn r25975) -Feature [FS#5385]: XDG base directory support
11 years ago
rubidium
ee137a5ced
(svn r25975) -Feature [FS#5385]: XDG base directory support
11 years ago
rubidium
c4ab18c029
(svn r25974) -Codechange: make the _personal_dir global const, since once it's set it shouldn't be changed anyhow
11 years ago
rubidium
def597fe31
(svn r25974) -Codechange: make the _personal_dir global const, since once it's set it shouldn't be changed anyhow
11 years ago
frosch
b172ed3578
(svn r25291) -Add: WindowDesc ability to load and store information in a config file.
11 years ago
frosch
23ba42b66c
(svn r25291) -Add: WindowDesc ability to load and store information in a config file.
11 years ago
planetmaker
f00d9976f9
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
planetmaker
c24374f99c
(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow)
12 years ago
rubidium
b89df11932
(svn r24877) -Fix: some whitespace "errors"
12 years ago
rubidium
d5d96ba683
(svn r24877) -Fix: some whitespace "errors"
12 years ago
frosch
50abcf3edc
(svn r24804) -Add: Separate subdirectory for screenshots.
12 years ago
frosch
edd9c0553a
(svn r24804) -Add: Separate subdirectory for screenshots.
12 years ago
rubidium
6bc634efba
(svn r23983) -Fix [FS#5083]: tarred heightmaps wouldn't be found
13 years ago
rubidium
27cf8de733
(svn r23983) -Fix [FS#5083]: tarred heightmaps wouldn't be found
13 years ago
truebrain
ff7797c421
(svn r23612) -Add: allow importing libraries in the same way as AI does, only with GS prefix (and in game/library)
13 years ago
truebrain
963802e9a7
(svn r23612) -Add: allow importing libraries in the same way as AI does, only with GS prefix (and in game/library)
13 years ago
truebrain
14325e2391
(svn r23605) -Add: GAME_DIR and CONTENT_TYPE_GAME, and read gamescript from that directory
13 years ago
truebrain
b4f832f29f
(svn r23605) -Add: GAME_DIR and CONTENT_TYPE_GAME, and read gamescript from that directory
13 years ago
rubidium
ffccec6d84
(svn r23234) -Fix [FS#4840]: crash when after downloading content
13 years ago
rubidium
a3a2fdcfc2
(svn r23234) -Fix [FS#4840]: crash when after downloading content
13 years ago
frosch
1ab0108bb9
(svn r23228) -Fix (r23227): FileScanner::Scan() still did not scan all required directories for basesets.
13 years ago
frosch
1f6c9c6457
(svn r23228) -Fix (r23227): FileScanner::Scan() still did not scan all required directories for basesets.
13 years ago
frosch
88980e11a3
(svn r23227) -Fix (r23219): The FileScanner should also consider the old directories.
13 years ago
frosch
7b86e3e109
(svn r23227) -Fix (r23219): The FileScanner should also consider the old directories.
13 years ago
frosch
4eb0160cf6
(svn r23226) -Fix (r23219): If you find a file, also use it.
13 years ago
frosch
52d3be2e05
(svn r23226) -Fix (r23219): If you find a file, also use it.
13 years ago
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
13 years ago
rubidium
86a168b2e9
(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
13 years ago
rubidium
5135e2a09e
(svn r23219) -Change: different directories for basesets and newgrfs. So data to baseset or newgrf, and gm to baseset
13 years ago
rubidium
2b897b4fa0
(svn r23219) -Change: different directories for basesets and newgrfs. So data to baseset or newgrf, and gm to baseset
13 years ago
rubidium
78628b590d
(svn r23218) -Codechange: prepare code for a separate base set directory
13 years ago
rubidium
9e7174e540
(svn r23218) -Codechange: prepare code for a separate base set directory
13 years ago
rubidium
4d281cce97
(svn r23217) -Codechange: introduce the concept of scanning only in a limited set of sub directories
13 years ago
rubidium
6d991b3b10
(svn r23217) -Codechange: introduce the concept of scanning only in a limited set of sub directories
13 years ago
rubidium
9bf2cb0e86
(svn r23216) -Codechange: introduce the concept of having different tar lists
13 years ago
rubidium
160294ff22
(svn r23216) -Codechange: introduce the concept of having different tar lists
13 years ago
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
13 years ago
rubidium
7fd1e1df81
(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
13 years ago
rubidium
661e5c6655
(svn r22904) -Codechange: add tar filename to file scanning
13 years ago
rubidium
414c397000
(svn r22904) -Codechange: add tar filename to file scanning
13 years ago
rubidium
fb5a2f4485
(svn r22835) -Codechange: keep track of the subdirectory we are looking through in the file scanner
13 years ago
rubidium
672df52e0c
(svn r22835) -Codechange: keep track of the subdirectory we are looking through in the file scanner
13 years ago
rubidium
33896fbffe
(svn r22834) -Codechange: unify some code, and extend it to work for other filenames that should end in a particular way
13 years ago
rubidium
41169291e3
(svn r22834) -Codechange: unify some code, and extend it to work for other filenames that should end in a particular way
13 years ago
rubidium
26788cf363
(svn r22825) -Codechange: pass subdir to FioOpenFile
13 years ago
rubidium
2a12c9df2f
(svn r22825) -Codechange: pass subdir to FioOpenFile
13 years ago
rubidium
c8167de1c2
(svn r22822) -Codechange: make a distinction between base sets and newgrfs for their directory
13 years ago
rubidium
0061b5f184
(svn r22822) -Codechange: make a distinction between base sets and newgrfs for their directory
13 years ago
smatz
4436588bab
(svn r22719) -Fix: compilation with gcc 4.7
13 years ago
smatz
564dc66131
(svn r22719) -Fix: compilation with gcc 4.7
13 years ago
alberth
288fdb3459
(svn r22709) -Doc: Doxyment fileio.cpp.
13 years ago
alberth
89c7193b8f
(svn r22709) -Doc: Doxyment fileio.cpp.
13 years ago
alberth
ef58554bd2
(svn r22669) -Codechange: For non-windows, only test for file existence again if strtolower actually changed the name.
13 years ago
alberth
d55b380b69
(svn r22669) -Codechange: For non-windows, only test for file existence again if strtolower actually changed the name.
13 years ago
alberth
7a60662b15
(svn r22668) -Codechange: FioFindFullPath tests already whether the file exists.
13 years ago
alberth
20c2b5fdde
(svn r22668) -Codechange: FioFindFullPath tests already whether the file exists.
13 years ago
glx
3e1bafdc0d
(svn r22502) -Fix (r22501): WIN32 compilation
13 years ago
glx
986d5e950d
(svn r22502) -Fix (r22501): WIN32 compilation
13 years ago
alberth
45f05f2419
(svn r22501) -Codechange: Move FileExists to a better place.
13 years ago
alberth
6e3ef9fa1a
(svn r22501) -Codechange: Move FileExists to a better place.
13 years ago
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.
13 years ago
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.
13 years ago
alberth
3ae756f85f
(svn r22460) -Doc: Semantic documentation fixes, and doxygen additions (partly by planetmaker).
13 years ago
alberth
990ec6f0a9
(svn r22460) -Doc: Semantic documentation fixes, and doxygen additions (partly by planetmaker).
13 years ago
rubidium
9ba8361f77
(svn r21247) -Fix: make the tar scanner forget about old (possibly removed) tars
14 years ago
rubidium
f7b2a87292
(svn r21247) -Fix: make the tar scanner forget about old (possibly removed) tars
14 years ago
alberth
063931d435
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
14 years ago
alberth
7e48d85104
(svn r21060) -Doc: Improved wording of comments (mostly by __ln__)
14 years ago
alberth
2b4da1d345
(svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file.
14 years ago
alberth
9f5a96ead2
(svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file.
14 years ago
alberth
137e2b64c9
(svn r20211) -Codechange: Indented code should have curly braces around it.
14 years ago
alberth
be6c058424
(svn r20211) -Codechange: Indented code should have curly braces around it.
14 years ago
rubidium
1062330ba1
(svn r20194) -Fix: compilation with network disabled failed
14 years ago
rubidium
5b1fc7304a
(svn r20194) -Fix: compilation with network disabled failed
14 years ago
rubidium
9fd2afb147
(svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :)
14 years ago
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
14 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
14 years ago
rubidium
2099d3ffb8
(svn r19777) -Change: use the file scanner to find the .tars
14 years ago
rubidium
948beec597
(svn r19777) -Change: use the file scanner to find the .tars
14 years ago
smatz
258b128a56
(svn r19614) -Codechange: "it's" => "its" where appropriate
14 years ago
smatz
0ef33548c2
(svn r19614) -Codechange: "it's" => "its" where appropriate
14 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