summaryrefslogtreecommitdiff
path: root/src/depot_gui.cpp
AgeCommit message (Collapse)Author
2009-11-15(svn r18086) -Codechange: remove 'widget' from WindowDescrubidium
2009-10-24(svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was ↵rubidium
used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone.
2009-10-20(svn r17833) -Codechange: Depot gui should use relative widget coordinates ↵alberth
for clicking.
2009-10-20(svn r17830) -Fix [FS#3276]: Some windows already need their window_number ↵frosch
when setting up smallest size (e.g. for DParams). So assign it earlier in Window::InitializeData instead of dealing with each window separately.
2009-10-17(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with ↵rubidium
wrong 'size') upon reiniting windows
2009-10-11(svn r17760) -Revert (r17648): _local_company is less constant than you'd ↵alberth
expect.
2009-09-27(svn r17653) -Fix (r17649): Widgets at the bottom button bar of the depot ↵alberth
window should adapt to differences in height.
2009-09-27(svn r17652) -Codechange: Merging/renaming the depot block-size functions.alberth
2009-09-26(svn r17650) -Codechange: Checking a condition once is enough.alberth
2009-09-26(svn r17649) -Codechange: Depot gui uses pure nested widgets.alberth
2009-09-26(svn r17648) -Codechange: Move type initialization and widget disabling to ↵alberth
the constructor.
2009-09-26(svn r17647) -Codechange: Moving widget array access to outside the function.alberth
2009-09-26(svn r17643) -Codechange: Code style for variables in depot gui.alberth
2009-09-23(svn r17626) -Codechange: Use Dimension structs instead of array of length 2 ↵alberth
for storing horizontal/vertical information.
2009-09-23(svn r17624) -Codechange: Swap entries in _resize_cap[][] so the code does ↵alberth
what the docs say.
2009-09-20(svn r17596) -Codechange: constify some tablessmatz
2009-09-19(svn r17579) -Fix: remove doxygen docs for removed parameters, or change ↵rubidium
@param to @tparam if necessary
2009-09-13(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty ↵frosch
for more consistency and distinguishability.
2009-09-07(svn r17446) -Codechange: rename BUILD with BUY for strings that are about ↵rubidium
building (in the future buying) vehicles.
2009-09-02(svn r17369) -Codechange: make the depot, group and industry GUIs use the ↵rubidium
scrollbar wrappers
2009-09-02(svn r17368) -Codechange: remove pointless passing of 'this' as parameterrubidium
2009-08-21(svn r17248) -Fix: add GPL license notice where appropriaterubidium
2009-08-20(svn r17228) -Codechange: some coding style fixesrubidium
2009-08-15(svn r17194) -Fix (r17175): Depot sell buttons did not raise again.alberth
2009-08-15(svn r17185) -Codechange: Tweak depot gui and vehicle lists, so text ↵frosch
overlaps less with vehicle images.
2009-08-05(svn r17075) -Codechange: rename ~750 strings to be more uniform with their ↵rubidium
relatives
2009-07-22(svn r16922) -Codechange: unduplicate some vehicle CMD_*s and move the ↵rubidium
setting of the error message to a single place
2009-07-22(svn r16921) -Codechange: make it more clear what strings are related to ↵rubidium
road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
2009-07-22(svn r16920) -Codechange: shuffle some strings around to simplify looking up ↵rubidium
vehicle type specific strings for a specific message
2009-07-22(svn r16919) -Codechange: unify some more StringID w.r.t. their namingrubidium
2009-07-20(svn r16894) -Codechange: Add [Specialised]Vehicle::Last().frosch
2009-07-19(svn r16884) -Codechange: Add Train::GetFirstEnginePart() and use it.frosch
2009-07-18(svn r16874) -Change: Give the number behind free wagon chains in depots the ↵frosch
same meaning as for trains.
2009-07-17(svn r16867) -Feature(ette): Turn variable 0E/8E (vertical offset for trains ↵frosch
in depot) and variable 1E/9E bit 3 (wagon width in depot) into grf-local variables.
2009-07-16(svn r16845) -Codechange: Introduction of constants for describing the bits ↵alberth
in a WWT_MATRIX data field.
2009-07-13(svn r16820) -Codechange: remove unused parameter in HandleCloneVehClick()smatz
2009-07-13(svn r16817) -Codechange: Scroll depots horizontally in pixels instead of ↵frosch
1/8 vehicle length.
2009-07-12(svn r16799) -Codechange: When drawing articulated road vehicles in the ↵frosch
vehicle details window, draw as many parts as the window fits instead of always up to a vehicle length of 80/8.
2009-07-08(svn r16772) -Fix [FS#3019]: don't use the same error message for turning ↵rubidium
around road vehicles and flipping parts of trains in the depot
2009-07-02(svn r16722) -Codechange: unify the naming of the Is/Set/HasArticulatedPart ↵rubidium
functions
2009-07-01(svn r16719) -Codechange: make IsArticulatedPart(), IsTrainEngine(), ↵smatz
IsTrainWagon(), IsMultiheaded(), EngineHasArticPart() and IsRearDualheaded() members of Train
2009-07-01(svn r16717) -Codechange: make IsFrontEngine() member of Trainsmatz
2009-06-27(svn r16678) -Codechange: Turn CargoArray into a class, so one does not have ↵frosch
to deal with sizeof() wrt. typedef-ed arrays.
2009-06-27(svn r16676) -Codechange: Rename AcceptedCargo to CargoArray and its ↵frosch
instances to more meaningful names.
2009-06-24(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()smatz
2009-06-06(svn r16527) -Codechange: use static member functions instead of simple ↵smatz
casts when converting Vehicle to specialised vehicle types. Includes safety check
2009-05-26(svn r16434) -Cleanup: remove some dead code; primarily stuff that can't be ↵rubidium
reached like break after returns or break after functions that never return (i.e. NOT_REACHED)
2009-05-24(svn r16421) -Codechange: do not unnecessarily remove constness or ↵rubidium
unnecessarily add it.
2009-05-23(svn r16394) -Codechange: move (NewGRF) cache variables into a separate ↵rubidium
struct so (some vehicle related) NewGRF cache 'desyncs' can be tested easier.
2009-05-22(svn r16393) -Codechange: move VehicleRail to Train.rubidium