summaryrefslogtreecommitdiff
path: root/src/render/Fluff.cpp
diff options
context:
space:
mode:
authormajestic <majesticcoding@gmail.com>2020-06-10 13:19:05 -0700
committermajestic <majesticcoding@gmail.com>2020-06-10 13:19:05 -0700
commita99da7b94e275e7437c7802d509697cd313d1166 (patch)
treea2488f65283860fbb595179963398ea9108421b8 /src/render/Fluff.cpp
parentb07b1f0b519813c93a95b7baa2928c4d42c23af7 (diff)
more original cheats
- CSmokeTrails and CSmokeTrail classes added in new files - more cheats added
Diffstat (limited to 'src/render/Fluff.cpp')
-rw-r--r--src/render/Fluff.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/render/Fluff.cpp b/src/render/Fluff.cpp
index 1056d6ff..00267e30 100644
--- a/src/render/Fluff.cpp
+++ b/src/render/Fluff.cpp
@@ -13,6 +13,7 @@
#include "Stats.h"
#include "maths.h"
#include "Frontend.h"
+#include "SmokeTrails.h"
uint8 ScrollCharSet[59][5] = {
{ 0x00, 0x00, 0x00, 0x00, 0x00 }, // ' '
@@ -99,6 +100,8 @@ CMovingThing CMovingThings::aMovingThings[NUMMOVINGTHINGS];
void CMovingThings::Init()
{
+ CSmokeTrails::Init();
+
StartCloseList.m_pNext = &CMovingThings::EndCloseList;
StartCloseList.m_pPrev = nil;
EndCloseList.m_pNext = nil;
@@ -189,6 +192,8 @@ void CMovingThings::Update()
void CMovingThings::Render()
{
+ CSmokeTrails::Update();
+
int i;
for (i = 0; i < 11; ++i)
{
@@ -205,6 +210,8 @@ void CMovingThings::Render()
if (aDigitalClocks[i].IsVisible())
aDigitalClocks[i].Render();
}
+
+ CSmokeTrails::Render();
}
// ---------- CMovingThing ----------