summaryrefslogtreecommitdiff
path: root/src/newgrf_engine.cpp
AgeCommit message (Collapse)Author
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.
2010-07-10(svn r20106) -Fix (r5999): Engine and vehicle age were clamped at 0xFFFF, ↵frosch
though there are 32bit available.
2010-05-13(svn r19814) -Codechange: give some more unnamed enums a name, in case they ↵rubidium
consisted of unrelated values use static const (u)int
2010-05-10(svn r19782) -Fix [FS#3828]: NULL pointer deference when testing relative ↵peter1138
scope *action2 on an unbuilt engine.
2010-05-05(svn r19761) -Fix: [NewGRF] Vehicle var 43 missed AI information in purchase ↵frosch
list.
2010-04-24(svn r19707) -Add: helper functions to instantiate/fill ResolverObjectsrubidium
2010-03-18(svn r19455) -Codechange: split all airport information in Station to a ↵yexo
seperate class
2010-03-06(svn r19338) -Codechange: Move the acceleration cache to GroundVehicle.terkhen
2010-03-01(svn r19299) -Codechange: store the most compatible ttd airport type in ↵yexo
AirportSpec -Fix: [NewGRF] return the ttd airport type in station var 0xF1
2010-01-28(svn r18935) -Fix [FS#3551] (r18764): value of variables 90 and 91 weren't ↵rubidium
what NARS expects
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
2010-01-09(svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal ↵rubidium
wait counter; sometimes they might get into eachother's way
2009-11-05(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up ↵frosch
including of newgrf_cargo.h
2009-10-04(svn r17693) -Cleanup: remove some unneeded includesrubidium
2009-09-30(svn r17671) -Codechange: Move ResolverObject::info_view into u.vehicle as ↵frosch
it is only needed for them.
2009-09-22(svn r17616) -Codechange [FS#3222]: Enumerize properties used in callback ↵frosch
0x36. Based on Terkhen's work.
2009-09-15(svn r17552) -Codechange: rename load_unload_time_rem to something more ↵rubidium
generic as it's used for more than just load/unload. Also add some documentation about where it is used.
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-07-17(svn r16867) -Feature(ette): Turn variable 0E/8E (vertical offset for trains ↵frosch
in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables.
2009-07-16(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()smatz