summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
AgeCommit message (Collapse)Author
2008-08-15(svn r14076) -Codechange: Merge the four start/stop commands into a single ↵frosch
CMD_START_STOP_VEHICLE.
2008-08-13(svn r14063) -Codechange: replace some "magic" constants with enumified ↵rubidium
constants.
2008-08-12(svn r14058) -Fix [FS#2224]: NewGRF callback 23 didn't use the NewGRF ↵rubidium
compatible text stack (minime)
2008-08-06(svn r14007) -Fix [FS#2098]: Notify vehicle windows when their internal ↵frosch
state is botched up from outside.
2008-08-06(svn r14006) -Codechange: Deduplicate some code.frosch
2008-08-02(svn r13950) -Add [YAPP]: Trains can now also be in a 'stuck' state when ↵rubidium
waiting on a path reservation. (michi_cc)
2008-08-02(svn r13919) -Codechange: Replace numbers with Colours enum on osk(forgot 2 ↵belugas
assignations), statusbar, subsidy, terraform, timetable, toolbar, town, tree and vehicle guis.
2008-07-17(svn r13720) -Fix (r13715): string wasn't correctly passed to draw function.rubidium
2008-07-17(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line ↵rubidium
with all other structs/classes that are in a pool.
2008-07-17(svn r13715) -Fix [FS#2129]: C-like strings had to be rebound each time they ↵rubidium
were printed, otherwise the text could change due to the few number of slots that could be used to bind. -Codechange: remove all BindCString and related functions and replace it by RAW_STRING which prints the C-string raw pointer that is on the 'print stack'.
2008-06-24(svn r13623) -Codechange: only show the 'load' of articulated RV parts that ↵rubidium
have a capacity instead of showing 'empty' parts when a vehicle is completely full.
2008-06-24(svn r13622) -Fix [FS#2109]: only the front of a RV would be considered when ↵rubidium
determining to what cargos a vehicle can be refitted instead of all cargos.
2008-06-20(svn r13593) -Fix [FS#2095](r13524): sorting by cargo capacity was brokensmatz
2008-06-19(svn r13587) -Codechange: make some globals members of VehicleListBase since ↵skidd13
they are used as such -Cleanup: some small things referring the change
2008-06-16(svn r13534) -Codechange: Replace the main part of VehiclesListBase sorting ↵skidd13
with GUIList function calls
2008-06-15(svn r13524) -Codechange: use the typesafe QSort for vehicle sortingsskidd13
-Prepare: vehicles sorting for convsersion to GUIList
2008-05-29(svn r13325) -Codechange: split the client-side only settings from the ↵rubidium
settings stored in the savegame so there is no need to have a duplicate copy of it for new games.
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-27(svn r13291) -Fix (r13266): qsort passed wrong sizeof datapeter1138
2008-05-26(svn r13270) -Codechange: There is no need to clear lists in the window ↵peter1138
constructor
2008-05-26(svn r13266) -Codechange: Use SmallVector in GUIListpeter1138
2008-05-25(svn r13251) -Codechange: rename _patches to _settings as that is more logic.rubidium
-Codechange: move all Settings into substructs of _settings in a way that they are logically grouped.
2008-05-25(svn r13248) -Codechange: Use VehicleList for depot GUI.peter1138
2008-05-23(svn r13225) -Fix (r13041): Missing calls to FindWindowPlacementAndResize() ↵peter1138
from lots of windows causing 'two stage' opening effect.
2008-05-19(svn r13185) -Codechange: remove everything related to the WindowProc callbacks.rubidium
2008-05-19(svn r13183) -Codechange: make a window class of the VehicleViewWindow.rubidium
2008-05-18(svn r13165) -Codechange: replace some ↵rubidium
RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData.
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-16(svn r13128) -Codechange: Make a class of the refit windowpeter1138
2008-05-16(svn r13120) -Codechange: make a class of the VehicleDetailsWindow.rubidium
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-11(svn r13047) -Codechange: remove vp_dglx
2008-05-11(svn r13046) -Codechange: make classes of the VehicleListWindow and the ↵rubidium
VehicleGroupWindow.
2008-05-11(svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform.rubidium
2008-05-09(svn r13024) -Codechange: do not use WE_MOUSELOOP when WE_TICK suffices, ↵rubidium
rename WE_4 to something more descriptive and correct some (completely incorrect) comments.
2008-05-08(svn r13015) -Codechange: move some 'WP' structs out of window_gui.h to the ↵rubidium
.cpp files where they are actually used.
2008-05-08(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of ↵rubidium
Window.
2008-05-06(svn r12977) -Codechange: remove quite some redundant (duplicate) function ↵rubidium
declarations.
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 r12975) -Codechange: replace DeleteWindow(w) with delete w.rubidium
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-04-27(svn r12912) -Codechange: overloaded ChangeVehicleViewWindow() so each ↵bjarni
argument can be either a Vehicle pointer or a VehicleID
2008-04-19(svn r12789) -Codechange: rename AssignWindowViewport to ↵rubidium
InitializeWindowViewport because the viewport is now part of the window struct. Patch by Alberth.
2008-04-19(svn r12788) -Codechange: unduplicate some vehicle GUI code. Patch by Alberth.rubidium
2008-04-18(svn r12766) -Add: sorting by road vehicle/train length. Based on a patch by ↵rubidium
Sir Bob.
2008-04-18(svn r12761) -Codechange: lots of minor whitespace coding style fixes around ↵rubidium
operators.
2008-04-17(svn r12754) -Codechange: split depot.h into depot_map.h, depot_func.h and ↵rubidium
depot_base.h and remove quite a lot of unneeded (before this) includes of depot.h.
2008-04-13(svn r12687) -Change: show when a vehicle is actually leaving the station ↵rubidium
instead of loading/unloading.
2008-04-07(svn r12615) -Codechange: rename some enums related to depot orders to make ↵rubidium
it more clear that they are no loading/unloading flags. Also add more type strictness.