Sergii Pylypenko
e80df6ae8e
Removed NWST_STEP and min_step, we don't need two variables doing the same thing
2021-05-07 22:24:45 +03:00
Sergii Pylypenko
403ff8badd
Merge tag '1.11.0' into 1.11
2021-04-01 21:19:42 +03:00
Patric Stout
9496990f53
Change: rename setting "max_heightlevel" to "map_height_limit"
...
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-04-01 10:28:08 +02:00
pelya
dcacc5850f
Legend hidden by default in smallmap window
2021-02-06 00:57:11 +02:00
pelya
2bc0595127
Fixed Android compilation and warnings
2021-01-25 21:31:09 +02:00
pelya
3a82c97aa1
Merge remote-tracking branch 'upstream/master'
2021-01-25 00:50:42 +02:00
SamuXarick
f9dee5aaa0
Feature: Show rainforest under vegetation on small map
2021-01-13 15:05:15 +00:00
Charles Pigott
9b800a96ed
Codechange: Remove min/max functions in favour of STL variants ( #8502 )
2021-01-08 11:16:18 +01:00
TechGeekNZ
a10013dd00
Codechange: Spell 'Viewport' consistently
...
Some places in the codebase misspell 'Viewport' as 'ViewPort' or 'view_port'.
This patch makes everything consistent.
2020-07-27 17:31:29 +01:00
pelya
77ecfa35fe
Fixed 'Build rail' dropdown menu
2020-03-24 23:24:49 +02:00
pelya
455f481c8d
Fixed minimap sizing
2020-03-23 00:27:59 +02:00
pelya
798fbc3466
Merge branch 'origin/master' commit 'a499e9acdd385b57dd43caf88af3a6f7f53716ba'
2020-03-20 00:10:46 +02:00
Sergii Pylypenko
fea9bb1c24
Fixed minimap scrolling
2020-03-19 21:39:20 +02:00
Sergii Pylypenko
8741cbd50e
Fixed crash in minimap code
2020-03-19 21:39:20 +02:00
Sergii Pylypenko
c60ecc3118
Resizeable smallmap GUI, that will fit all FIRS industries
2020-03-19 21:39:20 +02:00
TELK
e04ca904a9
Feature: Minimap screenshot
2020-01-04 18:21:38 +01:00
glx
ee7a8eebca
Codechange: Replace FOR_ALL_TOWNS with range-based for loops
2019-12-21 20:13:03 +01:00
glx
d8a1be48cd
Codechange: Replace vehicle related FOR_ALL with range-based for loops
2019-12-21 20:13:03 +01:00
glx
3a14cea068
Codechange: Replace FOR_ALL_COMPANIES with range-based for loops
2019-12-21 20:13:03 +01:00
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00
peter1138
c02ef3e456
Feature: Add NotRoadTypes (NRT)
2019-05-01 21:36:27 +02:00
Charles Pigott
69a6c494bf
Codechange: Set VehicleType's base type to byte instead of using VehicleTypeByte
2019-04-29 17:40:22 +01:00
Sergii Pylypenko
3ba683874b
Merge remote-tracking branch 'origin/master' into HEAD
2019-04-23 18:16:24 +03:00
glx
48f99fd980
Codechange: use std::array for _sorted_industry_types
2019-04-18 21:49:34 +02:00
glx
0797de06be
Codechange: use std::vector for _sorted_cargo_specs
2019-04-18 21:49:34 +02:00
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
2019-04-10 23:22:20 +02:00
Andy
423aea5c32
Change: adjust Violet smallmap colour 1 shade darker, to compensate for legibility against darker blue of sea introduced by #7436
2019-03-30 22:57:07 +01:00
SamuXarick
ed51fba7ed
Change: Dark Blue company and water were indistinguishable in small map. ( #7436 )
2019-03-29 19:00:43 +00:00
peter1138
317f69c152
Codechange: Use override specifier in Window-derived classes.
2019-03-24 16:10:04 +01:00
PeterN
87ebfe1227
Fix #7004 : Mark linkgraph dirty to be rebuilt on next draw call. ( #7265 )
...
Previously the linkgraph was rebuilt before the viewport extents were finalized.
2019-02-23 19:19:41 +00:00
Peter Nelson
6733b71300
Change: Make mini-map widget capture mouse when left-click dragging.
...
This allows the mini-map to be dragged when the cursor has left the widget.
2019-02-21 08:11:35 +00:00
Johannes E. Krause
f0290d5de7
Codechange: Add InverseRemapCoords2 function for remapping viewport coordinates to underlying tile coordinates (Patch by adf88, #6583 )
2019-01-24 21:17:17 +01:00
Peter Nelson
806e7d25dd
Change: Use GUITimer class instead of bare int/uints.
2019-01-11 11:56:21 +00:00
Peter Nelson
2a8fa5fef9
Change: Split up Window::OnTick into OnGameTick and OnRealtimeTick. Adjust timers to work with milliseconds instead of ticks.
2019-01-11 11:56:21 +00:00
Charles Pigott
f5b1115039
Doc: Lots and lots of doxymentation fixes
2018-10-31 12:35:54 +01:00
Sergii Pylypenko
66e3334f0e
Merge upstream branch 1.8
2018-05-31 22:59:50 +03:00
Alexander Weiss
e1a164b531
Change: [OSX] Setting mouse-wheel to scroll the map does not disable pinch to zoom
2018-05-24 21:31:37 +02:00
PeterN
4cebebcf68
Change: Add CargoTypes type for cargo masks. ( #6790 )
2018-05-21 22:08:39 +01:00
PeterN
cfe6a8ea4f
Add: Replace independment map scrolling GUI settings with single option, and add choice to not lock cursor position when scrolling. ( #6756 )
2018-04-28 22:27:14 +01:00
adf88
74e1fe130c
(svn r27905) -Fix [FS#6585]: Keep the "link" between industry chain and smallmap windows whenever possible
2017-08-31 06:48:55 +00:00
frosch
b4b98e5165
(svn r27893) -Codechange: Use fallthrough attribute. (LordAro)
2017-08-13 18:38:42 +00:00
Sergii Pylypenko
b4cc822085
Merge svn r27779
...
Conflicts:
src/autoreplace_gui.cpp
src/economy.cpp
src/fios_gui.cpp
src/lang/spanish_MX.txt
src/network/network_gui.cpp
src/rev.cpp.in
src/road_gui.cpp
src/toolbar_gui.cpp
src/window.cpp
2017-03-17 23:14:41 +02:00
Sergii Pylypenko
c9b0eea04c
Smallmap: disabled show/hide legend button
2017-03-17 22:41:28 +02:00
pelya
615ad710de
Fixed wrong minimap legend clicks items after few minimap usages
2017-03-17 22:40:04 +02:00
frosch
cc18df4cb7
(svn r27622) -Change: In industry map view, give visible industry types the 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 21:44:54 +00:00
frosch
e56707bd4e
(svn r27622) -Change: In industry map view, give visible industry types the 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 21:44:54 +00:00
frosch
46aeed3817
(svn r27621) -Fix (r27620): Committed too early.
2016-07-22 21:38:49 +00:00
frosch
a5b7800aca
(svn r27621) -Fix (r27620): Committed too early.
2016-07-22 21:38:49 +00:00
frosch
bd6799a9f8
(svn r27620) -Codechange: Inline GetEffectiveTileType (adf88)
2016-07-22 21:29:04 +00:00
frosch
ed27cec094
(svn r27620) -Codechange: Inline GetEffectiveTileType (adf88)
2016-07-22 21:29:04 +00:00