Add CScriptPickupGenerator

Former-commit-id: c598ab7439
This commit is contained in:
Henrique Gemignani Passos Lima
2022-11-29 19:17:12 +02:00
parent 260deba25d
commit e9018b7912
8 changed files with 273 additions and 23 deletions

View File

@@ -131,7 +131,7 @@ public:
bool HasPowerUp(EItemType type) const;
uint GetPowerUp(EItemType type);
int GetItemCapacity(EItemType type) const;
uint GetItemAmount(EItemType type) const;
int GetItemAmount(EItemType type) const;
void DecrPickUp(EItemType type, int amount);
void IncrPickUp(EItemType type, int amount);
void ResetAndIncrPickUp(EItemType type, int amount);
@@ -152,7 +152,7 @@ public:
return x170_scanTimes;
}
CHealthInfo& GetHealthInfo() { return xc_health; }
CHealthInfo* HealthInfo() { return &xc_health; }
const CHealthInfo& GetHealthInfo() const { return xc_health; }