rubidium
|
32926facf9
|
(svn r18270) -Codechange: split the code for finding a road stop to stop at into a seperate function
|
2009-11-24 14:19:21 +00:00 |
|
frosch
|
6ca8f6e380
|
(svn r18011) -Feature(ette): [NewGRF] CB 36 for roadvehicle property 09 'running cost factor'.
|
2009-11-08 13:02:05 +00:00 |
|
frosch
|
8df61c0fc0
|
(svn r17826) -Codechange: GetRoadVehLength() is only used in one file, make it static.
|
2009-10-20 19:55:09 +00:00 |
|
frosch
|
f3aacb8fe3
|
(svn r17725) -Codechange: Reduce usage of EngInfo and XxxVehInfo, esp. when a Engine * is already present.
|
2009-10-06 19:17:07 +00:00 |
|
smatz
|
c344ae2e1d
|
(svn r17688) -Fix (r17684): incorrect comments
|
2009-10-04 04:57:01 +00:00 |
|
frosch
|
12a814f487
|
(svn r17684) -Fix: tcache.first_engine and rcache.first_engine need to be set before first callback/sprite-resolving. For RV fronts it was missing at all, causing livery selection to fail.
|
2009-10-03 14:46:48 +00:00 |
|
rubidium
|
7fbc33dae1
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
2009-08-21 20:21:05 +00:00 |
|
frosch
|
e8c2992ae6
|
(svn r16872) -Codechange: Add RoadVehicle::GetDisplayImageWidth and simplify DrawRoadVehImage.
|
2009-07-18 12:34:19 +00:00 |
|
rubidium
|
4d14c1b534
|
(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
|
2009-07-02 09:06:15 +00:00 |
|
rubidium
|
61e735ba4c
|
(svn r16721) -Codechange: make Is/SetRoadVehicleFront, Is/Set/HasArticulatedPart member of RoadVehicle.
|
2009-07-02 08:59:27 +00:00 |
|
rubidium
|
2fc0cb3e76
|
(svn r16505) -Fix [FS#2951] (r16472): since g++ 4.4 the implicit (default) constructor will zero the whole class. This caused all vehicle indices to be 0, which causes all kinds of trouble.
|
2009-06-02 19:12:28 +00:00 |
|
smatz
|
8c11d612e4
|
(svn r16472) -Codechange: set vehicle type in SpecializedVehicle constructor instead of constructor of each vehicle type
|
2009-05-30 20:13:12 +00:00 |
|
smatz
|
faae8f0177
|
(svn r16445) -Codechange: update old comments (Yexo)
|
2009-05-26 23:24:34 +00:00 |
|
smatz
|
7ee882d03f
|
(svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types
|
2009-05-26 22:10:13 +00:00 |
|
rubidium
|
6237fe1462
|
(svn r16394) -Codechange: move (NewGRF) cache variables into a separate struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
|
2009-05-23 09:10:56 +00:00 |
|
rubidium
|
7a37220881
|
(svn r16390) -Codechange: move u.road to RoadVehicle.
|
2009-05-22 20:22:20 +00:00 |
|
rubidium
|
d37b840cf3
|
(svn r16389) -Codechange: use RoadVehicle instead of Vehicle where appropriate
|
2009-05-22 20:18:45 +00:00 |
|
rubidium
|
441011b782
|
(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.
|
2009-05-22 18:17:20 +00:00 |
|
smatz
|
b687ac51ee
|
(svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle was deleted
|
2009-05-22 13:53:14 +00:00 |
|
rubidium
|
0cfc402823
|
(svn r15374) -Codechange: remove a magic constant.
|
2009-02-06 15:39:34 +00:00 |
|
frosch
|
de9a6fc90b
|
(svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions.
|
2009-02-01 17:14:39 +00:00 |
|
rubidium
|
3663965f3e
|
(svn r14090) -Fix: the vehicle window of articulated road vehicles would show the clone/refit button when the vehicle was not completely stopped in the depot.
|
2008-08-17 11:12:56 +00:00 |
|
peter1138
|
a00371c8db
|
(svn r12924) -Feature: Introducing the so called 'engine pool' which primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.
|
2008-04-29 21:31:29 +00:00 |
|
smatz
|
9fc355fca5
|
(svn r12862) -Codechange: reduce code duplication for VehicleType -> WindowClass lookup
|
2008-04-24 09:55:20 +00:00 |
|
peter1138
|
5dcd689f56
|
(svn r12824) -Codechange: Standardise routines for drawing vehicle images, using correct types and less duplication.
|
2008-04-21 20:50:58 +00:00 |
|
rubidium
|
62bdc381e7
|
(svn r12657) -Codechange: add 'FindClosestDepot' to the vehicle class.
|
2008-04-11 08:14:43 +00:00 |
|
rubidium
|
bdd64495cd
|
(svn r12575) -Codechange: unduplicate Process*Orders for trains, ships and road vehicles.
|
2008-04-05 10:55:50 +00:00 |
|
rubidium
|
ef2be7d0fc
|
(svn r12490) -Codechange: rename engine.h to engine_func.h and remove unneeded inclusions of engine.h and/or replace them with engine_type.h.
|
2008-03-31 00:17:39 +00:00 |
|
peter1138
|
dda6cab17a
|
(svn r12209) -Fix: [NewGRF] Support using any base price for rail and road vehicles' running cost, and show running cost of wagons if they have it.
|
2008-02-21 19:09:10 +00:00 |
|
glx
|
525409b0fc
|
(svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) with an OnNewDay method in the Vehicle class
|
2008-02-01 22:02:14 +00:00 |
|
rubidium
|
b0ac283aec
|
(svn r11774) -Change: do not include variables.h in a header when it is not needed.
|
2008-01-07 00:57:19 +00:00 |
|
rubidium
|
384503e7d3
|
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
|
2007-12-27 13:35:39 +00:00 |
|
rubidium
|
9e9cfe6e59
|
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
|
2007-12-21 21:50:46 +00:00 |
|
rubidium
|
40b871410b
|
(svn r11068) -Codechange: remove Vehicle::HasFront as all vehicles have the Vehicle::first pointer correctly set.
|
2007-09-09 11:23:49 +00:00 |
|
rubidium
|
cb7eaff353
|
(svn r11003) -Codechange: replace Vehicle->next to Vehicle->Next() and Vehicle->SetNext() so we can trap instances that change a next pointer and (in the future) update the first/previous pointers based on that.
|
2007-08-30 13:03:56 +00:00 |
|
rubidium
|
a407d53d1b
|
(svn r11001) -Codechange: unify the way to determine whether a vehicle is in a depot.
|
2007-08-29 21:49:08 +00:00 |
|
rubidium
|
3f3b013b99
|
(svn r10999) -Codechange: unify the way the running cost of a vehicle is determined. Patch by nycom.
|
2007-08-29 21:27:16 +00:00 |
|
rubidium
|
2179faf5c8
|
(svn r10995) -Codechange: unify the way to get the displayed maxium speed of a vehicle. Patch by nycom.
|
2007-08-28 06:46:33 +00:00 |
|
rubidium
|
3c919e36a7
|
(svn r10985) -Codechange: unify/remove duplicate CcClone(Aircraft|RoadVeh|Ship|Train) in favour of CcCloneVehicle.
|
2007-08-26 21:21:59 +00:00 |
|
rubidium
|
a5b32d8d72
|
(svn r10984) -Codechange: unify the way one can get the current speed in the same forwat so we can display it.
|
2007-08-26 20:43:22 +00:00 |
|
rubidium
|
ab5fa3add2
|
(svn r10798) -Fix [FS#1105]: virtual functions do not work in destructors :(.
|
2007-08-05 17:43:04 +00:00 |
|
rubidium
|
5d3f058b65
|
(svn r10673) -Cleanup: some assorted style cleanups. Primarily type* var -> type *var.
|
2007-07-24 17:01:23 +00:00 |
|
rubidium
|
90f85c957a
|
(svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a Tick method in the Vehicle class.
|
2007-07-01 19:24:54 +00:00 |
|
rubidium
|
83a880c882
|
(svn r10408) -Codechange: make GetImage a class method of Vehicle instead of Get(Aircraft|RoadVeh|Ship|Train)Image.
|
2007-07-01 19:11:47 +00:00 |
|
maedhros
|
3e326085fa
|
(svn r10097) -Feature: Add support for articulated road vehicles, or callbacks 11 and 17 for
road vehicles for those who prefer the technical explanation.
|
2007-06-11 14:00:16 +00:00 |
|
maedhros
|
4acf3e4c3f
|
(svn r10009) -Codechange: Add and use Vehicle::IsPrimaryVehicle to replace individual checks depending on the vehicle type.
|
2007-06-01 12:03:10 +00:00 |
|
rubidium
|
951c74806f
|
(svn r9765) -Codechange: constify some class functions.
|
2007-05-02 09:39:11 +00:00 |
|
rubidium
|
dce7dcb664
|
(svn r9764) -Codechange: replace some lookup tables by functions.
|
2007-05-02 09:29:41 +00:00 |
|
rubidium
|
a4e045a3fb
|
(svn r9760) -Codechange: remove the need for saving some vehicle variables.
|
2007-05-01 16:35:14 +00:00 |
|
rubidium
|
ec9ac99d01
|
(svn r9755) -Codechange: refactor some more of the begin loading stuff.
|
2007-04-29 22:33:51 +00:00 |
|