Rubidium
bcfe0fb076
Codechange: introduce GetMainWindow() to properly account for nullptr checks
...
Some nullptr checks have been removed as they were not triggered with nullptr
with the null video driver and in dedicated server mode.
2023-01-14 21:15:23 +01:00
Pavel Stupnikov
59c991fa52
Update to 13.0-RC1
2023-01-03 15:58:14 +04:00
Pavel Stupnikov
f3ecdf6f7f
Merge remote-tracking branch 'upstream/master' into 13.0
2022-11-26 22:16:25 +04:00
Pavel Stupnikov
be23283677
Update to 13.0-beta1
2022-11-23 14:30:36 +04:00
Peter Nelson
920e588334
Change: Use standard dimensions instead of custom widths.
2022-11-12 18:28:39 +00:00
Peter Nelson
9666e46739
Feature: Variable GUI scale.
...
GUI scale is now variable from 100% to 500%, and no longer restricted to
powers-of-2.
2022-11-12 18:28:39 +00:00
Peter Nelson
890b2666d3
Change: Use scaled WidgetDimensions.
2022-11-12 18:28:39 +00:00
Peter Nelson
6f95e04005
Change: Use Rect helpers for widget drawing.
...
This replaces repetitive and sometimes unwieldy use of constants.
2022-11-12 18:28:39 +00:00
Peter Nelson
f5f035a22b
Codechange: Make use of Rect Width/Height helpers.
2022-11-12 18:28:39 +00:00
Peter Nelson
eb4ba1991b
Change: Use CenterBounds function in more places.
...
CenterBounds may have a 1 pixel difference so the result is not exactly
the same.
2022-11-12 18:28:39 +00:00
Artin Alavi
dd44f2139e
Fix c536bde: Remove problematic inline specifier ( #10109 )
2022-10-25 04:41:27 +02:00
Artin Alavi
c536bde19e
Fix #8252 : Remove duplicate functionality in screenshot.cpp
2022-10-22 20:51:02 +02:00
Tyler Trahan
e79724ea22
Feature: Alternative linkgraph colour schemes ( #9866 )
2022-04-25 19:32:55 +02:00
dP
117203ff8b
Show town population instead of the name in IMBA minimap mode
2021-10-10 00:13:42 +03:00
dP
a38dc30bf6
Merge remote-tracking branch 'upstream/master'
2021-08-16 01:58:47 +03:00
dP
9df4f2c4fc
Update to 12.0-beta1
2021-08-15 14:57:29 +03:00
glx22
994bf19aef
Fix f6d5c01: Delay deletion when closing windows
2021-05-29 21:08:25 +02:00
rubidium42
b791ffc6de
Fix: do not hide parameter by local variable with the same name
2021-05-27 18:30:56 +02:00
glx22
38c97e1492
Codechange: Replace TILE_AREA_LOOP with range-based for loops
2021-05-13 00:13:54 +02:00
Peter Nelson
5434d63f91
Fix: Scale smallmap legend 'blob' to fit text.
2021-04-30 17:08:15 +01:00
dP
93d8111960
Merge remote-tracking branch 'upstream/1.11' into 1.11
2021-04-01 17:33:31 +03:00
dP
5253131d44
Update to 1.11.0
2021-04-01 17:02:53 +03:00
Patric Stout
1a1049bc0d
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-03-26 12:22:32 +01:00
dP
1859af4a63
Merge branch 'master' into 1.11
2021-03-24 23:07:53 +03:00
dP
6f8e0c144b
Add two more minimap zoom levels
2021-03-24 15:15:09 +03:00
dP
c47930887b
Merge remote-tracking branch 'upstream/1.11' into 1.11
2021-01-25 22:53:44 +03:00
dP
5e4506f493
Update to 1.11.0-beta1
2021-01-23 17:31:11 +03: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
dP
eaa4fb477f
Add cm_ prefix to all citymania source files
2020-07-31 16:23:39 +03: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
dP
7441767ed8
Make modifier key functions configurable
2020-07-13 01:35:07 +03:00
dP
81787f93a5
Add new minimap mode showing industries, height and farms at the same time
2020-05-18 23:31:56 +03:00
dP
9b9a850d0b
Merge 1.10.0-RC1
2020-02-18 20:56:38 +03:00
dP
d4ae6a1d91
Update to 1.10.0-RC1
2020-02-18 18:13:33 +03:00
dP
1492a22027
Update to 1.10.0-beta2
2020-01-06 19:06:51 +03:00
dP
c7c3966eec
Update to 1.10.0-beta2
2020-01-06 18:49:34 +03: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
dP
ceea4c88be
Merge 1.10.0-beta1
2019-11-01 16:08:44 +03:00
dP
599ccf0c2b
Update to 1.10.0-beta1
2019-10-31 22:24:28 +03:00
dP
b84a475e14
Initialize with OpenTTD 1.9.3
2019-10-31 21:58:04 +03: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
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