Patric Stout
e3c639a09f
Remove: ENABLE_NETWORK switch
...
This switch has been a pain for years. Often disabling broke
compilation, as no developer compiles OpenTTD without, neither do
any of our official binaries.
Additionaly, it has grown so hugely in our codebase, that it
clearly shows that the current solution was a poor one. 350+
instances of "#ifdef ENABLE_NETWORK" were in the code, of which
only ~30 in the networking code itself. The rest were all around
the code to do the right thing, from GUI to NewGRF.
A more proper solution would be to stub all the functions, and
make sure the rest of the code can simply assume network is
available. This was also partially done, and most variables were
correct if networking was disabled. Despite that, often the #ifdefs
were still used.
With the recent removal of DOS, there is also no platform anymore
which we support where networking isn't working out-of-the-box.
All in all, it is time to remove the ENABLE_NETWORK switch. No
replacement is planned, but if you feel we really need this option,
we welcome any Pull Request which implements this in a way that
doesn't crawl through the code like this diff shows we used to.
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
glx
c540d72445
Fix: [Win32] WIN32 may not be defined, always prefer the compiler predefined macro _WIN32
6 years ago
Patric Stout
aef69443e7
Remove: WinCE support
6 years ago
frosch
062c736437
(svn r27896) -Fix: some warnings
7 years ago
frosch
b4b98e5165
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
7 years ago
alberth
0adfb1ac6f
(svn r27653) -Fix(r27647): Rename FileOperation enum and values to SaveLoadOperation to avoid nameclash with windows compiler toolkit.
8 years ago
alberth
75ad6d0100
(svn r27647) -Codechange: Introduce file operations, and use it to replace most of SaveLoadDialogMode
8 years ago
alberth
2d7201781b
(svn r27646) -Codechange: Move _fios_items variable into the SaveLoadWindow class.
8 years ago
alberth
d6cd3b1605
(svn r27644) -Codechange: Split GetFiosItem into BuildFileList and FindItem, and move both to FileList.
8 years ago
alberth
95bb103a23
(svn r27643) -Codechange: FiosGetDrives function also takes a destination file list.
8 years ago
alberth
caf3379746
(svn r27642) -Codechange: FiosGet* file query functions take a destination file list.
8 years ago
alberth
bc08fe7c5f
(svn r27641) -Codechange: Fold the _fios_items file list vector into its own class.
8 years ago
alberth
9135f7130e
(svn r27635) -Codechange: Move FileType and FileToSaveLoad structure definitions.
8 years ago
alberth
d6812947f3
(svn r27634) -Codechange: Improve name of the SmallFiosItem struct.
8 years ago
alberth
db57e818a7
(svn r26554) -Fix(r26489): Use last address of the destination buffer.
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
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
planetmaker
cbb971f791
(svn r26423) -Fix: Don't crash when supplying an invalid filename without extension to cmd parameter -q
10 years ago
frosch
edd9c0553a
(svn r24804) -Add: Separate subdirectory for screenshots.
12 years ago
yexo
fe31aa28c4
(svn r24487) -Codechange [FS#5236]: make several DoesContentExist return the path instead of a boolean (LordAro)
12 years ago
rubidium
160294ff22
(svn r23216) -Codechange: introduce the concept of having different tar lists
13 years ago
rubidium
414c397000
(svn r22904) -Codechange: add tar filename to file scanning
13 years ago
rubidium
b4edc30c64
(svn r22827) -Codechange: pass the/a more proper sub directory when opening (some) files instead of the default one
13 years ago
rubidium
5f06d5067f
(svn r22823) -Codechange: pass the sub directory to search in to GetFileTitle
13 years ago
alberth
1838225192
(svn r22511) -Add: Function to make heightmap file paths.
13 years ago
alberth
84f7fc32fa
(svn r22510) -Codechange: Extract filepath creation to its own function.
13 years ago
glx
986d5e950d
(svn r22502) -Fix (r22501): WIN32 compilation
13 years ago
alberth
6e3ef9fa1a
(svn r22501) -Codechange: Move FileExists to a better place.
13 years ago
alberth
f5637b7975
(svn r22500) -Doc: Fix and add fios doxygen documentation.
13 years ago
rubidium
d74fc0bee3
(svn r21895) -Cleanup: get rid of the unused SLD_NEW_GAME
14 years ago
rubidium
7eba2bf4d3
(svn r21890) -Cleanup: remove some unneeded includes
14 years ago
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
terkhen
88ca183191
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
14 years ago
alberth
604e56adc2
(svn r20025) -Doc: Fix/add comments to let Doxygen know about the documentation.
14 years ago
frosch
1d9a84a934
(svn r19936) -Codechange: If there is an enum, also use it.
14 years ago
smatz
0ef33548c2
(svn r19614) -Codechange: "it's" => "its" where appropriate
14 years ago
smatz
23041d9720
(svn r19509) -Codechange: remove superfluous semicolons after function definitions
14 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
ca7f6f5d7a
(svn r17528) -Codechange: use QSortT instead of qsort for sorting FiosItems
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
60a3bc9034
(svn r17247) -Change: move '3rd party' MD5 implementation also to the 3rdparty directory.
15 years ago
rubidium
7fb95e2c2b
(svn r17228) -Codechange: some coding style fixes
15 years ago
alberth
abd37177f2
(svn r16748) -Codechange: Don't cast away constness.
15 years ago
rubidium
59d45a04d6
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
15 years ago
rubidium
4bf3508680
(svn r16023) -Fix (r15615) [FS#2817]: 32 bpp sprites in tars would also be shown in the list of heightmaps.
15 years ago
glx
1692ce8312
(svn r15710) -Fix (r15706): for non MSVC io.h needs to be included before defining unlink. Also remove redundant tchar.h includes as it is already in stdafx.h.
16 years ago
michi_cc
b1479bec02
(svn r15706) -Fix: Make sure the filename passed to unlink() is always in file system encoding.
16 years ago
glx
f45e3b3068
(svn r15664) -Fix [FS#2716]: as always windows needs special handling when strings are involved
16 years ago