summaryrefslogtreecommitdiff
path: root/src/order_gui.cpp
AgeCommit message (Collapse)Author
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-09-29Fix fbbbc6e1931: Crash when creating orders to stations with relocated ↵frosch
station sign. (#7755) Station::xy is the position of the station sign, and not necessarily a tile of the station.
2019-09-04Fix #7692: Added industry tile to GetOrderCmdFromTile() (#7709)JMcKiern
Sending order command to an industry tile now checks if a neutral_station is available and sends the order to that station
2019-04-13Change: Always report error when ordering a road vehicle to wrong type of ↵PeterN
road stop. (#7316) This was inconsistent before, depending on road/tram and articulated/single vehicle status.
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-04-09Codechange: Switch DropDownList to directly use std::vector, thus making ↵Michael Lutz
AutoDeleteSmallVector obsolete. DropDownListItem are strongly managed using std::unique_ptr to ensure leak-free handling. Appropriate use of move-semantics make intent a lot clearer than parameter comments and allows the compiler to generate copy-free code for most situations.
2019-03-26Codechange: Replaced SmallVector::Append() with ↵Henry Wilson
std::vector::[push|emplace]_back()
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2019-03-13Cleanup: Remove questionable syntax in GetOrderCmdFromTileJohannes E. Krause
2019-01-05Add: Conditional order for max. reliability (patch by Cirdan, #6360) (#7017)Eddi-z
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2015-10-30(svn r27425) -Fix [FS#5842]: Crash when switching to or taking over ↵frosch
companies, when an order window of a vehicle of the new company was opened. Now close those windows.
2014-07-16(svn r26693) -Codechange: Simplify GetOrderCmdFromTile (Juanjo)frosch
2014-07-16(svn r26692) -Fix [FS#6059]: Ordering a vehicle to a competitor's rail ↵frosch
waypoint displayed an error message. Ignore the click as is done for the other order types to competitor's stuff. (Juanjo)
2014-05-01(svn r26550) -Change: Show measured order times in timetable GUIfonsinchen
2014-05-01(svn r26547) -Codechange: Collect order travel and wait times independent of ↵fonsinchen
timetables
2014-05-01(svn r26546) -Codechange: Make order wait_time, travel_time and max_speed ↵fonsinchen
private
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2013-11-24(svn r26086) -Codechange: use AutoDeleteSmallVector instead std::list for ↵rubidium
dropdowns
2013-11-23(svn r26057) -Fix: a number of possibly uninitialised variablesrubidium
2013-11-22(svn r26049) -Codechange: remove some dead code as order can't be NULL thererubidium
2013-10-20(svn r25894) -Change: Unify behaviour when clicking on different items in ↵planetmaker
the goto dropdown list when giving orders (adf88)
2013-10-13(svn r25859) -Add [FS#5784]: Hightlight active goto item in order list ↵planetmaker
dropdown (adf88)
2013-10-13(svn r25858) -Fix [FS#5783]: Goto button in order window was not always ↵planetmaker
lowered when it should (adf88)
2013-10-13(svn r25857) -Codechange [FS#5783]: Add void goto type to indicate ↵planetmaker
inactivity in order window (adf88)
2013-06-24(svn r25459) -Fix: Disable the depot-refit button in the order GUI, if the ↵frosch
consist is not refittable.
2013-06-24(svn r25458) -Fix-ish: Enable the autorefit-button in the order GUI in case ↵frosch
the vehicle is not auto-refittable but already has a autorefit-order set to allow clearing the refit.
2013-06-24(svn r25457) -Fix: Do not test EF_AUTO_REFIT for the mail apartment or rotor ↵frosch
of aircraft.
2013-06-15(svn r25412) -Codechange: Make use of Window::OnHotkeyfrosch
2013-06-15(svn r25410) -Codechange: Put all hotkeys of a window into a static ↵frosch
HotkeyList member.
2013-06-15(svn r25408) -Codechange: Simplify hotkeys by removing unused stuff.frosch
2013-06-15(svn r25407) -Codechange: Use order hotkey enum instead of function pointers.frosch
2013-06-15(svn r25406) -Cleanup: There were two hotkeys to toggle between 'unload' and ↵frosch
'unload if possible'.
2013-05-26(svn r25294) -Feature: Add another button to window title bars to resize the ↵frosch
window to its default size.
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-20(svn r24834) -Fix [FS#5396]: The autorefit dropdown in the order GUI wasn't ↵michi_cc
always updated when modifying vehicle consists.
2012-12-20(svn r24833) -Codechange: Replace magic numbers for invalidating ↵michi_cc
vehicle-related windows with an enum.
2012-12-08(svn r24801) -Codechange: Add functions to set integral DParams to suitable ↵frosch
values for size computations.
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2012-11-11(svn r24697) -Codechange: Use WDF_UNCLICK_BUTTONS instead of duplicating the ↵frosch
same functionality.
2012-01-03(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp filesrubidium
2011-12-16(svn r23549) -Codechange: Document and consistently name widgets of order GUIplanetmaker
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain
2011-12-13(svn r23505) -Add: Indication in the order list if the next destination of ↵michi_cc
an order is out of range.
2011-12-10(svn r23484) -Fix [FS#4770]: in case you already have orders, ignore the ↵rubidium
vehicles when adding an extra order
2011-11-09(svn r23172) -Fix (r23088) [FS#4831]: crash when looking at orders from a ↵yexo
vehicle that's not in your company
2011-11-04(svn r23089) -Add: Allow specifying refits for go-to station orders.michi_cc
2011-11-04(svn r23088) -Change: Extend the train order GUI with space for a forth button.michi_cc