mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-09 12:48:22 +01:00
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. |
||
---|---|---|
.. | ||
api | ||
CMakeLists.txt | ||
script_cmd.h | ||
script_config.cpp | ||
script_config.hpp | ||
script_fatalerror.hpp | ||
script_gui.cpp | ||
script_gui.h | ||
script_info_dummy.cpp | ||
script_info.cpp | ||
script_info.hpp | ||
script_instance.cpp | ||
script_instance.hpp | ||
script_scanner.cpp | ||
script_scanner.hpp | ||
script_storage.hpp | ||
script_suspend.hpp | ||
squirrel_class.hpp | ||
squirrel_helper_type.hpp | ||
squirrel_helper.hpp | ||
squirrel_std.cpp | ||
squirrel_std.hpp | ||
squirrel.cpp | ||
squirrel.hpp |