Commit Graph

193 Commits (26ce850122e6c5168d91bf57c2eb351605a1fc29)

Author SHA1 Message Date
frosch f7afd6ed8e (svn r23861) -Feature: [NewGRF] New algorithm (activated via an engine flag) to determine the capacity of vehicles. This allows vehicles to better control the capacity for cargotypes which they know; and let cargo NewGRFs influence the capacity for cargos the vehicle NewGRF does not know, but which the vehicle is refittable to due to cargo classes. 13 years ago
frosch 4cc26a1b86 (svn r23860) -Feature: [NewGRF] Add cargo property 1D to set the capacity multipliers when refitting vehicles, which do not use callback 15. 13 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
truebrain ae134dd2f6 (svn r23615) -Add: more API functions exposed to NoGo (part 2) 13 years ago
rubidium 24263638bf (svn r23526) -Codechange: unify cargos vs cargoes 13 years ago
michi_cc 957b643ae6 (svn r23504) -Feature: Aircraft range. 13 years ago
truebrain af1b3cc070 (svn r23355) -Codechange: rename all AI* to Script* (Rubidium) 13 years ago
frosch cdb8445a47 (svn r23176) -Codechange: Deduplicate code between Engine::DetermineCapacity() and Engine::GetDisplayDefaultCapacity(). 13 years ago
frosch 52bcb026cc (svn r23175) -Codechange: Refactor Engine::DetermineCapacity(). 13 years ago
frosch 80e5c79bd6 (svn r23174) -Codechange: Deduplicate code between GetEngineProperty() and GetVehicleProperty(). 13 years ago
frosch 3178814a00 (svn r23173) -Codechange: Rename GetVehicleCapacity() to Engine::DetermineCapacity(). 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 ad38f27242 (svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code. 13 years ago
frosch 4961cd06a9 (svn r22977) -Codechange: Rename SetCachedEngineCounts() to GroupStatistics::UpdateAfterLoad(). 13 years ago
frosch c531453320 (svn r22976) -Codechange: Split group statistics into separate struct. 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
michi_cc d25840978c (svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period. 13 years ago
frosch 41348b8fe9 (svn r22690) -Fix: [NewGRF] Aircrafts defined with IDs above the default aircrafts always defaulted to passenger cargo. 13 years ago
rubidium 9fc2798baf (svn r22411) -Document: another bunch of bits 13 years ago
frosch e1b7474b99 (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 46d3b48fb3 (svn r22239) -Doc: Further engine doxyment additions. 13 years ago
smatz 8608a7c29b (svn r22025) -Fix: verify there is enough space in the pool when creating new pool items while loading old savegames 14 years ago
frosch c003e1a358 (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 dd1c718ac7 (svn r21986) -Codechange: Add helper function to test whether an engine is still associated to a GRF. 14 years ago
frosch 447f3dbe2c (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 abc1828d30 (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 dc94c94599 (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 61ad6990b9 (svn r21652) -Cleanup: one semicolon is enough 14 years ago
rubidium 4d6cd55877 (svn r21410) -Codechange: limit engine name by amount of characters, not bytes 14 years ago
planetmaker 0f0be0d866 (svn r21374) -Fix: Purchases lists were not invalidated when using 'resetengines' 14 years ago
rubidium 3969e4f951 (svn r21240) -Feature: [NewGRF] Implement action0 visual effect properties for ships and RVs (Hirundo) 14 years ago
rubidium a56627cc77 (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 d3dd03fd6b (svn r21101) -Doc: Additions and clarifications of doxygen comments 14 years ago
terkhen 38d9eed25c (svn r21100) -Feature [NewGRF]: Add CB36 support for road vehicle property 0x15 (Speed). 14 years ago
terkhen 867f7b5f7b (svn r21058) -Feature [NewGRF]: Add CB36 support for road vehicle properties 0x13 (Power), 0x14 (Weight) and 0x18 (Tractive effort). 14 years ago
terkhen 6c9580d6d0 (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 b5d5a4e159 (svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well 14 years ago
alberth ccbacfc298 (svn r20318) -Doc: Doxygen additions. 14 years ago
alberth 6c01a5833c (svn r20317) -Codechange: Move variable declaration to their first use. 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
alberth 137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
rubidium 1b507dcf66 (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 782ec1bbff (svn r20106) -Fix (r5999): Engine and vehicle age were clamped at 0xFFFF, though there are 32bit available. 14 years ago
frosch 2eb1e2564b (svn r19879) -Codechange: Also hide invalid engines from purchase lists. 14 years ago
yexo f8e1732e6d (svn r19660) -Feature: [NewGRF] support cb36 for aircraft speed also in the build menu 14 years ago
terkhen e4bb3f80b7 (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 f27186e617 (svn r19347) -Add: Vehicle GUI now shows power, weight and tractive effort for road vehicles. 15 years ago
frosch 89e7d3bd2b (svn r19218) -Feature: [NewGRF] Add CB36 support for aircraft properties 0F and 11. (Eddi) 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago