Loïc Guilloux and GitHub
49ce7fe169
Fix 8846f347f2: Check bridge/tunnel transport type before querying road type ( #13969 )
2025-04-06 15:01:23 +02:00
Loïc Guilloux and GitHub
f35fa6679b
Change: [Script] Start GS (but don't run it) when generating world in scenario editor ( #13961 )
2025-04-04 12:52:02 +02:00
Loïc Guilloux and GitHub
b25daba561
Fix: [Script] Reset instance when changing running scripts in scenario editor ( #13906 )
2025-04-03 21:14:45 +02:00
Loïc Guilloux and GitHub
bd7cda8271
Revert f719fa678f: [CI] The fix is now implemented at vcpkg level ( #13942 )
2025-04-03 12:54:56 +02:00
Loïc Guilloux and GitHub
827b03a32c
Fix: [Script] Prevent cloning of API instances ( #13947 )
2025-04-02 12:30:57 +02:00
Loïc Guilloux and GitHub
dc3e8a07e6
Fix #13928 , 35e58f6: BuildOilRig did not properly set airport rotation ( #13929 )
2025-03-30 22:33:01 +00:00
Loïc Guilloux and GitHub
6bf405eb18
Codechange: Remove Game::GetGameInstance() (duplicate of Game::GetInstance()) ( #13901 )
2025-03-26 22:41:41 +00:00
Loïc Guilloux and GitHub
bdea29c414
Fix #13875 : [Script] be less strict about empty constructor format for doxygen ( #13882 )
2025-03-24 13:38:10 +01:00
Loïc Guilloux and GitHub
e55f54ce08
Fix #13843 , 015c081c: Don't discard GetString() result ( #13844 )
2025-03-18 17:15:40 +00:00
Loïc Guilloux and GitHub
c5ec8fb05f
Fix #13814 , 2824e790: A Set() became Reset() preventing initial sorting of lists ( #13816 )
2025-03-14 21:15:42 +01:00
Loïc Guilloux and GitHub
c6cd1a4bca
Fix #13740 : [Script] Handle implicit orders for jump orders ( #13753 )
2025-03-10 15:12:26 +01:00
Loïc Guilloux and GitHub
59904e5f9b
Fix #13749 : Apply callback when automatically changing timekeeping unit ( #13751 )
2025-03-10 14:55:19 +01:00
Loïc Guilloux and GitHub
0ade7638df
Fix #13668 , fd2949d: Include the \0 in TextBuf max_chars cropping ( #13672 )
2025-03-05 12:05:19 +01:00
Loïc Guilloux and GitHub
7723625823
Fix #13729 , f8b1e30: Incorrect conversion of EngineFlags to EngineFlag ( #13743 )
2025-03-05 09:12:06 +00:00
Loïc Guilloux and GitHub
0d4346c8dc
Fix #13727 , bdd1406: Incorrect ls.vehicle_names size for TTO saves ( #13732 )
2025-03-03 22:59:57 +00:00
Loïc Guilloux and GitHub
c5e01c1907
Fix: More AI than max_no_competitors could start with competitors_interval=0 ( #13670 )
2025-03-03 13:39:31 +01:00
Loïc Guilloux and GitHub
a772df4a99
Fix: [Script] "type" std function might be redefined by scripts ( #13686 )
2025-03-01 23:01:13 +01:00
Loïc Guilloux and GitHub
e02474fc3e
Fix: [Script] Make compat layers fool proof ( #13680 )
2025-03-01 17:05:47 +01:00
Loïc Guilloux and GitHub
e769c0392e
Cleanup: [Script] Remove some dead code ( #13660 )
2025-02-26 21:37:07 +01:00
Loïc Guilloux and GitHub
ae72e15951
Codefix b2c5712: [Script] Squirrel::GetRealInstance doesn't work with negative index ( #13658 )
2025-02-25 13:13:31 +01:00
Loïc Guilloux and GitHub
c06f5cff09
Codefix b2c5712: [Script] Properly check sq_instanceof return value ( #13657 )
2025-02-24 21:09:04 +00:00
Loïc Guilloux and GitHub
b2c5712319
Fix: [Script] Improve type checking of parameters ( #13522 )
2025-02-13 13:46:21 +01:00
Loïc Guilloux and GitHub
dc311d7c38
Fix: [Script] Report errors happening during 'Load()' ( #13537 )
2025-02-13 12:41:39 +01:00
Loïc Guilloux and GitHub
ad24779661
Codefix: [CMake] Debug libs of Ogg, Opus and OpusFile were used for release with multi-config generators ( #13539 )
2025-02-12 18:51:29 +01:00
Loïc Guilloux and GitHub
7fbfaa1b54
Fix #13520 : [Script] doxygen ignored 'constexpr' constants ( #13523 )
2025-02-10 23:05:31 +01:00
Loïc Guilloux and GitHub
8ab3e9f0a3
Fix 3effb89: [Script] Don't set CommandCallback for asynchronous commands ( #13501 )
2025-02-08 22:14:37 +00:00
Loïc Guilloux and GitHub
edf90f5e4b
Codefix 043d1ac: [Win32] Restore virtual destructor of StreamingVoiceContext ( #13496 )
2025-02-08 17:43:34 +01:00
Loïc Guilloux and GitHub
9238cb7270
Codefix 3e747397f0: Also upgrade preview workflow ( #13438 )
2025-02-02 13:39:33 +01:00
Loïc Guilloux and GitHub
7a49691954
Cleanup: [Script] Remove unneeded squirrel exports since #13389 ( #13437 )
2025-02-02 13:30:45 +01:00
Loïc Guilloux and GitHub
b91685e4b6
Fix ef826a048a: [MinGW] "_WIN32_WINNT_WIN7" is not defined ( #13354 )
2025-01-22 18:44:54 +01:00
Loïc Guilloux and GitHub
ef826a048a
Codechange: [WIN32] Use language isocode for fallback font detection ( #13310 )
2025-01-21 15:57:09 +01:00
Loïc Guilloux and GitHub
4670a62342
Fix: [Win32] Font detection didn't work for locales not supporting code pages ( #13306 )
2025-01-12 17:23:41 +01:00
Loïc Guilloux and GitHub
fdc51fd635
Codefix c0edbe0d37: [CI] Invalid needs in ci-nightly ( #13301 )
2025-01-10 22:38:39 +01:00
Loïc Guilloux and GitHub
46f181c8a6
Fix #13299 : Merge IT_INVALID and INVALID_INDUSTRYTYPE ( #13300 )
...
* Fix #13299 : Merge IT_INVALID and INVALID_INDUSTRYTYPE
* Codefix: Use NUM_INDUSTRYTILES where it's intended
2025-01-10 01:17:11 +01:00
Loïc Guilloux and GitHub
1364b9f641
Fix: Hide company settings from console commands ( #13269 )
2025-01-04 15:13:08 +01:00
Loïc Guilloux and GitHub
a52923b3b9
Codechange: Make GetDefaultValueCallback() more similar to other setting override callbacks ( #13259 )
2025-01-04 00:17:47 +01:00
Loïc Guilloux and GitHub
cb18cb5832
Change: Disable service interval widgets for non-owned vehicles ( #13260 )
2025-01-03 18:38:45 +00:00
Loïc Guilloux and GitHub
b3660bf24a
Fix: IntSettingDesc may have a callback for default value ( #13240 )
2025-01-03 15:05:56 +01:00
Loïc Guilloux and GitHub
d840152cb7
Codefix: [Script] incorrect end of class detection for doxygen ( #13204 )
2024-12-28 18:15:09 +00:00
Loïc Guilloux and GitHub
fefa18fb03
Fix c91d4104f8: \u200B is not allowed in translations ( #13179 )
2024-12-20 17:07:55 +00:00
Loïc Guilloux and GitHub
9d0939199a
Update: vcpkg baseline ( #13178 )
2024-12-20 00:04:03 +01:00
Loïc Guilloux and GitHub
681b1928b4
Fix #13110 : [Script] convert table keys to string when generating JSON ( #13113 )
2024-11-23 13:46:33 +01:00
Loïc Guilloux and GitHub
e5edfbadcf
Codefix: Silence clang-cl warnings ( #13066 )
...
* Codefix ad5da0c : clang-cl doesn't need /Zc:preprocessor
* Codefix: use -Wno-multichar with clang-cl
2024-11-08 14:42:12 +01:00
Loïc Guilloux and GitHub
9dae626237
Codefix: restore _generating_world and nearest town cache when failing to fund a random town ( #13042 )
2024-10-29 19:56:15 +01:00
Loïc Guilloux and GitHub
d67963e616
Add: [Script] Include number of victims in ScriptEventVehicleCrashed ( #12861 )
2024-07-16 21:28:29 +02:00
Loïc Guilloux and GitHub
8ef3a3d463
Codefix: "maybe uninitialized" warnings for linux generic release build ( #12838 )
2024-07-02 11:04:07 +02:00
Loïc Guilloux and GitHub
d7137651f2
Fix #12787 : boostrap doesn't have main vindow ( #12788 )
2024-06-15 20:39:15 +00:00
Loïc Guilloux and GitHub
29ce013eda
Codechange: Pass avail(able) as reference instead of pointer since they are never nullptr ( #12696 )
2024-05-18 17:04:16 +02:00
Loïc Guilloux and GitHub
99b74c1064
Fix #12584 : Improved error handling during tar scan ( #12586 )
2024-04-28 16:08:32 +02:00
Loïc Guilloux and GitHub
c5ef47ee09
Codechange: [Script] Use std::unique_ptr for Company::ai_instance ( #12544 )
2024-04-20 16:58:46 +02:00
Loïc Guilloux and GitHub
243c6bead3
Fix #12415 , 9c49a61, df400ef: Aircraft::tile is valid only for front vehicle ( #12416 )
2024-04-03 23:16:36 +02:00
Loïc Guilloux and GitHub
11aa3694fa
Fix: [Win32] Force font mapper to only use TrueType fonts ( #12406 )
2024-04-01 22:59:13 +02:00
Loïc Guilloux and GitHub
71087bb6d3
Change: [CI] Always use latest stable Xcode ( #12390 )
2024-03-28 21:22:20 +01:00
Loïc Guilloux and GitHub
bd7120bae4
Fix #12316 , 268e512: Support for enum storage type in GenerateWidget.cmake ( #12321 )
2024-03-16 23:43:20 +01:00
Loïc Guilloux and GitHub
818a57c9af
Codechange: Actually use LIT_NONE ( #12314 )
2024-03-16 16:41:58 +00:00
Loïc Guilloux and GitHub
100c043599
Codechange: [Win32] Disable assert message box when no GUI ( #12291 )
2024-03-13 15:49:24 +01:00
Loïc Guilloux and GitHub
82430a1086
Fix ab315d0: Don't show "insert order" errors in the console ( #12245 )
2024-03-09 16:33:44 +00:00
Loïc Guilloux and GitHub
ef40c5e240
Fix #12225 , 977aba7: [Script] Missing AI:ResetConfig support for running AI config ( #12226 )
2024-03-06 21:16:07 +01:00
Loïc Guilloux and GitHub
845b894fd8
Remove: [Script] random_deviation from setting description table ( #12221 )
2024-03-05 12:41:04 +01:00
Loïc Guilloux and GitHub
253ba0d354
Fix #12195 : Reset cursor when no Object is selected ( #12207 )
2024-03-02 13:02:56 +01:00
Loïc Guilloux and GitHub
b53d79b1d2
Codechange: Don't use NOT_REACHED() when catching unhandled thread exceptions ( #12199 )
2024-03-02 00:07:43 +01:00
Loïc Guilloux and GitHub
fad77261ea
Fix f6dd505: Missing savegame conversion for current_order ( #12188 )
2024-02-27 21:25:49 +01:00
Loïc Guilloux and GitHub
f612bc6ee2
Fix bf4b6696: [Script] Broken ScriptText circular reference detection ( #12187 )
2024-02-27 18:16:21 +01:00
Loïc Guilloux and GitHub
25d1238907
Fix #12133 : [Script] Don't crash when emergency saving ( #12138 )
2024-02-20 18:55:18 +01:00
Loïc Guilloux and GitHub
2d7ad9f717
Fix: [Script] Only show debug script window at the end of savegame loading ( #12135 )
2024-02-20 16:08:26 +00:00
Loïc Guilloux and GitHub
79374bc003
Fix #12074 : Don't allow "part" command for dedicated servers ( #12075 )
2024-02-12 19:28:30 +00:00
Loïc Guilloux and GitHub
3ffa176870
Change: [Script] Store randomizers in savegame ( #12063 )
2024-02-12 01:22:57 +01:00
Loïc Guilloux and GitHub
8d9fa0ea89
Change: [Script] Use company randomizer when adding random deviation ( #12065 )
2024-02-11 18:58:41 +00:00
Loïc Guilloux and GitHub
b84b68e959
Codechange: Rework regression output filtering ( #12049 )
2024-02-10 14:16:24 +01:00
Loïc Guilloux and GitHub
977aba73be
Change: Store running AI config inside Company ( #12003 )
2024-02-09 22:55:49 +01:00
Loïc Guilloux and GitHub
b68d263d5f
Fix #12014 : Remove water when area clearing ship depot ( #12030 )
2024-02-09 18:17:08 +01:00
Loïc Guilloux and GitHub
165f92c00b
Fix #12041 , 0c81579: Tarball extraction failing due to incorrect filename ( #12044 )
2024-02-09 17:25:56 +01:00
Loïc Guilloux and GitHub
82470f5c0d
Codechange 80ebcc7: OptionMenuEntries prefix is OME not ONE ( #12036 )
2024-02-08 00:22:01 +00:00
Loïc Guilloux and GitHub
b0f3417025
Add: [Script] ScriptTileList_StationCoverage ( #12015 )
2024-02-06 20:22:18 +01:00
Loïc Guilloux and GitHub
0858377e9e
Fix: [Script] Don't kill GS misusing GSText ( #12009 )
2024-02-06 19:58:30 +01:00
Loïc Guilloux and GitHub
64611a7d12
Fix #11975 , 27a920c: Running AIs also occupy a slot ( #11976 )
2024-02-04 13:19:35 +01:00
Loïc Guilloux and GitHub
75015cdad2
Fix 6f6f099: Signals exist only on plain rail tiles ( #11977 )
2024-02-04 10:39:06 +01:00
Loïc Guilloux and GitHub
27a920c4a8
Change: Allow to configure AI slots above max_no_competitors ( #11961 )
2024-02-03 09:42:16 +01:00
Loïc Guilloux and GitHub
4e26e33805
Change: Improve ScriptSettings windows ( #11958 )
2024-02-02 18:08:05 +00:00
Loïc Guilloux and GitHub
0e738dda88
Fix #11948 : [Win32] Convert error messages to utf8 ( #11951 )
2024-02-02 16:30:23 +01:00
Loïc Guilloux and GitHub
3545decf2d
Cleanup e28edf6945: [Script] Left over CONFIG_RANDOM reference in documentation ( #11954 )
2024-02-02 14:28:02 +00:00
Loïc Guilloux and GitHub
a2f31c4e61
Change: Improve AIConfig window ( #11949 )
2024-02-02 14:34:49 +01:00
Loïc Guilloux and GitHub
ab1407fc43
Fix: [Script] Apply random deviation only at script start ( #11944 )
2024-02-01 10:48:40 +01:00
Loïc Guilloux and GitHub
90084dc74d
Codechange: ignore duplicate script messages in regression output ( #11905 )
2024-01-28 19:35:29 +01:00
Loïc Guilloux and GitHub
461d69a8f6
Fix #11907 : Allow genders for time related {UNITS_XXX} ( #11908 )
2024-01-28 14:45:08 +01:00
Loïc Guilloux and GitHub
09b66751cf
Fix b38d3c2208: missing water regions invalidation when building locks ( #11879 )
2024-01-25 22:18:26 +00:00
Loïc Guilloux and GitHub
bf4b669628
Fix: [Script] Improve ScriptText validation ( #11721 )
...
The validation is now done in two steps:
- First we get the list of parameters in the same order they used to be in encoded string
- Then we validate the parameter types like FormatString would use them while encoding the string
2024-01-18 18:06:30 +01:00
Loïc Guilloux and GitHub
b18e78e21d
Change: Redesign script debug window ( #11782 )
2024-01-15 21:41:44 +01:00
Loïc Guilloux and GitHub
37610af0e4
Fix: Don't replace stripped characters with '?' in console ( #11777 )
2024-01-14 21:49:42 +00:00
Loïc Guilloux and GitHub
93ba6d6776
Fix: compilation without precompiled headers ( #11770 )
2024-01-14 13:27:03 +01:00
Loïc Guilloux and GitHub
54b57fbfeb
Codechange: [Script] Use ScriptList::FillList() in more locations ( #11762 )
2024-01-12 21:19:08 +01:00
Loïc Guilloux and GitHub
03df70ce8a
Fix #11752 : [Win32] Wrong multi-line text layout due to incorrect partial run handling ( #11761 )
2024-01-12 19:40:08 +01:00
Loïc Guilloux and GitHub
28efa65e0c
Revert a2edf52: SQOpsLimiter does a more precise job ( #11754 )
2024-01-12 17:04:43 +01:00
Loïc Guilloux and GitHub
f7bd70baec
Fix #11748 : Incorrect clamping of negative service interval values ( #11749 )
2024-01-10 16:23:36 +01:00
Loïc Guilloux and GitHub
c86d918921
Add: [Script] Optional filter parameter to more ScriptXXXList constructors ( #11698 )
2024-01-09 09:39:13 +01:00
Loïc Guilloux and GitHub
a672813bb0
Add: [Script] Optional filter parameter to ScriptVehicleList constructor ( #11663 )
2024-01-01 01:07:47 +01:00
Loïc Guilloux and GitHub
f56a2d0f82
Fix: Missing invalidations on gui.ai_developer_tools change ( #11664 )
2024-01-01 00:43:10 +01:00
Loïc Guilloux and GitHub
6c5a4aa2cb
Fix 2d3af14: Don't draw script log over panel borders ( #11621 )
2023-12-25 18:42:13 +01:00
Loïc Guilloux and GitHub
af8b8c2cfc
Fix 4a2038e301: fully restore script break filter on reopen ( #11622 )
2023-12-24 00:08:18 +00:00
Loïc Guilloux and GitHub
2d3af14181
Add: Horizontal scroll for script debug log ( #11597 )
2023-12-20 22:50:03 +01:00