Reverse CWorld

This commit is contained in:
saml1er
2020-04-16 23:46:08 +05:00
parent 6923117715
commit 52d0d811b7
8 changed files with 867 additions and 34 deletions

View File

@ -865,6 +865,16 @@ CEntity::ModifyMatrixForBannerInWind(void)
UpdateRwFrame();
}
void
CEntity::AddSteamsFromGround1(CPtrList& list)
{
CPtrNode *pNode = list.first;
while (pNode) {
((CEntity*)pNode->item)->AddSteamsFromGround(nil);
pNode = pNode->next;
}
}
#include <new>
class CEntity_ : public CEntity

View File

@ -4,6 +4,7 @@
#include "Placeable.h"
struct CReference;
class CPtrList;
enum eEntityType
{
@ -152,5 +153,7 @@ public:
void ModifyMatrixForTreeInWind(void);
void ModifyMatrixForBannerInWind(void);
void ProcessLightsForEntity(void);
static void AddSteamsFromGround1(CPtrList& list);
};
static_assert(sizeof(CEntity) == 0x64, "CEntity: error");