Commit Graph

190 Commits (ad48ab923764087bf66153d1c26ed0eb05a19989)

Author SHA1 Message Date
truebrain 9359c6fc47 (svn r23615) -Add: more API functions exposed to NoGo (part 2) 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
truebrain 98103121d4 (svn r23355) -Codechange: rename all AI* to Script* (Rubidium) 13 years ago
frosch 0fbad47371 (svn r23176) -Codechange: Deduplicate code between Engine::DetermineCapacity() and Engine::GetDisplayDefaultCapacity(). 13 years ago
frosch 88b2e687c2 (svn r23175) -Codechange: Refactor Engine::DetermineCapacity(). 13 years ago
frosch 50b480b959 (svn r23174) -Codechange: Deduplicate code between GetEngineProperty() and GetVehicleProperty(). 13 years ago
frosch 026317bb44 (svn r23173) -Codechange: Rename GetVehicleCapacity() to Engine::DetermineCapacity(). 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 acc3c75951 (svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code. 13 years ago
frosch b78a459613 (svn r22977) -Codechange: Rename SetCachedEngineCounts() to GroupStatistics::UpdateAfterLoad(). 13 years ago
frosch b6766c2ed5 (svn r22976) -Codechange: Split group statistics into separate struct. 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
michi_cc 08b7981f37 (svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period. 13 years ago
frosch 5e0bf4ada8 (svn r22690) -Fix: [NewGRF] Aircrafts defined with IDs above the default aircrafts always defaulted to passenger cargo. 13 years ago
rubidium fb5ecb9499 (svn r22411) -Document: another bunch of bits 13 years ago
frosch d12c2dfa24 (svn r22250) -Cleanup (r16378): Engines poolitems do not need a flag for validness anymore. The pool knows that on its own. 13 years ago
alberth bb4d832146 (svn r22239) -Doc: Further engine doxyment additions. 13 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
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
frosch faa2a26ae1 (svn r21986) -Codechange: Add helper function to test whether an engine is still associated to a GRF. 14 years ago
frosch 915e339d0f (svn r21975) -Add: console command to reset the engine pool. It removes the traces of engines which are no longer associated to a NewGRF, and can be used to e.g. 'fix' scenarios which were screwed up by the author. You can only use it when there are no vehicles in the game though. 14 years ago
rubidium b8c9988d9f (svn r21842) -Feature [FS#4393]: [NewGRF] Introduction dates/required types for rail types; e.g. introduce a particular rail type in 1960 (or when a vehicle using it is introduced), but also allow limiting its introduction to only happen when the required railtypes are available 14 years ago
rubidium 6371b75bcc (svn r21841) -Feature: [NewGRF] Allow to define other railtypes that should be introduced if a particular rail type is introduced, e.g. to make sure slow rail is introduced when fast rail gets introduced 14 years ago
smatz aa4f269f3e (svn r21652) -Cleanup: one semicolon is enough 14 years ago
rubidium ab9cc74ba5 (svn r21410) -Codechange: limit engine name by amount of characters, not bytes 14 years ago
planetmaker f6aa80c617 (svn r21374) -Fix: Purchases lists were not invalidated when using 'resetengines' 14 years ago
rubidium 2223ff92c7 (svn r21240) -Feature: [NewGRF] Implement action0 visual effect properties for ships and RVs (Hirundo) 14 years ago
rubidium 46186134c8 (svn r21239) -Codechange/Fix: [NewGRF] Use 0xFF instead of 0 as default value for visual effect. This makes setting train prop 22 to 0 actually work (Hirundo) 14 years ago
planetmaker c36da4841b (svn r21101) -Doc: Additions and clarifications of doxygen comments 14 years ago
terkhen b65df93121 (svn r21100) -Feature [NewGRF]: Add CB36 support for road vehicle property 0x15 (Speed). 14 years ago
terkhen c87e023d7a (svn r21058) -Feature [NewGRF]: Add CB36 support for road vehicle properties 0x13 (Power), 0x14 (Weight) and 0x18 (Tractive effort). 14 years ago
terkhen 897bb71621 (svn r20856) -Fix [FS#4141]: Road/water toolbars did not get updated when the first vehicle of their type becomes available. 14 years ago
rubidium 29b489a055 (svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well 14 years ago
alberth 5556955960 (svn r20318) -Doc: Doxygen additions. 14 years ago
alberth 73f45d16d1 (svn r20317) -Codechange: Move variable declaration to their first use. 14 years ago
frosch 4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
alberth be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
rubidium e809c05099 (svn r20164) -Fix [FS#3870]: inconsistencies w.r.t. to km/h vs km-ish/h as "base" unit for aircraft speeds 14 years ago
frosch 1055c2b0fd (svn r20106) -Fix (r5999): Engine and vehicle age were clamped at 0xFFFF, though there are 32bit available. 14 years ago
frosch 557c3f7daa (svn r19879) -Codechange: Also hide invalid engines from purchase lists. 14 years ago
yexo 9a2e53e803 (svn r19660) -Feature: [NewGRF] support cb36 for aircraft speed also in the build menu 14 years ago
terkhen d7f7c8949f (svn r19360) -Add: [NewGRF] When the tractive effort of a road vehicle is not set, use a default value of 4C. 15 years ago
terkhen be3b839ded (svn r19347) -Add: Vehicle GUI now shows power, weight and tractive effort for road vehicles. 15 years ago
frosch 63b01f2009 (svn r19218) -Feature: [NewGRF] Add CB36 support for aircraft properties 0F and 11. (Eddi) 15 years ago
rubidium 82fc28f77f (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium b00a5f1069 (svn r18330) -Cleanup: remove some unneeded includes 15 years ago
frosch d507136e04 (svn r18268) -Feature: [NewGRF] Make price base multipliers related to vehicles only apply to the GRF locally, if it defines engines of that type itself. 15 years ago
frosch 912bce0b8c (svn r18266) -Codechange: Add a function to compute prices from price base and cost factor and use it consistently for vehicle purchase, running cost, and refit cost. 15 years ago