Commit Graph

284 Commits

Author SHA1 Message Date
frosch
07cccfb893 (svn r23125) -Codechange: Replace some 8s with TILE_SIZE / 2. (adf88) 2011-11-06 15:54:55 +00:00
rubidium
e8eb3fe381 (svn r23110) -Codechange: let the flying altitude return ints are well 2011-11-04 13:40:59 +00:00
rubidium
0e2d2b2317 (svn r23108) -Codechange: more uint -> int / byte -> int conversions for Z related variables 2011-11-04 11:52:19 +00:00
rubidium
de980ef0f9 (svn r23091) -Codechange: rename some Get*Z functions to Get*PixelZ functions if they return the Z in pixels (like TilePixelHeight) 2011-11-04 10:18:13 +00:00
planetmaker
1e76e1a74a (svn r22761) -Fix (r22708): Make invisible signs un-clickable (Zuu) 2011-08-19 20:54:15 +00:00
frosch
bb3ce07d41 (svn r22755) -Fix [FS#4727]: When marking tile selections dirty, use the height information of the corners instead of the surface slope. This is more accurate when the foundation is kind of undefined. 2011-08-16 21:25:33 +00:00
frosch
8fe21e4d46 (svn r22740) -Fix [FS#4708]: Display the size of the leveled platform in the measurement tooltip of terraforming operations. 2011-08-13 10:44:15 +00:00
frosch
29ba3a1dd7 (svn r22739) -Fix: The measurement tooltip is supposed to be hidden when not dragging an area. 2011-08-13 10:43:11 +00:00
planetmaker
3e5d60ea2e (svn r22708) -Feature [FS#4701]: Display option to hide competitors' signs and station names (Zuu) 2011-08-01 18:41:21 +00:00
frosch
27a095fd92 (svn r22649) -Fix [FS#4670]: Switching from a red to a white highlight (by switching to another tool) without switching the highlight mode (HT_RECT etc.) did not mark the selection dirty. 2011-07-10 14:44:41 +00:00
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