Commit Graph

450 Commits

Author SHA1 Message Date
frosch bbcd2bab5d (svn r22419) -Change: Always use the DOS palette for drawing.
-Remove: the '-i' option for palette selection.
2011-05-04 17:12:37 +00:00
rubidium f90044d343 (svn r22202) -Codechange: make MusicFileSettings a proper citizen of the client settings 2011-03-05 18:00:48 +00:00
alberth 31386c42a7 (svn r22145) -Codechange: Do explicit test for non-bool values. 2011-02-25 22:04:38 +00:00
smatz 756cc6cf65 (svn r22116) -Codechange: use PoolBase::Clean() at more places 2011-02-19 23:05:47 +00:00
smatz 642fb19d4f (svn r22115) -Fix (r22114): some comments and code ordering were wrong 2011-02-19 18:55:10 +00:00
smatz 1d9cae9afa (svn r22113) -Codechange: use PoolBase::CleanAll() to clean all pools at game exit 2011-02-19 18:25:24 +00:00
alberth 8c2fc45153 (svn r22098) -Codechange: Have an array of option data, use it in the option parsing routine. Adapt openttd option processing too. 2011-02-18 20:28:25 +00:00
alberth 9d0ff9d692 (svn r22096) -Codechange: Move openttd getopt implementation to its own file. 2011-02-18 20:14:30 +00:00
rubidium befa79ba4a (svn r22070) -Fix [FS#4503] (r21399): crashes when disconnecting after requesting the map 2011-02-12 21:30:57 +00:00
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... 2011-02-07 22:49:38 +00:00
rubidium 79fd8a362b (svn r22007) -Change: only show one AI per unique ID instead of all versions in the output of "openttd -h" 2011-02-07 09:51:16 +00:00
rubidium 1339d75f75 (svn r21896) -Cleanup: remove the unused StartScenario 2011-01-22 23:13:39 +00:00
rubidium 7eadf07e44 (svn r21894) -Cleanup: get rid of the unused SM_START_SCENARIO 2011-01-22 23:08:18 +00:00
rubidium 7eba2bf4d3 (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
rubidium 795a528328 (svn r21854) -Codechange: refactor the password setting methods to make it possible to change the password of other companies (on the server) 2011-01-19 16:47:40 +00:00
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 2011-01-18 18:14:14 +00:00
rubidium eab47d2227 (svn r21728) -Fix/Feature [FS#4331]: (configurably) limit amount of tiles that can be cleared/terraformed by a company 2011-01-04 22:50:09 +00:00
rubidium ad15cd37a6 (svn r21698) -Fix: incorrectly named global variable 2011-01-02 18:12:39 +00:00
terkhen 48b7916458 (svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains. 2010-12-14 21:33:53 +00:00
terkhen 12c86a1391 (svn r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache. 2010-12-14 21:28:45 +00:00
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 2010-12-14 14:57:51 +00:00
rubidium 5dbd80ff3c (svn r21430) -Feature [FS#1521]: building while paused always works in the scenario editor 2010-12-07 21:13:00 +00:00
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 2010-12-07 21:09:30 +00:00
rubidium 69766049ce (svn r21396) -Codechange: rename SafeSaveOrLoad to SaveLoad (it only did load), and add support for (safe) loading with a LoadFilter 2010-12-05 14:43:10 +00:00
terkhen 92d14f692b (svn r21339) -Fix [FS#4272]: The VehicleCache was not checked for ships with desync debug options enabled. 2010-11-27 21:11:37 +00:00
rubidium b46e57d364 (svn r21338) -Fix [FS#4272]: bogus cache mismatch warnings with desync debugging because some cache was invalidated but never reset 2010-11-27 21:09:41 +00:00
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 2010-11-19 13:24:32 +00:00
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 2010-11-19 10:58:38 +00:00
rubidium ed04bef953 (svn r21248) -Codechange: don't run the tar scanner twice upon startup 2010-11-18 22:27:15 +00:00
terkhen c8a56f17f8 (svn r21097) -Codechange: Unify cached max speed for all vehicle types. 2010-11-06 12:53:31 +00:00
terkhen 8eb3d653da (svn r21090) -Codechange: Rename VehicleCache to NewGRFCache. 2010-11-06 12:37:55 +00:00
smatz 82949024f1 (svn r20758) -Fix: when leaving the program, current newgrf config would leak, causing valgrind warnings 2010-09-06 18:20:07 +00:00
rubidium 7af4449fef (svn r20677) -Fix (r20136): copy-paste error (jwm) 2010-08-29 09:41:50 +00:00
rubidium 30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
rubidium 552adca67f (svn r20566) -Feature: happy smiles on the faces of Ammler and planetmaker 2010-08-19 19:23:38 +00:00
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 2010-08-15 11:58:20 +00:00
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
alberth 7aabb887d4 (svn r20269) -Codechange: Use IsLocalCompany() everywhere, document the function and two company globals. 2010-07-31 21:43:07 +00:00
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
rubidium 5b1fc7304a (svn r20194) -Fix: compilation with network disabled failed 2010-07-19 17:46:53 +00:00
rubidium b8487afe54 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 2010-07-19 17:28:27 +00:00
rubidium eb30ebe1a4 (svn r20188) -Codechange: unVARDEF the _[config|log|highscore]_file variables and move them to a more logical location 2010-07-19 17:11:09 +00:00
rubidium e38f503ec0 (svn r20185) -Codechange: reduce the scope of _palette_animation_counter 2010-07-19 16:05:29 +00:00
rubidium 45213e5708 (svn r20183) -Codechange: make _do_autosave and _dedicated_forks not use VARDEF and put them in a more logical location 2010-07-19 15:44:49 +00:00
rubidium 4975f5a94c (svn r20136) -Codechange: check more of the vehicle caches (when desync debug is turned on) 2010-07-13 20:12:44 +00:00
yexo 258ca28819 (svn r20055) -Feature: save/load hotkeys to/from hotkeys.cfg 2010-07-03 13:28:15 +00:00
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.
2010-06-30 21:38:51 +00:00
rubidium 827a97a5ce (svn r20038) -Change: move SafeSaveOrLoad a bit 2010-06-30 20:20:15 +00:00