Commit Graph

184 Commits

Author SHA1 Message Date
alberth
edf0cde4af (svn r19104) -Fix (r19039): Stablize main view centering in smallmap. 2010-02-12 13:46:41 +00:00
alberth
b8ae1a0ef5 (svn r19103) -Codechange: Use px/py for pixel coordinates in PixelToTile(), as promised by the documentation. 2010-02-12 12:14:21 +00:00
alberth
3f46632e76 (svn r19101) -Fix (r19039): Click sound was not played when pressing zoom in/out buttons. 2010-02-12 10:40:29 +00:00
terkhen
ad0b94ae44 (svn r19064) -Feature: Allow to select different land colours for the smallmap (reworked by Alberth). 2010-02-08 23:46:35 +00:00
alberth
15021ea7d1 (svn r19052) -Codechange: Remove the _smallmap_draw_procs array. 2010-02-07 11:58:35 +00:00
alberth
80555c1d2b (svn r19048) -Codechange: Pass the already queried effective tile type to the GetSmallMapPixels routines. 2010-02-06 19:24:51 +00:00
alberth
3b7253b7a5 (svn r19047) -Codechange: Use GetEffectiveTileType() in all GetSmallMapPixels routines. 2010-02-06 19:22:29 +00:00
alberth
582b2001c8 (svn r19046) -Codechange: Move retrieval of tile colour data in smallmap. 2010-02-06 19:18:09 +00:00
alberth
a69e274c70 (svn r19043) -Doc: Dcoumenting the GetSmallMapPixels typedef. 2010-02-06 15:10:12 +00:00
alberth
01467baf35 (svn r19042) -Add: Allow mousewheel zooming in smallmap. 2010-02-06 13:22:04 +00:00
alberth
e50091a1e5 (svn r19041) -Codechange: Improve selection of tile to draw in zoomed-out smallmaps. 2010-02-06 13:19:46 +00:00
alberth
9f802cf2b8 (svn r19040) -Codechange: Introduce inverse function of RemapCoords. 2010-02-06 13:14:40 +00:00
alberth
004f25fd07 (svn r19039) -Feature: Add zoom-out to smallmap. 2010-02-06 13:12:59 +00:00
alberth
d747ac0a0c (svn r19026) -Codechange: Move a constant computation out of the loop. 2010-02-06 09:27:04 +00:00
alberth
8c0488c186 (svn r19025) -Codechange: Rename DrawSmallMapStuff() to DrawSmallMapColumn(). 2010-02-06 09:25:02 +00:00
frosch
94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 2010-01-30 18:34:48 +00:00
alberth
592516f14a (svn r18962) -Fix (r18958, r18961): Code-style, use this explicitly. 2010-01-30 15:29:35 +00:00
alberth
82db479dc5 (svn r18961) -Codechange: Simplifying and unduplicating code in smallmap. 2010-01-30 13:11:26 +00:00
alberth
3b27dcea0a (svn r18958) -Codechange: Merge smallmap remap functions. 2010-01-30 09:54:58 +00:00
alberth
8033357940 (svn r18957) -Doc: Documenting the scroll_x, scroll_y, and subscroll variables of SmallMapWindow. 2010-01-30 09:32:48 +00:00
alberth
ca0c1c400f (svn r18906) -Codechange: Use start and end column position instead of a mask for drawing a column in the smallmap. 2010-01-23 22:32:30 +00:00
alberth
55d0d54627 (svn r18827) -Fix: Center main window using smallmap widget edge coordinates. 2010-01-16 15:24:00 +00:00
rubidium
9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 2010-01-15 16:41:15 +00:00
yexo
2a6fc142de (svn r18719) -Feature: don't delete the rough/rocky status of a tile when it's covered by snow, this allows rocky tiles under snow if you have a variable snowline 2010-01-04 18:33:43 +00:00
alberth
88286f1e63 (svn r18693) -Doc: Add some doxygen comments to smallmap code. 2010-01-02 18:29:51 +00:00
alberth
745280e41b (svn r18666) -Codechange: Add tooltips to enable/disable all buttons in smallmap. 2009-12-30 17:58:19 +00:00
alberth
b1fb1b253e (svn r18665) -Feature [FS#567]: Allow contour-map to be shown with coloured industries in smallmap. 2009-12-30 17:44:38 +00:00
alberth
0fd6f9732c (svn r18663) -Codechange (r1): Remove unused _smallmap_vegetation_andor colour masks. 2009-12-30 08:01:54 +00:00
alberth
0e9dac92d2 (svn r18588) -Feature [FS#2943]: Add shading and unshading of windows. 2009-12-21 16:24:29 +00:00
alberth
38733e9870 (svn r18489) -Codechange: Introduce a custom container widget for a resizing legend bar in the smallmap. 2009-12-13 20:37:32 +00:00
alberth
e57e4f788f (svn r18488) -Codechange: Make number of rows for displaying industries in smallmap legend dynamic. 2009-12-13 20:27:53 +00:00
alberth
17699167a8 (svn r18487) -Codechange: Move row height and column counting to OnInit in the smallmap window as well. 2009-12-13 20:19:08 +00:00
alberth
d4451d13a0 (svn r18480) -Codechange: Moved column width computation of smallmap legends to OnInit(), added a few doxy comments. 2009-12-13 10:25:37 +00:00
rubidium
f49c1dcd78 (svn r18389) -Fix: some minor documentation alignment issues 2009-12-03 00:05:51 +00:00
rubidium
948512883b (svn r18332) -Fix: the MSVC compile warnings 2009-11-29 01:00:03 +00:00
rubidium
45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 2009-11-28 14:42:35 +00:00
rubidium
ab417c6c06 (svn r18280) -Codechange: remove widget indices that are not needed for custom drawing/handling input 2009-11-24 21:13:36 +00:00
rubidium
50359b2d08 (svn r18277) -Codechange: remove unneeded widget indices for close, resize and sticky boxes and for window captions 2009-11-24 18:05:55 +00:00
rubidium
f8b79068e6 (svn r18274) -Codechange: remove the unused WDF flags 2009-11-24 17:28:29 +00:00
alberth
5bee09c924 (svn r18230) -Codechange: Allow fill stepsize to be set from Window::UpdateWidgetSize(). 2009-11-22 18:28:14 +00:00
alberth
18b33fde83 (svn r18229) -Codechange: Make fill_x, fill_y a number instead of a bool. 2009-11-22 18:26:01 +00:00
alberth
8139a8d96f (svn r18220) -Codechange: Reduce number of nested widget dynamic casts. 2009-11-22 13:22:53 +00:00
rubidium
ef4e936acb (svn r18211) -Cleanup: remove unneeded tooltip, size and fill 'parameters' from WWT_RESIZEBOX instances 2009-11-22 11:10:17 +00:00
rubidium
6d3fb6290e (svn r18173) -Codechange: make the smallmap RTL aware 2009-11-18 21:18:51 +00:00
rubidium
8e11cd3a42 (svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets 2009-11-17 19:16:48 +00:00
rubidium
7b0106da02 (svn r18087) -Codechange: remove NWID_LAYERED 2009-11-15 10:30:32 +00:00
rubidium
b01251092e (svn r18086) -Codechange: remove 'widget' from WindowDesc 2009-11-15 10:26:01 +00:00
rubidium
2d24cb363f (svn r18083) -Codechange: make the small map GUI nested. 2009-11-14 20:56:25 +00:00
rubidium
a66fe3c96c (svn r18082) -Codechange: make it visually easier to see where the different legenda 'tables' are split + some typos 2009-11-14 20:34:46 +00:00
rubidium
ff81b32bad (svn r18080) -Codechange: add some const to the smallmap 2009-11-14 17:47:05 +00:00