2001-01-19 23:54:48 +01:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
psfall.h
|
|
|
|
|
|
|
|
Author: PKG
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __PLAYER_PSFALL_H__
|
|
|
|
#define __PLAYER_PSFALL_H__
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Includes
|
|
|
|
-------- */
|
|
|
|
|
|
|
|
#include "player\pstates.h"
|
|
|
|
|
|
|
|
|
|
|
|
/* Std Lib
|
|
|
|
------- */
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Tyepdefs && Defines
|
|
|
|
------------------- */
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Structure defintions
|
|
|
|
-------------------- */
|
|
|
|
|
|
|
|
class CPlayerStateFall : public CPlayerState
|
|
|
|
{
|
|
|
|
public:
|
2001-03-25 22:36:28 +02:00
|
|
|
void enter(class CPlayerModeBase *_playerMode);
|
|
|
|
void think(class CPlayerModeBase *_playerMode);
|
2001-01-19 23:54:48 +01:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2001-07-17 21:41:16 +02:00
|
|
|
class CPlayerStateFallFar : public CPlayerState
|
2001-01-19 23:54:48 +01:00
|
|
|
{
|
2001-01-22 22:02:59 +01:00
|
|
|
private:
|
2001-03-25 22:36:28 +02:00
|
|
|
void enter(class CPlayerModeBase *_playerMode);
|
|
|
|
void think(class CPlayerModeBase *_playerMode);
|
2001-01-22 22:02:59 +01:00
|
|
|
|
2001-01-19 23:54:48 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Globals
|
|
|
|
------- */
|
|
|
|
|
2001-04-03 18:47:07 +02:00
|
|
|
extern CPlayerStateFall s_stateFall;
|
|
|
|
extern CPlayerStateFallFar s_stateFallFar;
|
|
|
|
|
|
|
|
|
2001-01-19 23:54:48 +01:00
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Functions
|
|
|
|
--------- */
|
|
|
|
|
|
|
|
/*---------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
#endif /* __PLAYER_PSFALL_H__ */
|
|
|
|
|
|
|
|
/*===========================================================================
|
|
|
|
end */
|
|
|
|
|
|
|
|
|
|
|
|
|