Commit Graph

121 Commits (c73159f3e9f59d35f7ef5ebe86069825bedf20f2)

Author SHA1 Message Date
smatz cd88a7590a (svn r14812) -Codechange: use INVALID_TILE instead of 0 to mark company without HQ 16 years ago
smatz b00e510140 (svn r14807) -Codechange: use INVALID_TILE instead of 0 to mark invalid depots, industries, towns and waypoints 16 years ago
rubidium f316796629 (svn r14803) -Codechange: move order list management into it's own class and remove the order count from the savegame as we can easily count that (PhilSophus) 16 years ago
smatz c88a6199a7 (svn r14743) -Codechange: use INVALID_TILE to indicate station doesn't have queried facility (or station/roadstop is invalid) instead of 0 (Yexo) 16 years ago
rubidium bf6ec8b19f (svn r14735) -Codechange: remove a bit of bit-waste in the map array (without changing the map array) and make the CompanyIDs contiguous.
-Note: 15 should be enough for now... making it any more means adding more bytes to the map array and thus wasting more bits instead of reducing the bit waste.
16 years ago
smatz c6c3124c30 (svn r14700) -Fix (r1): loading of very old savegames was broken (STNS chunk is stored before MAP in old savegame) 16 years ago
frosch 1fa409177c (svn r14680) -Feature(ette) [FS#2434]: Use property 4 (model life) also for wagons.
Setting property 4 to 0xFF will protect the vehicle (engine or wagon) from expireing. (Necessary since early introduction dates)
Savegames will only be affected after 'resetengines'.
16 years ago
michi_cc 7bc5a3758b (svn r14587) -Cleanup: Fix some old comments. Bits are not bytes. 16 years ago
rubidium e589c7e580 (svn r14422) -Codechange: also reflect the changes of r14421 in the filenames. 16 years ago
rubidium f56e630e5c (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
belugas de43d17a82 (svn r14169) -Codechange: rename location_of_house for location_of_HQ, which is more exact and less subject to interpretation 16 years ago
rubidium 66b9ea9a5a (svn r14096) -Codechange: merge the shared order's vehicle list management to a single location. 16 years ago
smatz d4774bdbab (svn r13884) -Fix (r11822): custom vehicle names from TTD(Patch) games were lost 16 years ago
rubidium cde65455ac (svn r13731) -Codechange: make a pool of the array of players. 16 years ago
rubidium 4db7c4f549 (svn r13679) -Fix [FS#2131]: saving TTD imported games in recession failed due to wrong (and unneeded) type conversions in the saveload code. 16 years ago
rubidium 7375d56418 (svn r13676) -Fix [FS#2126]: inactive companies from old (TTD) saves could be marked active in some cases, which then loads garbage in their statistics and such. 16 years ago
rubidium e8767f730a (svn r13386) -Fix: global currency/units setting being overriden when loading a savegame. 17 years ago
rubidium e7a501100a (svn r13325) -Codechange: split the client-side only settings from the settings stored in the savegame so there is no need to have a duplicate copy of it for new games. 17 years ago
rubidium c4c440cc20 (svn r13256) -Codechange: merge the OPTS and PATS chuncks.
-Codechange: split the diff_custom variable.
-Feature: allow changing some of the diff_custom variables via the console in network games.
17 years ago
rubidium d289464d69 (svn r13255) -Codechange: move _opt to _settings. 17 years ago
rubidium 962273e242 (svn r13066) -Fix [FS#2005]: loading of TTDP savegames with rivers in them. 17 years ago
rubidium 1ce0b03bf0 (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 17 years ago
smatz 19b20a7dde (svn r12962) -Fix (r12961): forgot one break 17 years ago
smatz 2e0ec76007 (svn r12961) -Codechange: store the type of savegame we are loading in a global variable 17 years ago
peter1138 45034bc522 (svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist. 17 years ago
rubidium 23c0017272 (svn r12816) -Fix: the cargo count in the performance rating window could be wrong. 17 years ago
rubidium 8186344628 (svn r12804) -Codechange: move the effect vehicle handling out of vehicle.cpp 17 years ago
rubidium 40b19f3997 (svn r12803) -Cleanup: rename SpecialVehicle to EffectVehicle to have a uniform naming of the thing instead of using both names for the same thing. 17 years ago
rubidium 1b867382d6 (svn r12783) -Codechange: do not statically allocate the 'temporary map3 array' in the oldloader. 17 years ago
rubidium 136e26925e (svn r12782) -Codechange: remove some functions from functions.h and do not statically 'waste' memory when the old name array is not needed anymore. 17 years ago
rubidium d46d8d9c9d (svn r12765) -Codechange: move some stuff out of variables.h that required including other headers in variables.h. 17 years ago
rubidium 6d063c3ad6 (svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h. 17 years ago
smatz 183145c0dc (svn r12642) -Fix: remove buggy buoys at tile 0 from old TTDP savegames 17 years ago
rubidium a3224512cc (svn r12587) -Codechange: unduplicate some code in the Unpack*Order functions and move the 'normal' case Pack/Unpack to Order. 17 years ago
rubidium 3b0e3d8d30 (svn r12584) -Codechange: do not access the order type directly. 17 years ago
rubidium 4ff5d2057c (svn r12583) -Codechange: make AssignOrder a class function of order. 17 years ago
frosch 51155403a4 (svn r12531) -Codechange: Rename some variables for consistency. 17 years ago
rubidium b488fe1929 (svn r12501) -Codechange: split signs.h. 17 years ago
rubidium df1d9bd880 (svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h. 17 years ago
rubidium c51b81c247 (svn r12489) -Codechange: split station.h into station_base.h and station_func.h. 17 years ago
glx d177952455 (svn r12401) -Fix (r9754): when loading TTD savegame some data were lost (profits, ...) due to a 'reallocation' for vehicle type conversion. The conversion is now done before loading the vehicle chunk. 17 years ago
rubidium c0758bc425 (svn r12399) -Fix: some old DOS savegame didn't load properly due to 'garbage' that was sprinkled in some places. 17 years ago
skidd13 49cf499cf2 (svn r12381) -Fix [FS1835] [FS1535] (r11855): The number of houses wasn't computed right. A few other things regaring the updating had to be changed. Big thanks for support to frosch123 and SmatZ, to name just a few. (Inspired by a patch of bilbo) 17 years ago
peter1138 359771c406 (svn r12143) -Fix (r8038): Engine::preview_player does not contain a Player ID. Rename this to preview_player_rank and change back to a uint8 to avoid confusion. 17 years ago
rubidium 1b7051768c (svn r12004) -Codechange: refactor the random functions to reduce code duplication. 17 years ago
frosch d13311e710 (svn r11982) -Revert (r8738): Now we have shores in corners. No need to remove them from TTDP games. 17 years ago
peter1138 f8255e10d5 (svn r11971) -Codechange: use of FOR_ALL_ENGINES/ENGINEIDS_OF_TYPE instead of for-loops 17 years ago
rubidium 90acd52f22 (svn r11828) -Codechange: include table/* as the last includes and remove an unneeded include from openttd.h. 17 years ago
peter1138 3fb100c670 (svn r11824) -Fix (r11822): Converting signs from TTD games incomplete 17 years ago
peter1138 4bbe6358d9 (svn r11823) -Fix (r11822): Custom names from old TTD games were not updated. 17 years ago