Sergii Pylypenko
8ffb519ec6
Emscripten: text input with HTML <input> element
2021-06-24 01:00:17 +03:00
Sergii Pylypenko
26f6a01580
Renamed GetMinSizing() to GetMinButtonSize(), we do not use it for anything but button size
2021-05-07 22:54:49 +03:00
Sergii Pylypenko
1efdce0358
Removed less used sizing types
2021-05-07 22:51:44 +03:00
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
607d73f872
Merge tag '1.11.2' into 1.11
2021-05-07 21:53:27 +03:00
PeterN
9aa335aca3
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 19:33:42 +01:00
Sergii Pylypenko
5b2f316cda
Fixed text input in the wrong edit box in Multiplayer server list
2021-04-26 00:05:45 +03:00
Sergii Pylypenko
561ce3ee7f
Merge tag '1.11.1' into 1.11
2021-04-25 22:58:47 +03:00
Peter Nelson
ec8abd072d
Fix: Adjust scrolling interval of credits to account for text line height
2021-04-18 21:31:21 +01:00
Jonathan G Rennison
30313bb396
Fix: Viewport drag tooltips not being removed when dragging over other windows
2021-04-18 21:31:21 +01:00
Jonathan G Rennison
35aff633bd
Fix: Viewport drag tooltip flickering when dragging outside window
2021-04-18 21:31:21 +01:00
Sergii Pylypenko
403ff8badd
Merge tag '1.11.0' into 1.11
2021-04-01 21:19:42 +03:00
Tyler Trahan
6c93f02ff9
Add: Title game for 1.11 branch by Chrnan6710 ( #8910 )
2021-03-30 19:36:30 +02:00
Sergii Pylypenko
870c254ee2
Merge tag '1.11.0-beta2' into master
2021-03-03 00:51:28 +02: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
pelya
3a82c97aa1
Merge remote-tracking branch 'upstream/master'
2021-01-25 00:50:42 +02: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
glx
e0d20a44d2
Codechange: Use a dynamic copyright year
2020-05-06 09:54:36 +01:00
pelya
85f104bf11
Do not draw 'Clear' button for EditText field, this cause crash in Town Directory
2020-03-22 21:44:31 +02:00
pelya
798fbc3466
Merge branch 'origin/master' commit 'a499e9acdd385b57dd43caf88af3a6f7f53716ba'
2020-03-20 00:10:46 +02:00
Sergii Pylypenko
e5c884512b
Fixed compiler warning
2020-03-19 21:39:20 +02:00
S. D. Cloudt
13cc8a0cee
Cleanup: Removed SVN headers
2019-11-10 17:59:20 +00: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
Niels Martin Hansen
a64bd6e22c
Fix: Also breaking for warning text in set company password
2019-04-24 17:40:11 +02:00
Niels Martin Hansen
08284e005d
Fix: Automatic line breaking of the warning
2019-04-24 17:40:11 +02:00
Niels Martin Hansen
dcb2571888
Add: Warn players that company passwords are not truly secure
2019-04-24 17:40:11 +02:00
Sergii Pylypenko
3ba683874b
Merge remote-tracking branch 'origin/master' into HEAD
2019-04-23 18:16:24 +03:00
Henry Wilson
7c8e7c6b6e
Codechange: Use null pointer literal instead of the NULL macro
2019-04-10 23:22:20 +02:00
peter1138
317f69c152
Codechange: Use override specifier in Window-derived classes.
2019-03-24 16:10:04 +01:00
peter1138
56a69f1de7
Fix #7386 : Measurement tooltip for tunnels, aqueducts & docks did not display or flickered.
...
Measurement tooltip was auto-closed as the hover/right-click test for tooltips was not
satisfied in this case. This is fixed by keeping the tooltip visible and instead explicitly
closing the tooltip when the PlaceObject is cancelled/completed.
2019-03-24 15:24:21 +01:00
peter1138
4da83d2f66
Fix #7386 : Measurement tooltip for tunnels, aqueducts & docks did not display or flickered.
...
Measurement tooltip was auto-closed as the hover/right-click test for tooltips was not
satisfied in this case. This is fixed by keeping the tooltip visible and instead explicitly
closing the tooltip when the PlaceObject is cancelled/completed.
2019-03-20 23:00:32 +00: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
Niels Martin Hansen
68e6b5531a
Update: Developer credits
2018-11-17 21:05:07 +01:00
Charles Pigott
f5b1115039
Doc: Lots and lots of doxymentation fixes
2018-10-31 12:35:54 +01:00
Niels Martin Hansen
350395a6c2
Fix: Missing m8 data in console when using Query tool
...
When map array 8 was added, the Query tool wasn't updated to also
print the value there to the console, in debug builds.
2018-10-30 16:33:07 +01:00
Miguel Horta
42b00c3b39
Fix #6938 : Don't change company value to perform cost estimations ( #6939 )
...
These meddling kids dared to play with magic, but the ancients texts
weren't ready for that.
Refactors logic to estimate costs that dated to even before OpenTTD 0.1;
2018-10-13 13:34:57 +02:00
Jonathan G Rennison
71450881fc
Codechange: Avoid call to memcpy using null pointer in TooltipsWindow constructor
...
Strictly speaking, calling memcpy with src as a nullptr is undefined behaviour
and the optimiser is entitled to delete any null ptr checks which occur afterwards.
This removes the warning emitted by UndefinedBehaviorSantizer.
2018-06-07 09:49:26 +01:00
Michael Lutz
b91e85003e
Fix: Theoretical string overflow when building the cargo acceptance list for the land info window.
2018-06-03 22:36:27 +02:00
Sergii Pylypenko
66e3334f0e
Merge upstream branch 1.8
2018-05-31 22:59:50 +03:00
pelya
5dddb424ba
Async Android text input
2018-05-31 22:09:18 +03:00
pelya
f44a175b61
Revert "Revert "Revert "Async Android text input"""
...
This reverts commit 181b5f363b .
2018-05-31 21:57:30 +03:00
pelya
040aa274b4
Revert "Attempt to fix Android async text input"
...
This reverts commit e48232345a .
2018-05-31 21:57:30 +03:00
pelya
362d839e08
Attempt to fix Android async text input
2018-05-31 21:57:30 +03:00