77 lines
1.6 KiB
C++
77 lines
1.6 KiB
C++
/*=========================================================================
|
|
|
|
pmcoral.h
|
|
|
|
Author: PKG
|
|
Created:
|
|
Project: Spongebob
|
|
Purpose:
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
===========================================================================*/
|
|
|
|
#ifndef __PLAYER_PMCORAL_H__
|
|
#define __PLAYER_PMCORAL_H__
|
|
|
|
/*----------------------------------------------------------------------
|
|
Includes
|
|
-------- */
|
|
|
|
#ifndef __PLAYER_PMODES_H__
|
|
#include "player\pmodes.h"
|
|
#endif
|
|
|
|
|
|
/* Std Lib
|
|
------- */
|
|
|
|
/*----------------------------------------------------------------------
|
|
Tyepdefs && Defines
|
|
------------------- */
|
|
|
|
/*----------------------------------------------------------------------
|
|
Structure defintions
|
|
-------------------- */
|
|
|
|
class CPlayerModeCoralBlower : public CPlayerModeBase
|
|
{
|
|
public:
|
|
virtual void enter();
|
|
virtual void think();
|
|
|
|
virtual const struct PlayerMetrics *getPlayerMetrics();
|
|
|
|
virtual void setAnimNo(int _animNo);
|
|
virtual void setAnimFrame(int _animFrame);
|
|
|
|
virtual int isInAttackState();
|
|
|
|
private:
|
|
int canAttackFromThisState();
|
|
|
|
int m_savedAnimNo,m_savedAnimFrame;
|
|
int m_chopFrame;
|
|
int m_chopping;
|
|
|
|
};
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
Globals
|
|
------- */
|
|
|
|
/*----------------------------------------------------------------------
|
|
Functions
|
|
--------- */
|
|
|
|
/*---------------------------------------------------------------------- */
|
|
|
|
#endif /* __PLAYER_PMCORAL_H__ */
|
|
|
|
/*===========================================================================
|
|
end */
|
|
|
|
|
|
|