Jonathan G Rennison
6ccf3774b6
Fix missing tooltip texts
2023-08-16 18:55:44 +01:00
Jonathan G Rennison
fac21f3429
Fix missing/incorrect command error texts
2023-08-16 18:55:29 +01:00
Jonathan G Rennison
1e1ad66e90
CMake: Use -ffile-prefix-map to trim build directory from debug output
2023-08-16 16:33:11 +01:00
Jonathan G Rennison
92e632454e
Change ship path cache to be optional and use a ring buffer
2023-08-16 15:20:24 +01:00
Jonathan G Rennison
2ae4e5bdc1
Change road vehicle path cache to be optional and use ring buffers
...
Show path cache in debug window
2023-08-16 15:17:56 +01:00
romw314
662f76bfc4
Docs: mention Windows 11 in directory_structure.md ( #11200 )
2023-08-15 22:21:13 +02:00
Patric Stout
07730584d7
Codechange: make explicit when a TileIndex is cast to its basetype ( #11190 )
...
This prevents people accidentially assigning a TileIndex to a Date
or any other type they shouldn't.
2023-08-15 18:12:05 +02:00
arikover
5d3f7939e2
Fix d42a78f
: Show correct road speed in construction dropdowns ( #11196 )
2023-08-15 10:34:36 +02:00
Jonathan G Rennison
1183476182
Allow custom signal styles to disable aspect-limited mode
...
By setting style_lookahead_extra_aspects to 255
2023-08-14 23:56:21 +01:00
Loïc Guilloux
7ef55bdfb0
Cleanup: [CMake] don't add strgen.h twice ( #11199 )
2023-08-14 21:29:03 +00:00
translators
e652cd6434
Update: Translations from eints
...
swedish: 1 change by Brickblock1
english (us): 2 changes by 2TallTyler
2023-08-14 18:38:20 +00:00
Jonathan G Rennison
6ccbd7cce2
Saveload: Remove test pass from ScriptInstance::Save
...
Use SlConditionallySave to discard the saved data instead if there
was an error
2023-08-14 18:51:58 +01:00
Jonathan G Rennison
e3021de408
Saveload: Add helper to conditionally save template functor
2023-08-14 18:51:00 +01:00
Jonathan G Rennison
f378167951
Saveload: Change SlSaveToVector to be templated, add SlSaveToTempBuffer
2023-08-14 18:39:23 +01:00
Jonathan G Rennison
d0c6b7136d
Saveload: Improve performance of script data save/load
...
Avoid unnecessarily using SlObject wrappers
2023-08-14 17:28:49 +01:00
Jonathan G Rennison
2b8171093a
Change Colour constructors to be constexpr
2023-08-14 17:07:42 +01:00
Jonathan G Rennison
95f3cf2a8e
Make VideoDriver::GetAnimBuffer a non-virtual/inlinable function
2023-08-14 16:53:21 +01:00
Jonathan G Rennison
6fff633e81
Fix enum definitions for RoadTypeExtraFlags
2023-08-14 16:06:51 +01:00
Jonathan G Rennison
2f692a794f
Blitter: Use 32 bit memset where available
...
Fix Blitter_40bppAnim::SetRect
2023-08-14 15:58:00 +01:00
Jonathan G Rennison
79509b76a6
Crashlog: Unix: Decode REG_ERR for SIGSEGV
2023-08-14 15:58:00 +01:00
Jonathan G Rennison
cb0c8d5e38
Crashlog: Unix: Decode common si_code values for SIGSEGV
2023-08-14 11:24:05 +01:00
Jonathan G Rennison
e676eb1202
Crashlog: Unix: Include REG_ERR in x86 register dump
2023-08-14 11:24:05 +01:00
Jonathan G Rennison
1ec2ed937f
Unix: Fix CMake detection and setup of sigaltstack
2023-08-14 00:20:04 +01:00
Tyler Trahan
61dfd74e44
Codechange: Use correct type for max timetable start years constant ( #11197 )
2023-08-13 21:03:45 +02:00
translators
0726835735
Update: Translations from eints
...
english (au): 2 changes by krysclarke
french: 1 change by Lishouuu
portuguese (brazilian): 2 changes by pasantoro
2023-08-13 18:38:43 +00:00
Patric Stout
9dc2fbe4fa
Fix 0238a2b5
: crash when news message is displayed ( #11195 )
2023-08-13 10:16:36 +00:00
Rubidium
40195e689d
Change: improve wording of help (host instead of IP) and update man page
2023-08-12 22:01:22 +02:00
Rubidium
a8e4d35bde
Fix: crash when not passing parameter for -n
2023-08-12 22:01:22 +02:00
translators
56e0d0c7ef
Update: Translations from eints
...
korean: 3 changes by telk5093
russian: 2 changes by Ln-Wolf
portuguese: 3 changes by azulcosta
2023-08-12 18:38:26 +00:00
Patric Stout
9624017fc2
Codechange: be more type-specific about types in NPFs queue ( #11192 )
2023-08-12 18:18:22 +00:00
Patric Stout
299570b2c1
Codechange: make TimerGameCalendar Date and Year types strongly typed ( #10761 )
2023-08-12 18:14:21 +00:00
Patric Stout
0238a2b567
Codechange: use std::variant instead of using bitflags in the value ( #11191 )
2023-08-12 16:05:00 +00:00
Patric Stout
a9ed590ca7
Codechange: use TimerGameCalendar::Date for variables in linkgraph that are dates ( #11187 )
2023-08-12 16:02:38 +02:00
Patric Stout
b7acf9e50e
Codechange: use TimerGameCalendar::Year and friends when working with years ( #11188 )
2023-08-12 16:02:31 +02:00
Patric Stout
01f55eb734
Codechange: introduce week/quarter triggers for TimerGameCalendar ( #11189 )
...
This simplifies code that triggers on these periods.
2023-08-12 16:02:11 +02:00
Loïc Guilloux
02be6ab6ba
Fix #11179 , a979d9c
: Don't start more competitors than allowed ( #11185 )
2023-08-11 22:30:01 +02:00
Jonathan G Rennison
644d2632f8
Move command log functions to their own header, fix missing include
...
See: #586
2023-08-11 20:00:13 +01:00
Tyler Trahan
8ea01c0bfb
Fix #11180 : Use TileVirtXY for aircraft crash tile ( #11184 )
2023-08-11 14:05:16 +00:00
Tyler Trahan
c7b51a8c3a
Codechange: Use proper date types in various places ( #11177 )
2023-08-11 13:32:42 +00:00
Patric Stout
c9c9cfa4fd
Codechange: simplify the type of loaded_at_xy / next_station ( #11182 )
...
It was TileOrStationID, most likely to make sure both types in
the union are identical. But as TileIndex is a StrongTypeDef
that becomes a bit weird. So instead, still make sure they are
of equal size, but define their individual types better.
2023-08-11 12:55:55 +00:00
Patric Stout
5fba47b0f7
Codechange: make no assumptions on how the internals of TileIndex work ( #11183 )
...
Basically, avoid ".value", and just cast it to its original type
if you want to retrieve this.
2023-08-11 14:53:51 +02:00
Tyler Trahan
6190f48df0
Codechange: Add a DateToYear function instead of dividing each time ( #11173 )
2023-08-11 08:19:54 -04:00
Tyler Trahan
4928ccf916
Fix #10478 : Clarify airport noise control setting texts ( #11169 )
2023-08-11 08:19:26 -04:00
Tyler Trahan
e4fd99a33a
Codechange: Use DateAtStartOfYear() instead of multiplying by DAYS_IN_LEAP_YEAR ( #11174 )
2023-08-11 08:18:59 -04:00
Tyler Trahan
93069066f9
Codechange: Use auto type when sorting dates ( #11175 )
2023-08-11 08:18:32 -04:00
Tyler Trahan
6f057cbe6a
Codechange: Use proper date type in ClickChangeDateCheat ( #11176 )
2023-08-11 07:52:59 -04:00
Jonathan G Rennison
3ec633e63c
Merge pull request #584 from H-Sachse/H-Sachse-change-desktop-launcher-app-name
...
Update openttd.desktop -> add "+JGRPP" to app name
2023-08-09 21:03:21 +01:00
Loïc Guilloux
ba95764f1c
Fix 57717a2
: VS2022 optimisation bug is fixed with MSVC 19.37 ( #11172 )
2023-08-09 21:43:34 +02:00
translators
c2fc2d2ed5
Update: Translations from eints
...
romanian: 48 changes by bnegrut
2023-08-09 18:40:24 +00:00
Jonathan G Rennison
8a14d8c246
Add setting to also limit acceleration when using realistic braking
2023-08-09 00:16:28 +01:00