Commit Graph

697 Commits

Author SHA1 Message Date
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
Henry Wilson
7c8e7c6b6e Codechange: Use null pointer literal instead of the NULL macro 2019-04-10 23:22:20 +02:00
Pavel Stupnikov
20e68f9f48 Move safeguards include down to be the last one 2019-04-01 01:26:23 +03:00
Pavel Stupnikov
71dc188b27 Update to 1.9.0-RC2 2019-03-27 18:06:52 +03:00
Pavel Stupnikov
fa72fd57a1 Update to 1.9.0-RC2
--HG--
branch : openttd
2019-03-26 14:17:10 +03:00
peter1138
317f69c152 Codechange: Use override specifier in Window-derived classes. 2019-03-24 16:10:04 +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
Pavel Stupnikov
6e2a54355a Merge 1.9.0-beta2 2019-02-14 00:47:22 +03:00
Pavel Stupnikov
2bda8d4f34 Update to OpenTTD 1.9.0-beta2
--HG--
branch : openttd
2019-02-13 15:17:23 +03: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
Pavel Stupnikov
329f52d34e Update to 1.8.0 2018-04-06 22:08:52 +03:00
Pavel Stupnikov
42ec3bd611 Update to 1.8.0
--HG--
branch : openttd
2018-04-06 21:26:22 +03:00
frosch
ebe6564e8b (svn r27979) -Add: adf88 to readme 2018-03-11 12:18:30 +00:00
frosch
b4b98e5165 (svn r27893) -Codechange: Use fallthrough attribute. (LordAro) 2017-08-13 18:38:42 +00:00
Pavel Stupnikov
2a02067397 Merge 1.7.0-RC1 2017-04-09 22:34:33 +03:00
Pavel Stupnikov
3433ae02f4 Update openttd to 1.7.0-RC1
--HG--
branch : openttd
2017-03-12 16:41:12 +03:00
frosch
10293c5fb1 (svn r27686) -Change: List railtype of rail tiles explicitly in the tile info window. 2016-12-09 21:27:22 +00:00
frosch
3cb7d9703b (svn r27628) -Codechange: Prepare for drawing cursors consisting of multiple sprites. 2016-08-15 18:33:08 +00:00
Pavel Stupnikov
c517897568 update to 1.6.1 2016-07-02 20:23:43 +03:00
Pavel Stupnikov
ecdb1590ab update to 1.6.1
--HG--
branch : openttd
2016-07-01 01:42:17 +03:00
matthijs
53982003ee (svn r27560) -Fix: typos in comments and string 2016-05-11 20:48:46 +00:00
Pavel Stupnikov
b8e7bd7462 cmclient update to 1.6.0 2016-04-02 01:07:50 +03:00
Pavel Stupnikov
5c9ef5a264 update to 1.6.0
--HG--
branch : openttd
2016-04-02 00:50:09 +03:00
Pavel Stupnikov
d078e41698 fix fast connect 2016-03-28 02:01:48 +03:00
Pavel Stupnikov
d349f62ebe convert indentation to tabs 2016-01-14 13:35:45 +03:00
Pavel Stupnikov
817d2a8c03 detailed station rating tooltip 2016-01-13 22:22:57 +03:00
michi_cc
2b8bb12d62 (svn r27381) -Fix: Warnings due to C++11 requirements for explicit narrowing conversions in initializer lists. 2015-08-10 20:24:13 +00:00
Pavel Stupnikov
87301a82bd land info tool crash fixed 2015-03-26 22:14:54 +03:00
Pavel Stupnikov
e7047bd71b allow land info tool to work in measurement mode (dragdrop) 2015-03-23 22:42:57 +03:00
Pavel Stupnikov
74ddc68c3f make land info work when extra tooltips are disabled 2015-03-23 21:29:36 +03:00
Pavel Stupnikov
44ef29dba9 make land info work in tooltip mode 2015-03-23 21:27:50 +03:00
Pavel Stupnikov
35deb2ff98 make extragui scale properly with interface size 2015-03-21 03:41:10 +03:00
Pavel Stupnikov
04971ed244 hide measurement tool for now
--HG--
branch : novattd150
2015-03-19 18:03:12 +03:00
Pavel Stupnikov
46e74a9a05 openttd 1.5-rc1
--HG--
branch : openttd
2015-03-19 14:33:13 +03:00
Pavel Stupnikov
e48d2d58e0 latest novapolis client for 1.5
--HG--
branch : novattd150
2015-03-16 03:20:50 +03:00
Pavel Stupnikov
d201932121 openttd updated to 1.5.0-beta2
--HG--
branch : openttd
2015-03-01 00:30:53 +03:00
frosch
a8080b6256 (svn r27134) -Codechange: Simplify GUI scaling by adding UnScaleGUI() and ScaleGUITrad(). 2015-02-01 20:54:24 +00:00
frosch
c9114af706 (svn r27131) -Fix: Dropdown- and tooltip-windows should not steal the focus. 2015-02-01 12:23:39 +00:00
rubidium
8739a7b7d0 (svn r27037) -Fix [FS#6150] (r26878): m6 was moved from Tile To TileExtended, but it wasn't properly removed from Tile (patch by Juanjo) 2014-10-23 17:13:44 +00:00
peter1138
3730ed67cb (svn r27023) -Codechange: Scale tooltip size by UI scale. 2014-10-18 16:11:40 +00:00
peter1138
ffe820c792 (svn r26924) -Codechange: Fit YES/NO query window buttons to window, instead of unaligned. 2014-09-26 16:15:50 +00:00