SBSPSS/source/player/psduck.h

85 lines
1.6 KiB
C
Raw Normal View History

2001-01-22 21:58:36 +01:00
/*=========================================================================
psduck.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLAYER_PSDUCK_H__
#define __PLAYER_PSDUCK_H__
/*----------------------------------------------------------------------
Includes
-------- */
#include "player\pstates.h"
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CPlayerStateSoakUp : public CPlayerState
{
public:
2001-03-25 22:36:28 +02:00
void enter(class CPlayerModeBase *_playerMode);
void think(class CPlayerModeBase *_playerMode);
2001-01-22 21:58:36 +01:00
2001-05-15 00:08:19 +02:00
private:
enum
{
BUBBLE_SPAWNDELAY=20,
BUBBLE_XOFF=-10,
2001-08-07 23:26:23 +02:00
BUBBLE_YOFF=-57,
2001-05-15 00:08:19 +02:00
BUBBLE_W=20,
BUBBLE_H=10,
};
int m_breatheDelayFrames;
2001-01-22 21:58:36 +01:00
};
class CPlayerStateGetUp : public CPlayerState
{
public:
2001-03-25 22:36:28 +02:00
void enter(class CPlayerModeBase *_playerMode);
void think(class CPlayerModeBase *_playerMode);
2001-01-22 21:58:36 +01:00
};
/*----------------------------------------------------------------------
Globals
------- */
2001-04-03 18:47:07 +02:00
extern CPlayerStateSoakUp s_stateSoakUp;
extern CPlayerStateGetUp s_stateGetUp;
2001-01-22 21:58:36 +01:00
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __PLAYER_PSDUCK_H__ */
/*===========================================================================
end */