summaryrefslogtreecommitdiff
path: root/src/engine.cpp
AgeCommit message (Collapse)Author
2011-11-03(svn r23083) -Fix: run StartupEngines() if NewGRFs changed during loading a ↵yexo
savegame, just like it's running when NewGRFs are changed during a game
2011-11-01(svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and ↵frosch
Vehicle to simplify code.
2011-10-03(svn r22977) -Codechange: Rename SetCachedEngineCounts() to ↵frosch
GroupStatistics::UpdateAfterLoad().
2011-10-03(svn r22976) -Codechange: Split group statistics into separate struct.frosch
2011-10-03(svn r22975) -Codechange: Do not store Group::num_vehicle in the savegame, ↵frosch
but compute it like num_engines on load.
2011-08-03(svn r22713) -Feature: [NewGRF] Per vehicle custom cargo ageing period.michi_cc
2011-07-27(svn r22690) -Fix: [NewGRF] Aircrafts defined with IDs above the default ↵frosch
aircrafts always defaulted to passenger cargo.
2011-05-02(svn r22411) -Document: another bunch of bitsrubidium
2011-03-13(svn r22250) -Cleanup (r16378): Engines poolitems do not need a flag for ↵frosch
validness anymore. The pool knows that on its own.
2011-03-13(svn r22239) -Doc: Further engine doxyment additions.alberth
2011-02-08(svn r22025) -Fix: verify there is enough space in the pool when creating ↵smatz
new pool items while loading old savegames
2011-02-05(svn r21987) -Fix: Make news items, engine previews and AI preview events ↵frosch
deal with no longer existing Engine items after resetting the pool.
2011-02-05(svn r21986) -Codechange: Add helper function to test whether an engine is ↵frosch
still associated to a GRF.
2011-02-05(svn r21975) -Add: console command to reset the engine pool. It removes the ↵frosch
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.
2011-01-18(svn r21842) -Feature [FS#4393]: [NewGRF] Introduction dates/required types ↵rubidium
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
2011-01-18(svn r21841) -Feature: [NewGRF] Allow to define other railtypes that should ↵rubidium
be introduced if a particular rail type is introduced, e.g. to make sure slow rail is introduced when fast rail gets introduced
2010-12-28(svn r21652) -Cleanup: one semicolon is enoughsmatz
2010-12-05(svn r21410) -Codechange: limit engine name by amount of characters, not bytesrubidium
2010-12-04(svn r21374) -Fix: Purchases lists were not invalidated when using ↵planetmaker
'resetengines'
2010-11-18(svn r21240) -Feature: [NewGRF] Implement action0 visual effect properties ↵rubidium
for ships and RVs (Hirundo)
2010-11-18(svn r21239) -Codechange/Fix: [NewGRF] Use 0xFF instead of 0 as default ↵rubidium
value for visual effect. This makes setting train prop 22 to 0 actually work (Hirundo)
2010-11-06(svn r21101) -Doc: Additions and clarifications of doxygen commentsplanetmaker
2010-11-06(svn r21100) -Feature [NewGRF]: Add CB36 support for road vehicle property ↵terkhen
0x15 (Speed).
2010-10-30(svn r21058) -Feature [NewGRF]: Add CB36 support for road vehicle properties ↵terkhen
0x13 (Power), 0x14 (Weight) and 0x18 (Tractive effort).
2010-09-28(svn r20856) -Fix [FS#4141]: Road/water toolbars did not get updated when ↵terkhen
the first vehicle of their type becomes available.
2010-08-10(svn r20437) -Codechange: lets Engines use GRFFilePropsBase as wellrubidium
2010-08-02(svn r20318) -Doc: Doxygen additions.alberth
2010-08-02(svn r20317) -Codechange: Move variable declaration to their first use.alberth
2010-08-01(svn r20286) -Codechange: Unify end of doxygen comments.frosch
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-07-24(svn r20211) -Codechange: Indented code should have curly braces around it.alberth
2010-07-16(svn r20164) -Fix [FS#3870]: inconsistencies w.r.t. to km/h vs km-ish/h as ↵rubidium
"base" unit for aircraft speeds
2010-07-10(svn r20106) -Fix (r5999): Engine and vehicle age were clamped at 0xFFFF, ↵frosch
though there are 32bit available.
2010-05-22(svn r19879) -Codechange: Also hide invalid engines from purchase lists.frosch
2010-04-17(svn r19660) -Feature: [NewGRF] support cb36 for aircraft speed also in the ↵yexo
build menu
2010-03-06(svn r19360) -Add: [NewGRF] When the tractive effort of a road vehicle is ↵terkhen
not set, use a default value of 4C.
2010-03-06(svn r19347) -Add: Vehicle GUI now shows power, weight and tractive effort ↵terkhen
for road vehicles.
2010-02-22(svn r19218) -Feature: [NewGRF] Add CB36 support for aircraft properties 0F ↵frosch
and 11. (Eddi)
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header
2009-11-28(svn r18330) -Cleanup: remove some unneeded includesrubidium
2009-11-24(svn r18268) -Feature: [NewGRF] Make price base multipliers related to ↵frosch
vehicles only apply to the GRF locally, if it defines engines of that type itself.
2009-11-24(svn r18266) -Codechange: Add a function to compute prices from price base ↵frosch
and cost factor and use it consistently for vehicle purchase, running cost, and refit cost.
2009-11-09(svn r18027) -Codechange: make some unneededly global variables static and ↵rubidium
remove some unused variables
2009-11-08(svn r18011) -Feature(ette): [NewGRF] CB 36 for roadvehicle property 09 ↵frosch
'running cost factor'.
2009-11-07(svn r18005) -Codechange: Convert the Prices struct into an array and an enum.frosch
2009-10-31(svn r17926) -Fix (r9352): Make the decision whether aircraft carry mail ↵frosch
consistent. Now always the cargo class decides.
2009-10-28(svn r17897) -Fix [FS#3255]: CB15 and CB36 (capacity) were not always called ↵frosch
when they should. -Codechange: Move capacity calculation to a single function for all vehicle types, so the behaviour can be kept consistent easier.
2009-10-10(svn r17758) -Revert (r17208): Use assert_compile() if you cannot count.frosch
-Fix (r7326): Powernaut Helicopter got wrong 'load amount'. -Fix (r2639): Call the Evil by its name.
2009-10-06(svn r17725) -Codechange: Reduce usage of EngInfo and XxxVehInfo, esp. when ↵frosch
a Engine * is already present.
2009-10-04(svn r17700) -Codechange: Integrate ShipVehicleInfo::refittable into ↵frosch
EngineInfo::refit_mask during initialisation.