Commit Graph

274 Commits

Author SHA1 Message Date
yexo
8ad176894d (svn r22181) -Fix (r20574): following a vehicle with a very high VehicleID was impossible 2011-03-04 12:12:48 +00:00
rubidium
05199a641a (svn r21890) -Cleanup: remove some unneeded includes 2011-01-22 14:52:20 +00:00
rubidium
ec4f688ca0 (svn r21845) -Codechange: move documentation towards the code to make it more likely to be updates [d-m]. 2011-01-18 22:31:06 +00:00
alberth
a1049fbe66 (svn r21667) -Codechange: Introduce _thd.Reset(). 2010-12-30 15:32:31 +00:00
alberth
5955e98b79 (svn r21666) -Codechange: Use GetCallbackWnd at more places. 2010-12-30 13:18:04 +00:00
alberth
fdf0be0da8 (svn r21665) -Codechange: Make GetCallbackWnd a method of _thd. 2010-12-30 13:16:31 +00:00
rubidium
a074649fc1 (svn r21648) -Codechange: unduplicate a bit of code 2010-12-27 18:21:19 +00:00
alberth
ce3fa189ad (svn r21638) -Codechange (r1): Simplify testing that outersize.x is bigger than 0. 2010-12-25 19:58:50 +00:00
rubidium
de7a30cc2e (svn r21637) -Codechange: make it more clear that IS_PALETTE_COLOUR belongs to TextColour 2010-12-25 19:47:15 +00:00
smatz
76a57e9766 (svn r21632) -Codechange: call ResetObjectToPlace() even when current place_mode is HT_NONE 2010-12-25 12:47:05 +00:00
alberth
9b29187b7c (svn r21628) -Codechange: Remove local variables that just point to global _thd. 2010-12-24 17:51:46 +00:00
alberth
7d989073d4 (svn r21627) -Codechange: Remove _place_proc global variable. 2010-12-24 15:08:19 +00:00
alberth
245362472c (svn r21621) -Codechange: Only consider tile highlighting mode bits in tile selection functions. 2010-12-24 14:55:31 +00:00
alberth
d9d3da8fdb (svn r21620) -Codechange: Don't consider direction bits when checking for an active highlight mode. 2010-12-24 14:52:42 +00:00
alberth
b5822d3086 (svn r21619) -Fix [FS#4327]: Don't copy direction bits when restarting a rail selection. 2010-12-24 14:48:38 +00:00
smatz
26f0662680 (svn r21612) -Fix (r21608): dragging with HT_POINT was half a tile off 2010-12-23 20:25:55 +00:00
alberth
d5d7a2d88f (svn r21608) -Codechange: Move diagnonal rectangle dragging detection completely to tile highlighting. 2010-12-23 14:24:34 +00:00
alberth
65bf80ad04 (svn r21607) -Codechange: Be more robust against having extra bits in HighLightStyle vars. 2010-12-23 14:15:05 +00:00
alberth
2a8f8e2352 (svn r21600) -Codechange: Remove new_drawstyle and new_diagonal variables from the _thd structure. 2010-12-22 19:24:36 +00:00
alberth
e02d53beba (svn r21542) -Codechange (r14789): Handling a click at a tile once is enough. 2010-12-20 09:34:30 +00:00
smatz
9a4546ffda (svn r21531) -Fix: gcc 3.4 warning 2010-12-16 14:03:21 +00:00
rubidium
9128007a51 (svn r21501) -Fix (rnotlongago): guess what was complaining this time? 2010-12-13 15:34:30 +00:00
rubidium
bdae6e56ff (svn r21498) -Codechange: make the measurement tooltip handle diagonal selection properly 2010-12-13 15:11:03 +00:00
rubidium
99b0a9538e (svn r21497) -Codechange: prepare the viewport selection mechanism for selecting diagonally 2010-12-13 15:09:59 +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
alberth
9f3845227e (svn r21273) -Codechange: Return values should start at the same line. 2010-11-20 15:44:24 +00:00
alberth
063931d435 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 2010-10-30 17:51:07 +00:00
alberth
835fe2131d (svn r21020) -Add: Use center of waypoint in waypoint gui, if available. 2010-10-23 20:39:21 +00:00
alberth
4b785f6554 (svn r21018) -Doc: Add Doxygen comments to some function. 2010-10-23 18:28:20 +00:00
alberth
2a2f204e0c (svn r21017) -Doc: Small fixes (by Krille). 2010-10-23 18:12:38 +00:00
terkhen
56e3352ed0 (svn r20891) -Fix [FS#4145]: Measurement tooltips for docks and tunnels were closed after a hover event. 2010-10-03 12:20:50 +00:00
smatz
ca1aea6225 (svn r20761) -Codechange: make PlaceObject() static 2010-09-07 11:05:22 +00:00
smatz
e4bf409e44 (svn r20760) -Cleanup (r20753): remove unused CheckMouseOverVehicle() 2010-09-07 11:03:46 +00:00
smatz
d9cca2ae1d (svn r20759) -Fix (r20753): it wasn't possible to build anything when left button scrolling was active 2010-09-07 11:00:42 +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
f5d93f1961 (svn r20358) -Fix [FS#4008]: (r20281) crash when building some stuff when the measurement tooltip is disabled 2010-08-04 07:31:29 +00:00
terkhen
04134c1e51 (svn r20289) -Codechange: Unify fall through coding style. 2010-08-01 20:52:11 +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
terkhen
c92b2e9d3c (svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH). 2010-07-29 14:26:28 +00:00
alberth
137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
rubidium
9fd2afb147 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 2010-07-19 17:28:27 +00:00
rubidium
035d0ef16b (svn r20187) -Codechange: move _tileh_to_sprite into a function in a more logical place and with a more descriptive name 2010-07-19 17:00:54 +00:00
terkhen
086a424b7a (svn r20119) -Add: Tooltips can be removed if the user stops hovering the mouse. 2010-07-11 10:55:57 +00:00
alberth
c2a871d10b (svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine(). 2010-07-02 13:53:05 +00:00
frosch
58d6367efb (svn r19942) -Fix [FS#3871](r19816): Vertical dragging of rail was broken. 2010-06-07 19:43:40 +00:00
frosch
39e941a414 (svn r19911) -Codechange: Simplify text drawing by eliminating global variables and side effects. This also fixes the 'colour' parameter of DrawStringMultiLine(). 2010-05-30 15:32:37 +00:00
alberth
29fd6ce0e4 (svn r19909) -Doc: Typo fixes, small doxygen improvements. 2010-05-30 13:05:36 +00:00