Commit Graph

231 Commits

Author SHA1 Message Date
frosch
13ea1c921b (svn r24351) -Fix: Short vehicles were not properly positioned at the cursor when dragging for RTL languages. 2012-06-23 14:31:58 +00:00
rubidium
d5eeab43b7 (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files 2012-01-03 21:32:51 +00:00
rubidium
5e11e5d77b (svn r23539) -Codechange: prevent conflict between widget naming of (vehicle) depots and vehicle details 2011-12-16 16:57:56 +00:00
truebrain
000ff60e25 (svn r23531) -Codechange: document and rename widgets to be consistent and understandable 2011-12-16 16:27:45 +00:00
truebrain
49e88dcbf0 (svn r23528) -Codechange: move widget enums to widgets/NNN_type.h 2011-12-15 22:22:55 +00:00
rubidium
24263638bf (svn r23526) -Codechange: unify cargos vs cargoes 2011-12-15 21:56:00 +00:00
rubidium
7abb74d4a2 (svn r23484) -Fix [FS#4770]: in case you already have orders, ignore the vehicles when adding an extra order 2011-12-10 19:20:30 +00:00
peter1138
b84174fd4d (svn r23316) -Feature: Add ability to zoom in to 2x and 4x level. 2011-11-24 12:38:48 +00:00
frosch
6e61fee028 (svn r23080) -Feature: [NewGRF] Use variable 10 to enable vehicle GRFs to draw different sprites on the map and in various GUIs. 2011-11-01 16:51:47 +00:00
terkhen
a88fe7c2aa (svn r22343) -Change: Remove pixel limiter for query strings. 2011-04-17 18:42:17 +00:00
frosch
4e070b017e (svn r22305) -Add: One digit for the fractional part of train lengths in the depot view. 2011-04-09 20:27:34 +00:00
frosch
db3a8d1abf (svn r22247) -Codechange: Update comments wrt. ForceRebuild() in command-scope. 2011-03-13 21:34:21 +00:00
frosch
4b4a40a72e (svn r22241) -Codechange: Add additional to-be-used parameter to OnInvalidateData(). 2011-03-13 21:31:29 +00:00
rubidium
fd7633def5 (svn r21960) -Change: show the length of vehicles in tiles, instead of half tiles in the depot
-Fix [FS#4461]: don't count the number of vehicles but the length of vehicles to (configurably) limit train length
2011-02-04 15:40:35 +00:00
terkhen
0e51dab6a6 (svn r21924) -Codechange: Unify some parts of the articulated vehicle code.
-Cleanup: Avoid conversions to Train and RoadVehicle that are no longer required.
2011-01-29 17:30:25 +00:00
rubidium
05199a641a (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
terkhen
b6148914b0 (svn r21803) -Cleanup: Remove unnecessary semicolons. 2011-01-15 15:36:58 +00:00
terkhen
f69d280f14 (svn r21521) -Codechange: Unify some cached values that were present in both road vehicles and trains. 2010-12-14 21:33:53 +00:00
terkhen
47c9189002 (svn r21516) -Codechange: Add IsGroundVehicle function to the Vehicle class. 2010-12-14 21:26:03 +00:00
rubidium
004b2b6001 (svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed 2010-12-12 14:14:26 +00:00
rubidium
116a1201dd (svn r21409) -Codechange: limit depot name by amount of characters, not bytes 2010-12-05 22:24:04 +00:00
terkhen
88fe4eaf79 (svn r21241) -Fix: Display dragged vehicles in the correct orientation while using RTL languages. 2010-11-18 17:49:42 +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
alberth
063931d435 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 2010-10-30 17:51:07 +00:00
yexo
2d2b6630d7 (svn r20788) -Fix (r20733)[FS#4119]: start/stop all vehicles from non-train depots was broken 2010-09-12 16:54:39 +00:00
rubidium
91ea9c969f (svn r20770) -Codechange: move some bits around in CmdMassStartStop's parameters 2010-09-08 21:14:41 +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
bbafd249ca (svn r20573) -Codechange: free/reserve some bits in the sell vehicle command to increase the vehicle pool limit 2010-08-19 20:45:29 +00:00
rubidium
b07f2beb67 (svn r20572) -Codechange: free/reserve some bits in the wagon move command to increase the vehicle pool limit 2010-08-19 20:42:00 +00:00
rubidium
27e45d96a4 (svn r20547) -Change: the way order backups are performed. Now restoring an order doesn't require up to 765 commands. 2010-08-18 20:48:38 +00:00
rubidium
f4174fcc2f (svn r20545) -Codechange: make sure an OrderBackup gets cleared when the depot it belongs to gets removed, the depot window gets closed or when another vehicle gets sold in a depot 2010-08-18 18:52:16 +00:00
rubidium
e68cf6bd81 (svn r20539) -Codechange: make order backups more self-contained. 2010-08-18 15:15:59 +00:00
rubidium
9d814f04dd (svn r20533) -Codechange: shuffle a bit with the bits in the sell command 2010-08-18 00:03:08 +00:00
frosch
51f556093e (svn r20465) -Codechange: Use NWID_SELECTION to hide horizontal scrollbar and 'sell chain' button for non-train depot windows. 2010-08-12 11:46:20 +00:00
frosch
6d7b2237f0 (svn r20464) -Codechange/Fix: Do not use a scrollbar to store the number of columns for non-train depot windows. 2010-08-12 11:21:30 +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
frosch
c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +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
rubidium
5e83d73679 (svn r20145) -Codechange: keep original RMB->tooltip behaviour when hovering is disabled and there is no handled right click event for the widget, i.e. if a widget would handle the right click you won't see the tooltip anymore by right clicking; by enabling hovering you would get access to that tooltip again. 2010-07-14 17:36:27 +00:00
terkhen
010ebadb0a (svn r20121) -Add: OnHover method for windows. 2010-07-11 11:00:09 +00:00
terkhen
840f09ddf0 (svn r20120) -Feature [FS#3913]: Tooltips are shown by hovering the mouse over a widget instead of by right clicking on it. 2010-07-11 10:58:55 +00:00
alberth
0418fcd988 (svn r19888) -Add [FS#3705]: Add highlighting of drag destination in depot gui (sbr). 2010-05-23 15:02:26 +00:00
rubidium
63865a5ed7 (svn r19801) -Add [FS#3691]: custom naming of depots. Based on work by sbr 2010-05-12 20:50:10 +00:00
rubidium
99e88d6f7f (svn r19796) -Codechange: introduce and use a {DEPOT} string command 2010-05-12 18:19:36 +00:00
smatz
691261674a (svn r19714) -Feature: ctrl+click on a vehicle to start/stop it 2010-04-24 20:55:51 +00:00
smatz
ce9d3a2d6a (svn r19710) -Codechange: deduplicate GUI code for starting/stopping vehicles 2010-04-24 14:29:30 +00:00