michi_cc
c75962e04c
(svn r24833) -Codechange: Replace magic numbers for invalidating vehicle-related windows with an enum.
12 years ago
frosch
b533523258
(svn r24801) -Codechange: Add functions to set integral DParams to suitable values for size computations.
12 years ago
frosch
03736af2ae
(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.
12 years ago
frosch
b998cbdff1
(svn r24697) -Codechange: Use WDF_UNCLICK_BUTTONS instead of duplicating the same functionality.
12 years ago
rubidium
6d6be50ae0
(svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files
13 years ago
planetmaker
365bf148b5
(svn r23549) -Codechange: Document and consistently name widgets of order GUI
13 years ago
truebrain
2aa774e831
(svn r23528) -Codechange: move widget enums to widgets/NNN_type.h
13 years ago
michi_cc
34ffd08a19
(svn r23505) -Add: Indication in the order list if the next destination of an order is out of range.
13 years ago
rubidium
b5a2183214
(svn r23484) -Fix [FS#4770]: in case you already have orders, ignore the vehicles when adding an extra order
13 years ago
yexo
e4011426f2
(svn r23172) -Fix (r23088) [FS#4831]: crash when looking at orders from a vehicle that's not in your company
13 years ago
michi_cc
3f853e7a56
(svn r23089) -Add: Allow specifying refits for go-to station orders.
13 years ago
michi_cc
5ee765b2b2
(svn r23088) -Change: Extend the train order GUI with space for a forth button.
13 years ago
frosch
4e5d841d66
(svn r22858) -Feature: Conditional order depending on remaining lifetime of a vehicle. (monoid)
13 years ago
frosch
55a21a940d
(svn r22620) -Change [FS#4651]: Enforce refit orders to be 'always go to depot' orders; service-only and stop-in-depot orders make no sense with refitting.
13 years ago
planetmaker
43c8cd1d5e
(svn r22473) -Codechange: Automatic orders are better called implicit orders as no real order influencing path finding is added
14 years ago
terkhen
10caf391a1
(svn r22343) -Change: Remove pixel limiter for query strings.
14 years ago
frosch
5689b3dbda
(svn r22246) -Fix: Process order window invalidations for specific orders in command-scope.
14 years ago
frosch
f051a81b4e
(svn r22244) -Codechange: Make vehicle windows handle command-/GUI-scope invalidations themself (from autoreplace and refitting).
14 years ago
frosch
ec9540a12a
(svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData().
14 years ago
frosch
2ae863463c
(svn r22236) -Fix (r21457): Disarm a bear-pit, which r22226 almost fell into.
14 years ago
frosch
9cf92e2bd2
(svn r22226) -Codechange: When autoreplace invalidates vehicle windows because the Vehicle index changed, use a better eye-catcher-'data' than 0 to identify them.
14 years ago
frosch
2679051c68
(svn r21985) -Codechange: Use VehicleOrderID where appropiate.
14 years ago
rubidium
773c6765e6
(svn r21961) -Remove: limitation that not loading and not unloading is mutual exclusive
14 years ago
rubidium
4c5ca17486
(svn r21957) -Cleanup: gotodepot and timetabling settings are more or less useless; just don't use depot orders or timetabling if you don't want to use it
14 years ago
frosch
a97d52a29a
(svn r21933) -Codechange: Split cur_order_index into cur_auto_order_index and cur_real_order_index to keep track of the current real order in an unambiguous way.
...
-Fix [FS#4440]: Automatic orders behave now stable wrt. service orders and are not added or removed depending on the need of servicing.
-Fix: Various other issues with automatic orders, e.g. vehicles getting stuck with "no orders" when there are automatic orders at the end of the order list.
14 years ago
rubidium
8017c2a3d7
(svn r21909) -Fix: some missing spaces
14 years ago
rubidium
7eba2bf4d3
(svn r21890) -Cleanup: remove some unneeded includes
14 years ago
rubidium
64f04c3a74
(svn r21642) -Feature: concept of automatic station orders; add stub orders for intermediate stations and remove them when not visiting them anymore. This allows you to see what trains visit a station without actually having to order a vehicle to stop at all stations. Based on patch by fonsinchen
14 years ago
smatz
d8b823142e
(svn r21633) -Fix (r21616): newly created skip-to order was created at wrong place
14 years ago
smatz
889c8d3022
(svn r21616) -Change: do not highlight tile when selecting a vehicle to clone or an order to skip to
14 years ago
terkhen
79e2b3153d
(svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class.
14 years ago
rubidium
15e07279dd
(svn r21478) -Change [FS#4297]: improve some order related tooltips. Based on patch by Krille
14 years ago
planetmaker
2a62be547a
(svn r21464) -Add: Explicitly make 'shared orders' an option in the orders menu
14 years ago
rubidium
834f4f157a
(svn r21461) -Feature(tte) [FS#3711]: make it more clear that you're stopping a shared order, and make it possible retain the order list upon unsharing (sbr)
14 years ago
rubidium
8faa97c060
(svn r21457) -Feature(tte) [FS#4215]: scroll to the inserted order (thror)
14 years ago
rubidium
30637a8340
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
14 years ago
planetmaker
31e7dd7e6c
(svn r20927) -Add [FS#3905]: Transfer orders imply 'leave empty' by default
14 years ago
smatz
fd54943c7a
(svn r20753) -Feature [FS#3999]: make it possible to select vehicle to clone and vehicle to clone orders from directly from vehicle lists and depot window
14 years ago
rubidium
30f2afac9b
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
e89a0fb7f9
(svn r20571) -Codechange: free/reserve some bits in the order commands to increase the vehicle pool limit
14 years ago
frosch
9e538acc03
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
14 years ago
frosch
71ca58c2bb
(svn r20453) -Codechange: Remove direct accesses to Window::hscroll, vscroll and vscroll2.
...
Note: All windows get individual members with the same names, which are initialised via Window::GetScrollbar(). This caching is not required at all, but simplifies conversion.
14 years ago
frosch
10339c60c0
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
14 years ago
alberth
c32e35c30d
(svn r20290) -Codechange: Add missing 'break' statements.
14 years ago
frosch
ed4f806f1d
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
rubidium
e356cb9405
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
alberth
be6c058424
(svn r20211) -Codechange: Indented code should have curly braces around it.
14 years ago
yexo
1ec328f725
(svn r20201) -Feature [FS#3926]: add several new hotkeys to the global hotkey list and to the order windows. None of them has a default keybinding.
14 years ago
yexo
da57796d51
(svn r20058) -Feature: customizable hotkeys for the vehicle orders window
14 years ago
alberth
f053a82594
(svn r19959) -Fix (r19889): Disable drag destination highlighting when aborting a drag.
14 years ago
alberth
58ddfd0fbb
(svn r19889) -Add [FS#3705]: Add drag destination highlighting to order gui (sbr).
15 years ago
rubidium
5051ef80c6
(svn r19796) -Codechange: introduce and use a {DEPOT} string command
15 years ago
rubidium
fb364e4426
(svn r19584) -Fix [FS#3744]: Crash when pressing 'h' (non-stop) in the order window of a ship or aircraft
15 years ago
rubidium
657940a633
(svn r19571) -Fix [FS#3739]: The timetable button was not automatically raised (sbr)
15 years ago
terkhen
8b041e8027
(svn r19387) -Fix [FS#3671]: Close all orders windows when switching companies.
15 years ago
frosch
3222ace3e1
(svn r19215) -Codechange: Add Order::GetLocation() to deduplicate code.
15 years ago
frosch
9d3be49bd3
(svn r19174) -Fix: Buoys are no Stations, only BaseStations.
15 years ago
alberth
c1b40ee5e0
(svn r19118) -Fix [FS#3593]: Some buttons in the order gui were raised too soon.
15 years ago
terkhen
ff80df980a
(svn r19117) -Fix [FS#3593]: The Non-stop dropdown wasn't enabled for depot and waypoint orders.
15 years ago
rubidium
06e80d0a1f
(svn r18980) -Codechange: preceeding -> preceding (spelling)
15 years ago
frosch
88019e64e1
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
15 years ago
rubidium
82fc28f77f
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
15 years ago
alberth
7dbc77a1e7
(svn r18605) -Codechange: Coding style fixes, prevent useless calls to UpdateWidgetSize().
15 years ago
alberth
96a8a0f34d
(svn r18601) -Codechange: Use resize step of the order list panel widget for order line calculations.
15 years ago
alberth
4733b696a1
(svn r18600) -Fix (r18599): Re-enable ctl+click to jump to competitor station.
15 years ago
alberth
d47c6e4135
(svn r18599) -Fix: Displaying selected orders of a competitor vehicle was broken, disable the selection.
15 years ago
alberth
91872aca48
(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.
15 years ago
alberth
5a083f183e
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
15 years ago
frosch
59f9163e37
(svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff.
15 years ago
frosch
a66f383d1b
(svn r18326) -Fix (r18325): Missing signedness conversion.
15 years ago
frosch
49aca1edc0
(svn r18325) -Codechange: Use GetSpriteSize() instead of hard {SETX}. Also make the 'current order'-arrow in order and timetable GUI RTL aware.
15 years ago
rubidium
293dfd7c3e
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
15 years ago
rubidium
14300d309c
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
15 years ago
rubidium
69b6d9309a
(svn r18274) -Codechange: remove the unused WDF flags
15 years ago
alberth
450e40b997
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
15 years ago
alberth
2b6f792513
(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.
15 years ago
rubidium
30f7483f9c
(svn r18188) -Codechange: s/NWID_BUTTON_DRPDOWN/NWID_BUTTON_DROPDOWN/g
15 years ago
rubidium
5f2ddfbc5a
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
15 years ago
rubidium
626de6b128
(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
15 years ago
rubidium
3d2d7af88f
(svn r18086) -Codechange: remove 'widget' from WindowDesc
15 years ago
rubidium
9d74a2910e
(svn r18072) -Codechange: remove the need for {SKIP} (and a string) from the order window
15 years ago
frosch
79627b4f89
(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up including of newgrf_cargo.h
15 years ago
rubidium
ca0521f89f
(svn r17853) -Codechange: remove the 'delta' parameter from OnResize; it was used in ways that aren't always wanted, causing bugs and the like. Also with nested widgets most reasons for handling OnResize have gone.
15 years ago
rubidium
d1d35b95b6
(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows
15 years ago
rubidium
d6cded5380
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
alberth
89df436f84
(svn r17578) -Fix (r17572): Some compilers don't like default function template arguments.
15 years ago
alberth
1497cf7e01
(svn r17577) -Codechange: Order window uses pure nested widgets.
15 years ago
alberth
ceab116065
(svn r17573) -Codechange: NWID_SELECTION containers have a selected widget-plane, and optionally an index in the nested_array.
15 years ago
alberth
24e9ee8ab4
(svn r17557) -Codechange: Pass left and right edge to DrawOrderString().
15 years ago
frosch
ebd916be3d
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
alberth
461556e2c0
(svn r17507) -Codechange: Make some methods of the OrdersWindow non-static.
15 years ago
rubidium
860a538adc
(svn r17495) -Codechange: replace 'Depot::Get(GetDepotIndex(tile))->index' with GetDepotIndex(tile)
15 years ago
rubidium
75aad2a186
(svn r17401) -Fix [FS#3171] (r17384): order deletion didn't (correctly) update the order window
15 years ago
rubidium
a8d768cf6e
(svn r17384) -Fix [FS#2859]: remove all order window state changes out of the drawing routine and call them immediately when changes happen instead of on the next OnPaint. This prevents pressing buttons when they should've been already disabled.
15 years ago
rubidium
5cb22df0f5
(svn r17375) -Codechange: remove last direct usage of scrollbar variables
15 years ago
rubidium
7aeaa4f132
(svn r17371) -Codechange: make the newgrf, news and order GUIs use the scrollbar wrappers
15 years ago
rubidium
aca7ba714a
(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false
15 years ago
rubidium
7fbc33dae1
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
1fe3ad3288
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
rubidium
e9bc557b2a
(svn r16930) -Codechange: more StringID name unification and grouping
15 years ago