summaryrefslogtreecommitdiff
path: root/src/newgrf_engine.cpp
AgeCommit message (Collapse)Author
2013-11-24(svn r26085) -Codechange: Pass ResolverObjects as reference instead of ↵frosch
pointer since they are never NULL.
2013-08-09(svn r25705) -Fix: a number of typos (inspired by ↵rubidium
90c920601c84975acb694f3673e2beb08b013753)
2013-04-13(svn r25185) -Fix [FS#5508]: Remove ambivalent functions CargoList::Empty() ↵frosch
and Count(), and replace them with VehicleCargoList::StoredCount(), TotalCount(), StationCargoList::AvailableCount() and TotalCount(). (fonsinchen)
2013-02-14(svn r24994) -Codechange: Replace access to service_interval with accessors ↵rubidium
(peter1138)
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-11-11(svn r24695) -Fix/Cleanup: Remove remaining (incorrect) usages of ↵frosch
ResolverObject::scope and count.
2012-11-10(svn r24693) -Doc: Add some doxymentation into the newgrf code.alberth
2012-11-10(svn r24692) -Cleanup: Cleanup final parts of the old resolver code.alberth
2012-11-10(svn r24691) -Codechange: Add resolver classes for vehicles.alberth
2012-11-10(svn r24678) -Codechange: Introduce scope resolver base class and prepare ↵alberth
for adding derived classes.
2012-09-16(svn r24528) -Fix: [NewGRF] RandomAction 84 should interpret register 100 as ↵frosch
signed.
2012-09-16(svn r24527) -Add: [NewGRF] Allow resolving var 5F via vehicle var 61.frosch
2012-07-02(svn r24371) -Add: [NewGRF] Allow vehicle variable 61 for callback 2D ↵michi_cc
(recolour) and re-randomisation.
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