frosch
a97d52a29a
(svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index 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.
14 years ago
terkhen
48b7916458
(svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains.
14 years ago
terkhen
12c86a1391
(svn r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache.
14 years ago
terkhen
79e2b3153d
(svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class.
14 years ago
rubidium
b46e57d364
(svn r21338) -Fix [FS#4272]: bogus cache mismatch warnings with desync debugging because some cache was invalidated but never reset
14 years ago
rubidium
a6a2fbd937
(svn r21198) -Fix: don't call variables properties in debug messages
14 years ago
terkhen
18e3a3ddfc
(svn r21099) -Codechange: Store road vehicle max speed in the vehicle cache.
14 years ago
terkhen
25d1b2f54b
(svn r21098) -Codechange: Ships now store their max speed in the cache instead of recalculating it every time.
14 years ago
terkhen
c8a56f17f8
(svn r21097) -Codechange: Unify cached max speed for all vehicle types.
14 years ago
terkhen
cfac2ced69
(svn r21095) -Codechange: Use a function to convert aircraft speed to old units.
14 years ago
terkhen
d699c4a345
(svn r21091) -Codechange: Add bit constants for checking NewGRFCache validity.
14 years ago
terkhen
8eb3d653da
(svn r21090) -Codechange: Rename VehicleCache to NewGRFCache.
14 years ago
yexo
aaf370dce2
(svn r20800) -Fix: [NewGRF] clamp some more vehicle variables
14 years ago
yexo
ce649b0a73
(svn r20799) -Fix: [NewGRF] clamp vehicle var 0xC2 (max age) to uint16 (Hirundo)
14 years ago
yexo
8fafaf3224
(svn r20792) -Fix (r8973): [NewGRF] vehicle vars 0x98 and 0xB4 (max speed and current speed) used the wrong unit for aircraft (Hirundo)
14 years ago
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
9d1145e50c
(svn r20605) -Fix [FS#4063]: let NewGRFs var43 var (information about liveries) for vehicles not be influenced by the local setting determining whether to show liveries or not.
14 years ago
frosch
c52f42ea21
(svn r20502) -Fix (r12330): VRF_POWEREDWAGON is part of train flags, not vehicle_flags.
14 years ago
yexo
e4117dbfb7
(svn r20477) -Codechange: remove some airport-related constants/functions and add some documentation
14 years ago
rubidium
29b489a055
(svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well
14 years ago
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
yexo
5ac645ac1f
(svn r20199) -Fix [FS#3964]: NewGRFs that defined a vehicle without either loaded or loading groups could crash OpenTTD
14 years ago
frosch
f87e9c21f2
(svn r20175) -Change: [NewGRF] Adapt vehicle var FE bit 6 to new railtypes.
14 years ago
michi_cc
2a3ec78d9f
(svn r20165) -Feature: [NewGRF] Information (var 4A) about the current railtype a train is on.
14 years ago
frosch
1055c2b0fd
(svn r20106) -Fix (r5999): Engine and vehicle age were clamped at 0xFFFF, though there are 32bit available.
14 years ago
rubidium
062dd0e24c
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
14 years ago
peter1138
92042c6237
(svn r19782) -Fix [FS#3828]: NULL pointer deference when testing relative scope *action2 on an unbuilt engine.
14 years ago
frosch
cf0a20863f
(svn r19761) -Fix: [NewGRF] Vehicle var 43 missed AI information in purchase list.
14 years ago
rubidium
1da0086a45
(svn r19707) -Add: helper functions to instantiate/fill ResolverObjects
14 years ago
yexo
c4a88ce022
(svn r19455) -Codechange: split all airport information in Station to a seperate class
14 years ago
terkhen
e4a5a556b4
(svn r19338) -Codechange: Move the acceleration cache to GroundVehicle.
15 years ago
yexo
3cda09170c
(svn r19299) -Codechange: store the most compatible ttd airport type in AirportSpec
...
-Fix: [NewGRF] return the ttd airport type in station var 0xF1
15 years ago
rubidium
c1c401b51b
(svn r18935) -Fix [FS#3551] (r18764): value of variables 90 and 91 weren't what NARS expects
15 years ago
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
rubidium
e4af35d316
(svn r18764) -Fix [FS#3422]: split the (un)load ticks counter and signal wait counter; sometimes they might get into eachother's way
15 years ago
frosch
79627b4f89
(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up including of newgrf_cargo.h
15 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
frosch
3863742c72
(svn r17671) -Codechange: Move ResolverObject::info_view into u.vehicle as it is only needed for them.
15 years ago
frosch
e261d8d9a0
(svn r17616) -Codechange [FS#3222]: Enumerize properties used in callback 0x36. Based on Terkhen's work.
15 years ago
rubidium
af457fc9fe
(svn r17552) -Codechange: rename load_unload_time_rem to something more generic as it's used for more than just load/unload. Also add some documentation about where it is used.
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
frosch
f129634f52
(svn r16867) -Feature(ette): Turn variable 0E/8E (vertical offset for trains in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables.
15 years ago
smatz
1f29e38b83
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
15 years ago
smatz
d86e17d65a
(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
15 years ago
smatz
ecfaa0564d
(svn r16718) -Codechange: make IsFreeWagon() member of Train
15 years ago
yexo
44c15e4196
(svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to prevent unnecessary inclusion newgrf.h anyway
15 years ago
smatz
8343340acb
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
15 years ago
smatz
22cf8d8480
(svn r16634) -Codechange: use Company::IsHumanID() instead of IsHumanCompany()
15 years ago
yexo
2aeaa7a11a
(svn r16615) -Fix (r16613): 0x10 != 2
15 years ago