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 d5671030b1 Codechange: Add NewGRFSpecsBase class to hold class/index information.
Standardises how the class index is stored in the spec, instead of relying ot the Spec structs having the same members.

This allows retrieving class_index and index without searching or using pointer arithmetic.

'cls_id' is renamed to 'class_index' to make it clearer that it is an index rather than the multichar label of the class.
4 weeks ago
..
api Codechange: Add NewGRFSpecsBase class to hold class/index information. 4 weeks ago
CMakeLists.txt Codechange: move windows common to AI and GS out of ai_gui 1 year ago
script_cmd.h
script_config.cpp Remove: [Script] random_deviation from setting description table (#12221) 3 months ago
script_config.hpp Codefix 977aba73be: also update comment about removal of is_random (#12400) 2 months ago
script_fatalerror.hpp
script_gui.cpp Change: Use aspect ratios for some common widgets. 2 months ago
script_gui.h Change: Allow opening multiple script debug windows by holding Ctrl. 6 months ago
script_info.cpp Codechange: range based for loops instead of C-style for loops 2 months ago
script_info.hpp Codechange: remove manual allocation/free for SQ_instance 1 year ago
script_info_dummy.cpp Codechange: use fmt::format to create dummy scripts 1 year ago
script_instance.cpp Codechange: rename byte to uint8_t (#12308) 3 months ago
script_instance.hpp Fix #11585: Crash when cleaning AI/GS with nested AsyncMode. 6 months ago
script_scanner.cpp Codechange: Silence warnings about intentionally unused parameters. 9 months ago
script_scanner.hpp Codechange: use fmt::format_to to format the help message 1 year ago
script_storage.hpp Revert bbdbf9a: ScriptTimeMode was not the best solution for economy/calendar support 3 months ago
script_suspend.hpp
squirrel.cpp Cleanup: missing spaces before continuation * in some comments 7 months ago
squirrel.hpp Cleanup: stredup-ing string variant for calling scripts 1 year ago
squirrel_class.hpp
squirrel_helper.hpp Codechange: Ensure function opening `{` is on new line. 7 months ago
squirrel_helper_type.hpp Codechange: automatic adding of _t to (u)int types, and WChar to char32_t 11 months ago
squirrel_std.cpp Codechange: use C++ strings for constructing script file paths 1 year ago
squirrel_std.hpp