This commit is contained in:
Paul 2001-04-03 21:00:00 +00:00
parent 9d79e8a5bb
commit 54e3f3b5b6
2 changed files with 276 additions and 0 deletions

80
source/player/pmjelly.h Normal file
View file

@ -0,0 +1,80 @@
/*=========================================================================
pmjelly.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLAYER_PMJELLY_H__
#define __PLAYER_PMJELLY_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __PLAYER_PMODES_H__
#include "player\pmodes.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CPlayerModeJelly : public CPlayerModeBase
{
public:
virtual void enter();
virtual void think();
virtual void renderModeUi();
virtual void setAnimNo(int _animNo);
virtual void setAnimFrame(int _animFrame);
private:
typedef enum
{
NET_STATE__EMPTY,
NET_STATE__FULL,
} NetState;
int canSwingNetFromThisState();
int m_savedAnimNo,m_savedAnimFrame;
int m_netFrame;
int m_netting;
NetState m_netState;
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __PLAYER_PMJELLY_H__ */
/*===========================================================================
end */