summaryrefslogtreecommitdiff
path: root/src/smallmap_gui.cpp
AgeCommit message (Collapse)Author
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
2013-02-17(svn r25020) -Codechange: refactor SmallMapWindow to make adding map types ↵rubidium
easier and unduplicate some code (fonsinchen)
2013-02-17(svn r25019) -Fix: GCC doesn't seem to care if one does ↵rubidium
Class::Class::Function (thinks it is a function), whereas MSVC thinks it is the constructor
2013-02-17(svn r25018) -Codechange: Move SmallMapWindow declaration to header (fonsinchen)rubidium
2013-02-02(svn r24958) -Fix [FS#5458]: refering to non-existent methodrubidium
2013-01-08(svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by ↵planetmaker
Eagle_rainbow)
2012-12-23(svn r24846) -Add: Advanced settings to disable certain sound effects.frosch
2012-11-11(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.frosch
2012-09-19(svn r24534) -Feature: Highlight industries on the smallmap when the mouse ↵frosch
is over an entry in the legend.
2012-09-19(svn r24533) -Codechange: Move position determination on minimap legend to ↵frosch
separate function.
2012-04-25(svn r24179) -Codechange: move some variables of Town to TownCacherubidium
2012-01-01(svn r23704) -Doc: Doxygen comment fixes and additions.alberth
2011-12-20(svn r23640) -Fix: stop using FORCEINLINE (1/3rd of the instances were, the ↵truebrain
others were still regular inline), but make sure inline is always a 'forced' inline (I am looking at you MSVC)
2011-12-16(svn r23546) -Codechange: document and rename widgets to be consistent and ↵truebrain
understandable
2011-12-15(svn r23528) -Codechange: move widget enums to widgets/NNN_type.htruebrain