This commit is contained in:
parent
62347a748a
commit
bfbd5700f7
7 changed files with 95 additions and 4 deletions
|
@ -69,6 +69,8 @@ public:
|
|||
NPC_CRATE_PLATFORM,
|
||||
NPC_BOUNCE_PLATFORM,
|
||||
NPC_DUAL_PLATFORM,
|
||||
NPC_OILDRUM_GENERATOR,
|
||||
NPC_CRATE_GENERATOR,
|
||||
NPC_PLAYER_BUBBLE_PLATFORM,
|
||||
NPC_PLATFORM_TYPE_MAX,
|
||||
};
|
||||
|
@ -78,9 +80,9 @@ public:
|
|||
void init( DVECTOR initPos, s32 initLifetime );
|
||||
virtual void postInit();
|
||||
void shutdown();
|
||||
void think(int _frames);
|
||||
virtual void think(int _frames);
|
||||
virtual void render();
|
||||
void setLayerCollision( class CLayerCollision *_layer ) {m_layerCollision=_layer;}
|
||||
void setLayerCollision( class CLayerCollision *_layer );
|
||||
void setType( NPC_PLATFORM_UNIT_TYPE newType ) {m_type = newType;}
|
||||
void setTypeFromMapEdit( u16 newType );
|
||||
#ifdef REMOVETHIS
|
||||
|
@ -202,6 +204,8 @@ protected:
|
|||
|
||||
u8 m_platformWidth;
|
||||
|
||||
int m_graphicNum;
|
||||
|
||||
virtual void collidedWith(CThing *_thisThing);
|
||||
|
||||
static NPC_PLATFORM_UNIT_TYPE mapEditConvertTable[NPC_PLATFORM_TYPE_MAX];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue