This commit is contained in:
parent
49e1b9bfda
commit
12b6a1f2cb
9 changed files with 113 additions and 45 deletions
|
@ -125,6 +125,13 @@ typedef enum
|
|||
DAMAGE__KILL_OUTRIGHT,
|
||||
}DAMAGE_TYPE;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
DEATHTYPE__NORMAL,
|
||||
DEATHTYPE__DRYUP,
|
||||
DEATHTYPE__SQUASH,
|
||||
} DEATH_TYPE;
|
||||
|
||||
typedef enum
|
||||
{
|
||||
REACT__LEFT=-1,
|
||||
|
@ -309,6 +316,8 @@ private:
|
|||
PLAYER_MODE m_currentMode;
|
||||
PLAYER_MODE m_lastModeBeforeDeath;
|
||||
|
||||
public:
|
||||
DEATH_TYPE getDeathType() {return m_deathType;}
|
||||
|
||||
private:
|
||||
int m_lives;
|
||||
|
@ -316,7 +325,8 @@ private:
|
|||
int m_healthWaterLevel;
|
||||
int m_healthReactFrames;
|
||||
|
||||
void dieYouPorousFreak();
|
||||
void dieYouPorousFreak(DEATH_TYPE _deathType=DEATHTYPE__NORMAL);
|
||||
DEATH_TYPE m_deathType;
|
||||
|
||||
|
||||
void updatePadInput();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue