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.
14 years ago
rubidium
54c0dec6aa
(svn r21909) -Fix: some missing spaces
14 years ago
rubidium
05199a641a
(svn r21890) -Cleanup: remove some unneeded includes
14 years ago
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
14 years ago
smatz
717b7c82d3
(svn r21633) -Fix (r21616): newly created skip-to order was created at wrong place
14 years ago
smatz
2207fb70d1
(svn r21616) -Change: do not highlight tile when selecting a vehicle to clone or an order to skip to
14 years ago
terkhen
47c9189002
(svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class.
14 years ago
rubidium
d91a4f138f
(svn r21478) -Change [FS#4297]: improve some order related tooltips. Based on patch by Krille
14 years ago
planetmaker
54908db5ef
(svn r21464) -Add: Explicitly make 'shared orders' an option in the orders menu
14 years ago
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)
14 years ago
rubidium
eae8eef382
(svn r21457) -Feature(tte) [FS#4215]: scroll to the inserted order (thror)
14 years ago
rubidium
5ec2bcc0d9
(svn r21157) -Codechange: remove information about the text direction out of the language "list"
14 years ago
planetmaker
aaf0d15ec6
(svn r20927) -Add [FS#3905]: Transfer orders imply 'leave empty' by default
14 years ago
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
14 years ago
rubidium
360d6daf34
(svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers
14 years ago
rubidium
0d018b5840
(svn r20571) -Codechange: free/reserve some bits in the order commands to increase the vehicle pool limit
14 years ago
frosch
2d5ef5e5a8
(svn r20461) -Codechange: Replace WWT_HSCROLLBAR, WWT_SCROLLBAR and WWT_SCROLL2BAR with NWID_HSCROLLBAR and NWID_VSCROLLBAR.
14 years ago
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.
14 years ago
frosch
341f41e347
(svn r20452) -Codechange: Remove NWidgetCore::FindScrollbar() and associate scrollbar explicitly using a NWidgetPart via SetScrollbar().
14 years ago
alberth
cf33572ef8
(svn r20290) -Codechange: Add missing 'break' statements.
14 years ago
frosch
5b86c79fce
(svn r20283) -Codechange: Unify start of doygen comments.
14 years ago
rubidium
8c85b4ce3d
(svn r20281) -Codechange: unify case scope closure + break coding style
14 years ago
alberth
137e2b64c9
(svn r20211) -Codechange: Indented code should have curly braces around it.
14 years ago
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.
14 years ago
yexo
aae53cb189
(svn r20058) -Feature: customizable hotkeys for the vehicle orders window
14 years ago
alberth
a1efd13ff4
(svn r19959) -Fix (r19889): Disable drag destination highlighting when aborting a drag.
14 years ago
alberth
ae48155704
(svn r19889) -Add [FS#3705]: Add drag destination highlighting to order gui (sbr).
15 years ago
rubidium
99e88d6f7f
(svn r19796) -Codechange: introduce and use a {DEPOT} string command
15 years ago
rubidium
78569bf9e3
(svn r19584) -Fix [FS#3744]: Crash when pressing 'h' (non-stop) in the order window of a ship or aircraft
15 years ago
rubidium
8138c532d2
(svn r19571) -Fix [FS#3739]: The timetable button was not automatically raised (sbr)
15 years ago
terkhen
ce807f1f26
(svn r19387) -Fix [FS#3671]: Close all orders windows when switching companies.
15 years ago
frosch
b7bfae70a8
(svn r19215) -Codechange: Add Order::GetLocation() to deduplicate code.
15 years ago
frosch
41a7feb101
(svn r19174) -Fix: Buoys are no Stations, only BaseStations.
15 years ago
alberth
75b513cd50
(svn r19118) -Fix [FS#3593]: Some buttons in the order gui were raised too soon.
15 years ago
terkhen
12fb3be6c3
(svn r19117) -Fix [FS#3593]: The Non-stop dropdown wasn't enabled for depot and waypoint orders.
15 years ago
rubidium
ebc4438950
(svn r18980) -Codechange: preceeding -> preceding (spelling)
15 years ago
frosch
94a5c917a5
(svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick().
15 years ago
rubidium
9467b7c6d6
(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
caa73efe93
(svn r18605) -Codechange: Coding style fixes, prevent useless calls to UpdateWidgetSize().
15 years ago
alberth
b584dc72d7
(svn r18601) -Codechange: Use resize step of the order list panel widget for order line calculations.
15 years ago
alberth
5f358b0668
(svn r18600) -Fix (r18599): Re-enable ctl+click to jump to competitor station.
15 years ago
alberth
5b8807670f
(svn r18599) -Fix: Displaying selected orders of a competitor vehicle was broken, disable the selection.
15 years ago
alberth
0e9dac92d2
(svn r18588) -Feature [FS#2943]: Add shading and unshading of windows.
15 years ago
alberth
f20e477a02
(svn r18580) -Codechange: Use widget information only for setting scrollbar capacity.
15 years ago
frosch
992bc6c345
(svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff.
15 years ago
frosch
318ce40496
(svn r18326) -Fix (r18325): Missing signedness conversion.
15 years ago
frosch
74c43d6b3c
(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
45eb0be570
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
15 years ago
rubidium
50359b2d08
(svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions
15 years ago
rubidium
f8b79068e6
(svn r18274) -Codechange: remove the unused WDF flags
15 years ago
alberth
5bee09c924
(svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize().
15 years ago
alberth
18b33fde83
(svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool.
15 years ago
rubidium
f123ff906f
(svn r18188) -Codechange: s/NWID_BUTTON_DRPDOWN/NWID_BUTTON_DROPDOWN/g
15 years ago
rubidium
8e11cd3a42
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
15 years ago
rubidium
a13fd6ddce
(svn r18126) -Codechange: remove duplicate (since r18119) scrollbar capacity/matrix initialisation
15 years ago
rubidium
b01251092e
(svn r18086) -Codechange: remove 'widget' from WindowDesc
15 years ago
rubidium
bd9d74d355
(svn r18072) -Codechange: remove the need for {SKIP} (and a string) from the order window
15 years ago
frosch
3cb949a17d
(svn r17976) -Codechange: Move CargoClass to cargotype.h and clean up including of newgrf_cargo.h
15 years ago
rubidium
c1365b3cc1
(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
b72898c8a3
(svn r17786) -Fix [FS#3265]: graphical glitches (matrices/scrollbars with wrong 'size') upon reiniting windows
15 years ago
rubidium
982b8ee5fc
(svn r17693) -Cleanup: remove some unneeded includes
15 years ago
alberth
0fd79cc4cc
(svn r17578) -Fix (r17572): Some compilers don't like default function template arguments.
15 years ago
alberth
44dc34bb38
(svn r17577) -Codechange: Order window uses pure nested widgets.
15 years ago
alberth
4ff755ac90
(svn r17573) -Codechange: NWID_SELECTION containers have a selected widget-plane, and optionally an index in the nested_array.
15 years ago
alberth
09371d5561
(svn r17557) -Codechange: Pass left and right edge to DrawOrderString().
15 years ago
frosch
0e36260337
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
15 years ago
alberth
6e113b0e0b
(svn r17507) -Codechange: Make some methods of the OrdersWindow non-static.
15 years ago
rubidium
91024042ea
(svn r17495) -Codechange: replace 'Depot::Get(GetDepotIndex(tile))->index' with GetDepotIndex(tile)
15 years ago
rubidium
0fc5899e6a
(svn r17401) -Fix [FS#3171] (r17384): order deletion didn't (correctly) update the order window
15 years ago
rubidium
bedc973191
(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
62c7948a4f
(svn r17375) -Codechange: remove last direct usage of scrollbar variables
15 years ago
rubidium
d5e749d8b1
(svn r17371) -Codechange: make the newgrf, news and order GUIs use the scrollbar wrappers
15 years ago
rubidium
d4a98be94a
(svn r17271) -Fix: SetFill sometimes used 1/0 when it should be using true/false
15 years ago
rubidium
99d46e0ad7
(svn r17248) -Fix: add GPL license notice where appropriate
15 years ago
rubidium
d61be2637e
(svn r17075) -Codechange: rename ~750 strings to be more uniform with their relatives
15 years ago
rubidium
4874578e79
(svn r16930) -Codechange: more StringID name unification and grouping
15 years ago
rubidium
01eabc5f4c
(svn r16921) -Codechange: make it more clear what strings are related to road vehicles; only ROAD isn't always enough. Also unify the way of writing it.
15 years ago
rubidium
6435dc89fe
(svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h
15 years ago
rubidium
100cb17fa8
(svn r16909) -Fix [FS#2996]: NewGRF stations would be triggering assertions all over the place when using the more advanced station types.
...
-Change: make (rail) waypoints sub classes of 'base stations', make buoys waypoints and unify code between them where possible.
15 years ago
rubidium
4ca5ce8904
(svn r16863) -Codechange: GetWaypointByTile -> Waypoint::GetByTile, like used for e.g. stations
15 years ago
smatz
8718babe90
(svn r16849) -Codechange: replace GetCargo() by CargoSpec::Get()
15 years ago
rubidium
026f3c8feb
(svn r16785) -Codechange: make ships going to buoys use OT_GOTO_WAYPOINT too
15 years ago
smatz
a9602401f0
(svn r16646) -Codechange: rename GetDepotByTile() to Depot::GetByTile()
15 years ago
smatz
f6a4d61cca
(svn r16643) -Codechange: replace GetStationByTile() by Station::GetByTile()
15 years ago
rubidium
6cfc38b97c
(svn r16397) -Codechange: move GetVehicleOrder/GetLastVehicleOrder into Vehicle
16 years ago
smatz
50624d5c0f
(svn r16378) -Codechange: replace OldPool with simpler Pool. Compilation time, binary size and run time (with asserts disabled) should be improved
16 years ago
smatz
d495dc5dbc
(svn r16325) -Codechange: replace GetPoolItem(index) by PoolItem::Get(index)
16 years ago
frosch
ac1b753f9a
(svn r16199) -Codechange: Pass OrderNonStopFlags also to MakeGoToDepotOrder().
...
-Fix: 'Go non-stop to nearest depot'-orders did not work wrt. the 'non-stop' part.
-Fix: Adding 'Go to nearest depot'-orders did not respect the default setting for 'non-stop'.
16 years ago
alberth
9417d8cd18
(svn r16197) -Codechange: Structure buttons of train order window based on related functions rather than position.
16 years ago
alberth
71c281ee25
(svn r16196) -Codechange: Added nested widgets for non-train and other-companies order windows.
16 years ago
alberth
5d91dfde16
(svn r16195) -Codechange: Even empty widgets should live within window boundaries.
16 years ago
alberth
4a06d41951
(svn r16191) -Codechange: Added nested widgets of one order window.
16 years ago
rubidium
5c5b357043
(svn r16118) -Change/cleanup: remove the hexadecimal 'in TTD the string had this ID' from 'some' strings and replace the string name with something more sensible.
16 years ago
alberth
8b09058902
(svn r16092) -Fix [FS#2829]: Resizing the order window also resizes the button bars.
16 years ago
alberth
8502725e88
(svn r16089) -Codechange: Removing the ORDER_WIDGET_RESIZE_BAR widget
16 years ago
rubidium
e88cb7f70f
(svn r16088) -Codechange: merge HighLightStyle and ViewportHighlightMode as they are basically the same thing
16 years ago
alberth
22db0905d8
(svn r16081) -Doc: Adding/fixing some Doxygen comments.
16 years ago
alberth
98e5e70ade
(svn r16080) -Codechange: Introducing a constant for order-list line height.
16 years ago
rubidium
f97b8c6746
(svn r16078) -Change: do not show stop location for via orders; they don't stop there
16 years ago
rubidium
244834a268
(svn r16056) -Fix (r16037): clicking twice on the "end of orders" crashed.
16 years ago