Commit Graph

267 Commits (25a54b58e8ecd146f9c6be9df69606b344292f24)

Author SHA1 Message Date
frosch 25a54b58e8 (svn r25407) -Codechange: Use order hotkey enum instead of function pointers. 11 years ago
frosch ab8fca3900 (svn r25406) -Cleanup: There were two hotkeys to toggle between 'unload' and 'unload if possible'. 11 years ago
frosch 13badddd75 (svn r25294) -Feature: Add another button to window title bars to resize the window to its default size. 11 years ago
frosch 16feb5c4e9 (svn r25290) -Add: Assign string names to notable windows. 11 years ago
frosch 25adefca23 (svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window after construction. 11 years ago
planetmaker f00d9976f9 (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) 12 years ago
michi_cc 68b078761d (svn r24834) -Fix [FS#5396]: The autorefit dropdown in the order GUI wasn't always updated when modifying vehicle consists. 12 years ago
michi_cc 37da99ab90 (svn r24833) -Codechange: Replace magic numbers for invalidating vehicle-related windows with an enum. 12 years ago
frosch eb20798aae (svn r24801) -Codechange: Add functions to set integral DParams to suitable values for size computations. 12 years ago
frosch 3b06409153 (svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default. 12 years ago
frosch 88b8e43090 (svn r24697) -Codechange: Use WDF_UNCLICK_BUTTONS instead of duplicating the same functionality. 12 years ago
rubidium d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 13 years ago
planetmaker c642028187 (svn r23549) -Codechange: Document and consistently name widgets of order GUI 13 years ago
truebrain 49e88dcbf0 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 13 years ago
michi_cc 708b58b484 (svn r23505) -Add: Indication in the order list if the next destination of an order is out of range. 13 years ago
rubidium 7abb74d4a2 (svn r23484) -Fix [FS#4770]: in case you already have orders, ignore the vehicles when adding an extra order 13 years ago
yexo f2db3a93b0 (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 a50877bef7 (svn r23089) -Add: Allow specifying refits for go-to station orders. 13 years ago
michi_cc 4f6c3fa594 (svn r23088) -Change: Extend the train order GUI with space for a forth button. 13 years ago
frosch ed2cfbd321 (svn r22858) -Feature: Conditional order depending on remaining lifetime of a vehicle. (monoid) 13 years ago
frosch 03ca1c2c39 (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 7aa57e4acd (svn r22473) -Codechange: Automatic orders are better called implicit orders as no real order influencing path finding is added 13 years ago
terkhen a88fe7c2aa (svn r22343) -Change: Remove pixel limiter for query strings. 13 years ago
frosch 307eeb3c46 (svn r22246) -Fix: Process order window invalidations for specific orders in command-scope. 13 years ago
frosch afd2e51936 (svn r22244) -Codechange: Make vehicle windows handle command-/GUI-scope invalidations themself (from autoreplace and refitting). 13 years ago
frosch 4b4a40a72e (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 13 years ago
frosch 632206cdbc (svn r22236) -Fix (r21457): Disarm a bear-pit, which r22226 almost fell into. 13 years ago
frosch 0a28d212f4 (svn r22226) -Codechange: When autoreplace invalidates vehicle windows because the Vehicle index changed, use a better eye-catcher-'data' than 0 to identify them. 13 years ago
frosch 7ba674dfc1 (svn r21985) -Codechange: Use VehicleOrderID where appropiate. 14 years ago
rubidium 1afea0803f (svn r21961) -Remove: limitation that not loading and not unloading is mutual exclusive 14 years ago
rubidium c0f39415b9 (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 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