Commit Graph

528 Commits (48e4c35fdce27ce2cb139f72374301f658276d0c)

Author SHA1 Message Date
truebrain bf803e40cc (svn r23384) -Remove: no longer allow a binary to be without AI support; the parts some compilers failed at, are integrated in other parts of the code now too 13 years ago
rubidium 17db686187 (svn r23275) -Codechange: allow loading of the monospace (freetype) font at another moment than the other fonts 13 years ago
rubidium 1713d1ad3e (svn r23273) -Codechange: allow passing a MissingGlyphSearcher to CheckForMissingGlyphs (default to the language pack strings) 13 years ago
rubidium c2ea904860 (svn r23271) -Codechange: don't repeatedly initialise and free the freetype library 13 years ago
rubidium 8961575ef9 (svn r23246) -Codechange: move searching/loading music/sound sets/drivers to later in the process so we could get rid of errors related to that being dumped onto the console 13 years ago
rubidium 4509f814b3 (svn r23244) -Feature: if the installation is ananas, try to get the b without b installed 13 years ago
rubidium 67d90f1174 (svn r23241) -Codechange: make the decision when to go to the custom drawn cursor more prominently during the initialisation of OpenTTD 13 years ago
rubidium cebe2eac6b (svn r23224) -Codechange: first load the config file partially so we can push scanning AIs to later in the process (when the GUI is showing the progress bar) 13 years ago
rubidium 023d530ead (svn r23222) -Codechange: reduce tar scanning calls to the bare minimum 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 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 413c92444a (svn r23123) -Fix [FS#4790] (r22792): variable was initialised at the wrong moment making things with the cursor go wrong 13 years ago
yexo 047957487a (svn r23065) -Add: -q option to read a savegame, write some general info and exit 13 years ago
michi_cc 7b35dd4f54 (svn r23000) -Feature: Base graphics sets can now specify a preferred blitter which OpenTTD uses to decide which blitter to load. 13 years ago
michi_cc 7c325fcb78 (svn r22874) -Fix [FS#4747]: Check size of various buffers before allocation. (monoid) 13 years ago
rubidium 51fba23ad7 (svn r22830) -Codechange: move more logic to after the scanning of NewGRFs 13 years ago
rubidium c8167de1c2 (svn r22822) -Codechange: make a distinction between base sets and newgrfs for their directory 13 years ago
rubidium 9aa6000b15 (svn r22818) -Fix [FS#4742] (r22796, rlongago): don't spawn threads for world generation and NewGRF scanning when using the dedicated or null video driver regardless of the used blitter 13 years ago
rubidium cdb0d6cecc (svn r22799) -Fix (r22792): compile failure when there is no networking support 13 years ago
rubidium ac549d4093 (svn r22795) -Codechange: load the intro game the first time without NewGRFs 13 years ago
rubidium c99364e025 (svn r22792) -Codechange: use scan callback for initial NewGRF scanning 13 years ago
rubidium 1ca06f2aae (svn r22788) -Codechange: move modal progress related functions and variables to progress.cpp/h 13 years ago
rubidium 176d0b9f4a (svn r22786) -Codechange: rename genworld mutices to model_progress mutices 13 years ago
rubidium 727580274b (svn r22785) -Codechange: rename IsGeneratingWorld to HasModalProgress 13 years ago
frosch 31ad03e4d2 (svn r22693) -Fix [FS#4691]: The override managers were not reset in some cases like creating a new scenario. 13 years ago
frosch c1b1513815 (svn r22626) -Fix [FS#4622]: Also initialise _old_vds with newgame settings; TTD savegames do not contain these settings. 13 years ago
alberth cae2d84af3 (svn r22512) -Add: Save heightmap. 13 years ago
rubidium 1ef751e855 (svn r22423) -Document: some network stuff 13 years ago
frosch 74e71380ef (svn r22419) -Change: Always use the DOS palette for drawing.
-Remove: the '-i' option for palette selection.
13 years ago
rubidium 2e5b1f178e (svn r22202) -Codechange: make MusicFileSettings a proper citizen of the client settings 14 years ago
alberth 9222a30173 (svn r22145) -Codechange: Do explicit test for non-bool values. 14 years ago
smatz c85e1c3089 (svn r22116) -Codechange: use PoolBase::Clean() at more places 14 years ago
smatz 9c40059641 (svn r22115) -Fix (r22114): some comments and code ordering were wrong 14 years ago
smatz 07736a02b1 (svn r22113) -Codechange: use PoolBase::CleanAll() to clean all pools at game exit 14 years ago
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 1983b8d558 (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 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 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 4f291ca982 (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 05199a641a (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 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 be077e030e (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
terkhen f69d280f14 (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
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 97623b6fc1 (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 c780091c26 (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
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 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 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 59b6c9a85e (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 36c5f3c97c (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
rubidium 706144818e (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 771b553333 (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
frosch c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 5b86c79fce (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
alberth 603c33efc1 (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
rubidium 1062330ba1 (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 54ec48f7ce (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 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 59fa346cbf (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
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 188f5f8e4d (svn r20038) -Change: move SafeSaveOrLoad a bit 14 years ago
frosch d12e364952 (svn r19937) -Codechange: Move some fios related prototypes to fios.h 14 years ago
frosch 8ef0aed0ae (svn r19936) -Codechange: If there is an enum, also use it. 14 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. 14 years ago
frosch 65d058723e (svn r19933) -Fix [FS#3804]: Keep _current_company and _local_company in sync during GUI operation. 14 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. 14 years ago
frosch ee53807e51 (svn r19914) -Codechange: Wrap a helper class around temporary assignments of _current_company to ensure proper restoration. 14 years ago
smatz 0449d7d5b9 (svn r19850) -Codechange: move declaration of InitializeRailGUI() to rail_gui.h 14 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 14 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 14 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 14 years ago
rubidium ff5dfd9c7e (svn r19589) -Change: add some more useful information to the desync log and unify the formatting 14 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 14 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 14 years ago
yexo cc23ebd446 (svn r19457) -Codechange: introduce AirportOverrideManager to keep track of airports if a newgrf can't be found 14 years ago
frosch 37109f9b66 (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
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 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
rubidium fa43522946 (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
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
rubidium 1c494c6f71 (svn r19081) -Codechange: make it possible to disable compilation of the AI+Squirrel 15 years ago