Commit Graph

697 Commits

Author SHA1 Message Date
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
rubidium42
55a11710a6 Codechange: convert printf DEBUG statements to fmt Debug statements 2021-06-13 12:45:45 +02:00
Michael Lutz
418e0ea85f Codechange: Use dynamic string list for contents of land info window. 2021-06-12 22:30:38 +02:00
glx22
5799402f7a Codechange: Rename window related DeleteXXX to match new behaviour 2021-05-29 21:08:25 +02:00
glx22
994bf19aef Fix f6d5c01: Delay deletion when closing windows 2021-05-29 21:08:25 +02:00
Patric Stout
ca9a7df752 Codechange: rename str_validate to StrMakeValid(InPlace) (#9304)
This to be more explicit the function changes the value, and not
returns yes/no.
2021-05-29 11:21:38 +02:00
frosch
f96f113951 Codechange: use IterateFromBack/Front only if the order is important.
Use Iterate if the order does not matter.
2021-05-12 23:22:41 +02:00
Peter Nelson
8321ef0061 Codechange: Set specific widgets dirty instead of window. 2021-05-08 09:52:54 +01:00
dP
d7c46e1477 Merge remote-tracking branch 'upstream/1.11' into 1.11 2021-05-03 22:21:59 +03:00
dP
ac7d3eba75 Update to 1.11.2 2021-05-03 22:10:57 +03:00
PeterN
08781d96ed Fix: Query windows may be partially drawn initially. (#9184)
Query window was not marked dirty after being moved on init. It was then marked dirty once the white border flash completed.
2021-05-03 16:39:20 +01:00
glx22
14e92bd8e2 Codechange: Replace window related FOR_ALL with range-based for loops 2021-04-29 21:08:24 +02:00
Leif Linse
3b9b177b36 Update: Developer credits (#9091) 2021-04-24 17:49:37 +01:00
dP
33f4c4996a Merge remote-tracking branch 'upstream/1.11' into 1.11 2021-04-19 01:20:03 +03:00
dP
5881c752f5 Update to 1.11.1 2021-04-19 00:52:41 +03:00
Peter Nelson
59b6e46bce Fix: Adjust scrolling interval of credits to account for text line height 2021-04-10 22:36:30 +02:00
Jonathan G Rennison
3ede756d23 Fix: Viewport drag tooltips not being removed when dragging over other windows 2021-04-08 19:34:45 +02:00
Jonathan G Rennison
ae94b2d296 Fix: Viewport drag tooltip flickering when dragging outside window 2021-04-08 19:34:45 +02: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
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
Patric Stout
ac2b5e57cf Fix: mention our websites with https:// (instead of http://) (#8657)
It is 2021. Nobody should advertise http anymore. Not even us.
2021-02-08 19:07:34 +01: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
frosch
e339188ded Add: a go-to-location button to the LandInfo window. 2021-01-11 22:15:58 +01:00
Charles Pigott
9b800a96ed Codechange: Remove min/max functions in favour of STL variants (#8502) 2021-01-08 11:16:18 +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:
f820543391
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
Charles Pigott
860c270c73 Codechange: Replace assert_compile macro with static_assert 2020-12-27 10:55:42 +00:00
Patric Stout
68f9925cd4 Codechange: use \u to indicate unicode chars in strings (#8379)
With \x, we sometimes had to do the "" trick, as the length is not
predefined. With C++11 bringing \u to the specs, which has a preset
length, we no longer need the "" trick.

We set the strings to u8, to ensure all compilers use UTF-8 encoding
for the \u characters.

This was triggered by newer CLangs, which start to warn if you
use "" in the middle of a string, wondering if that was your
intention. It is a good question. And this is our answer :)
2020-12-14 20:25:01 +01:00
dP
d084a4b8a8 Copy land info tool to citymania source 2020-08-16 06:16:24 +03:00
dP
65461a11b3 Make land info tool work with right click tooltip setting 2020-07-05 17:27:31 +03:00
dP
5c4b5dad0e Make station rating tooltips work with right click tooltip setting 2020-07-05 17:21:24 +03:00
dP
8921e92358 Refactor extra(land) tooltips and split into 3 settings in config 2020-07-04 23:58:06 +03:00
Pavel Stupnikov
1a9e9c3019 Update to 1.10.2 2020-06-02 02:55:21 +03:00
Pavel Stupnikov
0e8ed94e00 Update to 1.10.2 2020-06-02 01:52:45 +03:00
dP
9fc36d5db0 Fix tooltip width on empty station 2020-05-19 19:44:08 +03:00
glx
e0d20a44d2 Codechange: Use a dynamic copyright year 2020-05-06 09:54:36 +01:00
Pavel Stupnikov
5217e7c98b New station joining UI (WIP) 2020-02-15 06:08:01 +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
dP
faa443d9e7 Fix some warnings 2019-11-01 20:11:43 +03: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
Charles Pigott
a407db54cf Add: Me 2019-10-28 23:52:54 +01:00
peter1138
c02ef3e456 Feature: Add NotRoadTypes (NRT) 2019-05-01 21:36:27 +02:00
Niels Martin Hansen
d5841109f0 Fix dcb2571: Missing override keywords 2019-04-25 17:45:00 +02:00