This commit is contained in:
parent
1ea21741e4
commit
5138533e49
7 changed files with 151 additions and 13 deletions
|
@ -35,6 +35,16 @@
|
|||
#include "gfx\sprbank.h"
|
||||
#endif
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
// All platforms are fied to this width at the minute..
|
||||
#define PLATFORMWIDTH 80
|
||||
|
||||
// The collision box is this high.. if SB keeps falling through platforms then it *should* be sufficient
|
||||
// just to up this a bit
|
||||
#define PLATFORMCOLLISIONHEIGHT 80
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
class CNpcPlatform : public CPlatformThing
|
||||
|
@ -68,7 +78,7 @@ public:
|
|||
virtual void postInit();
|
||||
void shutdown();
|
||||
void think(int _frames);
|
||||
void render();
|
||||
virtual void render();
|
||||
void setLayerCollision( class CLayerCollision *_layer ) {m_layerCollision=_layer;}
|
||||
void setType( NPC_PLATFORM_UNIT_TYPE newType ) {m_type = newType;}
|
||||
void setTypeFromMapEdit( u16 newType );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue