Commit Graph

80 Commits (092ede70fde838ea61b23eed1e4e3e00803890a5)

Author SHA1 Message Date
frosch 0829753fd0 (svn r27631) -Codechange: Split GetSingleVehicleWidth from GetVehicleWidth. 8 years ago
frosch caa9bffb56 (svn r27630) -Codechange: Deduplicate code to attach vehicle to cursor. 8 years ago
michi_cc bac2b4c25d (svn r24839) -Feature [FS#5271]: [NewGRF] Support oversized purchase list sprites. (Based on patch by Eddi) 12 years ago
michi_cc 37da99ab90 (svn r24833) -Codechange: Replace magic numbers for invalidating vehicle-related windows with an enum. 12 years ago
rubidium 0cfe86cead (svn r23735) -Codechange: remove ~50 includes from headers that weren't needed 13 years ago
truebrain 49e88dcbf0 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 13 years ago
michi_cc a50877bef7 (svn r23089) -Add: Allow specifying refits for go-to station orders. 13 years ago
frosch 6e61fee028 (svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs. 13 years ago
terkhen dfc460035b (svn r21565) -Codechange: Add pixel skip to DrawRoadVehImage(). 14 years ago
terkhen df2a2615a4 (svn r21563) -Codechange: Add function to get the width of a vehicle. 14 years ago
terkhen f1c0366667 (svn r21560) -Codechange: Declare DrawVehicleImage in its header. 14 years ago
rubidium eeb53fc575 (svn r20773) -Codechange: use packed VehicleListIdentifiers for some commands as well 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
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
smatz a6232ad532 (svn r19957) -Codechange: remove VLW_WAYPOINT_LIST 14 years ago
alberth 0418fcd988 (svn r19888) -Add [FS#3705]: Add highlighting of drag destination in depot gui (sbr). 14 years ago
smatz 1c2fe75a12 (svn r19876) -Fix (r14104): it was not possible to send all trains with common waypoint order to depot 14 years ago
rubidium f09a74a996 (svn r19812) -Codechange: give some unnamed enums a name or, in case they consisted of unrelated values use static const (u)int 14 years ago
smatz 691261674a (svn r19714) -Feature: ctrl+click on a vehicle to start/stop it 14 years ago
smatz ce9d3a2d6a (svn r19710) -Codechange: deduplicate GUI code for starting/stopping vehicles 14 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
rubidium ab417c6c06 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 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 68f146d83c (svn r18133) -Codechange: pass the 'maximum' left/right positions to Draw*Image 15 years ago
rubidium b7ef6b3ca8 (svn r18128) -Codechange: rename GetVehicleListHeight to GetVehicleHeight as it has nothing to do with the height of the vehicle lists. 15 years ago
rubidium 224f4e0197 (svn r18028) -Codechange: unglobalise some functions 15 years ago
alberth 5f11ca95a6 (svn r17852) -Codechange: Use viewport nested widget in the view-vehicle window. 15 years ago
alberth ab559623d6 (svn r17851) -Codechange: Use pure nested widgets for the view-vehicle window. 15 years ago
rubidium 99d46e0ad7 (svn r17248) -Fix: add GPL license notice where appropriate 15 years ago
frosch e44a69b92f (svn r17147) -Fix [FS#3048]: Keep vehicle news and viewports following vehicles, when autoreplacing/renewing them. 15 years ago
rubidium edf7b21e18 (svn r16976) -Codechange: remove WaypointID and MAX_LENGTH constants in favour of their Station variants 15 years ago
rubidium 6435dc89fe (svn r16912) -Codechange: split waypoint.h in waypoint_base.h and waypoint_func.h 15 years ago
rubidium 1dda60343f (svn r16900) -Codechange: prepare the waypoint window for buoys 15 years ago
frosch 1fbbf29987 (svn r16817) -Codechange: Scroll depots horizontally in pixels instead of 1/8 vehicle length. 15 years ago
frosch fb9ec40e44 (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. 15 years ago
frosch eb3965f934 (svn r16483) -Codechange: Enumerate tabs in train details window. 15 years ago
frosch 6478025c7d (svn r16386) -Codechange: Move ShowAdditionalText() to build_vehicle_gui and make it static. 15 years ago
rubidium 64e7ab4025 (svn r15807) -Codechange: let the build vehicle gui helper function pass around left and right instead of only left and assuming infinite width. 15 years ago
michi_cc 0dcf301d6d (svn r15480) -Feature(tte): Show the cargo subtype in the vehicle details window. 16 years ago
rubidium f56e630e5c (svn r14421) -Codechange: rename all player variables/types to company *or* client so it is immediatelly clear which one you are working with. 16 years ago
smatz a000de8418 (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, ...
16 years ago
rubidium 4ea5308d49 (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.
16 years ago
rubidium 3423721523 (svn r14301) -Codechange: give the vehicle list and group list the same relative size and the same absolute height for the vehicle list items. 16 years ago
belugas a91c078526 (svn r14118) -Fix(r14104): typos creeping like bugs 16 years ago
belugas d096431936 (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.
16 years ago
skidd13 ec261a6456 (svn r13587) -Codechange: make some globals members of VehicleListBase since they are used as such
-Cleanup: some small things referring the change
16 years ago
rubidium 3ee2556585 (svn r13165) -Codechange: replace some RebuildXXXList/ResortXXXList+InvalidateWindowXXX with InvalidateWindowXXXData. 16 years ago
rubidium 8ff56af53d (svn r13146) -Codechange: vehicle_base.h doesn't need to be included in vehicle_gui.h. 16 years ago
rubidium ad6e52080c (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. 16 years ago
rubidium ee3c14b344 (svn r13046) -Codechange: make classes of the VehicleListWindow and the VehicleGroupWindow. 16 years ago