mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-12-23 16:21:50 +01:00
actual struct name
This commit is contained in:
parent
e9288dd005
commit
2f05c64470
@ -1340,7 +1340,7 @@ void CMissionCleanup::Init()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
CMissionCleanupEntity* CMissionCleanup::FindFree()
|
cleanup_entity_struct* CMissionCleanup::FindFree()
|
||||||
{
|
{
|
||||||
for (int i = 0; i < MAX_CLEANUP; i++){
|
for (int i = 0; i < MAX_CLEANUP; i++){
|
||||||
if (m_sEntities[i].type == CLEANUP_UNUSED)
|
if (m_sEntities[i].type == CLEANUP_UNUSED)
|
||||||
@ -1352,7 +1352,7 @@ CMissionCleanupEntity* CMissionCleanup::FindFree()
|
|||||||
|
|
||||||
void CMissionCleanup::AddEntityToList(int32 id, uint8 type)
|
void CMissionCleanup::AddEntityToList(int32 id, uint8 type)
|
||||||
{
|
{
|
||||||
CMissionCleanupEntity* pNew = FindFree();
|
cleanup_entity_struct* pNew = FindFree();
|
||||||
if (!pNew)
|
if (!pNew)
|
||||||
return;
|
return;
|
||||||
pNew->id = id;
|
pNew->id = id;
|
||||||
|
@ -134,7 +134,7 @@ enum {
|
|||||||
CLEANUP_OBJECT
|
CLEANUP_OBJECT
|
||||||
};
|
};
|
||||||
|
|
||||||
struct CMissionCleanupEntity
|
struct cleanup_entity_struct
|
||||||
{
|
{
|
||||||
uint8 type;
|
uint8 type;
|
||||||
int32 id;
|
int32 id;
|
||||||
@ -148,14 +148,14 @@ enum {
|
|||||||
|
|
||||||
class CMissionCleanup
|
class CMissionCleanup
|
||||||
{
|
{
|
||||||
CMissionCleanupEntity m_sEntities[MAX_CLEANUP];
|
cleanup_entity_struct m_sEntities[MAX_CLEANUP];
|
||||||
uint8 m_nCount;
|
uint8 m_nCount;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CMissionCleanup();
|
CMissionCleanup();
|
||||||
|
|
||||||
void Init();
|
void Init();
|
||||||
CMissionCleanupEntity* FindFree();
|
cleanup_entity_struct* FindFree();
|
||||||
void AddEntityToList(int32, uint8);
|
void AddEntityToList(int32, uint8);
|
||||||
void RemoveEntityFromList(int32, uint8);
|
void RemoveEntityFromList(int32, uint8);
|
||||||
void Process();
|
void Process();
|
||||||
|
Loading…
Reference in New Issue
Block a user