Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
2p dark forecast: don't store unit pool types in savefiles
instead of storing the poolypesin savefiles we now have them as 'const' lua array and store only the indexes to this array in the savefiles. this has some advantages: 1) It makes the savefiles smaller 2) It simplyfies the lua code becasue we don't have to convert the wml tables to lua tables anymore. This also changes the scenario so that the spawned unit types are now calculated at the beginning (they will be the same when reloading from a savefile.)
- Loading branch information
Showing
1 changed file
with
94 additions
and
117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters