PeterN
e97bf271dc
Codechange: Make SpriteType, CargoSortType, SourceType and ScriptType enum classes. ( #10663 )
...
This avoids a (soft) namespace conflict between the four ST_* enums.
2023-04-16 20:00:55 +01:00
Patric Stout
1ba4dcc924
Codechange: migrate all Window-related timers to the new framework
...
This means we also say goodbye to GUITimers.
2023-04-15 13:58:55 +02:00
PeterN
c1077212d7
Codechange: Use a shared_ptr for viewport overlay. ( #10586 )
2023-03-31 16:06:36 +01:00
dP
ef9f6aa7f3
Port dirty block handling from JGRPP
2023-03-29 21:47:07 +04:00
dP
2b3c725384
Merge remote-tracking branch 'upstream/master' into 13.0
2023-02-03 15:56:10 +04:00
dP
ebf0794b1c
Update to 13.0-RC2
2023-02-03 15:05:53 +04:00
merni-ns
2d0c1ffdb7
Change #10255 : Reduce basic thickness of linkgraph GUI lines ( #10410 )
...
From 3px to 2px (multiplied by UI scale).
2023-01-25 18:06:19 +00:00
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
f5f85a47ec
Fix new station joining
2022-12-20 19:46:24 +04:00
Pavel Stupnikov
4e047eec9b
Fix compilation errors
2022-12-02 19:55:21 +04:00
Pavel Stupnikov
4dea7601c0
Some fixes after merging
2022-11-26 22:25:47 +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
Nicolas Chappe
864771ca09
Feature: [Linkgraph] Show a tooltip with statistics when hovering a link
2022-10-18 22:03:39 +02:00
Bouke Haarsma
93d2d4590f
Fix #9995 : Adjust viewport zoom level for HiDPI displays
...
On HiDPI screens the zoom level is increased for detailed rendering. This causes hard-coded zoom levels to be off by this adjustment. To fix these default zoom levels, we scale the zoom level based on `_gui_zoom` to get the scaled zoom level.
2022-10-18 22:03:21 +02:00
Bouke Haarsma
18c210b013
Fix: title positioning on HiDPI displays
2022-09-07 01:32:37 +02:00
Michael Lutz
8503854655
Codechange: Pass unpacked command arguments to command callbacks (except Script).
2021-12-16 22:28:32 +01:00
Michael Lutz
13528bfcd0
Codechange: Un-bitstuff all remaining commands.
2021-12-16 22:28:32 +01:00
Michael Lutz
eab18f06a4
Codechange: Pass additional data as byte stream to command callbacks.
2021-12-16 22:28:32 +01:00
Michael Lutz
0f64ee5ce1
Codechange: Template DoCommandP to automagically reflect the parameters of the command proc.
...
When finished, this will allow each command handler to take individually
different parameters, obliviating the need for bit-packing.
2021-12-16 22:28:32 +01:00
Michael Lutz
4fc055d6e9
Codechange: Align parameter order of command callbacks to command handlers.
2021-12-16 22:28:32 +01:00
Michael Lutz
a38bbefe1b
Codechange: Untangle command code, flags and error string for DoCommand*.
2021-12-16 22:28:32 +01:00
Michael Lutz
549caca39c
Codechange: Move command arguments to the back of the networked command function calls.
2021-12-16 22:28:32 +01:00
dP
760b4a16a6
Merge remote-tracking branch 'upstream/master'
2021-11-08 23:47:49 +03:00
dP
76f735ed58
Update to 12.1
2021-11-08 23:42:22 +03:00
dP
20dd0bb9bb
Fix polyrail tool terra highlight getting stuck after closing tool
2021-10-31 03:57:18 +03:00
Loïc Guilloux
bc1b84cbbb
Fix #9630 : intro game could zoom in/out more than allowed by settings ( #9633 )
...
Also fixes #9622
2021-10-20 22:08:08 +02:00
dP
239ff976da
Merge remote-tracking branch 'upstream/master'
2021-09-27 19:53:01 +03:00
dP
4eb8b29dbf
Update to 12.0-RC1
2021-09-26 20:30:12 +03:00
Niels Martin Hansen
6bd3106681
Feature: Multiple rotating views on title screen
2021-09-12 19:46:48 +02: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
Rubidium
f904aef176
Cleanup: use nullptr instead of 0 or NULL
2021-06-17 16:18:30 +02:00
glx22
5799402f7a
Codechange: Rename window related DeleteXXX to match new behaviour
2021-05-29 21:08:25 +02:00
dP
1859af4a63
Merge branch 'master' into 1.11
2021-03-24 23:07:53 +03:00
dP
5d512a4445
Add tool type to _thd when placing objects
2021-03-19 22:23:23 +03:00
dP
c36ef2b3f3
Merge remote-tracking branch 'upstream/1.11' into 1.11
2021-03-15 20:11:52 +03:00
dP
595606287d
Update to 1.11.0-RC1
2021-03-15 12:57:26 +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
glx22
6b8ad5a9b1
Change: Apply some consistency to singleplayer related comments
2021-01-22 22:19:55 +01:00
Patric Stout
62cdadb582
Change: move "give money" from client-list to company window
...
This is a much better location for this button, as you send
money from one company to another company, not from player
to player.
This is based on work done by JGRPP in:
https://github.com/JGRennison/OpenTTD-patches/commit/f82054339124cc6b89c5f4f9dac2d9da62f0108b
and surrounding commits, which took the work from estys:
https://www.tt-forums.net/viewtopic.php?p=1183311#p1183311
We did modify it to fix several bugs and clean up the code while
here anyway.
The callback was removed, as it meant a modified client could
prevent anyone from seeing money was transfered. The message
is now generated in the command itself, making that impossible.
2021-01-05 21:56:24 +01:00
Patric Stout
f2fa2a14d7
Fix: allow input of numbers greater than INT32_MAX for GiveMoney ( #8499 )
...
Based on patch by JGR.
2021-01-05 19:00:05 +01:00
dP
0110fa12da
Feature: Make news and errors close hotkeys configurable
2020-09-24 19:23:12 +02: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
df17bee2d6
Make hotkey to close news and errors configurable
2020-07-05 21:04:52 +03:00
dP
8921e92358
Refactor extra(land) tooltips and split into 3 settings in config
2020-07-04 23:58:06 +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
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00:00