Commit Graph

58965 Commits (f1bf3e9ca298ef520c36945568515a63fc23148c)
 

Author SHA1 Message Date
Qwest8K 2c1ee96b80
Update russian.txt (#732) 4 weeks ago
Jonathan G Rennison 1e4aed7060 Fix e760a4ef: Crash opening tracerestrict cargo ID dropdown
See: #733
4 weeks ago
Jonathan G Rennison 1c618989d1 Fix exchanging station names for stations with name from nearby industry 4 weeks ago
pvillaverde a3b941953d 🌐 Galician translations 2024-08-24 4 weeks ago
TELK 7391467216 Update: Korean translation up to 0.61.0 4 weeks ago
Jonathan G Rennison b8c53fb70e Fix date in changelog 4 weeks ago
Jonathan G Rennison 55664c5c80 Version: Committing version data for tag: jgrpp-0.61.0 4 weeks ago
Jonathan G Rennison 090279cd8f Temporary fix: https://github.com/OpenTTD/OpenTTD/issues/12917 4 weeks ago
Jonathan G Rennison 72c67a89ba Silence UndefinedBehaviourSanitizer warning in ChangeGRFParamType 4 weeks ago
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
4 weeks ago
Jonathan G Rennison 3994f329e3 Use hash table index for NewGRFClass::GetByGrf 4 weeks ago
Jonathan G Rennison 5f94f1e27e Avoid unnecessary tile slope check in GetTileTrackStatus_Water 4 weeks ago
Jonathan G Rennison fead409888 Ring buffer: Make construct_from internal method private 4 weeks ago
Jonathan G Rennison b3689e2cc0 Fix station catchment increase with new picker window 1 month ago
Patric Stout 4f58a0f3c5 Fix #12818: during Hostile Takeover, profit was calculated wrongly (#12819)
(cherry picked from commit 21813fbe8b)
1 month ago
Jonathan G Rennison 436178cbd4 Scheduled dispatch: Highlight vehicle dispatch slot in slots panel
Add info line in tooltip
1 month ago
Jonathan G Rennison c40ba9782c Add more information to getfulldate console command 1 month ago
Jonathan G Rennison 397a30bffc Change INITIAL_STATE_TICKS_VALUE to be an integer multiple of useful values 1 month ago
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
1 month ago
Jonathan G Rennison 12c38fff52 Add support for SLV_COMPANY_INAUGURATED_PERIOD (no changes) 1 month ago
Jonathan G Rennison 45f86a2ac3 Add support for upstream road waypoints savegame version 1 month ago
Joan Josep 6bb52b86eb Fix: typo in picker mode tooltip. (#12834)
(cherry picked from commit e7982e8082)
1 month ago
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)
1 month ago
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)
1 month ago
Jonathan G Rennison c5f49ba0e8 Increase width of picker window class column 1 month ago
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.
1 month ago
Jonathan G Rennison f72d8d0b48 Extend station bridge above flags for more than 8 station gfx values 1 month ago
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)
1 month ago
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
1 month ago
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
1 month ago
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)
1 month ago
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
1 month ago
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)
1 month ago
Peter Nelson 1e55fd4667 Change: [NewGRF] Treat house max year 0xFFFF as MAX_YEAR. (#12740)
(cherry picked from commit 96fc367bcf)
1 month ago
Jonathan G Rennison 1154fff48a Fix a2b63635: Scheduled dispatch info panel was one line too short 1 month ago
Jonathan G Rennison e6afaed4fc Scheduled dispatch: Show slots for different clock hours on separate lines
See: #722
1 month ago
Jonathan G Rennison f75f9f11de Merge branch 'master' into jgrpp
# Conflicts:
#	src/CMakeLists.txt
#	src/network/network_server.cpp
#	src/newgrf.cpp
#	src/newgrf_class.h
#	src/newgrf_class_func.h
#	src/newgrf_object.h
#	src/object_gui.cpp
#	src/openttd.cpp
#	src/pathfinder/aystar.cpp
#	src/rail_gui.cpp
#	src/road_gui.cpp
#	src/saveload/station_sl.cpp
#	src/script/api/script_rail.cpp
#	src/settings.cpp
#	src/table/object_land.h
#	src/widgets/CMakeLists.txt
1 month ago
Jonathan G Rennison 5ad010b06f Timer: Add equivalent timer interface for upstream TimerGameCalendar 1 month ago
Jonathan G Rennison c7904e23f0 Timer: Add upstream TimerWindow 1 month ago
Jonathan G Rennison a56efeb609 Timer: Add utility to ensure safe iteration of timers 1 month ago
Jonathan G Rennison 5eae56fd23 Lang: Reformat lang files, remove unused string 1 month ago
Jonathan G Rennison c21d6607dd Hotkeys: Use std::vector, remove HOTKEY_LIST_END sentinel 1 month ago
Jonathan G Rennison 44dffb0e81 cpp-btree: Add contains method to match STL 1 month ago
Jonathan G Rennison e060e9b83d Fix: DepotWindow::GetVehicleFromDepotWndPt not refreshing vehicle list 1 month ago
Jeremy Gao 4fb677bdfe
Update: Simplified Chinese translations (#721) 1 month ago
Jonathan G Rennison 5fe5519a66 Lang: Remove unused extra string 1 month ago
Jonathan G Rennison f76204475b Merge PR #729 into jgrpp 1 month ago
Qwest8K 5aca3bd4ab Update russian.txt 1 month ago
Jonathan G Rennison 6b8a37d0e9 Remove unused headers from road.cpp 1 month ago
Jonathan G Rennison e760a4eff6 Tracerestrict: Use spans for drop down list sets in GUI 1 month ago