summaryrefslogtreecommitdiff
path: root/src/depot_gui.cpp
AgeCommit message (Collapse)Author
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
2009-05-22(svn r16390) -Codechange: move u.road to RoadVehicle.rubidium
2009-05-16(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)smatz
2009-05-13(svn r16296) -Codechange: silence some ICC warningsrubidium
2009-04-26(svn r16160) -Codechange: remove the need for explicit TC_FROMSTRING for ↵rubidium
DrawString.
2009-04-21(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had ↵rubidium
this ID' from 'some' strings and replace the string name with something more sensible.
2009-04-19(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as ↵rubidium
they are basically the same thing
2009-03-29(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() ↵alberth
callback
2009-03-22(svn r15808) -Codechange: use the new DrawString API in a number of GUIsrubidium
2009-03-21(svn r15791) -Codechange: remove the *RightAligned part of the old text ↵rubidium
drawing API.
2009-03-15(svn r15723) -Codechange: use a constructor for WindowDescs as that makes ↵rubidium
expanding them much easier (Alberth)
2009-03-15(svn r15718) -Cleanup: apply some comment coding style on the rest of the ↵rubidium
sources too
2009-03-14(svn r15711) -Codechange: lots of whitespace cleanup/fixesrubidium
2009-02-09(svn r15427) -Codechange: give w->caption_color a more sensible name as it ↵rubidium
holds the owner of whatever is shown in the window
2009-01-31(svn r15299) -Cleanup: remove many redundant includessmatz
2009-01-13(svn r15077) -Codechange: enumify DAYS_IN_YEAR and DAYS_IN_LEAP_YEARsmatz
-Change: when computing daily running cost, divide by 365 (instead of 364). Since r12134, the rounding errors don't need this correction anymore
2009-01-08(svn r14924) -Fix (r7403): Do not unnecessarily reset the cursor, when a ↵frosch
different vehicle is dragged.
2009-01-04(svn r14840) -Cleanup: remove duplicate includesglx
2008-12-28(svn r14758) -Fix: determine the real size of a depot before trying to place it.rubidium
2008-12-28(svn r14754) -Codechange: get rid of _cmd_text and just pass it as ↵rubidium
(optional) parameter.
2008-09-30(svn r14422) -Codechange: also reflect the changes of r14421 in the filenames.rubidium
2008-09-30(svn r14421) -Codechange: rename all player variables/types to company *or* ↵rubidium
client so it is immediatelly clear which one you are working with.
2008-09-02(svn r14223) -Codechange: make GetSprite aware of the 4 different types of ↵rubidium
sprites: fonts, recolour, mapgen and normal sprites.
2008-08-16(svn r14086) -Fix (r13067): rail/road removing by CTRL didn't sometimes work ↵smatz
when a depot window was opened
2008-08-15(svn r14076) -Codechange: Merge the four start/stop commands into a single ↵frosch
CMD_START_STOP_VEHICLE.
2008-08-02(svn r13968) -Fix (r13923): 'cast from pointer to integer of different size' ↵glx
warning
2008-08-02(svn r13923) -Feature: Show [total-]cargo info in depot when ↵frosch
[ctrl-]right-clicking on vehicle.
2008-07-31(svn r13887) -Codechange: Replace numbers with Colours enum on autoreplace, ↵belugas
build_vehicle, cheat, depot and dock guis. The fact that it goes alphabetically is pure coincidence.
2008-07-20(svn r13759) -Fix [FS#2147]: selecting non-full length vehicles in the depot ↵rubidium
gui would place the "mouse pointer" out of the center of the vehicle making it hard to "aim".
2008-05-28(svn r13307) -Codechange: Separate VehicleList and its two functions so only ↵peter1138
the 3 users include it, reducing dependencies on misc/smallvec.h
2008-05-25(svn r13248) -Codechange: Use VehicleList for depot GUI.peter1138
2008-05-25(svn r13240) -Codechange: More const-ness for GUI code.peter1138
2008-05-24(svn r13239) -Fix: certain compilers give false warning about uninitialized ↵smatz
variable
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
2008-05-17(svn r13151) -Codechange: use an enum instead of bool as return type of ↵rubidium
OnKeyPress/OnCTRLStateChange to make it obvious what the return values mean.
2008-05-17(svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so ↵rubidium
window_gui.h only needs to be included in *_gui.cpp.
2008-05-17(svn r13139) -Codechange: move DrawWindowWidgets and DrawWindowViewport to ↵rubidium
the Window class and remove Window from their naming.
2008-05-15(svn r13098) -Fix [FS#2016]: segmentation fault on opening an already opened ↵rubidium
depot.
2008-05-14(svn r13091) -Fix: certain compilers give false warning about uninitialized ↵smatz
variable
2008-05-13(svn r13079) -Fix: certain compilers give false warning about uninitialized ↵smatz
variable
2008-05-13(svn r13069) -Codechange: it is no longer needed to pass a void *data ↵rubidium
pointer with the WE_CREATE message because nothing uses it anymore.
2008-05-13(svn r13067) -Codechange: make a class of the DepotWindow.rubidium
2008-05-11(svn r13051) -Codechange: depot_d belongs in depot_gui.cpp.rubidium
2008-05-08(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of ↵rubidium
Window.
2008-05-07(svn r12987) -Codechange: split viewport and tile selection.rubidium
2008-05-06(svn r12976) -Codechange: use w->SetDirty() instead of SetWindowDirty(w) ↵rubidium
when it's certain that w != NULL.
2008-05-06(svn r12971) -Documentation: add @file in files that missed them and add ↵rubidium
something more than whitespace as description of files that don't have a description.
2008-05-05(svn r12953) -Feature: Open a new viewport when ctrl-clicking on a ↵peter1138
'Location' button, a town/station/industry list, or some news items.
2008-04-29(svn r12924) -Feature: Introducing the so called 'engine pool' which ↵peter1138
primarily removes the fixed engine type limits and also happens to allow (with the patch option 'dynamic_engines') multiple NewGRF vehicle sets to coexist.