This commit is contained in:
Daveo 2001-05-16 20:46:54 +00:00
parent 33985a09f1
commit d2b2ea04b9
10 changed files with 11 additions and 49 deletions

View file

@ -105,7 +105,7 @@ public:
MAX_TYPE,
};
// TYPE;
CThing() {;}
CThing() {m_isShuttingDown=false;}
virtual ~CThing() {;}
virtual TYPE getThingType()=0;
@ -114,7 +114,8 @@ virtual void init();
virtual void shutdown();
virtual void think(int _frames);
virtual void render();
virtual u8 isSetToShutdown() {return( false );}
void setToShutdown() {m_isShuttingDown = true;}
u8 isSetToShutdown() {return( m_isShuttingDown);}
virtual int dontKillDuringLevelRespawn() {return false;}
// Linkage
@ -193,6 +194,7 @@ private:
bool m_renderFlag,m_thinkFlag;
DVECTOR m_RenderPos;
bool m_isShuttingDown;
};
/*---------------------------------------------------------------------- */