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 |
michi_cc
|
214e7bc51d
|
(svn r22801) -Feature: [YAPF] Take canal/ocean speed fraction of ships into account.
|
13 years ago |
rubidium
|
6e9122828e
|
(svn r22406) -Document: some more "random-ish" tidbits
|
14 years ago |
alberth
|
b5e2e83823
|
(svn r21930) -Codechange: Remove unused vehicle GetTypeString() functions.
|
14 years ago |
smatz
|
792659936e
|
(svn r21876) -Codechange: typedef SpecializedVehicleBase and GroundVehicleBase to reduce typing
|
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
|
39e5c7e526
|
(svn r20143) -Codechange: Remove RecalcShipStuff function.
|
14 years ago |
smatz
|
27949d219d
|
(svn r19756) -Codechange: move UpdateViewport() from Vehicle to SpecializedVehicle in order to improve performance
|
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
|
8bdeb2cab6
|
(svn r18779) -Codechange: merge the command callbacks of the primary vehicles; they are identical
|
15 years ago |
rubidium
|
99d46e0ad7
|
(svn r17248) -Fix: add GPL license notice where appropriate
|
15 years ago |
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.
|
16 years ago |
smatz
|
11d88765cc
|
(svn r16472) -Codechange: set vehicle type in SpecializedVehicle constructor instead of constructor of each vehicle type
|
16 years ago |
smatz
|
01e5c536a7
|
(svn r16445) -Codechange: update old comments (Yexo)
|
16 years ago |
smatz
|
e419fe6d3f
|
(svn r16442) -Codechange: use new Vehicle accessors at more places
|
16 years ago |
smatz
|
0c53f04c07
|
(svn r16441) -Codechange: new class SpecializedVehicle used as superclass for all vehicle types
|
16 years ago |
rubidium
|
86fc432293
|
(svn r16382) -Codechange: make GetVehicleTrackdir a member function of Vehicle.
|
16 years ago |
smatz
|
70d3ed15c8
|
(svn r16376) -Codechange: Vehicle::Tick() now returns false if the vehicle was deleted
|
16 years ago |
frosch
|
61a893d6fd
|
(svn r15308) -Codechange: Deduplicate km-ish/h -> mph conversions.
|
16 years ago |
glx
|
12c89708cb
|
(svn r15210) -Fix: Vehicle::GetRunningCost() was wrong for ships and aircraft
|
16 years ago |
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.
|
17 years ago |
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.
|
17 years ago |
smatz
|
0a83a43075
|
(svn r12870) -Codechange: remove some magic numbers from u.ship.state handling
|
17 years ago |
smatz
|
26206fa116
|
(svn r12862) -Codechange: reduce code duplication for VehicleType -> WindowClass lookup
|
17 years ago |
peter1138
|
a05e9b4c6b
|
(svn r12824) -Codechange: Standardise routines for drawing vehicle images, using correct types and less duplication.
|
17 years ago |
rubidium
|
aa8a5b2c39
|
(svn r12657) -Codechange: add 'FindClosestDepot' to the vehicle class.
|
17 years ago |
rubidium
|
3fdddeac40
|
(svn r12575) -Codechange: unduplicate Process*Orders for trains, ships and road vehicles.
|
17 years ago |
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.
|
17 years ago |
glx
|
7ce12e50da
|
(svn r12037) -Codechange: replace OnNewDay_(Aircraft|RoadVeh|Ship|Train) with an OnNewDay method in the Vehicle class
|
17 years ago |
rubidium
|
444e77d8bc
|
(svn r11774) -Change: do not include variables.h in a header when it is not needed.
|
17 years ago |
rubidium
|
722613f7f3
|
(svn r11706) -Codechange: split vehicle.h and remove another bunch of useless includes.
|
17 years ago |
rubidium
|
766551b0bc
|
(svn r11677) -Codechange: move price and command related types/functions to their respective places.
|
17 years ago |
rubidium
|
c2dcccae16
|
(svn r11001) -Codechange: unify the way to determine whether a vehicle is in a depot.
|
17 years ago |
rubidium
|
dc80195754
|
(svn r10999) -Codechange: unify the way the running cost of a vehicle is determined. Patch by nycom.
|
17 years ago |
rubidium
|
5e5d36d6b4
|
(svn r10995) -Codechange: unify the way to get the displayed maxium speed of a vehicle. Patch by nycom.
|
17 years ago |
rubidium
|
9e630945b2
|
(svn r10985) -Codechange: unify/remove duplicate CcClone(Aircraft|RoadVeh|Ship|Train) in favour of CcCloneVehicle.
|
17 years ago |
rubidium
|
91d18ebd17
|
(svn r10984) -Codechange: unify the way one can get the current speed in the same forwat so we can display it.
|
17 years ago |
rubidium
|
dfe851e02f
|
(svn r10798) -Fix [FS#1105]: virtual functions do not work in destructors :(.
|
17 years ago |
rubidium
|
59d33d0f7c
|
(svn r10673) -Cleanup: some assorted style cleanups. Primarily type* var -> type *var.
|
17 years ago |
rubidium
|
ec137f60ed
|
(svn r10409) -Codechange: replace (Aircraft|RoadVeh|Ship|Train)_Tick with a Tick method in the Vehicle class.
|
18 years ago |
rubidium
|
c0e341ee05
|
(svn r10408) -Codechange: make GetImage a class method of Vehicle instead of Get(Aircraft|RoadVeh|Ship|Train)Image.
|
18 years ago |
maedhros
|
fa548f1a6f
|
(svn r10009) -Codechange: Add and use Vehicle::IsPrimaryVehicle to replace individual checks depending on the vehicle type.
|
18 years ago |
rubidium
|
2813b4440b
|
(svn r9807) -Codechange: unify playing of sound when vehicle has been loaded and leaves the station.
|
18 years ago |
rubidium
|
0297ce53a8
|
(svn r9765) -Codechange: constify some class functions.
|
18 years ago |
rubidium
|
5e4c9ad875
|
(svn r9764) -Codechange: replace some lookup tables by functions.
|
18 years ago |
rubidium
|
5a46c763f0
|
(svn r9760) -Codechange: remove the need for saving some vehicle variables.
|
18 years ago |
rubidium
|
df59f5cd15
|
(svn r9755) -Codechange: refactor some more of the begin loading stuff.
|
18 years ago |
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.
|
18 years ago |
belugas
|
6a86e75870
|
(svn r9556) -Documentation: doxygen and comment-style changes. 'R', 'S'.. The end of the preliminary work is near
|
18 years ago |
rubidium
|
36cea84b11
|
(svn r9068) -Codechange: capitalize the VEH_Train etc. enums to match the coding style (and rest of the code).
|
18 years ago |