summaryrefslogtreecommitdiff
path: root/src/newgrf_engine.cpp
AgeCommit message (Collapse)Author
2012-06-28(svn r24360) -Fix [FS#5224]: Ship-specific 80+x variables were missing for ↵frosch
unknown reason. (Hirundo)
2012-06-07(svn r24330) -Fix (r24321): Do not use the vehicle list order changes from ↵frosch
the previous savegames, but only ever from the current one.
2012-06-03(svn r24321) -Change/Fix [FS#4254]: [NewGRF] Group vehicles in the purchase ↵frosch
list properly by source GRF, but also consider engine GRFID overrides.
2012-05-14(svn r24246) -Add [FS#5052-ish]: [NewGRF] Variable with the current max ↵michi_cc
speed for vehicles.
2012-02-19(svn r23965) -Fix [FS#5070]: Refittability should never depend on the ↵frosch
current capacity of a vehicle.
2012-01-03(svn r23748) -Fix: Make vehicle variables A8 and A9 always return 0. ↵frosch
Returning cur_image is a potential desyncer due to Action1 in static NewGRFs.
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-15(svn r23526) -Codechange: unify cargos vs cargoesrubidium
2011-12-12(svn r23503) -Fix (r23143): Desync debug wants to resolve vehicle variables ↵frosch
of vehicles without NewGRF. So, let it.
2011-12-12(svn r23502) -Fix (r23143): Vehicle var 42 used a cargo translation table of ↵frosch
the wrong GRF.
2011-11-15(svn r23231) -Fix: [NewGRF] Make train var 0xF3 consistent with TTDPatch.michi_cc
2011-11-09(svn r23174) -Codechange: Deduplicate code between GetEngineProperty() and ↵frosch
GetVehicleProperty().
2011-11-08(svn r23156) -Change: [NewGRF] Clamp height in aircraft variable 44.frosch
2011-11-08(svn r23143) -Change: [NewGRF v8] Return the translated cargobit in vehicle ↵frosch
var 42.
2011-11-08(svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x ↵frosch
variables (using var 7B). Currently most useful for vehicle var 60.
2011-11-01(svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to ↵frosch
draw different sprites on the map and in various GUIs.
2011-11-01(svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and ↵frosch
Vehicle to simplify code.
2011-11-01(svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code.frosch
2011-10-31(svn r23068) -Add: [NewGRF] Long date of last service for vehicles, also ↵michi_cc
available in the purchase list.
2011-10-04(svn r22998) -Add [FS#2521]: [NewGRF] Act2 var 0x62 to get ↵michi_cc
curvature/position difference to the n-th vehicle in vehicle chain.
2011-10-04(svn r22997) -Feature: [NewGRF] Allow access to other vehicles in the ↵michi_cc
vehicle chain in VarAction 2.
2011-09-19(svn r22946) -Fix [FS#4781]: [NewGRF] Crash when accessing vehicle var 44 ↵frosch
for a non-front aircraft.
2011-08-27(svn r22848) -Add: The missing bits in station variable 43.frosch
2011-07-04(svn r22635) -Fix: Correctly reseed random bits of industries and industry ↵frosch
tiles.
2011-07-04(svn r22634) -Codechange: Deduplicate some code. Note that zeroing 'count' ↵frosch
is intentionally removed, it is only used together with 'scope'.
2011-01-31(svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index ↵frosch
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.
2010-12-14(svn r21521) -Codechange: Unify some cached values that were present in both ↵terkhen
road vehicles and trains.
2010-12-14(svn r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache.terkhen
2010-12-14(svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class.terkhen
2010-11-27(svn r21338) -Fix [FS#4272]: bogus cache mismatch warnings with desync ↵rubidium
debugging because some cache was invalidated but never reset
2010-11-15(svn r21198) -Fix: don't call variables properties in debug messagesrubidium
2010-11-06(svn r21099) -Codechange: Store road vehicle max speed in the vehicle cache.terkhen
2010-11-06(svn r21098) -Codechange: Ships now store their max speed in the cache ↵terkhen
instead of recalculating it every time.
2010-11-06(svn r21097) -Codechange: Unify cached max speed for all vehicle types.terkhen
2010-11-06(svn r21095) -Codechange: Use a function to convert aircraft speed to old units.terkhen
2010-11-06(svn r21091) -Codechange: Add bit constants for checking NewGRFCache validity.terkhen
2010-11-06(svn r21090) -Codechange: Rename VehicleCache to NewGRFCache.terkhen
2010-09-13(svn r20800) -Fix: [NewGRF] clamp some more vehicle variablesyexo
2010-09-13(svn r20799) -Fix: [NewGRF] clamp vehicle var 0xC2 (max age) to uint16 (Hirundo)yexo
2010-09-12(svn r20792) -Fix (r8973): [NewGRF] vehicle vars 0x98 and 0xB4 (max speed ↵yexo
and current speed) used the wrong unit for aircraft (Hirundo)
2010-08-26(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to ↵rubidium
some headers
2010-08-23(svn r20605) -Fix [FS#4063]: let NewGRFs var43 var (information about ↵rubidium
liveries) for vehicles not be influenced by the local setting determining whether to show liveries or not.
2010-08-15(svn r20502) -Fix (r12330): VRF_POWEREDWAGON is part of train flags, not ↵frosch
vehicle_flags.
2010-08-13(svn r20477) -Codechange: remove some airport-related constants/functions ↵yexo
and add some documentation
2010-08-10(svn r20437) -Codechange: lets Engines use GRFFilePropsBase as wellrubidium
2010-08-01(svn r20283) -Codechange: Unify start of doygen comments.frosch
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-21(svn r20199) -Fix [FS#3964]: NewGRFs that defined a vehicle without either ↵yexo
loaded or loading groups could crash OpenTTD
2010-07-17(svn r20175) -Change: [NewGRF] Adapt vehicle var FE bit 6 to new railtypes.frosch
2010-07-16(svn r20165) -Feature: [NewGRF] Information (var 4A) about the current ↵michi_cc
railtype a train is on.