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.
7dd5fd6ed4
We won't be able to make it fully self-descriptive (looking at you MAP-chunks), but anything else can. With this framework, we can add headers for each chunk explaining how each chunk looks like in detail. They also will all be tables, making it a lot easier to read in external tooling, and opening the way to consider a database (like SQLite) to use as savegame format. Lastly, with the headers in the savegame, you can freely add fields without needing a savegame version bump; older versions of OpenTTD will simply ignore the new field. This also means we can remove all the SLE_CONDNULL, as they are irrelevant. The next few commits will start using this framework. |
3 years ago | |
---|---|---|
.. | ||
api | 3 years ago | |
CMakeLists.txt | 4 years ago | |
script_config.cpp | 3 years ago | |
script_config.hpp | 3 years ago | |
script_fatalerror.hpp | 4 years ago | |
script_info.cpp | 3 years ago | |
script_info.hpp | 4 years ago | |
script_info_dummy.cpp | 3 years ago | |
script_instance.cpp | 3 years ago | |
script_instance.hpp | 3 years ago | |
script_scanner.cpp | 3 years ago | |
script_scanner.hpp | 4 years ago | |
script_storage.hpp | 5 years ago | |
script_suspend.hpp | 5 years ago | |
squirrel.cpp | 3 years ago | |
squirrel.hpp | 3 years ago | |
squirrel_class.hpp | 3 years ago | |
squirrel_helper.hpp | 3 years ago | |
squirrel_helper_type.hpp | 5 years ago | |
squirrel_std.cpp | 3 years ago | |
squirrel_std.hpp | 5 years ago |