Jonathan G Rennison
04aedf4798
TBTR: Add template replacement index validation to CheckCaches
2023-03-24 22:14:22 +00:00
Jonathan G Rennison
279e9c7ec6
TBTR: Tidy up includes
2023-03-24 22:09:46 +00:00
Jonathan G Rennison
1ad77f8697
TBTR: Re-index recursive replacements on group topology changes
2023-03-24 21:47:14 +00:00
Jonathan G Rennison
9f9cc99fc1
Merge branch 'master' into jgrpp
2023-03-24 21:24:50 +00:00
translators
24e9af83aa
Update: Translations from eints
...
japanese: 22 changes by fmang
2023-03-24 18:44:41 +00:00
Jonathan G Rennison
bd837a2fcd
TBTR: Mark vehicles as requiring service on template/replacement change
2023-03-24 11:46:16 +00:00
Jonathan G Rennison
d30157a113
Debug: Show whether vehicle needs service in debug window
2023-03-24 11:44:58 +00:00
Jonathan G Rennison
3ce2a01d12
TBTR: Fix template ownership and replacement checks in CmdReplaceTemplateVehicle
2023-03-24 11:33:12 +00:00
Jonathan G Rennison
6527e42cb1
TBTR: Maintain index of group to template replacement (recursive)
...
Use hash tables for TBTR indices
2023-03-24 10:18:20 +00:00
Jonathan G Rennison
9a1278bcd6
TBTR: Fix tooltips for start/stop replacement buttons
2023-03-24 09:36:49 +00:00
translators
83eb73a9b2
Update: Translations from eints
...
japanese: 12 changes by fmang
2023-03-23 18:42:29 +00:00
Jonathan G Rennison
1707f74d60
TBTR: Refactor template replacement code
...
Adjust conditions for re-using existing engines in depot
Reduce cost of searching for existing engines in depot
Reduce cost of vehicle chain membership tests
Improve replacement command error handling
Tidy up code in general
2023-03-22 22:19:01 +00:00
Jonathan G Rennison
5d5e005c5d
Debug: Log aircraft target airport and movement state name
2023-03-22 21:15:46 +00:00
Jonathan G Rennison
035a3331a2
Avoid tile hash scans for unsuitable vehicle types in EnsureNoVehicleOnGround
2023-03-22 20:07:05 +00:00
Jonathan G Rennison
a9156ed516
Do not include aircraft in flight in the vehicle tile hash
2023-03-22 19:38:53 +00:00
Jonathan G Rennison
bd3df161e4
Debug: Show whether vehicle is in tile hash in debug info
2023-03-22 19:38:53 +00:00
Jonathan G Rennison
0ab54b2992
Debug: Fix aliasing of show/hide toggles for aircraft in debug window
2023-03-22 19:38:53 +00:00
Jonathan G Rennison
a7efe91007
Script: More closely emulate old text param behaviour for 13 and below scripts
2023-03-22 16:47:21 +00:00
Jonathan G Rennison
887d474a2e
Validate RAW_STRING parameter values in game_script mode
2023-03-22 16:46:40 +00:00
Jonathan G Rennison
f3841e29c8
Saveload: Adjust formatting of _sl_xv_sub_chunk_infos
2023-03-21 20:19:40 +00:00
Jonathan G Rennison
2028472253
Saveload: Skip VENC/TNNC chunks entirely on non network server saves
2023-03-21 19:18:10 +00:00
Jonathan G Rennison
c2752b31e6
Saveload: Use traditional map chunks for scenario saves
2023-03-21 18:59:11 +00:00
Jonathan G Rennison
a57a909deb
Saveload: Add special proc op for whether to save chunk
2023-03-21 18:57:50 +00:00
translators
1d915214a1
Update: Translations from eints
...
japanese: 31 changes by fmang
2023-03-21 18:42:37 +00:00
Jonathan G Rennison
b4f32e44d9
Saveload: Change result type of ChunkSaveLoadSpecialProc
2023-03-21 18:11:11 +00:00
Jonathan G Rennison
6cdf67f38a
Saveload: Add save flag for if this is a scenario save
2023-03-21 18:00:30 +00:00
Jonathan G Rennison
69c3e94111
Crashlog: Remove incorrect comment
2023-03-21 18:00:09 +00:00
Jonathan G Rennison
664c486fea
Add "very reduced" mode to the vehicle breakdowns setting
2023-03-21 17:30:16 +00:00
translators
d15a14bd9e
Update: Translations from eints
...
japanese: 32 changes by fmang
danish: 7 changes by bscargo
2023-03-20 18:45:00 +00:00
Jonathan G Rennison
a6babb23d3
Script: Allow text param mismatches for scripts with 13 or below compatibility
2023-03-20 17:47:19 +00:00
Jonathan G Rennison
6fb3fa7e77
Version: Committing version data for tag: jgrpp-0.52.0
2023-03-19 22:59:11 +00:00
Jonathan G Rennison
c644aa754d
Only check primary vehicle ships in RemoveDock
2023-03-19 22:38:31 +00:00
Jonathan G Rennison
b7cb4099a6
Add missing cast in Save_TNNC()
2023-03-19 22:23:50 +00:00
Jonathan G Rennison
2716217775
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/saveload/saveload.h
2023-03-19 22:23:31 +00:00
Tyler Trahan
e5438891e2
Cleanup: Keep spacing saveload versions by groups of five ( #10576 )
2023-03-19 11:02:54 -04:00
Jonathan G Rennison
2e7545f85f
Road stops: Add flag to use custom graphics for disabled views in build window
2023-03-19 11:01:17 +00:00
Jonathan G Rennison
ec73775f97
Road stops: Shrink build window when changing to a shorter type
2023-03-19 10:49:10 +00:00
translators
1424b7b49e
Update: Translations from eints
...
french: 14 changes by ZarTek-Creole
2023-03-18 18:42:21 +00:00
translators
3254d65b3e
Update: Translations from eints
...
swedish: 17 changes by joeax910
czech: 13 changes by jachymozo
danish: 3 changes by bscargo
2023-03-17 18:43:43 +00:00
Jonathan G Rennison
6f42561859
Use std::vector for generic callback handlers
2023-03-16 21:42:11 +00:00
Jonathan G Rennison
5dd285b0d9
Don't save TNNC chunk if there are no town zone callback handlers
2023-03-16 20:52:44 +00:00
Jonathan G Rennison
062d57eadb
Merge branch 'master' into jgrpp
...
# Conflicts:
# src/openttd.cpp
# src/video/dedicated_v.cpp
2023-03-16 20:43:11 +00:00
translators
0bf6d80cd7
Update: Translations from eints
...
danish: 161 changes by bscargo
2023-03-16 18:45:39 +00:00
Jonathan G Rennison
4dc846949c
Bump savegame version for multi-cargo ships
2023-03-16 00:35:37 +00:00
Jonathan G Rennison
8cd7c9559f
Multi-part ships: Require feature test to enable callback 16
2023-03-15 22:36:27 +00:00
Rubidium
24b5033a06
Fix #10568 : "can savegame be loaded check" failed in dedicated server
...
* If loading fails, it usually returns SL_REINIT which doesn't trigger check
* If savegame has NewGRFs, it complains NewGRFs are not allowed in intro game
2023-03-15 22:14:29 +01:00
Jonathan G Rennison
87e4258fe3
Allow selecting individual ship parts in refit window
...
Add callback to name ship parts in refit window
2023-03-15 19:44:26 +00:00
Jonathan G Rennison
211fdd62b2
Initial support for multi-part (pseudo-articulated) ships
2023-03-15 19:44:26 +00:00
Jonathan G Rennison
5718730d68
VarAction2: Add support for more varaction2 types
...
Add CB failure and deterministic relative types
2023-03-15 19:44:26 +00:00
Jonathan G Rennison
48d602962f
Road stops: Add inferred one way road state to var 50/roadstop_misc_info
2023-03-15 19:44:26 +00:00