Commit Graph

59121 Commits

Author SHA1 Message Date
Peter Nelson
333e8e590e
Codefix: Don't assume 9 is the widest digit (#12870)
Use `SetDParamMaxDigit()` instead of `SetDParam()` with a large number.
2024-07-19 19:00:21 +01:00
translators
97479eb953 Update: Translations from eints
chinese (traditional): 97 changes by KogentaSan
2024-07-19 04:43:26 +00:00
Jonathan G Rennison
0d1e24b8fd Fix 32b8ec34f: Incorrect perm storage dump in debug window
Due to merge conflict resolution error
2024-07-18 17:02:47 +01:00
translators
8ed854be58 Update: Translations from eints
chinese (traditional): 28 changes by KogentaSan
2024-07-18 04:43:42 +00:00
Peter Nelson
cd739c2c33
Codechange: Replace dropdown's magic 2 with appropriate WidgetDimension. (#12869) 2024-07-17 22:20:38 +01:00
Peter Nelson
7fb3d1a197 Codechange: Use range-for to iterate airport specs to find first available. 2024-07-17 20:57:33 +01:00
Peter Nelson
2199543fbc Codechange: Use GetVisibleRangeIterators when drawing airport specs. 2024-07-17 20:57:33 +01:00
Jonathan G Rennison
0113bb1f64 Saveload: Use table format for INDY industry chunk 2024-07-17 18:59:12 +01:00
Jonathan G Rennison
aba319e2a9 Saveload: Use upstream chunk handler for ROAD road stops chunk 2024-07-17 18:26:26 +01:00
Peter Nelson
b9c44b29be
Codechange: Pass AirportSpec instead of index to airport resolver object. (#12866)
This avoids retrieving AirportSpec again when it is already available.
2024-07-17 18:16:22 +01:00
Jonathan G Rennison
29946e95b2 Fix refit in station when using articulated vehicles and simultaneous unload 2024-07-17 18:02:26 +01:00
Jonathan G Rennison
e6bb811ca9 Saveload: Mark read-only chunks as CH_READONLY 2024-07-17 17:56:02 +01:00
Peter Nelson
e69c065d6e
Codechange: Use find_if to find waypoint StationSpec when converting old savegames. (#12865)
This simplifies an indexed loop.
2024-07-17 11:40:17 +01:00
Jonathan G Rennison
78bf7c43e5 TBTR: Fix wrong replacement count when train only differed by refit 2024-07-17 00:19:49 +01:00
Jonathan G Rennison
422bcc3e26 TBTR: Fix minor formatting issues 2024-07-17 00:16:33 +01:00
Jonathan G Rennison
d67a2ea167 Saveload: Use table format for bridge signal style map 2024-07-16 22:00:12 +01:00
Jonathan G Rennison
5aa1c2ee04 Saveload: Add gamma functions to header 2024-07-16 21:57:05 +01:00
Jonathan G Rennison
3c53e9a920 Saveload: Add object ptr param to table object save/load helpers 2024-07-16 21:28:46 +01:00
Joan Josep
891e53c72e
Codechange: move large switch case to separate function (#12863) 2024-07-16 19:41:04 +00:00
Loïc Guilloux
d67963e616
Add: [Script] Include number of victims in ScriptEventVehicleCrashed (#12861) 2024-07-16 21:28:29 +02:00
Jonathan G Rennison
c2e7c67204 Saveload: Use table format for companies chunk 2024-07-16 18:58:15 +01:00
Jonathan G Rennison
34177c70aa Saveload: Simplify load of (vanilla) company settings 2024-07-16 17:59:34 +01:00
Jonathan G Rennison
a24a39a6af Saveload: Tag functions returning SaveLoadTableData with [[nodiscard]] 2024-07-16 17:45:27 +01:00
translators
eeed824329 Update: Translations from eints
norwegian (bokmal): 1 change by eriksorngard
chinese (simplified): 1 change by WenSimEHRP
german: 13 changes by Wuzzy2
2024-07-16 04:43:38 +00:00
Jonathan G Rennison
fa69a975f3 Saveload: Use table format for towns chunk 2024-07-15 18:59:38 +01:00
Jonathan G Rennison
9099caa059 Saveload: Use table format for template vehicle chunks 2024-07-15 18:58:49 +01:00
Jonathan G Rennison
7bf1cf0865 Saveload: Add helper to filter named save load table 2024-07-15 18:58:49 +01:00
Jonathan G Rennison
c7a4c6ba0e Saveload: Add helper for null/ptr named save load table handling 2024-07-15 18:56:39 +01:00
translators
1fe11b7b57 Update: Translations from eints
chinese (simplified): 2 changes by WenSimEHRP
2024-07-15 04:43:37 +00:00
Jonathan G Rennison
38781fb16e Saveload: Use table format for plans chunk 2024-07-15 00:26:42 +01:00
Jonathan G Rennison
0bde627c74 Saveload: Use virtual for TypedSaveLoadStructHandler typed variants 2024-07-15 00:08:05 +01:00
Jonathan G Rennison
e0352b8161 Saveload: Use table format for animated tiles 2024-07-14 21:52:04 +01:00
Jonathan G Rennison
11eebdc5dd Saveload: Table format sub-struct support 2024-07-14 21:50:52 +01:00
Jonathan G Rennison
99c6cc5bdb Saveload: Use template function to implement SlAutolength 2024-07-14 20:54:57 +01:00
Jonathan G Rennison
74047028dd Saveload: Remove unused size field from struct SaveLoad 2024-07-14 20:54:57 +01:00
Jonathan G Rennison
7ddcf901f5 Saveload: Add a label tag field to SaveLoad 2024-07-14 20:54:57 +01:00
Jonathan G Rennison
65c666cb57
Codechange: Remove unused size field from struct SaveLoad (#12859) 2024-07-14 14:30:35 -04:00
Jonathan G Rennison
159e68c4dc Saveload: Remove intermediate copy in map individual chunk save/load 2024-07-14 00:32:30 +01:00
Jonathan G Rennison
f739710ad3 Saveload: Use table format for CAPA chunk 2024-07-13 12:03:58 +01:00
Jonathan G Rennison
acfe8909b4 Saveload: Add NamedSaveLoad to saveload_common.h 2024-07-13 11:53:18 +01:00
Jonathan G Rennison
e57a7ad273 Saveload: Bump savegame version for cheats 2024-07-13 11:24:58 +01:00
Jonathan G Rennison
e9bf53d0b1 Saveload: Use table format for cheats 2024-07-13 00:51:08 +01:00
Jonathan G Rennison
10c136f039 Saveload: Add mechanism for custom handling of missing table fields 2024-07-13 00:49:37 +01:00
Jonathan G Rennison
07afb0e00b Saveload: Remove incorrect table mode check in Save_DBGD 2024-07-13 00:18:42 +01:00
translators
6006e832f2 Update: Translations from eints
finnish: 6 changes by hpiirai
2024-07-12 04:42:38 +00:00
Qwest8K
cac020b7e6
Update: Russian translation up to v0.60.2 (#715) 2024-07-11 23:16:37 +01:00
Jonathan G Rennison
14afaf8108 Sound: Changes to enable building xaudio2 driver on MinGW 2024-07-11 23:08:13 +01:00
translators
58e4643196 Update: Translations from eints
vietnamese: 4 changes by KhoiCanDev
2024-07-11 04:43:17 +00:00
Jonathan G Rennison
651610cd2a Saveload: Fix sign and narrowing conversion warnings calculating list sizes 2024-07-11 01:43:18 +01:00
Jonathan G Rennison
2de0dd17c2 Version: Committing version data for tag: jgrpp-0.60.2 2024-07-11 01:15:20 +01:00