summaryrefslogtreecommitdiffstats
path: root/src/render/Fluff.cpp
diff options
context:
space:
mode:
authormajestic <majesticcoding@gmail.com>2020-06-10 22:19:05 +0200
committermajestic <majesticcoding@gmail.com>2020-06-10 22:19:05 +0200
commita99da7b94e275e7437c7802d509697cd313d1166 (patch)
treea2488f65283860fbb595179963398ea9108421b8 /src/render/Fluff.cpp
parentMerge pull request #624 from erorcun/miami (diff)
downloadre3-a99da7b94e275e7437c7802d509697cd313d1166.tar
re3-a99da7b94e275e7437c7802d509697cd313d1166.tar.gz
re3-a99da7b94e275e7437c7802d509697cd313d1166.tar.bz2
re3-a99da7b94e275e7437c7802d509697cd313d1166.tar.lz
re3-a99da7b94e275e7437c7802d509697cd313d1166.tar.xz
re3-a99da7b94e275e7437c7802d509697cd313d1166.tar.zst
re3-a99da7b94e275e7437c7802d509697cd313d1166.zip
Diffstat (limited to '')
-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 ----------