Start work on building save data (#885)

* Start work on building save data

* Add LegoBuildingData struct to LegoBuildingManager, naming mirrors
  LegoCharacterData in LegoCharacterManager.

* 100% match of many methods in LegoBuildingManager using the struct.

* Formatting

* Add required includes post merge

* Format again

* Better follow naming conventions

* Format again again

* Also fill in template data

* Fix data

* Change braces

* Match functions, consistent style, add missing annotations, some BETA annotations

---------

Co-authored-by: Christian Semmler <mail@csemmler.com>
This commit is contained in:
Mark Langen
2024-05-06 04:15:19 -07:00
committed by GitHub
parent 45f9f54f21
commit 253882bdcb
4 changed files with 540 additions and 41 deletions

View File

@@ -294,7 +294,7 @@ void LegoEntity::VTable0x3c()
PlantManager()->FUN_100269e0(this);
break;
case e_building:
BuildingManager()->FUN_1002fdb0(this);
BuildingManager()->IncrementVariant(this);
break;
}