too many things

This commit is contained in:
2025-07-18 13:11:18 +02:00
parent b788caafa6
commit 6d0e56eb46
26 changed files with 529 additions and 191 deletions

View File

@@ -21,8 +21,10 @@ struct UpgradeTower {
sp::BitField<std::uint8_t, 4> m_Upgrade;
};
using EntityTypeInt = std::uint8_t;
struct SpawnTroop {
sp::BitField<EntityType, 5> m_Type;
sp::BitField<EntityTypeInt, 5> m_Type;
sp::BitField<std::uint8_t, 3> m_Level;
EntityCoords m_Position;
PlayerID m_Sender;