summaryrefslogtreecommitdiff
path: root/src/smallmap_gui.cpp
AgeCommit message (Collapse)Author
2021-05-27Fix: do not hide parameter by local variable with the same namerubidium42
2021-05-13Codechange: Replace TILE_AREA_LOOP with range-based for loopsglx22
2021-04-30Fix: Scale smallmap legend 'blob' to fit text.Peter Nelson
2021-03-26Change: rename setting "max_heightlevel" to "map_height_limit"Patric Stout
This better reflects what it is, and hopefully removes a bit of the confusion people are having what this setting actually does. Additionally, update the text on the setting to better inform users what it is doing exactly, so they can make an educated decision on how to change it. Next commit will introduce an "auto" value, which should be the new default. The rename has as added benefit that everyone will start out on the "auto" value.
2021-01-13Feature: Show rainforest under vegetation on small mapSamuXarick
2021-01-08Codechange: Remove min/max functions in favour of STL variants (#8502)Charles Pigott
2020-07-27Codechange: Spell 'Viewport' consistentlyTechGeekNZ
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'. This patch makes everything consistent.
2020-01-04Feature: Minimap screenshotTELK
2019-12-21Codechange: Replace FOR_ALL_TOWNS with range-based for loopsglx
2019-12-21Codechange: Replace vehicle related FOR_ALL with range-based for loopsglx
2019-12-21Codechange: Replace FOR_ALL_COMPANIES with range-based for loopsglx
2019-11-10Cleanup: Removed SVN headersS. D. Cloudt
2019-05-01Feature: Add NotRoadTypes (NRT)peter1138
2019-04-29Codechange: Set VehicleType's base type to byte instead of using VehicleTypeByteCharles Pigott
2019-04-18Codechange: use std::array for _sorted_industry_typesglx
2019-04-18Codechange: use std::vector for _sorted_cargo_specsglx
2019-04-10Codechange: Use null pointer literal instead of the NULL macroHenry Wilson
2019-03-30Change: adjust Violet smallmap colour 1 shade darker, to compensate for ↵Andy
legibility against darker blue of sea introduced by #7436
2019-03-29Change: Dark Blue company and water were indistinguishable in small map. (#7436)SamuXarick
2019-03-24Codechange: Use override specifier in Window-derived classes.peter1138
2019-02-23Fix #7004: Mark linkgraph dirty to be rebuilt on next draw call. (#7265)PeterN
Previously the linkgraph was rebuilt before the viewport extents were finalized.
2019-02-21Change: Make mini-map widget capture mouse when left-click dragging.Peter Nelson
This allows the mini-map to be dragged when the cursor has left the widget.
2019-01-24Codechange: Add InverseRemapCoords2 function for remapping viewport ↵Johannes E. Krause
coordinates to underlying tile coordinates (Patch by adf88, #6583)
2019-01-11Change: Use GUITimer class instead of bare int/uints.Peter Nelson
2019-01-11Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust ↵Peter Nelson
timers to work with milliseconds instead of ticks.
2018-10-31Doc: Lots and lots of doxymentation fixesCharles Pigott
2018-05-24Change: [OSX] Setting mouse-wheel to scroll the map does not disable pinch ↵Alexander Weiss
to zoom
2018-05-21Change: Add CargoTypes type for cargo masks. (#6790)PeterN
2018-04-28Add: Replace independment map scrolling GUI settings with single option, and ↵PeterN
add choice to not lock cursor position when scrolling. (#6756)
2017-08-31(svn r27905) -Fix [FS#6585]: Keep the "link" between industry chain and ↵adf88
smallmap windows whenever possible
2017-08-13(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)frosch
2016-07-22(svn r27622) -Change: In industry map view, give visible industry types the ↵frosch
highest tile priority, and hidden industry types a lower one. This way filtered and highlighted industries are not hidden by overlapping tiles in zoomed-out smallmap. (adf88)
2016-07-22(svn r27621) -Fix (r27620): Committed too early.frosch
2016-07-22(svn r27620) -Codechange: Inline GetEffectiveTileType (adf88)frosch
2015-08-10(svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing ↵michi_cc
conversions in initializer lists.
2015-05-09(svn r27277) -Codechange: Make _displayed_industries a std::bitset.frosch
2015-02-22(svn r27160) -Fix: Division of signed values by TILE_SIZE requires cast to ↵frosch
stay signed.
2015-02-22(svn r27159) -Codechange: Simplify mapping from smallmap to viewport ↵frosch
coordinates by duplicating less code.
2015-02-22(svn r27158) -Codechange: Simplify mapping from viewport to smallmap ↵frosch
coordinates by duplicating less code.
2014-10-23(svn r27036) -Fix [FS#6148] (r26928): crash when changing smallmap colour ↵rubidium
when the smallmap window has not been opened yet
2014-09-27(svn r26929) -Change: accounts for maximum height when filling the height ↵rubidium
legend of the smallmap
2014-09-27(svn r26928) -Change: scale the heightmap colours over the whole range of ↵rubidium
heights (based on patch by ic111)
2014-09-27(svn r26927) -Codechange: split the heightmap colour tables into their own ↵rubidium
file in the table folder
2014-09-21(svn r26904) -Fix: account for the height level for showing the seen area in ↵rubidium
the viewport (ic111)
2014-09-20(svn r26858) -Codechange: Rearrange smallmap filter and settings ↵peter1138
expand/collapse buttons to fix frame borders and allow buttons to fit height of resize button.
2014-04-23(svn r26482) -Codechange: add an include that allows us to undefine/redefine ↵rubidium
"unsafe" functions to prevent them from being used, and thus having to care about certain aspects of their return values
2014-01-19(svn r26266) -Fix [FS#5860]: Update smallmap overlay if player joins ↵fonsinchen
different company and make sure company masks are valid
2014-01-19(svn r26265) -Fix: Don't rebuild the link graph overlay cache twice in a rowfonsinchen
2014-01-05(svn r26228) -Fix: missing variable initializationfonsinchen
2014-01-02(svn r26209) -Codechange: remove some template magic and simplify some coderubidium