Commit Graph

198 Commits (f48fca6bfcc5afd1801377fb22b34bc5e349fb4b)

Author SHA1 Message Date
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. 14 years ago
alberth 1f08a7a72e (svn r19821) -Fix (r19816): Minimap displayed a black screen instead of the upper edge of the map (reported by IPG). 15 years ago
rubidium f2d86acbd9 (svn r19816) -Codechange: use static const uint for the unnamed 'tile consts' enum as well 15 years ago
frosch fc4ad28cb0 (svn r19770) -Feature: Hide all other industries when ctrl+clicking an industry type in smallmap legend. 15 years ago
alberth 14d545e902 (svn r19767) -Fix [FS#3808]: Height in smallmap was different from measured heights (ChillCore). 15 years ago
alberth a3a8429531 (svn r19766) -Codechange: Store tile height of smallmap contour legend in the LegendAndColour struct. 15 years ago
rubidium fabbe2a6c9 (svn r19760) -Change: use the {HEIGHT} command for the smallmap legend 15 years ago
frosch a4413f4cf6 (svn r19670) -Codechange: Add CeilDiv() and RoundDiv() to simplify integer divisions with rounding. 15 years ago
smatz 5e77cefb6a (svn r19580) -Codechange: auto-raise 'Enable/Disable all' buttons in the Smallmap window 15 years ago
terkhen 8ec9637d42 (svn r19523) -Fix: Prevent drawing industries disabled at the smallmap as land tiles when they are built on water. 15 years ago
terkhen bda9ad98c1 (svn r19521) -Codechange: Use a IndustryType array to sort industries by name instead of a LegendAndColour array. 15 years ago
terkhen 876fe18305 (svn r19503) -Feature: Sort industries alphabetically at the smallmap legend. 15 years ago
frosch be6c18454a (svn r19481) -Codechange: Turn _industry_counts into a static member of Industry. 15 years ago
peter1138 73fdfa40e0 (svn r19307) -Add: Let railtypes specify their own smallmap colour. No legend support yet. 15 years ago
alberth edf0cde4af (svn r19104) -Fix (r19039): Stablize main view centering in smallmap. 15 years ago
alberth b8ae1a0ef5 (svn r19103) -Codechange: Use px/py for pixel coordinates in PixelToTile(), as promised by the documentation. 15 years ago
alberth 3f46632e76 (svn r19101) -Fix (r19039): Click sound was not played when pressing zoom in/out buttons. 15 years ago
terkhen ad0b94ae44 (svn r19064) -Feature: Allow to select different land colours for the smallmap (reworked by Alberth). 15 years ago
alberth 15021ea7d1 (svn r19052) -Codechange: Remove the _smallmap_draw_procs array. 15 years ago
alberth 80555c1d2b (svn r19048) -Codechange: Pass the already queried effective tile type to the GetSmallMapPixels routines. 15 years ago
alberth 3b7253b7a5 (svn r19047) -Codechange: Use GetEffectiveTileType() in all GetSmallMapPixels routines. 15 years ago
alberth 582b2001c8 (svn r19046) -Codechange: Move retrieval of tile colour data in smallmap. 15 years ago
alberth a69e274c70 (svn r19043) -Doc: Dcoumenting the GetSmallMapPixels typedef. 15 years ago
alberth 01467baf35 (svn r19042) -Add: Allow mousewheel zooming in smallmap. 15 years ago
alberth e50091a1e5 (svn r19041) -Codechange: Improve selection of tile to draw in zoomed-out smallmaps. 15 years ago
alberth 9f802cf2b8 (svn r19040) -Codechange: Introduce inverse function of RemapCoords. 15 years ago
alberth 004f25fd07 (svn r19039) -Feature: Add zoom-out to smallmap. 15 years ago
alberth d747ac0a0c (svn r19026) -Codechange: Move a constant computation out of the loop. 15 years ago
alberth 8c0488c186 (svn r19025) -Codechange: Rename DrawSmallMapStuff() to DrawSmallMapColumn(). 15 years ago
frosch 94a5c917a5 (svn r18966) -Codechange: Remove Window::OnDoubleClick() in favour of a parameter for OnClick(). 15 years ago
alberth 592516f14a (svn r18962) -Fix (r18958, r18961): Code-style, use this explicitly. 15 years ago
alberth 82db479dc5 (svn r18961) -Codechange: Simplifying and unduplicating code in smallmap. 15 years ago
alberth 3b27dcea0a (svn r18958) -Codechange: Merge smallmap remap functions. 15 years ago
alberth 8033357940 (svn r18957) -Doc: Documenting the scroll_x, scroll_y, and subscroll variables of SmallMapWindow. 15 years ago
alberth ca0c1c400f (svn r18906) -Codechange: Use start and end column position instead of a mask for drawing a column in the smallmap. 15 years ago
alberth 55d0d54627 (svn r18827) -Fix: Center main window using smallmap widget edge coordinates. 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
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 15 years ago
alberth 88286f1e63 (svn r18693) -Doc: Add some doxygen comments to smallmap code. 15 years ago
alberth 745280e41b (svn r18666) -Codechange: Add tooltips to enable/disable all buttons in smallmap. 15 years ago
alberth b1fb1b253e (svn r18665) -Feature [FS#567]: Allow contour-map to be shown with coloured industries in smallmap. 15 years ago
alberth 0fd6f9732c (svn r18663) -Codechange (r1): Remove unused _smallmap_vegetation_andor colour masks. 15 years ago
alberth 0e9dac92d2 (svn r18588) -Feature [FS#2943]: Add shading and unshading of windows. 15 years ago
alberth 38733e9870 (svn r18489) -Codechange: Introduce a custom container widget for a resizing legend bar in the smallmap. 15 years ago
alberth e57e4f788f (svn r18488) -Codechange: Make number of rows for displaying industries in smallmap legend dynamic. 15 years ago
alberth 17699167a8 (svn r18487) -Codechange: Move row height and column counting to OnInit in the smallmap window as well. 15 years ago
alberth d4451d13a0 (svn r18480) -Codechange: Moved column width computation of smallmap legends to OnInit(), added a few doxy comments. 15 years ago
rubidium f49c1dcd78 (svn r18389) -Fix: some minor documentation alignment issues 15 years ago
rubidium 948512883b (svn r18332) -Fix: the MSVC compile warnings 15 years ago
rubidium 45eb0be570 (svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice. 15 years ago