Commit Graph

894 Commits (65818db1f4332fecb9395df2e41f2068bb86feeb)

Author SHA1 Message Date
rubidium f41b55f0ff (svn r26880) -Add: stub settings for limiting bridge and map height 10 years ago
rubidium 9daf7e749c (svn r26879) -Codechange: remove most MayHaveBridgeAbove calls since the data is now always accessible 10 years ago
rubidium 982f5a6aa2 (svn r26878) -Change: move m6 to TileExtended to keep Tile 8 bytes and thus better alignable 10 years ago
rubidium 0ac2d3b324 (svn r26876) -Codechange: move 'has bride above' data from m6 to type 10 years ago
rubidium 47852f119e (svn r26875) -Codechange: move TropicZone information from m6 to type 10 years ago
rubidium 04e2324b8f (svn r26873) -Change: split type_height into a type and height array (ic111) 10 years ago
rubidium 51a1c712f2 (svn r26872) -Change: give the disaster vehicles the same treatment as aircraft in r26866; make the ascend and descend if needed to cross high mountains (based on patch by ic111) 10 years ago
rubidium c0771b1657 (svn r26866) -Change: make aircraft ascend/descend when they are too close to the ground or too far away (based on patch by ic111) 10 years ago
rubidium 9e0f4b3847 (svn r26864) -Codechange: bring a bit more OO into the disaster vehicles 10 years ago
rubidium 6c2abf0930 (svn r26863) -Codechange: move a number of Vehicle* functions into the Vehicle class 10 years ago
rubidium 32c56b5f84 (svn r26819) -Fix [FS#6112] (r26787): trying to delete just loaded objects that had not yet resolved their references caused a crash upon savegame load (only when loading a game from a server, e.g. joining MP) 10 years ago
frosch e53d97b4f8 (svn r26816) -Fix [FS#6109]: Properly zero-initialise data in _temp_engine. 10 years ago
alberth f72ad87540 (svn r26802) -Add: Command to set visibility of an engine for a company (based on patch by Juanjo). 10 years ago
frosch 9b72a9f6b8 (svn r26787) -Fix (r20547): Loading a game with order backups leaked Orders and left unreachable items in the pool. 10 years ago
rubidium 134ad63b80 (svn r26753) -Fix: desync due to not always properly restoring game state from the savegame 10 years ago
rubidium 48d446ffeb (svn r26700) -Fix [FS#6066]: incorrect saving of order backups 10 years ago
fonsinchen 37b1d36fb8 (svn r26650) -Fix [FS#6041]: Support save/load chunk lengths of up to (1 << 32) - 1 10 years ago
fonsinchen 957f5ca117 (svn r26646) -Fix [FS#6041]: Save locations instead of distances in link graphs to reduce size. 10 years ago
rubidium ad64b99eb0 (svn r26636) -Fix [FS#6026-ish]: (memory) size of variables saved for disaster vehicles was not correct in saveload description 10 years ago
frosch 2a4f0fb67d (svn r26593) -Fix: Goals were saved/loaded with incorrect size. 10 years ago
rubidium 46792e58dd (svn r26591) -Add: some instrumentation to catch most cases where the wrong number of bytes would be written into variables during loading (or read during saving) 10 years ago
rubidium 191fd09d32 (svn r26590) -Fix: possible desync (big/little endian) due to not writing complete variables upon saveload 10 years ago
rubidium 9270d94e7e (svn r26589) -Fix: SIGSEGV on all big endian architectures that tried to load e.g. the 1.4 intro game or anything else with more than 0 linkgraph nodes that was saved on little endian 10 years ago
rubidium 89c25b955e (svn r26580) -Codechange: s/GES_PICKUP/GES_RATING/ (it has nothing to do with actual pickup), s/acceptance_pickup/status/ (the enum isn't called GoodEntryStatus for a reason; it's not only acceptance and pickup anymore) 10 years ago
fonsinchen 2c11eeb39e (svn r26551) -Fix: document revision number for latest savegame version change 10 years ago
fonsinchen 3ee31a8f89 (svn r26547) -Codechange: Collect order travel and wait times independent of timetables 10 years ago
rubidium 9ed12b0f07 (svn r26509) -Codechange: replace strdup with stredup (the latter ensures the return is not NULL) 10 years ago
rubidium b4914b91d9 (svn r26493) -Codechange: use strecat to concatenate script settings instead of manually accounting for the amount of characters that has been written 10 years ago
rubidium 5b82822c12 (svn r26486) -Codechange: replace a number of snprintfs with seprintf 10 years ago
frosch ef4c2ce031 (svn r26485) -Codechange: Replace ttd_strlcpy and ttd_strlcat with strecpy and strecat. 10 years ago
rubidium 0463dbdc9e (svn r26482) -Codechange: add an include that allows us to undefine/redefine "unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values 10 years ago
peter1138 567d0ff3a7 (svn r26450) -Feature: Hierarchical vehicle subgroups. 10 years ago
frosch 8ff9499fe2 (svn r26409) -Update: Version number in some more places. 10 years ago
frosch a32d18cbb9 (svn r26371) -Fix [FS#5831]: Calling DoCommandP during the gameloop cleared pending persistent storage changes. 11 years ago
frosch 41b7a04a68 (svn r26317) -Fix [FS#5897]: Check whether NewGRF change vehicle capacity when they are not supposed to, and truncate cargo appropiately if they are allowed to. 11 years ago
frosch 49852e3dac (svn r26175) -Add: Log in desync output when persistent storage is discarded. 11 years ago
frosch b02179bd8e (svn r26169) -Fix-ish [FS#5831-ish]: Unify the time a RV needs to travel through a curve. 11 years ago
rubidium 77e5b1e3b2 (svn r26115) -Fix: AfterLoadGame can throw an exception; from the old savegame load section this wouldn't be caught 11 years ago
rubidium d9ee35006d (svn r26064) -Fix: possible uninitialised array when loading a broken TT-ish savegame 11 years ago
rubidium 0e9c992104 (svn r26058) -Fix: handle the return value of a number of functions better 11 years ago
rubidium b3e93d6520 (svn r26057) -Fix: a number of possibly uninitialised variables 11 years ago
rubidium 1ffcdbd515 (svn r25954) -Fix [FS#5731]: All semaphores got converted to electric signals when loading savegames from v15 to v20 (adf88) 11 years ago
rubidium a7fd0f8f5d (svn r25953) -Fix [FS#5732]: Wrong bits used when converting signal types/variants while loading savegames older than v64 (adf88) 11 years ago
fonsinchen bd230f34f4 (svn r25900) -Change [FS#5677]: Allow restricted flows to be picked for kept cargo. 11 years ago
fonsinchen 6524849386 (svn r25899) -Change: Restrict flows if links are restricted and don't normally pick them anymore. 11 years ago
fonsinchen 29e987f3fc (svn r25898) -Codechange: Add second timestamp for 'restricted links' to all edges. 11 years ago
fonsinchen ec2d36a4a4 (svn r25897) -Fix: Dates are int32, not uint32, and should be saved as such. 11 years ago
frosch 871519f75a (svn r25855) -Fix [FS#5788] (r25833): Obiwan messed up savegame conversion. 11 years ago
zuu fb5dc7762b (svn r25852) -Codechange: Merge GetFenceXX/SetFenceXX into one common GetFonce/SetFence for all directions that take an extra direction parameter (cirdan, LordAro) 11 years ago
zuu dfb5663313 (svn r25849) -Codechange: Introduce IsTileFlat to not compute full slope information for situations when we only want to know if a tile is flat or not (cirdan, LordAro) 11 years ago
frosch 69a0c91d63 (svn r25844) -Change: Increase maximum number of object instances on the map from 64k to about 16M. 11 years ago
frosch 35d7e8bca4 (svn r25833) -Codechange: Move ObjectType from map array into pool item. 11 years ago
frosch 2080a8c16f (svn r25832) -Codechange: Reduce variety of object type test functions. 11 years ago
frosch 4912e3170e (svn r25817) -Fix [FS5750-ish]: Handle savegames which contain GS translations for languages with empty name more gently. 11 years ago
frosch b0a063ed77 (svn r25702) -Add: about 3000 years of savegame compatibility. 11 years ago
zuu 09897c5fd6 (svn r25620) -Fix (r25342): Save/load of story books were broken 11 years ago
rubidium dd49c84363 (svn r25510) -Fix: forgot to update some documentation 11 years ago
rubidium f9c9ff6ec3 (svn r25508) -Change: split unit localisation choice into a choice per type of unit, and move it to the advanced settings
-Feature [FS#5482]: have tractive effort in imperial (lbf) and metric (kgf) units
-Feature: have weights and volumes in imperial units (short tons, gallons)
11 years ago
fonsinchen 06d95e9123 (svn r25390) -Fix: add missing compatibility settings in afterload. 11 years ago
rubidium b860353a66 (svn r25387) -Fix: "typos" in @file filename 11 years ago
fonsinchen 0e5fa8d195 (svn r25363) -Codechange: bump the savegame version for cargodist 11 years ago
fonsinchen 741c431caa (svn r25362) -Feature: consider cargo waiting at other stations for rating at the origin station 11 years ago
fonsinchen 04e3eb6fab (svn r25361) -Feature: distribute cargo according to plan given by linkgraph 11 years ago
fonsinchen a2ff96d682 (svn r25360) -Codechange: save and load flow stats 11 years ago
fonsinchen 3d0a0e8e48 (svn r25358) -Codechange: save and load link graph jobs and the schedule 11 years ago
zuu 9aa1bf0264 (svn r25342) -Add: StoryPage data structures and GS API 11 years ago
fonsinchen 16307a8a6f (svn r25337) -Fix: saving only 8 bits of 16 causes endianness problems 11 years ago
rubidium f292a87dc4 (svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; quite boring with -x -w 11 years ago
zuu a4cddc3e08 (svn r25296) -Feature: Goals can now have a progress text and/or be marked as completed. 11 years ago
rubidium 3947453277 (svn r25259) -Codechange: track capacities and usage of links 11 years ago
rubidium 0cc3d8df4b (svn r25258) -Codechange: save linkgraph (fonsinchen) 11 years ago
frosch 5eddbb338b (svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen) 11 years ago
rubidium aa2c1ce4b0 (svn r25152) -Fix-ish [FS#5520]: remove stray reservation from savegames affected by FS#5510 et al. upon loading 11 years ago
rubidium 327615c2ce (svn r25136) -Merge: 1.3 release (documentation) updates 11 years ago
frosch 30f601d685 (svn r25115) -Fix (r8973) [FS#5492-ish]: [NewGRF] Acceleration of NewGRF aircraft was too fast, while acceleration of default aircraft was way too slow. I.e. choose wisely who to let write the software for your orbiter. 11 years ago
frosch 22bb015f3d (svn r25041) -Remove [FS#3764-ish]: ordered refit with subtypes, since the cases where it worked were corner cases rather than the general case. 12 years ago
rubidium cdb0a76958 (svn r25012) -Codechange: persistently keep 'reserved' cargo (for full-load improved loading) instead of calculating if for every cycle 12 years ago
rubidium 446d50f658 (svn r25011) -Codechange: allow vehicle transfer and profit text effects to be shown at the same time (fonsinchen) 12 years ago
rubidium ced17303c2 (svn r24998) -Fix [FS#5137]: Set vehicle's service interval is percent flag appropriately on creation (peter1138) 12 years ago
rubidium 369a6f9d1b (svn r24995) -Codechange: Add flags to vehicle service interval for custom & ispercent (peter1138) 12 years ago
rubidium c77cd1f409 (svn r24994) -Codechange: Replace access to service_interval with accessors (peter1138) 12 years ago
peter1138 c00a400cc7 (svn r24905) -Feature(ish): Implement station randomisation triggers. 12 years ago
planetmaker c24374f99c (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
rubidium f4915ce34f (svn r24878) -Update: the obligatory first of January commit 12 years ago
rubidium d5d96ba683 (svn r24877) -Fix: some whitespace "errors" 12 years ago
frosch 0e4b212c45 (svn r24810) -Fix: Make engine preview offers more robust wrt. changes in the company ranking. 12 years ago
frosch d8fb8e6cfc (svn r24795) -Fix (r24789): Unfinished patch. 12 years ago
frosch d1ab0f03bc (svn r24790) -Remove: Classic difficulty profiles. 12 years ago
frosch 812ae4140a (svn r24789) -Add: Separate setting to control the default settings of newly added scripts and random AIs. 12 years ago
alberth 732e073261 (svn r24776) -Doc: Typo fixes, additions, and additional dots collected from various sources (including Eagle_rainbow, MinchinWeb) 12 years ago
rubidium 3a40a0f1e8 (svn r24754) -Fix [FS#5367]: crash on corrupted savegame 12 years ago
frosch 883f9bec9b (svn r24718) -Codechange: Rename GoodsEntry::days_since_pickup to GoodsEntry::time_since_pickup. 12 years ago
frosch ce87b8fc63 (svn r24717) -Fix [FS#5139]: When starting a scenario apply the local company settings to the new company. 12 years ago
planetmaker f2e94237fc (svn r24619) -Change: Check for bankruptcy on a monthly basis (ZxBioHazardZx) 12 years ago
frosch 0ba2ed7676 (svn r24565) -Fix: Stop both price and payment inflation if either of them has reached MAX_INFLATION. 12 years ago
frosch 7122602026 (svn r24564) -Fix [FS#5312] (r17433): Limiting the inflation did not quite work. 12 years ago
alberth 5add39d560 (svn r24540) -Codechange: Remove the not-so-useful HALF_TILE_SIZE constant. 12 years ago
frosch b11b0bb0e2 (svn r24482) -Fix [FS#5232] (r24180): Do not call RebuildSubsidisedSourceAndDestinationCache() before subsidy savegame conversion is finished. 12 years ago
frosch 9527bad3a7 (svn r24446) -Add [FS#5199]: Store more consist properties in order backups. 12 years ago
frosch fcbe53d204 (svn r24445) -Fix: Do not load order backups when loading a server-saved game in single player. 12 years ago
frosch 5ce1971588 (svn r24444) -Codechange: Base OrderBackup on BaseConsist. 12 years ago
alberth 05aaf18d38 (svn r24405) -Add: Save and load of active cargo monitors. 12 years ago
frosch 0d03c1ff85 (svn r24182) -Fix [FS#5169-ish]: The population of a town was computed incorrectly for overridden houses when loading a game. 12 years ago
rubidium b926277caf (svn r24180) -Codechange/feature-ish: add cache checker for the town's cache 12 years ago
rubidium 41e5c839e0 (svn r24179) -Codechange: move some variables of Town to TownCache 12 years ago
frosch 0f0e7e43cf (svn r24166) -Codechange: Turn NewGRFClass::Get(Tid, uint) and GetCount(Tid) into non-static members GetSpec(uint) and GetSpecCount(). 12 years ago
michi_cc 6a70abbd99 (svn r24136) -Feature [FS#4465]: Autoreplace vehicles only when they get old. (Vikthor) 12 years ago
michi_cc f3e295b4ec (svn r24134) -Add: Configurable limits for tree planting. 12 years ago
michi_cc 6f9668330e (svn r24132) -Change [FS#4713]: Improve randomness of tile order in the tile loop. (monoid) 12 years ago
rubidium 4e3b95067b (svn r24033) -Fix: reset "is random" status of temporary variable during saveload as it's not always written to when loading an AI which means it'd be taking the is random setting of another AI. 12 years ago
michi_cc 5aeae7ca49 (svn r23973) -Fix (r23947): Also save the maximum travel speed for the current vehicle order. 13 years ago
rubidium 1c4827cc71 (svn r23967) -Fix-ish: don't fix road ownership of standard road stops each time you load a savegame, only when loading an old one 13 years ago
michi_cc f2c694c8fb (svn r23947) -Feature: Timetabled maximum travel speeds for non-flying vehicles. 13 years ago
rubidium 060cac439c (svn r23942) -Fix: infrastructure cache of standard road stops would get messed up when buying a company with them 13 years ago
frosch 07f69d8b88 (svn r23920) -Fix: Consider only the middle tile of a lock for lock-infrastructure costs. The other two tiles may be owned by other companies. Also do not count the middle tile of a lock as canal, independent of whether it is build on ground or river slope. 13 years ago
rubidium d99eb6aac2 (svn r23853) -Fix: several incorrect @files 13 years ago
michi_cc 52b951ca6f (svn r23844) -Fix (r23414): Infrastructure count for stations wasn't updated properly on company takeover. And don't count buoys while loading a game either. 13 years ago
frosch 5bf1710a28 (svn r23835) -Change [FS#4999]: Make signs placed in scenario editor belong to the GS. That way they are always shown in game and are not editable. 13 years ago
frosch d5e0be7d7f (svn r23829) -Fix [FS#4996]: Loading empty GS strings/translations failed. 13 years ago
frosch 5fa15c563c (svn r23828) -Fix: Return early from SlString() for empty strings, before doing invalid things which surprisingly do not break everything. 13 years ago
rubidium 70c7fbd90e (svn r23826) -Fix [FS#4972]: the detailed performance rating window showed the cargo count of the current quarter instead of the last quarter like the tooltip says 13 years ago
yexo 2c99805117 (svn r23816) -Fix (r23635, r23805): make SCC_ENCODED the first entry in the StringControlCode enum since it's value is not allowed to change 13 years ago
michi_cc 9232a2ef0c (svn r23773) -Change: [NewGRF] Update all cached train properties if a train vehicle enters a new railtype. 13 years ago
rubidium 6d6be50ae0 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
truebrain 0d929e877f (svn r23713) -Codechange: split VehicleMove() into two functions, to minimalize the work done where possible 13 years ago
truebrain 19004a77f8 (svn r23712) -Codechange: rename the two vehicle hashes we have to names that make clear where they differ in 13 years ago
rubidium 20931c5af8 (svn r23694) -Fix (rprev): somehow compilers didn't understand what I meant... 13 years ago
rubidium a137c838f9 (svn r23693) -Fix [FS#4859]: hardcode the original defaults for loading old savegames if they could totally mess with the game's behaviour 13 years ago
yexo ecc9997277 (svn r23657) -Fix (r22958): loading of very old savegames with custom town names failed 13 years ago
truebrain 5f7268cbdc (svn r23649) -Fix [FS#4905) (r23634): loading a savegame with an empty GSTR chunk caused assert 13 years ago
truebrain 1c9bec1999 (svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC) 13 years ago
truebrain 44b70d176c (svn r23637) -Change: bump the savegame, to store all the new goodies 13 years ago
truebrain 102f811d02 (svn r23636) -Add: introduce ScriptText in parameters where it can be used 13 years ago
truebrain 2ae87e7213 (svn r23634) -Add: support language files for GameScript (Rubidium) 13 years ago
truebrain 3ada3b9cc5 (svn r23630) -Add: a Goal GUI to show your current goals 13 years ago
truebrain ad48ab9237 (svn r23626) -Add: ScriptTown::SetText, which adds custom text to the Town GUI 13 years ago
truebrain f239a61406 (svn r23609) -Add: save/load all GameScript related material 13 years ago
truebrain 5cda1d7c90 (svn r23603) -Add: support for control commands in strings, in both network and safe/load (Rubidium) 13 years ago
rubidium df16ebd730 (svn r23595) -Codechange: add comma after last enum to get a more uniform coding style 13 years ago
rubidium 3d88c74389 (svn r23526) -Codechange: unify cargos vs cargoes 13 years ago
michi_cc def8e7215b (svn r23504) -Feature: Aircraft range. 13 years ago
yexo 89854e0ab1 (svn r23501) -Fix: loading scenarios downloaded from the online content didn't work anymore 13 years ago
rubidium 0ca25fb3af (svn r23480) -Fix [FS#4594]: replace OS error messages with internal error messages when that's possible 13 years ago
rubidium 2bf0fc3c5c (svn r23476) -Codechange: use the error queue to replace switch mode error strings, again making it possible to return multiple errors 13 years ago
rubidium 58423b26d1 (svn r23474) -Codechange: move the declaration error related functions to error.h 13 years ago
rubidium 432c16d5b9 (svn r23418) -Fix [FS#4866] (r22958): saves made with the Catalan town name generator would trigger a "savegame corrupt" exception 13 years ago
michi_cc d3b7b89493 (svn r23415) -Feature: Infrastructure maintenance costs. 13 years ago
michi_cc f98312eb77 (svn r23414) -Add: Company infrastructure counts for stations/airports. 13 years ago
michi_cc c06bbb4863 (svn r23413) -Add: Company infrastructure counts for canals. 13 years ago
michi_cc a29a9d94b7 (svn r23412) -Add: Company infrastructure counts for road. 13 years ago
michi_cc d30fcd4e35 (svn r23411) -Add: Company infrastructure counts for rail. 13 years ago
michi_cc 6083d6ffb4 (svn r23410) -Add: A window with a detailed overview over the infrastructure of a company. 13 years ago
terkhen de0bf0663a (svn r23407) -Codechange: Keep a bitmap of all cargos accepted by towns. 13 years ago
terkhen 59d8b0204f (svn r23405) -Codechange: Keep a matrix of cargos accepted by houses for each town (michi_cc). 13 years ago
truebrain a8b22e5292 (svn r23386) -Fix: debug script related events to 'script' (removes 'ai') 13 years ago
truebrain cc12942d70 (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
truebrain 160bfd8851 (svn r23376) -Remove: on popular demand, remove my (revoked) name from comments in the code. It was silly to name me like that to begin with ;) (based on patch by HackaLittleBit) 13 years ago
truebrain 34d7f01ccc (svn r23364) -Codechange: refactor AIConfig, moving it mostly to Scriptconfig 13 years ago
peter1138 81598273e9 (svn r23316) -Feature: Add ability to zoom in to 2x and 4x level. 13 years ago
peter1138 4e97261315 (svn r23314) -Add: Add settings to restrict viewport zoom levels. 13 years ago
truebrain bd3fd1171e (svn r23309) -Fix: loading old games didn't have goals set for towns (tnx to frosch for spotting) 13 years ago
truebrain d809ea4f23 (svn r23304) -Add: bump the savegame to start storing the new bits and pieces 13 years ago
truebrain f906ebd2a5 (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 229e572663 (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 4d2a9e384c (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 6548ec6e9e (svn r23233) -Codechange: Refactor maximum and actually transported cargo amount of towns into a reusable struct. 13 years ago
rubidium c9a7f572ec (svn r23195) -Codechange: if we really need to cast away constness, use const_cast 13 years ago
rubidium a8d33a4d89 (svn r23192) -Codechange: don't cast away const needlessly 13 years ago
yexo 5c838ff1c3 (svn r23168) -Feature [FS#1824]: always draw fences around field tiles 13 years ago
rubidium 643c54d288 (svn r23105) -Fix (r23104): Kenobi visited me ;) 13 years ago
rubidium f01b3e2721 (svn r23104) -Codechange: prepare the vehicle/sign z for some further changes to reduce casting 13 years ago
rubidium 2ed0f93bfb (svn r23093) -Codechange: add a default NULL for the Z of GetTileSlope and use it 13 years ago
rubidium 7757a2ed40 (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 47c5d30b5d (svn r23084) -Codechange: get rid of a redundant variable 13 years ago
yexo e98be8ed24 (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 bbc3409942 (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 72cd855978 (svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code. 13 years ago
yexo 433f74edd9 (svn r23065) -Add: -q option to read a savegame, write some general info and exit 13 years ago
frosch 88f8457b83 (svn r23013) -Doc: Add a note about the savegame version used in the 1.1 branch. 13 years ago
frosch b78a459613 (svn r22977) -Codechange: Rename SetCachedEngineCounts() to GroupStatistics::UpdateAfterLoad(). 13 years ago
frosch 7133887ed6 (svn r22975) -Codechange: Do not store Group::num_vehicle in the savegame, but compute it like num_engines on load. 13 years ago
rubidium 73a3708a9e (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 a6f9488ae4 (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 40d5419cd2 (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 bc3b725812 (svn r22915) -Fix (r22743): TTO savegames with any aircraft not in an hangar caused crashes during load 13 years ago
rubidium a8889fd0e0 (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 275a394bc1 (svn r22880) -Cleanup: SIZE_MAX is now defined in stdafx.h 13 years ago
planetmaker ef09794faa (svn r22843) -Fix [FS#4748]: Harden savegame load against too many ai config settings (monoid) 13 years ago
rubidium b4edc30c64 (svn r22827) -Codechange: pass the/a more proper sub directory when opening (some) files instead of the default one 13 years ago
rubidium 21f194bbf2 (svn r22811) -Change: don't try to load static NewGRFs when loading the intro game for the first time 13 years ago
rubidium 0041408e4f (svn r22767) -Add: river generation 13 years ago
rubidium 81074e0ca2 (svn r22737) -Fix [FS#4717]: some corrupted savegames could crash OpenTTD instead of showing the "savegame corrupted" message 13 years ago
rubidium c8f19a608d (svn r22736) -Codechange: constify some numbers 13 years ago
michi_cc 08b7981f37 (svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period. 13 years ago
frosch c9e920f1eb (svn r22693) -Fix [FS#4691]: The override managers were not reset in some cases like creating a new scenario. 13 years ago
frosch 570da01d3a (svn r22644) -Codechange: Use IsShipDepotTile() instead of single water- and depottests. (adf88) 13 years ago
frosch 9c015d369e (svn r22625) -Fix (r22050)[FS#4642]: Do not zero the orders of disaster vehicles when converting savegames. 13 years ago
terkhen 729d786d5e (svn r22573) -Fix (r22567): Fix operator precedence. 13 years ago
terkhen 7ffc8c0173 (svn r22568) -Change: Add a list of persistent storages to the Town class. 13 years ago
terkhen 00e5c1df18 (svn r22567) -Codechange: Store persistent storages inside a pool. 13 years ago
terkhen 5bb79b1f46 (svn r22540) -Codechange: Rename AcceptancePickup to GoodsEntryStatus. 13 years ago
smatz 92cabe0c9f (svn r22487) -Fix (r15216)[FS#4622]: engine IDs for coal and mail wagons were swapped 13 years ago
planetmaker 43c8cd1d5e (svn r22473) -Codechange: Automatic orders are better called implicit orders as no real order influencing path finding is added 13 years ago
alberth 28092366ec (svn r22459) -Doc: Typo fixes and doxygen markup improvements. 13 years ago
rubidium 5a620d1c65 (svn r22406) -Document: some more "random-ish" tidbits 13 years ago
rubidium 75b87c554f (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 13 years ago
rubidium e48967541a (svn r22198) -Codechange: make some constants name more explicit 14 years ago
smatz 8074f123d5 (svn r22155) -Codechange: one comment in saveload/station_sl.cpp was wrong 14 years ago
rubidium ae6dca77e5 (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 1dbc0a20be (svn r22144) -Codechange: Unify 'while (true)' to 'for (;;)' 14 years ago
smatz 678cf3553f (svn r22130) -Fix: failed assert when loading savegame with empty shared orderlist 14 years ago
smatz 58c7f5c497 (svn r22129) -Codechange: use simpler check to test if there any towns in the game 14 years ago
rubidium b6be3f2acc (svn r22124) -Codechange: move comment to its logical place 14 years ago
rubidium 0eaa2ffa63 (svn r22122) -Fix/change: when a NOT_REACHED in saveload can be reached due to an invalid savegame, use SlErrorCorrupt instead 14 years ago
rubidium befa79ba4a (svn r22070) -Fix [FS#4503] (r21399): crashes when disconnecting after requesting the map 14 years ago
rubidium d8cada7563 (svn r22064) -Fix [FS#4497] (r21399): crash when disconnecting and reconnecting while the server is still saving the savegame 14 years ago
rubidium 7de823b1bd (svn r22062) -Fix: memory leak when saving fails mid-way 14 years ago
yexo 296af35741 (svn r22061) -Change: when loading old savegames with long trains set the maximum train length to the length of the longest train 14 years ago
rubidium b187352663 (svn r22058) -Fix (r22050): removing broken orders happened before the "front engine" conversion was done for road vehicles, so road vehicles didn't have orders anymore 14 years ago
rubidium 13fd2cd335 (svn r22057) -Fix: waypoint conversion could (previously) silently overfill the pool and crash 14 years ago
rubidium 50996e799b (svn r22050) -Fix-ish [FS#4496]: in ancient savegames, e.g. TTO savegames, non primary vehicles (wagons and such) could have unitnumbers or even orders. However, these orders would not be updated when a station is removed. As such some savegames have wagons with current orders to invalid stations which triggers trouble in the load conversion. So, trash any orders/unitnumbers a non-primary vehicle has. 14 years ago
frosch b7713a7e85 (svn r22046) -Fix [FS#4487]: Make sure order indices stay in range when copying, sharing, unsharing or deleting all orders. 14 years ago
smatz 69789f3008 (svn r22042) -Fix: when loading a TTO/TTD savegame, verify we can allocate a CargoPacket before actually trying to do so 14 years ago
smatz 887a7724dc (svn r22025) -Fix: verify there is enough space in the pool when creating new pool items while loading old savegames 14 years ago
rubidium faf5d899f7 (svn r22017) -Codechange: move MarkTileDirtyByTile to viewport_func.h 14 years ago
alberth 4364cec392 (svn r22001) -Codechange: Rename difficulty.number_industries to difficulty.industry_density. 14 years ago
frosch ef3ec0f8c8 (svn r21987) -Fix: Make news items, engine previews and AI preview events deal with no longer existing Engine items after resetting the pool. 14 years ago
terkhen a4b08dddd1 (svn r21974) -Feature: Add a setting to enable/disable funding local road reconstruction. 14 years ago
alberth 7da952115b (svn r21971) -Fix (r21969): Subversion auto-increments revision on commit. 14 years ago
alberth bdf5a1c2f7 (svn r21969) -Feature: Introduce 'minimal' number of industries as a replacment for the old 'none' setting in the newgame window. 14 years ago
rubidium 0fe0225751 (svn r21962) -Feature-ish: GUI setting to disable reversing at signals 14 years ago
rubidium c85d350310 (svn r21960) -Change: show the length of vehicles in tiles, instead of half tiles in the depot
-Fix [FS#4461]: don't count the number of vehicles but the length of vehicles to (configurably) limit train length
14 years ago
smatz 3bfad0243b (svn r21947) -Fix (r21195): crash when converting a savegame with vehicles crashed in a tunnel entry, or with vehicles reversing there 14 years ago
smatz 54161949d1 (svn r21942) -Codechange: no need to convert GOINGUP/GOINGDOWN flags if they are cleared afterwards during savegame conversion 14 years ago
planetmaker 0364726bbb (svn r21940) -Fix [FS#4460]: Not all vehicles should be tested to be inside a tunnel upon savegame load (SmatZ) 14 years ago
smatz b15719bbd2 (svn r21939) -Fix (r16357): the check for valid depot wasn't strict enough 14 years ago
frosch a97d52a29a (svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index and cur_real_order_index to keep track of the current real order in an unambiguous way.
-Fix [FS#4440]: Automatic orders behave now stable wrt. service orders and are not added or removed depending on the need of servicing.
-Fix: Various other issues with automatic orders, e.g. vehicles getting stuck with "no orders" when there are automatic orders at the end of the order list.
14 years ago
rubidium 67a5cd0b18 (svn r21932) -Document: some tidbits related to vehicles 14 years ago
rubidium 4fff63d790 (svn r21912) -Codechange: let road vehicles use gcache.last_speed/SetLastSpeed as well 14 years ago
rubidium b11f1bd4ed (svn r21911) -Codechange: move tcache.last_speed to gcache.last_speed and make SetLastSpeed a function of GroundVehicle 14 years ago
rubidium 7eba2bf4d3 (svn r21890) -Cleanup: remove some unneeded includes 14 years ago
rubidium eb299736c1 (svn r21886) -Codechange: move documentation towards the code to make it more likely to be updated [n]. 14 years ago
smatz 2a2363e819 (svn r21881) -Codechange: ensure that vehicle's GOINGUP/DOWN bits are set correctly and that it has correct z_pos when converting from older savegames 14 years ago
smatz 656caf16db (svn r21875) -Codechange: indentation of some comments was wrong 14 years ago
rubidium 6a2ae92811 (svn r21865) -Fix (r21862): don't perform savegame conversion when reinitialising some vehicle structures due to NewGRF changes 14 years ago
terkhen d426906a01 (svn r21862) -Codechange: Unify subtype handling between road vehicles and trains. 14 years ago
terkhen b5468e7a80 (svn r21860) -Codechange: Rename road vehicle subtype functions to match the train names. 14 years ago
rubidium 9ca4b629cd (svn r21846) -Codechange: move documentation towards the code to make it more likely to be updated [o-s]. 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
terkhen 679cd3c21b (svn r21803) -Cleanup: Remove unnecessary semicolons. 14 years ago