You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenTTD-patches/src/script
Peter Nelson 4bf9c123d3 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.

(cherry picked from commit fef0bfcfd3)
5 months ago
..
api Codechange: Replace GroupStatistics' num_engines with std::map. (#11849) 5 months ago
CMakeLists.txt
script_config.cpp Use core/format.hpp for fmt includes 11 months ago
script_config.hpp Merge branch 'master' into jgrpp 12 months ago
script_fatalerror.hpp Script: Only log each string parameter warning message once 1 year ago
script_gui.cpp Fix: TextfileWindow called virtual methods before constructor completed. (#11889) 5 months ago
script_gui.h Change: Allow opening multiple script debug windows by holding Ctrl. 6 months ago
script_info.cpp Merge branch 'master' into jgrpp 9 months ago
script_info.hpp Merge branch 'master' into jgrpp 12 months ago
script_info_dummy.cpp Use core/format.hpp for fmt includes 11 months ago
script_instance.cpp Adding of _t to (u)int types, and WChar to char32_t 5 months ago
script_instance.hpp Adding of _t to (u)int types, and WChar to char32_t 5 months ago
script_scanner.cpp Adding of _t to (u)int types, and WChar to char32_t 5 months ago
script_scanner.hpp Codechange: use fmt::format_to to format the help message 1 year ago
script_storage.hpp Adding of _t to (u)int types, and WChar to char32_t 5 months ago
script_suspend.hpp
squirrel.cpp Adding of _t to (u)int types, and WChar to char32_t 5 months ago
squirrel.hpp Merge branch 'master' into jgrpp 12 months ago
squirrel_class.hpp
squirrel_helper.hpp Adding of _t to (u)int types, and WChar to char32_t 5 months ago
squirrel_helper_type.hpp Adding of _t to (u)int types, and WChar to char32_t 5 months ago
squirrel_std.cpp Merge branch 'master' into jgrpp 12 months ago
squirrel_std.hpp