2001-06-09 22:35:28 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
2001-06-10 19:07:06 +02:00
|
|
|
party.h
|
2001-06-09 22:35:28 +02:00
|
|
|
|
|
|
|
Author: PKG
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
2001-06-10 19:07:06 +02:00
|
|
|
#ifndef __BACKEND_PARTY_H__
|
|
|
|
#define __BACKEND_PARTY_H__
|
2001-06-09 22:35:28 +02:00
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Includes
|
|
|
|
-------- */
|
|
|
|
|
|
|
|
/* Std Lib
|
|
|
|
------- */
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Tyepdefs && Defines
|
|
|
|
------------------- */
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Structure defintions
|
|
|
|
-------------------- */
|
|
|
|
|
2001-07-05 23:26:39 +02:00
|
|
|
class CPartyScene
|
2001-06-09 22:35:28 +02:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
void init();
|
|
|
|
void shutdown();
|
|
|
|
void render();
|
|
|
|
void think(int _frames);
|
2001-07-06 01:16:09 +02:00
|
|
|
void setAnimation(int _flag) {m_animationFlag=_flag;}
|
2001-06-09 22:35:28 +02:00
|
|
|
|
|
|
|
private:
|
2001-06-10 19:07:06 +02:00
|
|
|
class SpriteBank *m_sprites;
|
2001-06-09 22:35:28 +02:00
|
|
|
unsigned char *m_image;
|
2001-07-06 01:16:09 +02:00
|
|
|
int m_animationFlag;
|
2001-06-09 22:35:28 +02:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Globals
|
|
|
|
------- */
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Functions
|
|
|
|
--------- */
|
|
|
|
|
|
|
|
/*---------------------------------------------------------------------- */
|
|
|
|
|
2001-06-10 19:07:06 +02:00
|
|
|
#endif /* __BACKEND_PARTY_H__ */
|
2001-06-09 22:35:28 +02:00
|
|
|
|
|
|
|
/*===========================================================================
|
|
|
|
end */
|