summaryrefslogtreecommitdiff
path: root/src/smallmap_gui.cpp
AgeCommit message (Collapse)Author
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
2013-11-26(svn r26121) -Codechange: add some asserts after dynamic casts to show they ↵rubidium
shouldn't return NULL ever
2013-11-23(svn r26061) -Fix: negative result of ftell wasn't handled correctly in some ↵rubidium
cases
2013-10-27(svn r25916) -Add: GUI sprite for the smallmap cargoflow button. (frosch, ↵frosch
planetmaker, V453000)
2013-06-01(svn r25312) -Fix-ish: missing spaces after comma + realignment of tables; ↵rubidium
quite boring with -x -w
2013-05-26(svn r25294) -Feature: Add another button to window title bars to resize the ↵frosch
window to its default size.
2013-05-26(svn r25290) -Add: Assign string names to notable windows.frosch
2013-05-26(svn r25287) -Codechange: Keep a reference to the WindowDesc in the Window ↵frosch
after construction.
2013-05-19(svn r25262) -Feature: linkgraph overlay for smallmaprubidium