smatz
|
f6a4d61cca
|
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
|
2009-06-24 17:39:54 +00:00 |
|
rubidium
|
d7eb9f9d0e
|
(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
|
11d88765cc
|
(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
|
01e5c536a7
|
(svn r16445) -Codechange: update old comments (Yexo)
|
2009-05-26 23:24:34 +00:00 |
|
smatz
|
0c53f04c07
|
(svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types
|
2009-05-26 22:10:13 +00:00 |
|
rubidium
|
cd382b28a3
|
(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
|
4ae19b7451
|
(svn r16388) -Codechange: move u.air to Aircraft
|
2009-05-22 20:07:26 +00:00 |
|
rubidium
|
1e853b1226
|
(svn r16387) -Codechange: use Aircraft instead of Vehicle where appropriate
|
2009-05-22 20:03:26 +00:00 |
|
smatz
|
70d3ed15c8
|
(svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle was deleted
|
2009-05-22 13:53:14 +00:00 |
|
frosch
|
61a893d6fd
|
(svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions.
|
2009-02-01 17:14:39 +00:00 |
|
glx
|
12c89708cb
|
(svn r15210) -Fix: Vehicle::GetRunningCost() was wrong for ships and aircraft
|
2009-01-22 21:33:08 +00:00 |
|
rubidium
|
0543f50181
|
(svn r14952) -Codechange: unify the "can vehicle go to station" tests
|
2009-01-10 09:51:14 +00:00 |
|
smatz
|
91233ea596
|
(svn r14828) -Codechange: move most of save/load-specific code to separate files
|
2009-01-04 15:32:25 +00:00 |
|
smatz
|
e6afe2ea0c
|
(svn r14343) -Fix [FS#2300]: invalid v->u.air.targetairport could cause crashes at several places when the station pool got smaller
|
2008-09-16 15:15:41 +00:00 |
|
rubidium
|
1ce0b03bf0
|
(svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description.
|
2008-05-06 15:11:33 +00:00 |
|
peter1138
|
45034bc522
|
(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
|
26206fa116
|
(svn r12862) -Codechange: reduce code duplication for VehicleType -> WindowClass lookup
|
2008-04-24 09:55:20 +00:00 |
|
peter1138
|
a05e9b4c6b
|
(svn r12824) -Codechange: Standardise routines for drawing vehicle images, using correct types and less duplication.
|
2008-04-21 20:50:58 +00:00 |
|
rubidium
|
aa8a5b2c39
|
(svn r12657) -Codechange: add 'FindClosestDepot' to the vehicle class.
|
2008-04-11 08:14:43 +00:00 |
|
rubidium
|
ba0a9538cf
|
(svn r12578) -Codechange: merge the aircrafts ProcessOrder too into the 'unified' ProcessOrder.
|
2008-04-05 12:01:34 +00:00 |
|
rubidium
|
df1d9bd880
|
(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 |
|
rubidium
|
c51b81c247
|
(svn r12489) -Codechange: split station.h into station_base.h and station_func.h.
|
2008-03-31 00:06:17 +00:00 |
|
glx
|
7ce12e50da
|
(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
|
444e77d8bc
|
(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
|
722613f7f3
|
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
|
2007-12-27 13:35:39 +00:00 |
|
glx
|
342025d0e1
|
(svn r11214) -Fix [FS#1296]: planes can't use heliports so refuse these orders
|
2007-10-05 22:13:35 +00:00 |
|
rubidium
|
c2dcccae16
|
(svn r11001) -Codechange: unify the way to determine whether a vehicle is in a depot.
|
2007-08-29 21:49:08 +00:00 |
|
rubidium
|
dc80195754
|
(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
|
5e5d36d6b4
|
(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
|
9e630945b2
|
(svn r10985) -Codechange: unify/remove duplicate CcClone(Aircraft|RoadVeh|Ship|Train) in favour of CcCloneVehicle.
|
2007-08-26 21:21:59 +00:00 |
|
rubidium
|
91d18ebd17
|
(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
|
dfe851e02f
|
(svn r10798) -Fix [FS#1105]: virtual functions do not work in destructors :(.
|
2007-08-05 17:43:04 +00:00 |
|
rubidium
|
59d33d0f7c
|
(svn r10673) -Cleanup: some assorted style cleanups. Primarily type* var -> type *var.
|
2007-07-24 17:01:23 +00:00 |
|
rubidium
|
ec137f60ed
|
(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
|
c0e341ee05
|
(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
|
fa548f1a6f
|
(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
|
0297ce53a8
|
(svn r9765) -Codechange: constify some class functions.
|
2007-05-02 09:39:11 +00:00 |
|
rubidium
|
5e4c9ad875
|
(svn r9764) -Codechange: replace some lookup tables by functions.
|
2007-05-02 09:29:41 +00:00 |
|
rubidium
|
5a46c763f0
|
(svn r9760) -Codechange: remove the need for saving some vehicle variables.
|
2007-05-01 16:35:14 +00:00 |
|
rubidium
|
df59f5cd15
|
(svn r9755) -Codechange: refactor some more of the begin loading stuff.
|
2007-04-29 22:33:51 +00:00 |
|
rubidium
|
0def47a3b0
|
(svn r9754) -Codechange: make classes for all vehicle types, so we can make nicer/better maintainable code, i.e. virtual methods instead of switches.
|
2007-04-29 21:24:08 +00:00 |
|
peter1138
|
0d32783f87
|
(svn r9671) -Codechange: Implement NewGRF callback 36, which allows changing of various properties which were previously static. Vehicle max speed and train power/te/running costs are adjustable.
|
2007-04-18 18:37:40 +00:00 |
|
belugas
|
b52ce40496
|
(svn r9551) -Documentation: Some more doxygen work
|
2007-04-03 16:12:28 +00:00 |
|
rubidium
|
b961ef336e
|
(svn r9546) -Fix (r9545): several typos...
|
2007-04-02 15:08:36 +00:00 |
|
belugas
|
0e33549b7f
|
(svn r9545) -Documentation: Some corrections to previous doxygen work
|
2007-04-02 14:20:31 +00:00 |
|
rubidium
|
36cea84b11
|
(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
|
2007-03-08 16:27:54 +00:00 |
|
rubidium
|
979ccd45ba
|
(svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {};
|
2007-03-07 12:11:48 +00:00 |
|
glx
|
b03db3c381
|
(svn r9048) -Fix r9040: non-bool used as bool
|
2007-03-06 23:27:14 +00:00 |
|
bjarni
|
13c72c07d6
|
(svn r9040) -Codechange: the build window and CmdBuildAircraft() now shares the code to figure out if an aircraft is buildable in the hangar in question
This should help ensuring that the build command and the list are consistent in what aircraft are buildable
|
2007-03-06 22:11:58 +00:00 |
|
celestar
|
dfa3c0aae1
|
(svn r8857) -Documentation: Added some doxygen @file tags, repaired others (the @file tag MUST be found before any line of code, that includes preprocessor directives).
|
2007-02-23 08:37:33 +00:00 |
|