frosch
7c04ea586d
(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.
2011-01-31 20:44:15 +00:00
rubidium
54c0dec6aa
(svn r21909) -Fix: some missing spaces
2011-01-26 08:14:36 +00:00
rubidium
05199a641a
(svn r21890) -Cleanup: remove some unneeded includes
2011-01-22 14:52:20 +00:00
rubidium
4d6841b553
(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
2010-12-26 09:03:19 +00:00
smatz
717b7c82d3
(svn r21633) -Fix (r21616): newly created skip-to order was created at wrong place
2010-12-25 12:48:23 +00:00
smatz
2207fb70d1
(svn r21616) -Change: do not highlight tile when selecting a vehicle to clone or an order to skip to
2010-12-24 13:13:28 +00:00
terkhen
47c9189002
(svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class.
2010-12-14 21:26:03 +00:00
rubidium
d91a4f138f
(svn r21478) -Change [FS#4297]: improve some order related tooltips. Based on patch by Krille
2010-12-12 14:46:42 +00:00
planetmaker
54908db5ef
(svn r21464) -Add: Explicitly make 'shared orders' an option in the orders menu
2010-12-11 13:38:35 +00:00
rubidium
de554146a8
(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)
2010-12-11 10:52:45 +00:00
rubidium
eae8eef382
(svn r21457) -Feature(tte) [FS#4215]: scroll to the inserted order (thror)
2010-12-10 22:32:53 +00:00
rubidium
5ec2bcc0d9
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
2010-11-13 09:56:25 +00:00
planetmaker
aaf0d15ec6
(svn r20927) -Add [FS#3905]: Transfer orders imply 'leave empty' by default
2010-10-15 18:15:01 +00:00
smatz
63b8fea69f
(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
2010-09-06 14:14:09 +00:00
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
2010-08-26 22:01:16 +00:00
rubidium
0d018b5840
(svn r20571) -Codechange: free/reserve some bits in the order commands to increase the vehicle pool limit
2010-08-19 20:39:12 +00:00
frosch
2d5ef5e5a8
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
2010-08-12 09:16:43 +00:00
frosch
4817d5dcd6
(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.
2010-08-12 08:37:01 +00:00
frosch
341f41e347
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
2010-08-12 06:44:45 +00:00
alberth
cf33572ef8
(svn r20290) -Codechange: Add missing 'break' statements.
2010-08-01 20:58:35 +00:00
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
2010-08-01 19:22:34 +00:00
rubidium
8c85b4ce3d
(svn r20281) -Codechange: unify case scope closure + break coding style
2010-08-01 18:53:30 +00:00
alberth
137e2b64c9
(svn r20211) -Codechange: Indented code should have curly braces around it.
2010-07-24 10:14:39 +00:00
yexo
f357bf9674
(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.
2010-07-21 14:28:06 +00:00
yexo
aae53cb189
(svn r20058) -Feature: customizable hotkeys for the vehicle orders window
2010-07-03 13:29:19 +00:00
alberth
a1efd13ff4
(svn r19959) -Fix (r19889): Disable drag destination highlighting when aborting a drag.
2010-06-11 15:37:00 +00:00
alberth
ae48155704
(svn r19889) -Add [FS#3705]: Add drag destination highlighting to order gui (sbr).
2010-05-23 15:06:44 +00:00
rubidium
99e88d6f7f
(svn r19796) -Codechange: introduce and use a {DEPOT} string command
2010-05-12 18:19:36 +00:00
rubidium
78569bf9e3
(svn r19584) -Fix [FS#3744]: Crash when pressing 'h' (non-stop) in the order window of a ship or aircraft
2010-04-08 15:29:20 +00:00
rubidium
8138c532d2
(svn r19571) -Fix [FS#3739]: The timetable button was not automatically raised (sbr)
2010-04-07 12:05:26 +00:00
terkhen
ce807f1f26
(svn r19387) -Fix [FS#3671]: Close all orders windows when switching companies.
2010-03-11 20:57:18 +00:00
frosch
b7bfae70a8
(svn r19215) -Codechange: Add Order::GetLocation() to deduplicate code.
2010-02-22 20:36:20 +00:00
frosch
41a7feb101
(svn r19174) -Fix: Buoys are no Stations, only BaseStations.
2010-02-20 21:00:19 +00:00
alberth
75b513cd50
(svn r19118) -Fix [FS#3593]: Some buttons in the order gui were raised too soon.
2010-02-13 14:00:45 +00:00
terkhen
12fb3be6c3
(svn r19117) -Fix [FS#3593]: The Non-stop dropdown wasn't enabled for depot and waypoint orders.
2010-02-13 10:33:05 +00:00
rubidium
ebc4438950
(svn r18980) -Codechange: preceeding -> preceding (spelling)
2010-02-01 12:43:28 +00:00
frosch
94a5c917a5
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
2010-01-30 18:34:48 +00:00
rubidium
9467b7c6d6
(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header
2010-01-15 16:41:15 +00:00
alberth
caa73efe93
(svn r18605) -Codechange: Coding style fixes, prevent useless calls to UpdateWidgetSize().
2009-12-22 19:40:23 +00:00
alberth
b584dc72d7
(svn r18601) -Codechange: Use resize step of the order list panel widget for order line calculations.
2009-12-22 11:22:07 +00:00
alberth
5f358b0668
(svn r18600) -Fix (r18599): Re-enable ctl+click to jump to competitor station.
2009-12-22 11:15:08 +00:00
alberth
5b8807670f
(svn r18599) -Fix: Displaying selected orders of a competitor vehicle was broken, disable the selection.
2009-12-22 10:28:58 +00:00
alberth
0e9dac92d2
(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.
2009-12-21 16:24:29 +00:00
alberth
f20e477a02
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
2009-12-20 20:08:39 +00:00
frosch
992bc6c345
(svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff.
2009-12-02 17:37:02 +00:00
frosch
318ce40496
(svn r18326) -Fix (r18325): Missing signedness conversion.
2009-11-28 16:10:22 +00:00
frosch
74c43d6b3c
(svn r18325) -Codechange: Use GetSpriteSize() instead of hard {SETX}. Also make the 'current order'-arrow in order and timetable GUI RTL aware.
2009-11-28 15:12:24 +00:00
rubidium
45eb0be570
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
2009-11-28 14:42:35 +00:00
rubidium
50359b2d08
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
2009-11-24 18:05:55 +00:00
rubidium
f8b79068e6
(svn r18274) -Codechange: remove the unused WDF flags
2009-11-24 17:28:29 +00:00