SBSPSS/source/player/pmjelly.h
2001-04-03 21:36:35 +00:00

81 lines
1.6 KiB
C++

/*=========================================================================
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 CPlayerModeJellyLauncher : 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 */