rubidium
|
18fbe0aac4
|
(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart functions
|
15 years ago |
smatz
|
1e1f0ab2cf
|
(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
|
15 years ago |
smatz
|
20fedeb3d6
|
(svn r16717) -Codechange: make IsFrontEngine() member of Train
|
15 years ago |
frosch
|
523cde0798
|
(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
|
4c3f480f92
|
(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its instances to more meaningful names.
|
15 years ago |
smatz
|
a9602401f0
|
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
|
15 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 |
rubidium
|
d39f442bd0
|
(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
|
c496a3e014
|
(svn r16421) -Codechange: do not unnecessarily remove constness or unnecessarily add it.
|
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
|
4c0542c17f
|
(svn r16393) -Codechange: move VehicleRail to Train.
|
16 years ago |
rubidium
|
489253b630
|
(svn r16390) -Codechange: move u.road to RoadVehicle.
|
16 years ago |
smatz
|
d495dc5dbc
|
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
|
16 years ago |
rubidium
|
8a8ec3001a
|
(svn r16296) -Codechange: silence some ICC warnings
|
16 years ago |
rubidium
|
650cb3694e
|
(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for DrawString.
|
16 years ago |
rubidium
|
5c5b357043
|
(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
|
e88cb7f70f
|
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
|
16 years ago |
alberth
|
bbd546b792
|
(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback
|
16 years ago |
rubidium
|
12f1abbce0
|
(svn r15808) -Codechange: use the new DrawString API in a number of GUIs
|
16 years ago |
rubidium
|
2a422e3e95
|
(svn r15791) -Codechange: remove the *RightAligned part of the old text drawing API.
|
16 years ago |
rubidium
|
7f468dc142
|
(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
|
16 years ago |
rubidium
|
c3e87f345d
|
(svn r15718) -Cleanup: apply some comment coding style on the rest of the sources too
|
16 years ago |
rubidium
|
f3e0fd7416
|
(svn r15711) -Codechange: lots of whitespace cleanup/fixes
|
16 years ago |
rubidium
|
c7f3daacbf
|
(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
|
9021c20b5e
|
(svn r15299) -Cleanup: remove many redundant includes
|
16 years ago |
smatz
|
ca45774160
|
(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
|
10b664dbac
|
(svn r14924) -Fix (r7403): Do not unnecessarily reset the cursor, when a different vehicle is dragged.
|
16 years ago |
glx
|
c61674221c
|
(svn r14840) -Cleanup: remove duplicate includes
|
16 years ago |
rubidium
|
1f5d51562f
|
(svn r14758) -Fix: determine the real size of a depot before trying to place it.
|
16 years ago |
rubidium
|
e83cca7d13
|
(svn r14754) -Codechange: get rid of _cmd_text and just pass it as (optional) parameter.
|
16 years ago |
rubidium
|
e589c7e580
|
(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.
|
16 years ago |
rubidium
|
f56e630e5c
|
(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
|
c358955127
|
(svn r14223) -Codechange: make GetSprite aware of the 4 different types of sprites: fonts, recolour, mapgen and normal sprites.
|
16 years ago |
smatz
|
0b2c6bc2b3
|
(svn r14086) -Fix (r13067): rail/road removing by CTRL didn't sometimes work when a depot window was opened
|
16 years ago |
frosch
|
c8e699cc35
|
(svn r14076) -Codechange: Merge the four start/stop commands into a single CMD_START_STOP_VEHICLE.
|
16 years ago |
glx
|
d6520ae096
|
(svn r13968) -Fix (r13923): 'cast from pointer to integer of different size' warning
|
16 years ago |
frosch
|
f0b1decb3d
|
(svn r13923) -Feature: Show [total-]cargo info in depot when [ctrl-]right-clicking on vehicle.
|
16 years ago |
belugas
|
2767042705
|
(svn r13887) -Codechange: Replace numbers with Colours enum on autoreplace, build_vehicle, cheat, depot and dock guis.
The fact that it goes alphabetically is pure coincidence.
|
16 years ago |
rubidium
|
8113efb0f2
|
(svn r13759) -Fix [FS#2147]: selecting non-full length vehicles in the depot gui would place the "mouse pointer" out of the center of the vehicle making it hard to "aim".
|
16 years ago |
peter1138
|
f731b31eda
|
(svn r13307) -Codechange: Separate VehicleList and its two functions so only the 3 users include it, reducing dependencies on misc/smallvec.h
|
17 years ago |
peter1138
|
6d65ce0c8b
|
(svn r13248) -Codechange: Use VehicleList for depot GUI.
|
17 years ago |
peter1138
|
0a9e8854ec
|
(svn r13240) -Codechange: More const-ness for GUI code.
|
17 years ago |
smatz
|
7672a059c9
|
(svn r13239) -Fix: certain compilers give false warning about uninitialized variable
|
17 years ago |
rubidium
|
162e2e074b
|
(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.
|
17 years ago |
rubidium
|
d284ba2283
|
(svn r13151) -Codechange: use an enum instead of bool as return type of OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
|
17 years ago |
rubidium
|
ad6e52080c
|
(svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so window_gui.h only needs to be included in *_gui.cpp.
|
17 years ago |
rubidium
|
a89b5721a8
|
(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to the Window class and remove Window from their naming.
|
17 years ago |
rubidium
|
35c14f45be
|
(svn r13098) -Fix [FS#2016]: segmentation fault on opening an already opened depot.
|
17 years ago |
smatz
|
f0e2d800ee
|
(svn r13091) -Fix: certain compilers give false warning about uninitialized variable
|
17 years ago |
smatz
|
bea03ab5e7
|
(svn r13079) -Fix: certain compilers give false warning about uninitialized variable
|
17 years ago |