This commit is contained in:
parent
52c69c25b8
commit
0d6257fec1
5 changed files with 120 additions and 32 deletions
|
@ -196,6 +196,9 @@ public:
|
|||
CSoundMediator::SFXID m_sfxId;
|
||||
} AnimFrameSfx;
|
||||
void renderSb(DVECTOR *_pos,int _animNo,int _animFrame);
|
||||
|
||||
int canDoLookAround();
|
||||
|
||||
private:
|
||||
typedef struct
|
||||
{
|
||||
|
@ -291,18 +294,24 @@ public:
|
|||
|
||||
private:
|
||||
CThing *m_platform;
|
||||
/*
|
||||
private:
|
||||
CThing *m_platform;
|
||||
bool m_onPlatform;
|
||||
bool m_prevOnPlatform;
|
||||
DVECTOR m_prevPlatformPos;
|
||||
*/
|
||||
|
||||
private:
|
||||
bool m_hasPlatformCollided;
|
||||
|
||||
|
||||
// Player collision size
|
||||
public:
|
||||
enum
|
||||
{
|
||||
COLSIZE_BASE_WIDTH=30,
|
||||
COLSIZE_BASE_HEIGHT=60,
|
||||
};
|
||||
void resetPlayerCollisionSizeToBase();
|
||||
void setPlayerCollisionSize(int _x,int _y,int _w,int _h);
|
||||
|
||||
|
||||
|
||||
|
||||
// Graphical resources
|
||||
public:
|
||||
class FontBank *getFontBank() {return m_fontBank;}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue