Jonathan G Rennison
ed3e401d06
Use ClampTo in RXCompressUint to fix narrowing warning
2024-08-29 21:06:04 +01:00
Jeremy Gao
8f5f4326ac
Update: Simplified Chinese Translations
...
Fixed a few ancient typos and added new translations.
2024-08-29 21:02:06 +01:00
Jonathan G Rennison
5f313e1447
Fix duplicate order and value validation of dispatch conditional orders
2024-08-28 20:29:29 +01:00
Qwest8K
577ad8bf8e
Update: Russian localization ( #735 )
2024-08-28 19:04:23 +01:00
Jonathan G Rennison
5b9ed03823
Tracerestrict: Add reverse at PBS signal sub-action
2024-08-28 18:50:04 +01:00
Jonathan G Rennison
0c3d1e1aac
Use result flags for TryPathReserve
2024-08-28 01:07:27 +01:00
Jonathan G Rennison
c286210902
Tracrestrict: Rename various constants for reverse behind signal
2024-08-28 00:41:16 +01:00
Jonathan G Rennison
ff89547280
Use result structure for ChooseTrainTrack
2024-08-28 00:38:04 +01:00
Jonathan G Rennison
a0dbd04e34
Tracerestrict: Fix GUI constants for news control actions
2024-08-28 00:25:35 +01:00
Jonathan G Rennison
f016e54ac3
Through load: Show vehicle advice message if ignored due to passengers
2024-08-27 17:42:09 +01:00
Jonathan G Rennison
17a5b7e9a9
Through load: Show vehicle advice message if ignored due to rear in depot
2024-08-27 17:42:09 +01:00
Jonathan G Rennison
4d514f3b19
Readme: Use HTTPS for forum links
2024-08-26 23:50:04 +01:00
Jonathan G Rennison
f01d4fab2c
VarAction2: Variable 0x7C depends on special temp storage for towns
2024-08-26 22:52:19 +01:00
Jonathan G Rennison
b4c3f938db
Debug: Show size of GRM allocation in GRF debug output
2024-08-25 13:26:16 +01:00
Qwest8K
2c1ee96b80
Update russian.txt ( #732 )
2024-08-25 11:24:19 +01:00
Jonathan G Rennison
1e4aed7060
Fix e760a4ef
: Crash opening tracerestrict cargo ID dropdown
...
See: #733
2024-08-25 11:22:43 +01:00
Jonathan G Rennison
1c618989d1
Fix exchanging station names for stations with name from nearby industry
2024-08-24 19:20:37 +01:00
pvillaverde
a3b941953d
🌐 Galician translations 2024-08-24
2024-08-24 12:02:43 +01:00
TELK
7391467216
Update: Korean translation up to 0.61.0
2024-08-24 12:02:22 +01:00
Jonathan G Rennison
b8c53fb70e
Fix date in changelog
2024-08-24 00:12:39 +01:00
Jonathan G Rennison
55664c5c80
Version: Committing version data for tag: jgrpp-0.61.0
2024-08-23 23:07:46 +01:00
Jonathan G Rennison
090279cd8f
Temporary fix: https://github.com/OpenTTD/OpenTTD/issues/12917
2024-08-23 22:10:50 +01:00
Jonathan G Rennison
72c67a89ba
Silence UndefinedBehaviourSanitizer warning in ChangeGRFParamType
2024-08-23 19:01:13 +01:00
Jonathan G Rennison
4326cde313
Viewport: Fix use after free caused by AddChildSpriteToFoundation
...
Use indices instead of pointers for last child sprite ID store
See: https://github.com/OpenTTD/OpenTTD/issues/12914
2024-08-23 18:37:42 +01:00
Jonathan G Rennison
3994f329e3
Use hash table index for NewGRFClass::GetByGrf
2024-08-23 18:37:42 +01:00
Jonathan G Rennison
5f94f1e27e
Avoid unnecessary tile slope check in GetTileTrackStatus_Water
2024-08-23 16:04:54 +01:00
Jonathan G Rennison
fead409888
Ring buffer: Make construct_from internal method private
2024-08-23 15:10:56 +01:00
Jonathan G Rennison
b3689e2cc0
Fix station catchment increase with new picker window
2024-08-22 22:36:54 +01:00
Patric Stout
4f58a0f3c5
Fix #12818 : during Hostile Takeover, profit was calculated wrongly ( #12819 )
...
(cherry picked from commit 21813fbe8b
)
2024-08-22 21:09:40 +01:00
Jonathan G Rennison
436178cbd4
Scheduled dispatch: Highlight vehicle dispatch slot in slots panel
...
Add info line in tooltip
2024-08-22 19:05:42 +01:00
Jonathan G Rennison
c40ba9782c
Add more information to getfulldate console command
2024-08-22 17:37:52 +01:00
Jonathan G Rennison
397a30bffc
Change INITIAL_STATE_TICKS_VALUE to be an integer multiple of useful values
2024-08-22 16:37:07 +01:00
Jonathan G Rennison
fd66e9d8cc
Codefix: Move saveload of road stop tile data ( #12883 )
...
So that road stop tile data is also saved/loaded for road waypoints
(cherry picked from commit 39465d7f5c
)
# Conflicts:
# src/saveload/saveload.h
2024-08-22 16:15:27 +01:00
Jonathan G Rennison
12c38fff52
Add support for SLV_COMPANY_INAUGURATED_PERIOD (no changes)
2024-08-22 16:13:20 +01:00
Jonathan G Rennison
45f86a2ac3
Add support for upstream road waypoints savegame version
2024-08-22 15:57:43 +01:00
Joan Josep
6bb52b86eb
Fix: typo in picker mode tooltip. ( #12834 )
...
(cherry picked from commit e7982e8082
)
2024-08-22 15:41:01 +01:00
Peter Nelson
a6a72c68d1
Fix: Crash if interface scale or font size changes with chat box present. ( #12705 )
...
Caused by the chat box being undrawn with the new dimensions, leading to out-of-bounding memory access.
(cherry picked from commit 7e12b5ff0f
)
2024-08-22 15:38:43 +01:00
Peter Nelson
06b84f7c00
Fix: Unable to choose a font containing hyphen. ( #12684 )
...
FcNameParse may require some characters be escaped. Instead, pass name as FC_FAMILY.
(cherry picked from commit ca52da6c95
)
2024-08-22 15:38:15 +01:00
Jonathan G Rennison
c5f49ba0e8
Increase width of picker window class column
2024-08-22 15:27:13 +01:00
Jonathan G Rennison
1133ce2432
Fix: Picker window 'used' filter for rail waypoints
...
The first two field of struct PickerItem were not populated.
These are required for set operations.
StationUsesDefaultType always returned false for rail waypoints.
2024-08-22 15:17:45 +01:00
Jonathan G Rennison
f72d8d0b48
Extend station bridge above flags for more than 8 station gfx values
2024-08-22 14:55:02 +01:00
Peter Nelson
84c6a917d8
Add: [NewGRF] Extended custom waypoint classes. ( #12653 )
...
This allows waypoints to be split into categories just like stations, instead of all being lumped together.
Station class labels with the first byte set to 0xFF will be treated in the same way as the 'WAYP' class.
(cherry picked from commit 2c70ccb137
)
2024-08-22 14:21:21 +01:00
Peter Nelson
fe14fe6d3c
Codechange: Store custom station layouts in a map instead of nested vectors. ( #12898 )
...
The map key is the platforms and length combined. This simplifies allocation and searching for layouts.
(cherry picked from commit ff972ec4ff
)
# Conflicts:
# src/newgrf.cpp
# src/newgrf_station.h
2024-08-22 14:21:21 +01:00
Peter Nelson
839ec6f1e8
Add: [NewGRF] Station property 1E, extended station tile flags.
...
Properties 11, 14 and 15 to set pylons/nowires/blocked intrinsically only support 8 station tiles.
Add new property to define all three flags for each station tile layout.
(cherry picked from commit a03ddb3ccb
)
# Conflicts:
# src/newgrf.cpp
# src/newgrf_station.h
# src/station_cmd.cpp
2024-08-22 14:21:21 +01:00
Peter Nelson
c709976703
Feature: [NewGRF] Allow fixed layout up to 256 tiles per NewGRF rail station.
...
Allow using up to 256 tile layouts in property 0E or callback 24, which defines the layout to be saved into the map.
This was originally limited to 8, because station graphics above 8 referred to other station types but that was changed in 2007.
1) More efficient than using callback 14, as that needs to be checked every time a station tile is rendered.
2) The layout does not get changed when the station is changed (this may or may not be desirable!)
Using more than 256 layouts still requires callback 14.
(cherry picked from commit 6e553410d3
)
2024-08-22 14:10:47 +01:00
Peter Nelson
c001ee507e
Codechange: Rename CBID_STATION_SPRITE_LAYOUT and CBID_STATION_TILE_LAYOUT.
...
These callbacks both select rail station tile layouts, the difference is one happens when drawing, the other happens when building. Change the names to make this clearer.
(cherry picked from commit 70a2ed062d
)
# Conflicts:
# src/newgrf_station.cpp
# src/station_cmd.cpp
2024-08-22 14:10:47 +01:00
Peter Nelson
6b5e4108a9
Codefix: Find GRF override entries properly. ( #12743 )
...
My naive code from 16 years ago tested for GRF overrides in a way that will create empty 0 entries for each source GRF tested.
(cherry picked from commit 579ce8eae0
)
2024-08-22 14:10:47 +01:00
Peter Nelson
1e55fd4667
Change: [NewGRF] Treat house max year 0xFFFF as MAX_YEAR. ( #12740 )
...
(cherry picked from commit 96fc367bcf
)
2024-08-22 14:10:47 +01:00
Jonathan G Rennison
1154fff48a
Fix a2b63635
: Scheduled dispatch info panel was one line too short
2024-08-22 12:54:31 +01:00
Jonathan G Rennison
e6afaed4fc
Scheduled dispatch: Show slots for different clock hours on separate lines
...
See: #722
2024-08-22 12:48:20 +01:00