2001-03-30 18:09:02 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
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();
|
2001-03-31 20:22:38 +02:00
|
|
|
virtual void renderModeUi();
|
2001-03-30 18:09:02 +02:00
|
|
|
|
|
|
|
virtual const struct PlayerMetrics *getPlayerMetrics();
|
|
|
|
|
2001-04-03 18:47:07 +02:00
|
|
|
protected:
|
|
|
|
virtual class CPlayerState **getStateTable();
|
|
|
|
|
2001-03-30 18:09:02 +02:00
|
|
|
private:
|
2001-03-30 19:47:00 +02:00
|
|
|
typedef enum
|
|
|
|
{
|
|
|
|
BLOWER_STATE__EMPTY,
|
|
|
|
BLOWER_STATE__SUCKING,
|
|
|
|
BLOWER_STATE__FULL,
|
|
|
|
BLOWER_STATE__AIMING,
|
|
|
|
} BlowerState;
|
|
|
|
|
|
|
|
BlowerState m_blowerState;
|
2001-03-30 18:09:02 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Globals
|
|
|
|
------- */
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Functions
|
|
|
|
--------- */
|
|
|
|
|
|
|
|
/*---------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
#endif /* __PLAYER_PMCORAL_H__ */
|
|
|
|
|
|
|
|
/*===========================================================================
|
|
|
|
end */
|
|
|
|
|
|
|
|
|
|
|
|
|