2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 19:44:55 +00:00

Initial CScriptGunTurret Implementation

This commit is contained in:
2018-06-04 12:15:35 -07:00
parent e63102e180
commit cb2b9fa8bd
20 changed files with 494 additions and 138 deletions

View File

@@ -100,7 +100,7 @@ public:
};
private:
static const std::unordered_map<std::string_view, EItemType> g_TypeNameMap;
static const u32 PowerUpMaxValues[41];
static const char* PowerUpNames[41];
struct CPowerUp
@@ -184,7 +184,7 @@ public:
CPlayerState(CBitStreamReader& stream);
void PutTo(CBitStreamWriter& stream);
static u32 GetPowerUpMaxValue(EItemType type) { return PowerUpMaxValues[u32(type)]; }
static EItemType ItemNameToType(std::string_view name);
};
}