diff options
author | saml1er <danishroar@gmail.com> | 2020-04-16 20:46:08 +0200 |
---|---|---|
committer | saml1er <danishroar@gmail.com> | 2020-04-16 20:46:08 +0200 |
commit | 52d0d811b79f810aae9d10beb671f9889b8e4330 (patch) | |
tree | 1a6a30915d073e079a59ef51a32f566f7545359f /src/entities | |
parent | Merge pull request #435 from GTAmodding/appveyor (diff) | |
download | re3-52d0d811b79f810aae9d10beb671f9889b8e4330.tar re3-52d0d811b79f810aae9d10beb671f9889b8e4330.tar.gz re3-52d0d811b79f810aae9d10beb671f9889b8e4330.tar.bz2 re3-52d0d811b79f810aae9d10beb671f9889b8e4330.tar.lz re3-52d0d811b79f810aae9d10beb671f9889b8e4330.tar.xz re3-52d0d811b79f810aae9d10beb671f9889b8e4330.tar.zst re3-52d0d811b79f810aae9d10beb671f9889b8e4330.zip |
Diffstat (limited to 'src/entities')
-rw-r--r-- | src/entities/Entity.cpp | 10 | ||||
-rw-r--r-- | src/entities/Entity.h | 3 |
2 files changed, 13 insertions, 0 deletions
diff --git a/src/entities/Entity.cpp b/src/entities/Entity.cpp index 25e5db48..c0da6ede 100644 --- a/src/entities/Entity.cpp +++ b/src/entities/Entity.cpp @@ -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 diff --git a/src/entities/Entity.h b/src/entities/Entity.h index ca501ba4..15333162 100644 --- a/src/entities/Entity.h +++ b/src/entities/Entity.h @@ -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"); |