Commit Graph

70 Commits

Author SHA1 Message Date
terkhen d92f29b822 (svn r21560) -Codechange: Declare DrawVehicleImage in its header. 2010-12-21 13:50:31 +00:00
rubidium 4b605f51ab (svn r20773) -Codechange: use packed VehicleListIdentifiers for some commands as well 2010-09-08 21:40:00 +00:00
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 2010-09-06 14:14:09 +00:00
frosch ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
smatz c4175b752a (svn r19957) -Codechange: remove VLW_WAYPOINT_LIST 2010-06-11 00:18:28 +00:00
alberth 268bc7d571 (svn r19888) -Add [FS#3705]: Add highlighting of drag destination in depot gui (sbr). 2010-05-23 15:02:26 +00:00
smatz 0040e88b7f (svn r19876) -Fix (r14104): it was not possible to send all trains with common waypoint order to depot 2010-05-21 19:44:14 +00:00
rubidium 398418b8fa (svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int 2010-05-13 09:44:44 +00:00
smatz e3c89df398 (svn r19714) -Feature: ctrl+click on a vehicle to start/stop it 2010-04-24 20:55:51 +00:00
smatz 4a9ef6ce60 (svn r19710) -Codechange: deduplicate GUI code for starting/stopping vehicles 2010-04-24 14:29:30 +00:00
rubidium 82fc28f77f (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
rubidium 8d6e323ef8 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 2009-11-24 21:13:36 +00:00
rubidium 14300d309c (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 a808623b24 (svn r18133) -Codechange: pass the 'maximum' left/right positions to Draw*Image 2009-11-16 22:25:01 +00:00
rubidium ef11ce84ee (svn r18128) -Codechange: rename GetVehicleListHeight to GetVehicleHeight as it has nothing to do with the height of the vehicle lists. 2009-11-16 20:58:38 +00:00
rubidium 860b9b1cea (svn r18028) -Codechange: unglobalise some functions 2009-11-09 10:40:33 +00:00
alberth c3992ab7b6 (svn r17852) -Codechange: Use viewport nested widget in the view-vehicle window. 2009-10-24 13:58:18 +00:00
alberth ef5dc588de (svn r17851) -Codechange: Use pure nested widgets for the view-vehicle window. 2009-10-24 13:49:04 +00:00
rubidium 7fbc33dae1 (svn r17248) -Fix: add GPL license notice where appropriate 2009-08-21 20:21:05 +00:00
frosch 52f9b8ffbd (svn r17147) -Fix [FS#3048]: Keep vehicle news and viewports following vehicles, when autoreplacing/renewing them. 2009-08-10 20:06:39 +00:00
rubidium e473e69ba4 (svn r16976) -Codechange: remove WaypointID and MAX_LENGTH constants in favour of their Station variants 2009-07-28 21:06:38 +00:00
rubidium cb0409fe52 (svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h 2009-07-22 10:18:19 +00:00
rubidium 0658d6cb3d (svn r16900) -Codechange: prepare the waypoint window for buoys 2009-07-21 16:30:01 +00:00
frosch 3973b1e7cb (svn r16817) -Codechange: Scroll depots horizontally in pixels instead of 1/8 vehicle length. 2009-07-13 19:30:37 +00:00
frosch 78eccd05be (svn r16799) -Codechange: When drawing articulated road vehicles in the vehicle details window, draw as many parts as the window fits instead of always up to a vehicle length of 80/8. 2009-07-12 16:00:11 +00:00
frosch ea229c32bc (svn r16483) -Codechange: Enumerate tabs in train details window. 2009-05-31 14:04:19 +00:00
frosch 09d64ff79d (svn r16386) -Codechange: Move ShowAdditionalText() to build_vehicle_gui and make it static. 2009-05-22 19:47:26 +00:00
rubidium dfe5dad5f6 (svn r15807) -Codechange: let the build vehicle gui helper function pass around left and right instead of only left and assuming infinite width. 2009-03-22 11:06:25 +00:00
michi_cc 84deeecc5b (svn r15480) -Feature(tte): Show the cargo subtype in the vehicle details window. 2009-02-14 18:42:03 +00:00
rubidium 3b798599b6 (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 2008-09-30 20:39:50 +00:00
smatz 6987e6015a (svn r14395) -Fix [FS#2285]: crashes and GUI desyncs when order is deleted/modified while the timetable window is open
-Fix: close any dropdown and child windows in the Order and Timetable windows when selected order is deselected, deleted, ...
2008-09-24 16:40:06 +00:00
rubidium fc62d736f7 (svn r14306) -Codechange: unify the code to draw the vehicle list.
-Fix [FS#2292]: inconsistency between drawn vehicle lists in the vehicle list and group windows.
2008-09-13 10:04:36 +00:00
rubidium 560e5560f1 (svn r14301) -Codechange: give the vehicle list and group list the same relative size and the same absolute height for the vehicle list items. 2008-09-12 21:20:12 +00:00
belugas d3dd9c6566 (svn r14118) -Fix(r14104): typos creeping like bugs 2008-08-21 01:42:21 +00:00
belugas 77ee099212 (svn r14104) -Feature: Add a window for waypoints, allowing to view all the trains having the selected waypoint in their orders.
Changing its name is also supported from the same new window.
Gui based on work done by Satyap, on FS#2025.
2008-08-20 01:29:05 +00:00
skidd13 32c2041f89 (svn r13587) -Codechange: make some globals members of VehicleListBase since they are used as such
-Cleanup: some small things referring the change
2008-06-19 19:58:30 +00:00
rubidium 9defec7876 (svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData. 2008-05-18 16:51:44 +00:00
rubidium 9717e1ef07 (svn r13146) -Codechange: vehicle_base.h doesn't need to be included in vehicle_gui.h. 2008-05-17 20:54:18 +00:00
rubidium 87015f5b63 (svn r13140) -Codechange: move the gui-list-sorting out of window_gui.h so window_gui.h only needs to be included in *_gui.cpp. 2008-05-17 13:01:30 +00:00
rubidium c47926311b (svn r13046) -Codechange: make classes of the VehicleListWindow and the VehicleGroupWindow. 2008-05-11 15:00:11 +00:00
rubidium 75e3792aa3 (svn r13045) -Codechange: make list_d (now GUIList) more generic and uniform. 2008-05-11 14:23:45 +00:00
rubidium b47a151bce (svn r13037) -Codechange: make a class of the ReplaceVehicle window.
-Fix [FS#1997]: MSVC 64 bit build failing to compile due to std::vectors being very large..
2008-05-10 23:44:15 +00:00
rubidium d03994098b (svn r12971) -Documentation: add @file in files that missed them and add something more than whitespace as description of files that don't have a description. 2008-05-06 15:11:33 +00:00
bjarni 9f5f4e59cd (svn r12912) -Codechange: overloaded ChangeVehicleViewWindow() so each argument can be either a Vehicle pointer or a VehicleID 2008-04-27 18:05:48 +00:00
smatz 9fc355fca5 (svn r12862) -Codechange: reduce code duplication for VehicleType -> WindowClass lookup 2008-04-24 09:55:20 +00:00
rubidium 93d59fe448 (svn r12476) -Codechange: split type engine related types from engine.h (and openttd.h) to engine_type.h. 2008-03-28 18:00:38 +00:00
rubidium ff3a401404 (svn r12472) -Codechange: remove unneeded declaration of ViewPort and DrawPixelInfo. 2008-03-28 16:38:18 +00:00
rubidium 4c63dd074e (svn r12470) -Codechange: split order related types from order.h (and openttd.h) to order_type.h. 2008-03-28 16:36:32 +00:00
rubidium 58e6e75320 (svn r12468) -Codechange: move some type related stuff from station.h (and openttd.h) to station_type.h. 2008-03-28 16:33:28 +00:00
smatz 1d59439166 (svn r11916) -Codechange: use enums from VehicleViewWindowWidgets instead of constants
-Fix: refit button widget was not correctly updated
2008-01-18 13:02:47 +00:00