Commit Graph

534 Commits (76f6bd8cfd22d0a40bfa280e4b2774684713c962)

Author SHA1 Message Date
truebrain 1ad295a4cf (svn r23309) -Fix: loading old games didn't have goals set for towns (tnx to frosch for spotting) 13 years ago
truebrain 3a5d257e46 (svn r23304) -Add: bump the savegame to start storing the new bits and pieces 13 years ago
truebrain 2306f2ab6d (svn r23300) -Add: show on the GUI when a town grows and make a general framework to store goals of a town 13 years ago
truebrain 19791d3189 (svn r23298) -Add: track statistics of all incoming and outgoing goods. Incoming based on TownEffect, outgoing based on CargoType (based on patch by Terkhen) 13 years ago
michi_cc 3b45b41e68 (svn r23290) -Fix [FS#2379,FS#3569]: Change the centre of train vehicles to depend on the vehicle length instead of being fixed at 4/8th of the original vehicle length to make sure shortened vehicles don't block tiles they shouldn't block. 13 years ago
michi_cc 56a592dcbd (svn r23233) -Codechange: Refactor maximum and actually transported cargo amount of towns into a reusable struct. 13 years ago
rubidium 215452b911 (svn r23195) -Codechange: if we really need to cast away constness, use const_cast 13 years ago
rubidium e81d564625 (svn r23192) -Codechange: don't cast away const needlessly 13 years ago
yexo 0566a6cfda (svn r23168) -Feature [FS#1824]: always draw fences around field tiles 13 years ago
rubidium 6fe13b1451 (svn r23105) -Fix (r23104): Kenobi visited me ;) 13 years ago
rubidium 1138abad35 (svn r23104) -Codechange: prepare the vehicle/sign z for some further changes to reduce casting 13 years ago
rubidium bcb93b3b75 (svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it 13 years ago
rubidium de980ef0f9 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 13 years ago
rubidium 41223c8bc9 (svn r23084) -Codechange: get rid of a redundant variable 13 years ago
yexo 091d31b84b (svn r23083) -Fix: run StartupEngines() if NewGRFs changed during loading a savegame, just like it's running when NewGRFs are changed during a game 13 years ago
frosch 6e61fee028 (svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs. 13 years ago
frosch e57ba5d0ae (svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code. 13 years ago
yexo 047957487a (svn r23065) -Add: -q option to read a savegame, write some general info and exit 13 years ago
frosch 5c854f2643 (svn r23013) -Doc: Add a note about the savegame version used in the 1.1 branch. 13 years ago
frosch 4961cd06a9 (svn r22977) -Codechange: Rename SetCachedEngineCounts() to GroupStatistics::UpdateAfterLoad(). 13 years ago
frosch 7d1755403b (svn r22975) -Codechange: Do not store Group::num_vehicle in the savegame, but compute it like num_engines on load. 13 years ago
rubidium e11b817281 (svn r22958) -Fix [FS#4778]: the savegame description and loading of savegames would crash with savegames from a patched stable (which didn't bump the savegame version) 13 years ago
rubidium 3722a0bf98 (svn r22957) -Codechange: SPECSTR_PLAYERNAME is actually the company name, which is derived from the town name + ' Transport'. So make sure the last constant is in sync with the town name table 13 years ago
yexo 72500ddedf (svn r22920) -Cleanup: replace two very old town variables taht were rarely used by small functions that compute there value on-the-fly when necessary 13 years ago
yexo 561d6503be (svn r22915) -Fix (r22743): TTO savegames with any aircraft not in an hangar caused crashes during load 13 years ago
rubidium b7722dbe86 (svn r22914) -Fix [FS#4716]: old TTO/TTD savegames could get non-stop via orders upon savegame loading, even when those orders did not exist back then. This 'conversion' feature is something for TTDPatch and old OpenTTD savegames 13 years ago
frosch 7337332026 (svn r22880) -Cleanup: SIZE_MAX is now defined in stdafx.h 13 years ago
planetmaker 142e244df6 (svn r22843) -Fix [FS#4748]: Harden savegame load against too many ai config settings (monoid) 13 years ago
rubidium 62886dfeed (svn r22827) -Codechange: pass the/a more proper sub directory when opening (some) files instead of the default one 13 years ago
rubidium 5928dbb8a3 (svn r22811) -Change: don't try to load static NewGRFs when loading the intro game for the first time 13 years ago
rubidium 56fedc4db9 (svn r22767) -Add: river generation 13 years ago
rubidium d6a0e5f240 (svn r22737) -Fix [FS#4717]: some corrupted savegames could crash OpenTTD instead of showing the "savegame corrupted" message 13 years ago
rubidium e01b2e26c3 (svn r22736) -Codechange: constify some numbers 13 years ago
michi_cc d25840978c (svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period. 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 78e4abbed0 (svn r22644) -Codechange: Use IsShipDepotTile() instead of single water- and depottests. (adf88) 13 years ago
frosch 1bf9bc70a3 (svn r22625) -Fix (r22050)[FS#4642]: Do not zero the orders of disaster vehicles when converting savegames. 13 years ago
terkhen fbf8b6c5ed (svn r22573) -Fix (r22567): Fix operator precedence. 13 years ago
terkhen 2eb8903dce (svn r22568) -Change: Add a list of persistent storages to the Town class. 13 years ago
terkhen 7e0daae1ec (svn r22567) -Codechange: Store persistent storages inside a pool. 13 years ago
terkhen 55695277c8 (svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus. 14 years ago
smatz c779ee6b58 (svn r22487) -Fix (r15216)[FS#4622]: engine IDs for coal and mail wagons were swapped 14 years ago
planetmaker 7aa57e4acd (svn r22473) -Codechange: Automatic orders are better called implicit orders as no real order influencing path finding is added 14 years ago
alberth a70556dac2 (svn r22459) -Doc: Typo fixes and doxygen markup improvements. 14 years ago
rubidium 6e9122828e (svn r22406) -Document: some more "random-ish" tidbits 14 years ago
rubidium f23d4a7565 (svn r22371) -Fix [FS#4596]: make sure saving has completely and utterly finished before starting a new one. Otherwise you could start a save, which would be marked as done by the previous save stopping and then yet another save could be started... and that could create a deadlock 14 years ago
rubidium 2a7912d415 (svn r22198) -Codechange: make some constants name more explicit 14 years ago
smatz b04623b63c (svn r22155) -Codechange: one comment in saveload/station_sl.cpp was wrong 14 years ago
rubidium 3b268b61bd (svn r22146) -Fix: don't run savegame conversion during SlNullPointers; the pointer might not be converted or be NULL at that point 14 years ago
alberth a14f4eb271 (svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)' 14 years ago