alberth
95b6644592
(svn r22098) -Codechange: Have an array of option data, use it in the option parsing routine. Adapt openttd option processing too.
14 years ago
alberth
8c2fc45153
(svn r22098) -Codechange: Have an array of option data, use it in the option parsing routine. Adapt openttd option processing too.
14 years ago
alberth
1983b8d558
(svn r22096) -Codechange: Move openttd getopt implementation to its own file.
14 years ago
alberth
9d0ff9d692
(svn r22096) -Codechange: Move openttd getopt implementation to its own file.
14 years ago
rubidium
1516299bca
(svn r22070) -Fix [FS#4503] (r21399): crashes when disconnecting after requesting the map
14 years ago
rubidium
befa79ba4a
(svn r22070) -Fix [FS#4503] (r21399): crashes when disconnecting after requesting the map
14 years ago
rubidium
8183922813
(svn r22021) -Fix (r22019): ofcourse make doesn't notice files are gone, so it doesn't recompile everything that needs to be recompiled...
14 years ago
rubidium
1d0d7635e0
(svn r22021) -Fix (r22019): ofcourse make doesn't notice files are gone, so it doesn't recompile everything that needs to be recompiled...
14 years ago
rubidium
c163f3c0f7
(svn r22007) -Change: only show one AI per unique ID instead of all versions in the output of "openttd -h"
14 years ago
rubidium
79fd8a362b
(svn r22007) -Change: only show one AI per unique ID instead of all versions in the output of "openttd -h"
14 years ago
rubidium
4f291ca982
(svn r21896) -Cleanup: remove the unused StartScenario
14 years ago
rubidium
1339d75f75
(svn r21896) -Cleanup: remove the unused StartScenario
14 years ago
rubidium
f775da140c
(svn r21894) -Cleanup: get rid of the unused SM_START_SCENARIO
14 years ago
rubidium
7eadf07e44
(svn r21894) -Cleanup: get rid of the unused SM_START_SCENARIO
14 years ago
rubidium
05199a641a
(svn r21890) -Cleanup: remove some unneeded includes
14 years ago
rubidium
7eba2bf4d3
(svn r21890) -Cleanup: remove some unneeded includes
14 years ago
rubidium
f1e42dc23b
(svn r21854) -Codechange: refactor the password setting methods to make it possible to change the password of other companies (on the server)
14 years ago
rubidium
795a528328
(svn r21854) -Codechange: refactor the password setting methods to make it possible to change the password of other companies (on the server)
14 years ago
rubidium
2ae8216363
(svn r21833) -Fix [FS#4427]: desync debug savegames might not be actually saved in case threading is enabled, which is enabled by default
14 years ago
rubidium
6a17bf91e3
(svn r21833) -Fix [FS#4427]: desync debug savegames might not be actually saved in case threading is enabled, which is enabled by default
14 years ago
rubidium
be077e030e
(svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles that can be cleared/terraformed by a company
14 years ago
rubidium
eab47d2227
(svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles that can be cleared/terraformed by a company
14 years ago
rubidium
6ed9a8fb77
(svn r21698) -Fix: incorrectly named global variable
14 years ago
rubidium
ad15cd37a6
(svn r21698) -Fix: incorrectly named global variable
14 years ago
terkhen
f69d280f14
(svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains.
14 years ago
terkhen
48b7916458
(svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains.
14 years ago
terkhen
74c061c29a
(svn r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache.
14 years ago
terkhen
12c86a1391
(svn r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache.
14 years ago
rubidium
2074b4ddce
(svn r21512) -Change/Feature: make the delay of the chat messages timing out unrelated to the number of passed game days, i.e. don't stop aging chat messages when the server is paused
14 years ago
rubidium
e68efb9e71
(svn r21512) -Change/Feature: make the delay of the chat messages timing out unrelated to the number of passed game days, i.e. don't stop aging chat messages when the server is paused
14 years ago
rubidium
97623b6fc1
(svn r21430) -Feature [FS#1521]: building while paused always works in the scenario editor
14 years ago
rubidium
5dbd80ff3c
(svn r21430) -Feature [FS#1521]: building while paused always works in the scenario editor
14 years ago
rubidium
434abd6dea
(svn r21428) -Fix [FS#4021]: vehicles could be built while the game it paused. Now you can enable or disable that with a setting
14 years ago
rubidium
49162ab39b
(svn r21428) -Fix [FS#4021]: vehicles could be built while the game it paused. Now you can enable or disable that with a setting
14 years ago
rubidium
c780091c26
(svn r21396) -Codechange: rename SafeSaveOrLoad to SaveLoad (it only did load), and add support for (safe) loading with a LoadFilter
14 years ago
rubidium
69766049ce
(svn r21396) -Codechange: rename SafeSaveOrLoad to SaveLoad (it only did load), and add support for (safe) loading with a LoadFilter
14 years ago
terkhen
85434d3c5b
(svn r21339) -Fix [FS#4272]: The VehicleCache was not checked for ships with desync debug options enabled.
14 years ago
terkhen
92d14f692b
(svn r21339) -Fix [FS#4272]: The VehicleCache was not checked for ships with desync debug options enabled.
14 years ago
rubidium
aeae689dc4
(svn r21338) -Fix [FS#4272]: bogus cache mismatch warnings with desync debugging because some cache was invalidated but never reset
14 years ago
rubidium
b46e57d364
(svn r21338) -Fix [FS#4272]: bogus cache mismatch warnings with desync debugging because some cache was invalidated but never reset
14 years ago
rubidium
663e5f9a26
(svn r21255) -Fix (r179): main menu error messages wouldn't show when you had an error message open in the game while whatever triggered you to go back to the main menu
14 years ago
rubidium
999246f63e
(svn r21255) -Fix (r179): main menu error messages wouldn't show when you had an error message open in the game while whatever triggered you to go back to the main menu
14 years ago
rubidium
9ed0c28c11
(svn r21253) -Change: mention the OpenTTD version on the console/logs when starting an OpenTTD dedicated server like we mention it in the title bar for the GUI version
14 years ago
rubidium
611a9f2007
(svn r21253) -Change: mention the OpenTTD version on the console/logs when starting an OpenTTD dedicated server like we mention it in the title bar for the GUI version
14 years ago
rubidium
59b6c9a85e
(svn r21248) -Codechange: don't run the tar scanner twice upon startup
14 years ago
rubidium
ed04bef953
(svn r21248) -Codechange: don't run the tar scanner twice upon startup
14 years ago
terkhen
ca755e983c
(svn r21097) -Codechange: Unify cached max speed for all vehicle types.
14 years ago
terkhen
c8a56f17f8
(svn r21097) -Codechange: Unify cached max speed for all vehicle types.
14 years ago
terkhen
36c5f3c97c
(svn r21090) -Codechange: Rename VehicleCache to NewGRFCache.
14 years ago
terkhen
8eb3d653da
(svn r21090) -Codechange: Rename VehicleCache to NewGRFCache.
14 years ago
smatz
8456217bf4
(svn r20758) -Fix: when leaving the program, current newgrf config would leak, causing valgrind warnings
14 years ago
smatz
82949024f1
(svn r20758) -Fix: when leaving the program, current newgrf config would leak, causing valgrind warnings
14 years ago
rubidium
706144818e
(svn r20677) -Fix (r20136): copy-paste error (jwm)
14 years ago
rubidium
7af4449fef
(svn r20677) -Fix (r20136): copy-paste error (jwm)
14 years ago
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
771b553333
(svn r20566) -Feature: happy smiles on the faces of Ammler and planetmaker
14 years ago
rubidium
552adca67f
(svn r20566) -Feature: happy smiles on the faces of Ammler and planetmaker
14 years ago
rubidium
71498d6d79
(svn r20497) -Fix [FS#3960]: non-dedicated servers failing to load a game caused the introgame to be the server's game causing desyncs when people tried to join
14 years ago
rubidium
e1d35cba6d
(svn r20497) -Fix [FS#3960]: non-dedicated servers failing to load a game caused the introgame to be the server's game causing desyncs when people tried to join
14 years ago
frosch
c18839704b
(svn r20286) -Codechange: Unify end of doxygen comments.
14 years ago
frosch
4bd32799f1
(svn r20286) -Codechange: Unify end of doxygen comments.
14 years ago
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
rubidium
8c85b4ce3d
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
alberth
603c33efc1
(svn r20269) -Codechange: Use IsLocalCompany() everywhere, document the function and two company globals.
14 years ago
alberth
7aabb887d4
(svn r20269) -Codechange: Use IsLocalCompany() everywhere, document the function and two company globals.
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
cd5bc729d4
(svn r20185) -Codechange: reduce the scope of _palette_animation_counter
14 years ago
rubidium
e38f503ec0
(svn r20185) -Codechange: reduce the scope of _palette_animation_counter
14 years ago
rubidium
8894ae2ccb
(svn r20183) -Codechange: make _do_autosave and _dedicated_forks not use VARDEF and put them in a more logical location
14 years ago
rubidium
45213e5708
(svn r20183) -Codechange: make _do_autosave and _dedicated_forks not use VARDEF and put them in a more logical location
14 years ago
rubidium
59fa346cbf
(svn r20136) -Codechange: check more of the vehicle caches (when desync debug is turned on)
14 years ago
rubidium
4975f5a94c
(svn r20136) -Codechange: check more of the vehicle caches (when desync debug is turned on)
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
d8716dfa8a
(svn r20039) -Fix [FS#3907]: instead of loading the intro game when loading a savegame fails on the dedicated server, generate a new game.
...
Generating a new game is the least bad solution:
* loading the intro game: desyncs due to GM_MENU on the server and GM_NORMAL on the clients, NewGRFs not being loaded on the server but being loaded on the client;
* creating an empty map: OpenTTD will go crazy due to missing towns. Also clients can't properly join because of the missing towns;
* loading the last saved game: doesn't always exist and loading it might fail causing an infinite loop;
* stopping being a server: breaks the dedicated server horribly; if you loaded the game via rcon you can't connect with it anymore as you can't join the server;
* generating a new game: should always succeed, although people might think a scenario loaded fine because there are no companies and such.
14 years ago
rubidium
939145c50b
(svn r20039) -Fix [FS#3907]: instead of loading the intro game when loading a savegame fails on the dedicated server, generate a new game.
...
Generating a new game is the least bad solution:
* loading the intro game: desyncs due to GM_MENU on the server and GM_NORMAL on the clients, NewGRFs not being loaded on the server but being loaded on the client;
* creating an empty map: OpenTTD will go crazy due to missing towns. Also clients can't properly join because of the missing towns;
* loading the last saved game: doesn't always exist and loading it might fail causing an infinite loop;
* stopping being a server: breaks the dedicated server horribly; if you loaded the game via rcon you can't connect with it anymore as you can't join the server;
* generating a new game: should always succeed, although people might think a scenario loaded fine because there are no companies and such.
14 years ago
rubidium
188f5f8e4d
(svn r20038) -Change: move SafeSaveOrLoad a bit
14 years ago
rubidium
827a97a5ce
(svn r20038) -Change: move SafeSaveOrLoad a bit
14 years ago
frosch
d12e364952
(svn r19937) -Codechange: Move some fios related prototypes to fios.h
15 years ago
frosch
13d43b8dab
(svn r19937) -Codechange: Move some fios related prototypes to fios.h
15 years ago
frosch
8ef0aed0ae
(svn r19936) -Codechange: If there is an enum, also use it.
15 years ago
frosch
1d9a84a934
(svn r19936) -Codechange: If there is an enum, also use it.
15 years ago
frosch
e684da2193
(svn r19934) -Fix [FS#3857]: When 'pause on new game' is set, pause the game before CleanupGeneration() to avoid conflicts with concurrent GUI code.
15 years ago
frosch
c5921a91ea
(svn r19934) -Fix [FS#3857]: When 'pause on new game' is set, pause the game before CleanupGeneration() to avoid conflicts with concurrent GUI code.
15 years ago
frosch
65d058723e
(svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in sync during GUI operation.
15 years ago
frosch
9e53f1e004
(svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in sync during GUI operation.
15 years ago
frosch
a5bea603ea
(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
15 years ago
frosch
1d3adb2b66
(svn r19931) -Fix (r19914): Convert assertion in Backup<> destructor into DEBUG() output. It was triggered on exceptions, especially when aborting world generation.
15 years ago
frosch
ee53807e51
(svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration.
15 years ago
frosch
9db3cde73a
(svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration.
15 years ago
smatz
0449d7d5b9
(svn r19850) -Codechange: move declaration of InitializeRailGUI() to rail_gui.h
15 years ago
smatz
911061ac38
(svn r19850) -Codechange: move declaration of InitializeRailGUI() to rail_gui.h
15 years ago
rubidium
ad66d8e717
(svn r19688) -Codechange: run CheckCaches after the debug desync save, so we don't store just reset values in the savegame but the data from the previous tick
15 years ago
rubidium
464a56420f
(svn r19688) -Codechange: run CheckCaches after the debug desync save, so we don't store just reset values in the savegame but the data from the previous tick
15 years ago
rubidium
74d7b676f2
(svn r19664) -Fix [FS#3749]: Crash of a dedicated server if the null blitter is overridden and (after a while) there is no company 0 on new year anymore
15 years ago
rubidium
1647c2d50e
(svn r19664) -Fix [FS#3749]: Crash of a dedicated server if the null blitter is overridden and (after a while) there is no company 0 on new year anymore
15 years ago
rubidium
e9f60d5d13
(svn r19592) -Fix: don't do the desync debug savegames mid-StateGameLoop; they're increadibly useless (or hard to load correctly) in that case
15 years ago
rubidium
12e75643af
(svn r19592) -Fix: don't do the desync debug savegames mid-StateGameLoop; they're increadibly useless (or hard to load correctly) in that case
15 years ago
rubidium
ff5dfd9c7e
(svn r19589) -Change: add some more useful information to the desync log and unify the formatting
15 years ago
rubidium
d8baa1342c
(svn r19589) -Change: add some more useful information to the desync log and unify the formatting
15 years ago
rubidium
efb61fa3fc
(svn r19587) -Fix: false positive in cache validity checking when a train crashes; the max curve speed depends on the 'angle' between wagons and with wagons spinning around randomly without updating the max curve speed cache that leads to "seeing" a difference. As the caches aren't useful for crashed vehicles anymore, just ignore those vehicles
15 years ago
rubidium
a617237021
(svn r19587) -Fix: false positive in cache validity checking when a train crashes; the max curve speed depends on the 'angle' between wagons and with wagons spinning around randomly without updating the max curve speed cache that leads to "seeing" a difference. As the caches aren't useful for crashed vehicles anymore, just ignore those vehicles
15 years ago
rubidium
6e95c70f43
(svn r19586) -Fix: some false positives in cache validity checks because cache = v->cache doesn't necessarily write all sizeof(Cache) bytes
15 years ago
rubidium
54067acb0f
(svn r19586) -Fix: some false positives in cache validity checks because cache = v->cache doesn't necessarily write all sizeof(Cache) bytes
15 years ago
yexo
cc23ebd446
(svn r19457) -Codechange: introduce AirportOverrideManager to keep track of airports if a newgrf can't be found
15 years ago
yexo
38f4cb6469
(svn r19457) -Codechange: introduce AirportOverrideManager to keep track of airports if a newgrf can't be found
15 years ago
frosch
37109f9b66
(svn r19403) -Fix (r19398): Test inverted.
15 years ago
frosch
ce751804e9
(svn r19403) -Fix (r19398): Test inverted.
15 years ago
rubidium
9981952acf
(svn r19398) -Codechange: move the desync cache checking code to its own function. Also make the drive through and cargo list checks only run when 'desync' debugging is enabled.
15 years ago
rubidium
86f14f8e72
(svn r19398) -Codechange: move the desync cache checking code to its own function. Also make the drive through and cargo list checks only run when 'desync' debugging is enabled.
15 years ago
yexo
79a8345749
(svn r19353) -Codechange: use static objects for the airport statemachines instead of new/delete at the start/end of the game
...
-Codechange: store the fta in AirportSpec
15 years ago
yexo
20e05f878c
(svn r19353) -Codechange: use static objects for the airport statemachines instead of new/delete at the start/end of the game
...
-Codechange: store the fta in AirportSpec
15 years ago
yexo
e6f148119d
(svn r19331) -Fix: when deleting an airport the size from the AirportSpec was used instead of the stored airport size
...
-Fix (r19319): detecting if a plane was landed at an airport failed
-Fix: reset the airporttile mapping when restarting a game
15 years ago
yexo
1eb52326cf
(svn r19331) -Fix: when deleting an airport the size from the AirportSpec was used instead of the stored airport size
...
-Fix (r19319): detecting if a plane was landed at an airport failed
-Fix: reset the airporttile mapping when restarting a game
15 years ago
rubidium
fa43522946
(svn r19233) -Fix: the -M command line option did not work
15 years ago
rubidium
4cde66a547
(svn r19233) -Fix: the -M command line option did not work
15 years ago
smatz
5504b1105e
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
15 years ago
smatz
f051066bc4
(svn r19224) -Codechange: change parameters passed to ShowErrorMessage() a bit
15 years ago
yexo
11a878512e
(svn r19213) -Change: warn if a fallback sound set is loaded and tell the user where to download a proper sound setd
15 years ago
yexo
da0c4868ee
(svn r19213) -Change: warn if a fallback sound set is loaded and tell the user where to download a proper sound setd
15 years ago
rubidium
1c494c6f71
(svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel
15 years ago
rubidium
21bd2722cd
(svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel
15 years ago
smatz
c736bbb875
(svn r19075) -Codechange: unhackify NetworkChangeCompanyPassword()
15 years ago
smatz
73ed81b1c7
(svn r19075) -Codechange: unhackify NetworkChangeCompanyPassword()
15 years ago
rubidium
8c6db1bfaa
(svn r19073) -Fix (r15027): -a is not a command line parameter
15 years ago
rubidium
4cd2ad0a5f
(svn r19073) -Fix (r15027): -a is not a command line parameter
15 years ago
smatz
1ecb257422
(svn r18853) -Codechange: apply coding style to GenWorld's enums, structs and typedefs
15 years ago
smatz
11e3a00a23
(svn r18853) -Codechange: apply coding style to GenWorld's enums, structs and typedefs
15 years ago
rubidium
ea240269dc
(svn r18812) -Codechange: make some functions in train.h functions of Train.
15 years ago
rubidium
aaf0b4b46c
(svn r18812) -Codechange: make some functions in train.h functions of Train.
15 years ago
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
yexo
009e8cf001
(svn r18808) -Cleanup: deplicate by using an existing function
15 years ago
yexo
f380a7239d
(svn r18808) -Cleanup: deplicate by using an existing function
15 years ago
rubidium
42d7f30dcc
(svn r18608) -Change: add the concept of music sets
15 years ago
rubidium
a8d6d18b22
(svn r18608) -Change: add the concept of music sets
15 years ago
rubidium
536a2c8b6a
(svn r18598) -Fix [FS#3402]: also cancel the save-pause when loading a savegame as scenario
15 years ago
rubidium
c816281e09
(svn r18598) -Fix [FS#3402]: also cancel the save-pause when loading a savegame as scenario
15 years ago
rubidium
0da7a4dc91
(svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested.
15 years ago
rubidium
a6146f5f51
(svn r18546) -Codechange: make making the screenshot not asynchronious; just do it at the moment it's requested.
15 years ago
rubidium
5971619b1e
(svn r18520) -Fix [FS#3272]: allegro doesn't like to work with extmidi; it causes 'random' (looks like a racing condition in allegro) crashes when songs are stopped.
15 years ago
rubidium
b0f1fcbead
(svn r18520) -Fix [FS#3272]: allegro doesn't like to work with extmidi; it causes 'random' (looks like a racing condition in allegro) crashes when songs are stopped.
15 years ago
rubidium
ec77e712b7
(svn r18483) -Document [FS#3367]: that OpenGFX/OpenSFX can be used and where to find them. Also refer to the readme in some error messages.
15 years ago
rubidium
b9b357b8e8
(svn r18483) -Document [FS#3367]: that OpenGFX/OpenSFX can be used and where to find them. Also refer to the readme in some error messages.
15 years ago
rubidium
0fed86a779
(svn r18404) -Codechange: link drive through stops better together
...
-Feature: make penalty for road stop occupancy user configurable
-Fix [FS#1944]: road vehicles would not pick an empty drive through stop. Now they will *if* the penalty for driving around is less than the occupancy penalty
-Fix [FS#1495]: long (articulated) road vehicles could block loading of others when the following road vehicle already got 'permission' to go to the next bay even when it could not reach it
-Change: improve the throughput of the drive through road stops by letting them stop closer together
15 years ago
rubidium
fac2f8ce1a
(svn r18404) -Codechange: link drive through stops better together
...
-Feature: make penalty for road stop occupancy user configurable
-Fix [FS#1944]: road vehicles would not pick an empty drive through stop. Now they will *if* the penalty for driving around is less than the occupancy penalty
-Fix [FS#1495]: long (articulated) road vehicles could block loading of others when the following road vehicle already got 'permission' to go to the next bay even when it could not reach it
-Change: improve the throughput of the drive through road stops by letting them stop closer together
15 years ago
rubidium
da30e736ca
(svn r18330) -Cleanup: remove some unneeded includes
15 years ago
rubidium
b00a5f1069
(svn r18330) -Cleanup: remove some unneeded includes
15 years ago
smatz
0c4cada640
(svn r18156) -Add: crash screenshot, created from blitter buffer
15 years ago
smatz
5924863a49
(svn r18156) -Add: crash screenshot, created from blitter buffer
15 years ago
smatz
1dce59ed50
(svn r17937) -Codechange: rename current_screenshot_type to _screenshot_type
15 years ago
smatz
be446d6f54
(svn r17937) -Codechange: rename current_screenshot_type to _screenshot_type
15 years ago
alberth
5a97b64d73
(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
...
Gentlemen, swap your string parameters.
15 years ago
alberth
44aacfc59f
(svn r17928) -Codechange: ShowErrorMessage() now takes the summary string before the details string.
...
Gentlemen, swap your string parameters.
15 years ago
rubidium
079b7fa034
(svn r17816) -Codechange: move the CargoList invalidation-after-saveload to the function that handles the CargoPackets instead of spreading it around over the saveload files. Also add some code to validate whether the caches are valid; to be removed later when no problems turn up
15 years ago
rubidium
9696e3e39b
(svn r17816) -Codechange: move the CargoList invalidation-after-saveload to the function that handles the CargoPackets instead of spreading it around over the saveload files. Also add some code to validate whether the caches are valid; to be removed later when no problems turn up
15 years ago
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
frosch
0e36260337
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
frosch
ebd916be3d
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
rubidium
1d7619fdb5
(svn r17450) -Codechange: refactor the windows crash logger so parts of it can be reused by other crash logger implementations
15 years ago
rubidium
2b144e2ea6
(svn r17450) -Codechange: refactor the windows crash logger so parts of it can be reused by other crash logger implementations
15 years ago
rubidium
533e3da493
(svn r17339) -Codechange: move thread related files to their own directory (like done for video, music, sound, etc)
15 years ago
rubidium
07d2af338e
(svn r17339) -Codechange: move thread related files to their own directory (like done for video, music, sound, etc)
15 years ago
yexo
8a2e1011b2
(svn r17298) -Fix [FS#3153]: reloading an AI started a new AI in the first available company slot causing other AIs to be started
15 years ago
yexo
f548a1b3b3
(svn r17298) -Fix [FS#3153]: reloading an AI started a new AI in the first available company slot causing other AIs to be started
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
93493827b6
(svn r17139) -Change: add the concept of sound sets
15 years ago
rubidium
9ee2a66c86
(svn r17139) -Change: add the concept of sound sets
15 years ago
rubidium
cdb969e164
(svn r17133) -Codechange: generalise the code that searches for base graphics
15 years ago
rubidium
f118932643
(svn r17133) -Codechange: generalise the code that searches for base graphics
15 years ago
rubidium
e918be12f2
(svn r17097) -Fix [FS#3092] (r13256): make restart command work again and make the help show how it works and how it doesn't work
15 years ago
rubidium
ba4fd897b8
(svn r17097) -Fix [FS#3092] (r13256): make restart command work again and make the help show how it works and how it doesn't work
15 years ago
rubidium
d61be2637e
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
rubidium
1fe3ad3288
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
rubidium
1d45e1e239
(svn r17001) -Codechange: replace some more assert(0)s to NOT_REACHED() and document why they (assert(0)) have to stay for the remaining cases.
15 years ago
rubidium
097e79a86d
(svn r17001) -Codechange: replace some more assert(0)s to NOT_REACHED() and document why they (assert(0)) have to stay for the remaining cases.
15 years ago
peter1138
07dbd830b6
(svn r16784) -Fix: Audio playback rate was fixed at 11025Hz regardless of the rate specified to the audio driver, resulting in incorrect playback speed. It is still preferable to use 11025Hz output rate if possible as OpenTTD's sample rate converter is very low quality.
15 years ago
peter1138
c654dedb28
(svn r16784) -Fix: Audio playback rate was fixed at 11025Hz regardless of the rate specified to the audio driver, resulting in incorrect playback speed. It is still preferable to use 11025Hz output rate if possible as OpenTTD's sample rate converter is very low quality.
15 years ago
rubidium
ffb9f1f1f9
(svn r16701) -Fix [FS#3001]: limit the screen's resolution to 65535x65535 so the dirty pixels stay within bounds of a 32 bits integer
15 years ago
rubidium
b7c8026a3d
(svn r16701) -Fix [FS#3001]: limit the screen's resolution to 65535x65535 so the dirty pixels stay within bounds of a 32 bits integer
15 years ago
alberth
c52fe937d5
(svn r16677) -Codechange: Dimension width and height are unsigned.
15 years ago
alberth
9b070b5405
(svn r16677) -Codechange: Dimension width and height are unsigned.
15 years ago
smatz
f6a4d61cca
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
15 years ago
smatz
8343340acb
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
15 years ago
smatz
61a42f42c1
(svn r16640) -Codechange: move roadstop stuff to separate files
16 years ago
smatz
0045096403
(svn r16640) -Codechange: move roadstop stuff to separate files
16 years ago
smatz
9ec6fc8a61
(svn r16633) -Codechange: remove checks for consistency of newpool
16 years ago
smatz
192b9bda7b
(svn r16633) -Codechange: remove checks for consistency of newpool
16 years ago
smatz
7d4d3850cb
(svn r16555) -Feature [FS#570]: ability to enter server and company password via command line when joining a server (based on patch by Progman, Ammler and planetmaker)
16 years ago
smatz
35635c6248
(svn r16555) -Feature [FS#570]: ability to enter server and company password via command line when joining a server (based on patch by Progman, Ammler and planetmaker)
16 years ago
smatz
af85994f7f
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
16 years ago
smatz
0c10006907
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
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
frosch
6e06e82bc4
(svn r16414) -Change: Make it harder to ignore/close important error messages. Esp. do not close them automatically after some time.
16 years ago
frosch
8109a74c95
(svn r16414) -Change: Make it harder to ignore/close important error messages. Esp. do not close them automatically after some time.
16 years ago
rubidium
cd382b28a3
(svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
16 years ago
rubidium
6237fe1462
(svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
16 years ago
rubidium
4c0542c17f
(svn r16393) -Codechange: move VehicleRail to Train.
16 years ago
rubidium
da5661a0c8
(svn r16393) -Codechange: move VehicleRail to Train.
16 years ago
rubidium
1324100d69
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
16 years ago
rubidium
80e94b9bb1
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
16 years ago
rubidium
489253b630
(svn r16390) -Codechange: move u.road to RoadVehicle.
16 years ago
rubidium
7a37220881
(svn r16390) -Codechange: move u.road to RoadVehicle.
16 years ago
rubidium
1ceb349779
(svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate
16 years ago
rubidium
d37b840cf3
(svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate
16 years ago
rubidium
4ae19b7451
(svn r16388) -Codechange: move u.air to Aircraft
16 years ago
rubidium
c882248348
(svn r16388) -Codechange: move u.air to Aircraft
16 years ago
rubidium
1e853b1226
(svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriate
16 years ago
rubidium
ada3067960
(svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriate
16 years ago
smatz
50624d5c0f
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
16 years ago
smatz
62a7948af0
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
16 years ago
rubidium
789999ecf3
(svn r16360) -Codechange: don't use _network_playas as a 'second' _local_company, but only as a storage location for the company you want to join in MP.
16 years ago
rubidium
9f4d64bda0
(svn r16360) -Codechange: don't use _network_playas as a 'second' _local_company, but only as a storage location for the company you want to join in MP.
16 years ago
glx
9f5472bf1d
(svn r16358) -Fix (r16343): strdup doesn't like NULL
16 years ago
glx
ec76117379
(svn r16358) -Fix (r16343): strdup doesn't like NULL
16 years ago
frosch
14c7cc16a6
(svn r16343) -Fix (r16066): Invalid free on exit after changing base graphics set in game.
16 years ago
frosch
ceca68fca7
(svn r16343) -Fix (r16066): Invalid free on exit after changing base graphics set in game.
16 years ago
smatz
d495dc5dbc
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
yexo
d489f93473
(svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct
16 years ago
yexo
31eff1d4c3
(svn r16315) -Codechange: move the autorenew settings to a new CompanySettings struct
16 years ago
yexo
d67810442d
(svn r16306) -Fix [FS#2901] (r15027): Close all windows before unloading the AI system as closing the content-download window will rescan for AIs
16 years ago
yexo
203cd6c2dd
(svn r16306) -Fix [FS#2901] (r15027): Close all windows before unloading the AI system as closing the content-download window will rescan for AIs
16 years ago
yexo
da1f2295c4
(svn r16287) -Fix: fix possible (in theory) desync related to autorenew settings
16 years ago
yexo
90ba8e1bc8
(svn r16287) -Fix: fix possible (in theory) desync related to autorenew settings
16 years ago
rubidium
241af768f0
(svn r16242) -Codechange: rework pausing
...
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
16 years ago
rubidium
2664f2a2d9
(svn r16242) -Codechange: rework pausing
...
-Fix [FS#2864]: autopause and manual pausing conflict with eachother
-Fix: new game + pause on new game + autopause make the game not unpause on the first join
16 years ago
rubidium
3662d3d09b
(svn r16220) -Fix [FS#2862]: possible crashes when quiting OpenTTD or forcing resizes/redraws of the screen during map generation
16 years ago
rubidium
d685ca0619
(svn r16220) -Fix [FS#2862]: possible crashes when quiting OpenTTD or forcing resizes/redraws of the screen during map generation
16 years ago
rubidium
5c5b357043
(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.
16 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.
16 years ago
rubidium
59555c543a
(svn r16066) -Fix: another memory leak.
16 years ago
rubidium
8c68e2488f
(svn r16066) -Fix: another memory leak.
16 years ago
rubidium
8cd7def31c
(svn r16014) -Feature(-ish): allow binding to several IPs; [network]:server_bind_ip doesn't exist anymore. Add the IPs/hostnames to [server_bind_addresses]
16 years ago
rubidium
7d3db3ee91
(svn r16014) -Feature(-ish): allow binding to several IPs; [network]:server_bind_ip doesn't exist anymore. Add the IPs/hostnames to [server_bind_addresses]
16 years ago
rubidium
8911a34b35
(svn r15999) -Codechange: VARDEF--;
16 years ago
rubidium
7118c48b98
(svn r15999) -Codechange: VARDEF--;
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
f3e0fd7416
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
16 years ago
rubidium
9d018723b7
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
16 years ago
frosch
959c297fb9
(svn r15645) -Fix (r12924)[FS#2612]: Add an EngineOverrideManager to give the term 'compatible newgrf' again some sense and to not crash because of trivial changes.
16 years ago
frosch
987e72f4f2
(svn r15645) -Fix (r12924)[FS#2612]: Add an EngineOverrideManager to give the term 'compatible newgrf' again some sense and to not crash because of trivial changes.
16 years ago
yexo
c1b27cf648
(svn r15590) -Fix (r15584): _screenshot_name is an array, not a char * pointer.
16 years ago
yexo
eafdc200c8
(svn r15590) -Fix (r15584): _screenshot_name is an array, not a char * pointer.
16 years ago
yexo
b8601d903d
(svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers.
16 years ago
yexo
fb7b0536e7
(svn r15584) -Codechange: Move several variables from variables.h to more appropriate headers.
16 years ago
yexo
7e818f0456
(svn r15576) -Codechange: rename SwitchModes to SwitchMode and don't hardcode the values for that enum.
16 years ago
yexo
3bb872e7dd
(svn r15576) -Codechange: rename SwitchModes to SwitchMode and don't hardcode the values for that enum.
16 years ago
yexo
bd2544b5ea
(svn r15575) -Codechange: Rename GameModes to GameMode and store _game_mode as GameMode instead of as byte.
16 years ago
yexo
901230bde1
(svn r15575) -Codechange: Rename GameModes to GameMode and store _game_mode as GameMode instead of as byte.
16 years ago
rubidium
68282c4172
(svn r15546) -Fix [FS#2651]: keep_all_autosave ignored for dedicated servers/spectators.
16 years ago
rubidium
81d8e55c38
(svn r15546) -Fix [FS#2651]: keep_all_autosave ignored for dedicated servers/spectators.
16 years ago
rubidium
38d66e69af
(svn r15543) -Change: allow the default debug level of 6 for a dedicated server to be overriden by -d (if used after -D).
16 years ago
rubidium
a4567f243d
(svn r15543) -Change: allow the default debug level of 6 for a dedicated server to be overriden by -d (if used after -D).
16 years ago
yexo
6381cbeeae
(svn r15495) -Revert (r15383,r15422): Loading NewGRFs depends on correct settings, but the economy can only be started after loading NewGRFs. In short: r15383 causes more problems then it's worth.
16 years ago
yexo
1f9ec758aa
(svn r15495) -Revert (r15383,r15422): Loading NewGRFs depends on correct settings, but the economy can only be started after loading NewGRFs. In short: r15383 causes more problems then it's worth.
16 years ago
rubidium
218f53d3fd
(svn r15455) -Fix: font autodetection didn't occur when directly loading a game via e.g. -g.
16 years ago
rubidium
1d362442ec
(svn r15455) -Fix: font autodetection didn't occur when directly loading a game via e.g. -g.
16 years ago
rubidium
89e1afdaa0
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
16 years ago
rubidium
c0a8d09ca7
(svn r15428) -Codechange: consistently use colour instead of having both color and colour.
16 years ago
rubidium
a7264bd5aa
(svn r15422) -Fix [FS#2623] (r15383): loading NewGRFs before copying the settings.
16 years ago
rubidium
7b8c13fa5c
(svn r15422) -Fix [FS#2623] (r15383): loading NewGRFs before copying the settings.
16 years ago
rubidium
283b3d16ab
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
16 years ago
rubidium
377ce6c5bf
(svn r15410) -Cleanup: get rid of most of the references to the 'patches' except where it's used for backward compatability.
16 years ago
Yexo
c4391379d2
(svn r15390) -Cleanup: Remove old hack that wasn't used anymore.
16 years ago
Yexo
322515e8d5
(svn r15390) -Cleanup: Remove old hack that wasn't used anymore.
16 years ago
peter1138
68eb306381
(svn r15386) -Codechange: During start up, store driver/blitter/graphicsset selection in local variable instead of in the global _ini_* variables. This means that specifying a driver/blitter/graphicsset on the command line does not clobber the configuration value, which can now be saved like other values.
16 years ago
peter1138
db54537369
(svn r15386) -Codechange: During start up, store driver/blitter/graphicsset selection in local variable instead of in the global _ini_* variables. This means that specifying a driver/blitter/graphicsset on the command line does not clobber the configuration value, which can now be saved like other values.
16 years ago
Yexo
caf540d284
(svn r15383) -Cleanup: Don't call MakeNewgameSettingsLive more often than necessary.
16 years ago
Yexo
4301278514
(svn r15383) -Cleanup: Don't call MakeNewgameSettingsLive more often than necessary.
16 years ago
rubidium
42fe0b65d2
(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
16 years ago
rubidium
ac7757324e
(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
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
5ecd1be89d
(svn r15243) -Fix [FS#2446]: rejoining a server would abort the join (and kick the client) because trying to join with an invalid player ID
16 years ago
rubidium
130870e6a9
(svn r15243) -Fix [FS#2446]: rejoining a server would abort the join (and kick the client) because trying to join with an invalid player ID
16 years ago
rubidium
4aabc91c04
(svn r15157) -Codechange: wrap the hostname/ip and port into a single structure so we can pass either one of them and not convert an ip to a string and then back again.
16 years ago
rubidium
5f3772a42c
(svn r15157) -Codechange: wrap the hostname/ip and port into a single structure so we can pass either one of them and not convert an ip to a string and then back again.
16 years ago
smatz
575a3a4563
(svn r15144) -Codechange: make sure we don't run out of bounds while determining old savegame name
...
Note this can't happen in current code
16 years ago
smatz
3bceaf41b4
(svn r15144) -Codechange: make sure we don't run out of bounds while determining old savegame name
...
Note this can't happen in current code
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
peter1138
2ef54545c7
(svn r14911) -Fix (r14909): -D did not work
16 years ago
peter1138
57cff4bca8
(svn r14911) -Fix (r14909): -D did not work
16 years ago
peter1138
553d65f584
(svn r14907) -Codechange: Remove 32 character limit from driver/blitter selection and parameters.
16 years ago
peter1138
6b6fd36050
(svn r14907) -Codechange: Remove 32 character limit from driver/blitter selection and parameters.
16 years ago