rubidium
|
b04ba7dcea
|
(svn r16922) -Codechange: unduplicate some vehicle CMD_*s and move the setting of the error message to a single place
|
15 years ago |
rubidium
|
9980af2898
|
(svn r16921) -Codechange: make it more clear what strings are related to road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
|
15 years ago |
rubidium
|
2962d8f0fc
|
(svn r16920) -Codechange: shuffle some strings around to simplify looking up vehicle type specific strings for a specific message
|
15 years ago |
rubidium
|
c17c31b5b6
|
(svn r16919) -Codechange: unify some more StringID w.r.t. their naming
|
15 years ago |
frosch
|
d5a4c89365
|
(svn r16894) -Codechange: Add [Specialised]Vehicle::Last().
|
15 years ago |
frosch
|
7b92d9efe4
|
(svn r16884) -Codechange: Add Train::GetFirstEnginePart() and use it.
|
15 years ago |
frosch
|
d3a95e9bbd
|
(svn r16874) -Change: Give the number behind free wagon chains in depots the same meaning as for trains.
|
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 |
alberth
|
d0a47fc1b4
|
(svn r16845) -Codechange: Introduction of constants for describing the bits in a WWT_MATRIX data field.
|
15 years ago |
smatz
|
db63e1ad82
|
(svn r16820) -Codechange: remove unused parameter in HandleCloneVehClick()
|
15 years ago |
frosch
|
3973b1e7cb
|
(svn r16817) -Codechange: Scroll depots horizontally in pixels instead of 1/8 vehicle length.
|
15 years ago |
frosch
|
78eccd05be
|
(svn r16799) -Codechange: When drawing articulated road vehicles in the vehicle details window, draw as many parts as the window fits instead of always up to a vehicle length of 80/8.
|
15 years ago |
rubidium
|
741a340b8b
|
(svn r16772) -Fix [FS#3019]: don't use the same error message for turning around road vehicles and flipping parts of trains in the depot
|
15 years ago |
rubidium
|
4d14c1b534
|
(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
|
15 years ago |
smatz
|
d86e17d65a
|
(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
|
15 years ago |
smatz
|
adc5363202
|
(svn r16717) -Codechange: make IsFrontEngine() member of Train
|
15 years ago |
frosch
|
a288e4d82f
|
(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have to deal with sizeof() wrt. typedef-ed arrays.
|
15 years ago |
frosch
|
812ad41f23
|
(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names.
|
15 years ago |
smatz
|
05c695a647
|
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
|
15 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 |
rubidium
|
e3c5bc8d2e
|
(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
|
16 years ago |
rubidium
|
0d99b6c71c
|
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
|
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
|
da5661a0c8
|
(svn r16393) -Codechange: move VehicleRail to Train.
|
16 years ago |
rubidium
|
7a37220881
|
(svn r16390) -Codechange: move u.road to RoadVehicle.
|
16 years ago |
smatz
|
6221d74644
|
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
|
16 years ago |
rubidium
|
d23f616e9f
|
(svn r16296) -Codechange: silence some ICC warnings
|
16 years ago |
rubidium
|
53887e07bb
|
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
|
16 years ago |
rubidium
|
59d45a04d6
|
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
|
16 years ago |
rubidium
|
329cabab4f
|
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
|
16 years ago |
alberth
|
9d2738b9c4
|
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
|
16 years ago |
rubidium
|
57174a9301
|
(svn r15808) -Codechange: use the new DrawString API in a number of GUIs
|
16 years ago |
rubidium
|
69decac406
|
(svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API.
|
16 years ago |
rubidium
|
f9def73be6
|
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
|
16 years ago |
rubidium
|
b25a4f8231
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
16 years ago |
rubidium
|
9d018723b7
|
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
|
16 years ago |
rubidium
|
90e2465d7d
|
(svn r15427) -Codechange: give w->caption_color a more sensible name as it holds the owner of whatever is shown in the window
|
16 years ago |
smatz
|
0d3f5e6e74
|
(svn r15299) -Cleanup: remove many redundant includes
|
16 years ago |
smatz
|
e00cf92f47
|
(svn r15077) -Codechange: enumify DAYS_IN_YEAR and DAYS_IN_LEAP_YEAR
-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore
|
16 years ago |
frosch
|
17a9bab142
|
(svn r14924) -Fix (r7403): Do not unnecessarily reset the cursor, when a different vehicle is dragged.
|
16 years ago |
glx
|
c7959ce2a9
|
(svn r14840) -Cleanup: remove duplicate includes
|
16 years ago |
rubidium
|
ee952b10d9
|
(svn r14758) -Fix: determine the real size of a depot before trying to place it.
|
16 years ago |
rubidium
|
87e5a8b52b
|
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
|
16 years ago |
rubidium
|
b650a86e58
|
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
|
16 years ago |
rubidium
|
3b798599b6
|
(svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with.
|
16 years ago |
rubidium
|
c8e8911ef6
|
(svn r14223) -Codechange: make GetSprite aware of the 4 different types of sprites: fonts, recolour, mapgen and normal sprites.
|
16 years ago |
smatz
|
25a1c59abb
|
(svn r14086) -Fix (r13067): rail/road removing by CTRL didn't sometimes work when a depot window was opened
|
16 years ago |
frosch
|
844a83ed58
|
(svn r14076) -Codechange: Merge the four start/stop commands into a single CMD_START_STOP_VEHICLE.
|
16 years ago |
glx
|
87c3599895
|
(svn r13968) -Fix (r13923): 'cast from pointer to integer of different size' warning
|
16 years ago |
frosch
|
770d293788
|
(svn r13923) -Feature: Show [total-]cargo info in depot when [ctrl-]right-clicking on vehicle.
|
16 years ago |