more original cheats

- CSmokeTrails and CSmokeTrail classes added in new files
- more cheats added
This commit is contained in:
majestic 2020-06-10 13:19:05 -07:00
parent b07b1f0b51
commit a99da7b94e
4 changed files with 343 additions and 62 deletions

View file

@ -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 ----------