alberth
7b18c31f37
(svn r24691) -Codechange: Add resolver classes for vehicles.
12 years ago
alberth
69e07c3e00
(svn r24691) -Codechange: Add resolver classes for vehicles.
12 years ago
alberth
6a619b40d5
(svn r24678) -Codechange: Introduce scope resolver base class and prepare for adding derived classes.
12 years ago
alberth
438495b433
(svn r24678) -Codechange: Introduce scope resolver base class and prepare for adding derived classes.
12 years ago
frosch
f7ca5d29ed
(svn r24528) -Fix: [NewGRF] RandomAction 84 should interpret register 100 as signed.
12 years ago
frosch
38f265c083
(svn r24528) -Fix: [NewGRF] RandomAction 84 should interpret register 100 as signed.
12 years ago
frosch
a9167a52db
(svn r24527) -Add: [NewGRF] Allow resolving var 5F via vehicle var 61.
12 years ago
frosch
e37e2d92a6
(svn r24527) -Add: [NewGRF] Allow resolving var 5F via vehicle var 61.
12 years ago
michi_cc
a763497cd1
(svn r24371) -Add: [NewGRF] Allow vehicle variable 61 for callback 2D (recolour) and re-randomisation.
12 years ago
michi_cc
6f88071942
(svn r24371) -Add: [NewGRF] Allow vehicle variable 61 for callback 2D (recolour) and re-randomisation.
12 years ago
frosch
270554f95f
(svn r24360) -Fix [FS#5224]: Ship-specific 80+x variables were missing for unknown reason. (Hirundo)
12 years ago
frosch
ee25344a6d
(svn r24360) -Fix [FS#5224]: Ship-specific 80+x variables were missing for unknown reason. (Hirundo)
12 years ago
frosch
268e4d65c9
(svn r24330) -Fix (r24321): Do not use the vehicle list order changes from the previous savegames, but only ever from the current one.
12 years ago
frosch
86b013f872
(svn r24330) -Fix (r24321): Do not use the vehicle list order changes from the previous savegames, but only ever from the current one.
12 years ago
frosch
741f0a15b6
(svn r24321) -Change/Fix [FS#4254]: [NewGRF] Group vehicles in the purchase list properly by source GRF, but also consider engine GRFID overrides.
13 years ago
frosch
8ec00c4cc9
(svn r24321) -Change/Fix [FS#4254]: [NewGRF] Group vehicles in the purchase list properly by source GRF, but also consider engine GRFID overrides.
13 years ago
michi_cc
d561bfe4db
(svn r24246) -Add [FS#5052-ish]: [NewGRF] Variable with the current max speed for vehicles.
13 years ago
michi_cc
ce5c936b07
(svn r24246) -Add [FS#5052-ish]: [NewGRF] Variable with the current max speed for vehicles.
13 years ago
frosch
fb9562c83a
(svn r23965) -Fix [FS#5070]: Refittability should never depend on the current capacity of a vehicle.
13 years ago
frosch
5167f2be29
(svn r23965) -Fix [FS#5070]: Refittability should never depend on the current capacity of a vehicle.
13 years ago
frosch
e3e7375c6d
(svn r23748) -Fix: Make vehicle variables A8 and A9 always return 0. Returning cur_image is a potential desyncer due to Action1 in static NewGRFs.
13 years ago
frosch
bc9c8db287
(svn r23748) -Fix: Make vehicle variables A8 and A9 always return 0. Returning cur_image is a potential desyncer due to Action1 in static NewGRFs.
13 years ago
rubidium
d5eeab43b7
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
13 years ago
rubidium
6d6be50ae0
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
13 years ago
rubidium
24263638bf
(svn r23526) -Codechange: unify cargos vs cargoes
13 years ago
rubidium
3d88c74389
(svn r23526) -Codechange: unify cargos vs cargoes
13 years ago
frosch
948f77eac3
(svn r23503) -Fix (r23143): Desync debug wants to resolve vehicle variables of vehicles without NewGRF. So, let it.
13 years ago
frosch
686f51d810
(svn r23503) -Fix (r23143): Desync debug wants to resolve vehicle variables of vehicles without NewGRF. So, let it.
13 years ago
frosch
dea03342aa
(svn r23502) -Fix (r23143): Vehicle var 42 used a cargo translation table of the wrong GRF.
13 years ago
frosch
44dc83b73f
(svn r23502) -Fix (r23143): Vehicle var 42 used a cargo translation table of the wrong GRF.
13 years ago
michi_cc
d7b2bd7aa5
(svn r23231) -Fix: [NewGRF] Make train var 0xF3 consistent with TTDPatch.
13 years ago
michi_cc
d7d032f70a
(svn r23231) -Fix: [NewGRF] Make train var 0xF3 consistent with TTDPatch.
13 years ago
frosch
80e5c79bd6
(svn r23174) -Codechange: Deduplicate code between GetEngineProperty() and GetVehicleProperty().
13 years ago
frosch
50b480b959
(svn r23174) -Codechange: Deduplicate code between GetEngineProperty() and GetVehicleProperty().
13 years ago
frosch
d4d40fc8d7
(svn r23156) -Change: [NewGRF] Clamp height in aircraft variable 44.
13 years ago
frosch
8a2342a5e6
(svn r23156) -Change: [NewGRF] Clamp height in aircraft variable 44.
13 years ago
frosch
1ab369c1d8
(svn r23143) -Change: [NewGRF v8] Return the translated cargobit in vehicle var 42.
13 years ago
frosch
449d679230
(svn r23143) -Change: [NewGRF v8] Return the translated cargobit in vehicle var 42.
13 years ago
frosch
46e77ee24f
(svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x variables (using var 7B). Currently most useful for vehicle var 60.
13 years ago
frosch
1ad7239247
(svn r23138) -Feature: [NewGRF] Allow passing 32bit parameters to 60+x variables (using var 7B). Currently most useful for vehicle var 60.
13 years ago
frosch
6e61fee028
(svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs.
13 years ago
frosch
bbc3409942
(svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs.
13 years ago
frosch
ad38f27242
(svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code.
13 years ago
frosch
acc3c75951
(svn r23075) -Codechange: Add GetGRF() and GetGRFID() methods to Engine and Vehicle to simplify code.
13 years ago
frosch
e57ba5d0ae
(svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code.
13 years ago
frosch
72cd855978
(svn r23074) -Codechange: Add Vehicle::GetEngine() to simplify code.
13 years ago
michi_cc
bc61dc938d
(svn r23068) -Add: [NewGRF] Long date of last service for vehicles, also available in the purchase list.
13 years ago
michi_cc
a6713244df
(svn r23068) -Add: [NewGRF] Long date of last service for vehicles, also available in the purchase list.
13 years ago
michi_cc
f6340254ae
(svn r22998) -Add [FS#2521]: [NewGRF] Act2 var 0x62 to get curvature/position difference to the n-th vehicle in vehicle chain.
13 years ago
michi_cc
12e28de818
(svn r22998) -Add [FS#2521]: [NewGRF] Act2 var 0x62 to get curvature/position difference to the n-th vehicle in vehicle chain.
13 years ago
michi_cc
1dcf0c5233
(svn r22997) -Feature: [NewGRF] Allow access to other vehicles in the vehicle chain in VarAction 2.
13 years ago
michi_cc
3cb1dcf31c
(svn r22997) -Feature: [NewGRF] Allow access to other vehicles in the vehicle chain in VarAction 2.
13 years ago
frosch
91f0eedbff
(svn r22946) -Fix [FS#4781]: [NewGRF] Crash when accessing vehicle var 44 for a non-front aircraft.
13 years ago
frosch
427dd736ae
(svn r22946) -Fix [FS#4781]: [NewGRF] Crash when accessing vehicle var 44 for a non-front aircraft.
13 years ago
frosch
92b69aa8f8
(svn r22848) -Add: The missing bits in station variable 43.
13 years ago
frosch
c6e29a5b89
(svn r22848) -Add: The missing bits in station variable 43.
13 years ago
frosch
0f8065fef4
(svn r22635) -Fix: Correctly reseed random bits of industries and industry tiles.
13 years ago
frosch
8930337aae
(svn r22635) -Fix: Correctly reseed random bits of industries and industry tiles.
13 years ago
frosch
e2a5d69cb7
(svn r22634) -Codechange: Deduplicate some code. Note that zeroing 'count' is intentionally removed, it is only used together with 'scope'.
13 years ago
frosch
8b18292a2e
(svn r22634) -Codechange: Deduplicate some code. Note that zeroing 'count' is intentionally removed, it is only used together with 'scope'.
13 years ago
frosch
7c04ea586d
(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
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
f69d280f14
(svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains.
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
74c061c29a
(svn r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache.
14 years ago
terkhen
12c86a1391
(svn r21518) -Codechange: Rename AccelerationCache to GroundVehicleCache.
14 years ago
terkhen
47c9189002
(svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class.
14 years ago
terkhen
79e2b3153d
(svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class.
14 years ago
rubidium
aeae689dc4
(svn r21338) -Fix [FS#4272]: bogus cache mismatch warnings with desync debugging because some cache was invalidated but never reset
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
878a06dd9a
(svn r21198) -Fix: don't call variables properties in debug messages
14 years ago
rubidium
a6a2fbd937
(svn r21198) -Fix: don't call variables properties in debug messages
14 years ago
terkhen
25e638adcb
(svn r21099) -Codechange: Store road vehicle max speed in the vehicle cache.
14 years ago
terkhen
18e3a3ddfc
(svn r21099) -Codechange: Store road vehicle max speed in the vehicle cache.
14 years ago
terkhen
79ab8cb571
(svn r21098) -Codechange: Ships now store their max speed in the cache instead of recalculating it every time.
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
ca755e983c
(svn r21097) -Codechange: Unify cached max speed for all vehicle types.
14 years ago
terkhen
c8a56f17f8
(svn r21097) -Codechange: Unify cached max speed for all vehicle types.
14 years ago
terkhen
9dbd35a2ae
(svn r21095) -Codechange: Use a function to convert aircraft speed to old units.
14 years ago
terkhen
cfac2ced69
(svn r21095) -Codechange: Use a function to convert aircraft speed to old units.
14 years ago
terkhen
78e8a17729
(svn r21091) -Codechange: Add bit constants for checking NewGRFCache validity.
14 years ago
terkhen
d699c4a345
(svn r21091) -Codechange: Add bit constants for checking NewGRFCache validity.
14 years ago
terkhen
36c5f3c97c
(svn r21090) -Codechange: Rename VehicleCache to NewGRFCache.
14 years ago
terkhen
8eb3d653da
(svn r21090) -Codechange: Rename VehicleCache to NewGRFCache.
14 years ago
yexo
ed92106135
(svn r20800) -Fix: [NewGRF] clamp some more vehicle variables
14 years ago
yexo
aaf370dce2
(svn r20800) -Fix: [NewGRF] clamp some more vehicle variables
14 years ago
yexo
340a1ff111
(svn r20799) -Fix: [NewGRF] clamp vehicle var 0xC2 (max age) to uint16 (Hirundo)
14 years ago
yexo
ce649b0a73
(svn r20799) -Fix: [NewGRF] clamp vehicle var 0xC2 (max age) to uint16 (Hirundo)
14 years ago
yexo
78a2b26ea3
(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
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
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
64264317a3
(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
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
b5cf9bc034
(svn r20502) -Fix (r12330): VRF_POWEREDWAGON is part of train flags, not vehicle_flags.
14 years ago
frosch
c52f42ea21
(svn r20502) -Fix (r12330): VRF_POWEREDWAGON is part of train flags, not vehicle_flags.
14 years ago
yexo
f1d3b66156
(svn r20477) -Codechange: remove some airport-related constants/functions and add some documentation
14 years ago
yexo
e4117dbfb7
(svn r20477) -Codechange: remove some airport-related constants/functions and add some documentation
14 years ago
rubidium
b5d5a4e159
(svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well
14 years ago
rubidium
29b489a055
(svn r20437) -Codechange: lets Engines use GRFFilePropsBase as well
14 years ago
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
rubidium
8c85b4ce3d
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
yexo
c5f12c337d
(svn r20199) -Fix [FS#3964]: NewGRFs that defined a vehicle without either loaded or loading groups could crash OpenTTD
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
fb0ac38f3d
(svn r20175) -Change: [NewGRF] Adapt vehicle var FE bit 6 to new railtypes.
14 years ago
frosch
f87e9c21f2
(svn r20175) -Change: [NewGRF] Adapt vehicle var FE bit 6 to new railtypes.
14 years ago
michi_cc
3ad7f8b455
(svn r20165) -Feature: [NewGRF] Information (var 4A) about the current railtype a train is on.
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
782ec1bbff
(svn r20106) -Fix (r5999): Engine and vehicle age were clamped at 0xFFFF, though there are 32bit available.
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
a70fd540fc
(svn r19814) -Codechange: give some more unnamed enums a name, in case they consisted of unrelated values use static const (u)int
15 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
15 years ago
peter1138
55d227ef8b
(svn r19782) -Fix [FS#3828]: NULL pointer deference when testing relative scope *action2 on an unbuilt engine.
15 years ago
peter1138
92042c6237
(svn r19782) -Fix [FS#3828]: NULL pointer deference when testing relative scope *action2 on an unbuilt engine.
15 years ago
frosch
f292a2274a
(svn r19761) -Fix: [NewGRF] Vehicle var 43 missed AI information in purchase list.
15 years ago
frosch
cf0a20863f
(svn r19761) -Fix: [NewGRF] Vehicle var 43 missed AI information in purchase list.
15 years ago
rubidium
5f39601d0c
(svn r19707) -Add: helper functions to instantiate/fill ResolverObjects
15 years ago
rubidium
1da0086a45
(svn r19707) -Add: helper functions to instantiate/fill ResolverObjects
15 years ago
yexo
22a27d3b62
(svn r19455) -Codechange: split all airport information in Station to a seperate class
15 years ago
yexo
c4a88ce022
(svn r19455) -Codechange: split all airport information in Station to a seperate class
15 years ago
terkhen
544b9e1f5d
(svn r19338) -Codechange: Move the acceleration cache to GroundVehicle.
15 years ago
terkhen
e4a5a556b4
(svn r19338) -Codechange: Move the acceleration cache to GroundVehicle.
15 years ago
yexo
446372fe9f
(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
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
d40e5792ee
(svn r18935) -Fix [FS#3551] (r18764): value of variables 90 and 91 weren't what NARS expects
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
9467b7c6d6
(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
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
ad8d6e8dd2
(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
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
3cb949a17d
(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up including of newgrf_cargo.h
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
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
frosch
8c7bb55da2
(svn r17671) -Codechange: Move ResolverObject::info_view into u.vehicle as it is only needed for them.
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
b6156da5e9
(svn r17616) -Codechange [FS#3222]: Enumerize properties used in callback 0x36. Based on Terkhen's work.
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
4db98357ea
(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
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
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
frosch
12ea92a257
(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
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
8718babe90
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
15 years ago
smatz
1f29e38b83
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
15 years ago
smatz
1e1f0ab2cf
(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
15 years ago
smatz
d86e17d65a
(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
15 years ago
smatz
378d01f2f4
(svn r16718) -Codechange: make IsFreeWagon() member of Train
15 years ago
smatz
ecfaa0564d
(svn r16718) -Codechange: make IsFreeWagon() member of Train
15 years ago
yexo
b00726a5d2
(svn r16647) -Codechange: remove newgrf.h include from newgrf_engine.h to prevent unnecessary inclusion newgrf.h anyway
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
f6a4d61cca
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
15 years ago
smatz
8343340acb
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
15 years ago
smatz
54cbd17bd8
(svn r16634) -Codechange: use Company::IsHumanID() instead of IsHumanCompany()
15 years ago
smatz
22cf8d8480
(svn r16634) -Codechange: use Company::IsHumanID() instead of IsHumanCompany()
15 years ago
yexo
2c82d10226
(svn r16615) -Fix (r16613): 0x10 != 2
16 years ago
yexo
2aeaa7a11a
(svn r16615) -Fix (r16613): 0x10 != 2
16 years ago
yexo
3531315322
(svn r16613) -Fix [NewGRF]: some of the var action 2 80+ variables contained wrong results due to OpenTTD codechanges
16 years ago
yexo
548a605263
(svn r16613) -Fix [NewGRF]: some of the var action 2 80+ variables contained wrong results due to OpenTTD codechanges
16 years ago
smatz
af85994f7f
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
16 years ago
smatz
0c10006907
(svn r16527) -Codechange: use static member functions instead of simple casts when converting Vehicle to specialised vehicle types. Includes safety check
16 years ago
frosch
6e06b592ad
(svn r16480) -Fix (r15617): Invalidate newgrf variable caches of more vehicles in more places. Esp. they were only invalidated for trains.
16 years ago
frosch
9853c0dc22
(svn r16480) -Fix (r15617): Invalidate newgrf variable caches of more vehicles in more places. Esp. they were only invalidated for trains.
16 years ago
frosch
bec5f3f11b
(svn r16478) -Fix (r15378): Determining most common (sub-)cargo-type was broken due to someone confusing similiary named variables.
16 years ago
frosch
c64fdcbef2
(svn r16478) -Fix (r15378): Determining most common (sub-)cargo-type was broken due to someone confusing similiary named variables.
16 years ago
rubidium
2832d69272
(svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts.
16 years ago
rubidium
168ae6f7e2
(svn r16422) -Codechange: use const_cast for removing const and warn when const is (accidentally?) removed using C-style casts.
16 years ago
rubidium
c496a3e014
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
16 years ago
rubidium
0d99b6c71c
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
16 years ago
rubidium
846382a0f3
(svn r16402) -Codechange: make Resolve a function of SpriteGroup
16 years ago
rubidium
f2317d0d9d
(svn r16402) -Codechange: make Resolve a function of SpriteGroup
16 years ago
rubidium
730b411878
(svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses instead of using a big union
16 years ago
rubidium
f490394aa8
(svn r16396) -Codechange: split NewGRF spritegroup into multiple subclasses instead of using a big union
16 years ago
rubidium
cd382b28a3
(svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
16 years ago
rubidium
6237fe1462
(svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
16 years ago
rubidium
4c0542c17f
(svn r16393) -Codechange: move VehicleRail to Train.
16 years ago
rubidium
da5661a0c8
(svn r16393) -Codechange: move VehicleRail to Train.
16 years ago
rubidium
6350648a6c
(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train
16 years ago
rubidium
c4b627af42
(svn r16392) -Codechange: move some variables (the ones that aren't caches) from VehicleRail to Train
16 years ago
rubidium
1324100d69
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
16 years ago
rubidium
80e94b9bb1
(svn r16391) -Codechange: use Train instead of Vehicle where appropriate.
16 years ago
rubidium
489253b630
(svn r16390) -Codechange: move u.road to RoadVehicle.
16 years ago
rubidium
7a37220881
(svn r16390) -Codechange: move u.road to RoadVehicle.
16 years ago
rubidium
4ae19b7451
(svn r16388) -Codechange: move u.air to Aircraft
16 years ago
rubidium
c882248348
(svn r16388) -Codechange: move u.air to Aircraft
16 years ago
rubidium
1e853b1226
(svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriate
16 years ago
rubidium
ada3067960
(svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriate
16 years ago
smatz
0c10daa243
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
871107f529
(svn r16327) -Codechange: replace IsValidPoolItemID(index) by PoolItem::IsValidID(index)
16 years ago
smatz
d495dc5dbc
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
smatz
6221d74644
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
smatz
ce7dff4acc
(svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
...
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
16 years ago
smatz
f5316c5cbd
(svn r16269) -Codechange: use gcc's ability to check parameters sent to printf-like functions
...
-Fix: wrong number of parameters or wrong parameter types sent to printf-like functions at several places
16 years ago
peter1138
5f57ea7198
(svn r15739) -Codechange: Expose GRF ID of engines in var action property 0x25.
16 years ago
peter1138
5df06384d3
(svn r15739) -Codechange: Expose GRF ID of engines in var action property 0x25.
16 years ago
rubidium
c3e87f345d
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago
rubidium
b25a4f8231
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
16 years ago