OpenTTD/src/script
Peter Nelson fef0bfcfd3
Fix: TextfileWindow called virtual methods before constructor completed. (#11889)
SetStringParameters() was called during widget tree init in the constructor.

Calls within a constructor cannot call the derived classes methods. This would result in invalid data being passed to the string system, which could then crash.
2024-01-27 14:45:37 +00:00
..
api Add: AI/GS Time Mode to choose between economy (default) and calendar time (#11603) 2024-01-23 10:42:10 -05:00
CMakeLists.txt Codechange: move windows common to AI and GS out of ai_gui 2023-02-05 19:27:25 +01:00
script_cmd.h Codechange: Pass unpacked command arguments to command callbacks (except Script). 2021-12-16 22:28:32 +01:00
script_config.cpp Codechange: rewrite script string-to-settings conversion to C++ 2023-05-14 22:54:10 +02:00
script_config.hpp Codechange: Use std::map instead of custom SmallMap. 2023-05-18 12:18:30 +01:00
script_fatalerror.hpp Change: [Script] Let Script_FatalError use std::string instead of const char * 2021-04-17 22:24:52 +02:00
script_gui.cpp Fix: TextfileWindow called virtual methods before constructor completed. (#11889) 2024-01-27 14:45:37 +00:00
script_gui.h Change: Allow opening multiple script debug windows by holding Ctrl. 2023-12-20 20:39:07 +00:00
script_info.cpp Codechange: replace StrMakeValidInPlace with StrValid 2023-06-08 18:29:44 +02:00
script_info.hpp Codechange: remove manual allocation/free for SQ_instance 2023-05-14 22:54:10 +02:00
script_info_dummy.cpp Codechange: use fmt::format to create dummy scripts 2023-05-14 22:54:10 +02:00
script_instance.cpp Fix: Crash if squirrel compatibility scripts cannot be parsed. (#11589) 2023-12-15 01:25:36 +00:00
script_instance.hpp Fix #11585: Crash when cleaning AI/GS with nested AsyncMode. 2023-12-14 20:54:31 +00:00
script_scanner.cpp Codechange: Silence warnings about intentionally unused parameters. 2023-09-19 22:49:59 +02:00
script_scanner.hpp Codechange: use fmt::format_to to format the help message 2023-05-20 16:50:03 +02:00
script_storage.hpp Add: AI/GS Time Mode to choose between economy (default) and calendar time (#11603) 2024-01-23 10:42:10 -05:00
script_suspend.hpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00
squirrel.cpp Cleanup: missing spaces before continuation * in some comments 2023-11-01 22:56:11 +01:00
squirrel.hpp Cleanup: stredup-ing string variant for calling scripts 2023-05-14 22:54:10 +02:00
squirrel_class.hpp Change: Use gender-neutral pronouns in console command messages (and comments) (#9203) 2021-05-08 11:02:30 +01:00
squirrel_helper.hpp Codechange: Ensure function opening `{` is on new line. 2023-11-09 20:15:38 +00:00
squirrel_helper_type.hpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 2023-07-19 19:30:14 +02:00
squirrel_std.cpp Codechange: use C++ strings for constructing script file paths 2023-05-14 22:54:10 +02:00
squirrel_std.hpp Cleanup: Removed SVN headers 2019-11-10 17:59:20 +00:00