summaryrefslogtreecommitdiff
path: root/src/engine.cpp
AgeCommit message (Collapse)Author
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.
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-22(svn r17616) -Codechange [FS#3222]: Enumerize properties used in callback ↵frosch
0x36. Based on Terkhen's work.
2009-09-18(svn r17567) -Fix: some doxygen warningsrubidium
2009-09-14(svn r17534) -Codechange: unify the naming of callback masks/flagsrubidium
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-08-30(svn r17327) -Codechange: Allow external use of GetEngineCategoryName().alberth
2009-08-27(svn r17296) -Fix/feature [FS#3152]: allow rail wagons to be build when only ↵rubidium
el rail engines are available
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-17(svn r17209) -Codechange: Move cargo_type from (Rail|Road|Ship)VehicleInfo ↵frosch
to EngineInfo.
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-08-04(svn r17062) -Change: unify the naming of some 125 stringsrubidium
2009-07-23(svn r16929) -Change: There is no point in not randomising engine ↵frosch
introduction-date before 1922. Instead disable the randomisation for the first two years after game-start, so you do not have to wait for the first engine.
2009-07-22(svn r16921) -Codechange: make it more clear what strings are related to ↵rubidium
road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
2009-07-13(svn r16814) -Codechange: make IsNormalAircraft() member of Aircraftsmatz
2009-07-13(svn r16813) -Codechange: make IsEngineCountable() member of Vehiclesmatz
2009-06-24(svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to ↵yexo
prevent unnecessary inclusion newgrf.h anyway
2009-06-17(svn r16586) -Codechange: don't store lifelength in the savegame; it can ↵rubidium
easily be calculated, it isn't used often and now changing extend_vehicle_life in game has some effect.