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.
19835b51ee
Move them into a new GoodsEntryData struct referenced using a std::unique_ptr from GoodsEntry. The unique_ptr may be nullptr if the cargo list and flow stat map are both empty (this is the case for unused cargoes). This reduces GoodsEntry from 128 to 24 bytes, and Station from 8680 to 2024 bytes, (on Linux x86_64). |
1 year ago | |
---|---|---|
.. | ||
api | 1 year ago | |
CMakeLists.txt | 2 years ago | |
script_config.cpp | 1 year ago | |
script_config.hpp | 1 year ago | |
script_fatalerror.hpp | 2 years ago | |
script_gui.cpp | 1 year ago | |
script_gui.h | 2 years ago | |
script_info.cpp | 1 year ago | |
script_info.hpp | 1 year ago | |
script_info_dummy.cpp | 1 year ago | |
script_instance.cpp | 1 year ago | |
script_instance.hpp | 1 year ago | |
script_scanner.cpp | 1 year ago | |
script_scanner.hpp | 1 year ago | |
script_storage.hpp | 1 year ago | |
script_suspend.hpp | ||
squirrel.cpp | 1 year ago | |
squirrel.hpp | 1 year ago | |
squirrel_class.hpp | ||
squirrel_helper.hpp | 1 year ago | |
squirrel_helper_type.hpp | 1 year ago | |
squirrel_std.cpp | 1 year ago | |
squirrel_std.hpp |