Commit Graph

270 Commits

Author SHA1 Message Date
alberth
cedb07bba3 (svn r21666) -Codechange: Use GetCallbackWnd at more places. 2010-12-30 13:18:04 +00:00
alberth
22a13850cb (svn r21665) -Codechange: Make GetCallbackWnd a method of _thd. 2010-12-30 13:16:31 +00:00
rubidium
b98c758e0b (svn r21648) -Codechange: unduplicate a bit of code 2010-12-27 18:21:19 +00:00
alberth
d2564a3e56 (svn r21638) -Codechange (r1): Simplify testing that outersize.x is bigger than 0. 2010-12-25 19:58:50 +00:00
rubidium
2c41b8ee97 (svn r21637) -Codechange: make it more clear that IS_PALETTE_COLOUR belongs to TextColour 2010-12-25 19:47:15 +00:00
smatz
b5268dccbd (svn r21632) -Codechange: call ResetObjectToPlace() even when current place_mode is HT_NONE 2010-12-25 12:47:05 +00:00
alberth
96906c1a45 (svn r21628) -Codechange: Remove local variables that just point to global _thd. 2010-12-24 17:51:46 +00:00
alberth
852e647bcc (svn r21627) -Codechange: Remove _place_proc global variable. 2010-12-24 15:08:19 +00:00
alberth
9cdd8c6d48 (svn r21621) -Codechange: Only consider tile highlighting mode bits in tile selection functions. 2010-12-24 14:55:31 +00:00
alberth
e930b9985d (svn r21620) -Codechange: Don't consider direction bits when checking for an active highlight mode. 2010-12-24 14:52:42 +00:00
alberth
cdae336feb (svn r21619) -Fix [FS#4327]: Don't copy direction bits when restarting a rail selection. 2010-12-24 14:48:38 +00:00
smatz
e4e6735cea (svn r21612) -Fix (r21608): dragging with HT_POINT was half a tile off 2010-12-23 20:25:55 +00:00
alberth
90780fd25b (svn r21608) -Codechange: Move diagnonal rectangle dragging detection completely to tile highlighting. 2010-12-23 14:24:34 +00:00
alberth
1ba348914d (svn r21607) -Codechange: Be more robust against having extra bits in HighLightStyle vars. 2010-12-23 14:15:05 +00:00
alberth
08c6b99294 (svn r21600) -Codechange: Remove new_drawstyle and new_diagonal variables from the _thd structure. 2010-12-22 19:24:36 +00:00
alberth
50faf52cfc (svn r21542) -Codechange (r14789): Handling a click at a tile once is enough. 2010-12-20 09:34:30 +00:00
smatz
728220ec88 (svn r21531) -Fix: gcc 3.4 warning 2010-12-16 14:03:21 +00:00
rubidium
20364bcefa (svn r21501) -Fix (rnotlongago): guess what was complaining this time? 2010-12-13 15:34:30 +00:00
rubidium
652e262601 (svn r21498) -Codechange: make the measurement tooltip handle diagonal selection properly 2010-12-13 15:11:03 +00:00
rubidium
959308a243 (svn r21497) -Codechange: prepare the viewport selection mechanism for selecting diagonally 2010-12-13 15:09:59 +00:00
rubidium
a029b2b83a (svn r21477) -Fix [FS#4300]: tooltips were removed when their related window got closed 2010-12-12 14:14:26 +00:00
alberth
ab50f74d7f (svn r21273) -Codechange: Return values should start at the same line. 2010-11-20 15:44:24 +00:00
alberth
7e48d85104 (svn r21060) -Doc: Improved wording of comments (mostly by __ln__) 2010-10-30 17:51:07 +00:00
alberth
83094e5e58 (svn r21020) -Add: Use center of waypoint in waypoint gui, if available. 2010-10-23 20:39:21 +00:00
alberth
8f24ec9471 (svn r21018) -Doc: Add Doxygen comments to some function. 2010-10-23 18:28:20 +00:00
alberth
af941fc598 (svn r21017) -Doc: Small fixes (by Krille). 2010-10-23 18:12:38 +00:00
terkhen
92514c6b94 (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
bb4538665a (svn r20761) -Codechange: make PlaceObject() static 2010-09-07 11:05:22 +00:00
smatz
15c2a2d555 (svn r20760) -Cleanup (r20753): remove unused CheckMouseOverVehicle() 2010-09-07 11:03:46 +00:00
smatz
a282c3ab57 (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
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
rubidium
30f2afac9b (svn r20632) -Cleanup: remove "a few" unneeded includes, and add them to some headers 2010-08-26 22:01:16 +00:00
rubidium
3fd1fc35e6 (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
80c43f52e8 (svn r20289) -Codechange: Unify fall through coding style. 2010-08-01 20:52:11 +00:00
frosch
4bd32799f1 (svn r20286) -Codechange: Unify end of doxygen comments. 2010-08-01 19:44:49 +00:00
frosch
ed4f806f1d (svn r20283) -Codechange: Unify start of doygen comments. 2010-08-01 19:22:34 +00:00
rubidium
e356cb9405 (svn r20281) -Codechange: unify case scope closure + break coding style 2010-08-01 18:53:30 +00:00
terkhen
88ca183191 (svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH). 2010-07-29 14:26:28 +00:00
alberth
be6c058424 (svn r20211) -Codechange: Indented code should have curly braces around it. 2010-07-24 10:14:39 +00:00
rubidium
b8487afe54 (svn r20192) -Cleanup: bye bye variables.h, bye bye VARDEF... you won't be missed :) 2010-07-19 17:28:27 +00:00
rubidium
5a836cdec7 (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
51e6cb0a70 (svn r20119) -Add: Tooltips can be removed if the user stops hovering the mouse. 2010-07-11 10:55:57 +00:00
alberth
22b9bc5157 (svn r20043) -Codechange: Introduce vertical alignment for DrawStringMultiLine(). 2010-07-02 13:53:05 +00:00
frosch
eb02ce0573 (svn r19942) -Fix [FS#3871](r19816): Vertical dragging of rail was broken. 2010-06-07 19:43:40 +00:00
frosch
4b7afccd46 (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
51e67a40e0 (svn r19909) -Doc: Typo fixes, small doxygen improvements. 2010-05-30 13:05:36 +00:00
alberth
ce0e1cbb3f (svn r19905) -Codechange: Use EventState for mouse handling routines. 2010-05-30 12:15:28 +00:00
smatz
93233a9335 (svn r19870) -Codechange: silence some of GCC 3.3 warnings 2010-05-21 05:42:41 +00:00
rubidium
241dd9a9f5 (svn r19817) -Fix: MSVC compile warnings 2010-05-13 12:42:56 +00:00
rubidium
548dd91ef0 (svn r19816) -Codechange: use static const uint for the unnamed 'tile consts' enum as well 2010-05-13 11:19:30 +00:00