This commit is contained in:
Paul 2001-03-29 19:19:33 +00:00
parent 826713a65c
commit 8bd4b0ce54
4 changed files with 136 additions and 24 deletions

View file

@ -139,7 +139,7 @@ public:
virtual void shutdown();
virtual void think(int _frames);
virtual void render();
// virtual void shove(DVECTOR move);
virtual void shove(DVECTOR move);
DVECTOR getCameraPos() {return m_cameraPos;}
@ -147,6 +147,8 @@ public:
void setMapSize(DVECTOR _mapSize);
void setRespawnPos(DVECTOR _respawn) {m_respawnPos=_respawn;}
int getHeightFromGround(int _x,int _y,int _maxHeight=32);
void addHealth(int _health);
void addLife();
@ -249,8 +251,12 @@ private:
// Platforms
public:
void setPlatform( CThing *newPlatform ) {;}
void clearPlatform() {;}
void setPlatform(CThing *_newPlatform);
void clearPlatform();
CThing *isOnPlatform() {return m_platform;}
private:
CThing *m_platform;
/*
private:
CThing *m_platform;