SBSPSS/source/game/bosstext.h

91 lines
1.8 KiB
C
Raw Normal View History

2001-08-03 16:35:24 +02:00
/*=========================================================================
bosstext.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __GAME_BOSSTEXT_H__
#define __GAME_BOSSTEXT_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __SOUND_SOUND_H__
#include "sound\sound.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CBossText
{
public:
void init();
void shutdown();
2001-08-10 22:14:50 +02:00
void select(int _dontChangeMusic=false);
2001-08-03 16:35:24 +02:00
void think(int _frames);
void render();
int isReadyToExit();
private:
2001-08-03 18:15:46 +02:00
void exit();
2001-08-03 16:35:24 +02:00
typedef struct
{
u16 m_titleTextId;
u16 m_subTitleTextId;
u16 m_instructionsTextId;
CSoundMediator::SONGID m_songId;
} BOSS_DATA;
static const BOSS_DATA s_bossData[];
2001-08-03 20:09:54 +02:00
enum
{
2001-08-03 20:53:28 +02:00
INSTRUCTIONS_Y_POS=213,
INSTRUCTIONS_GAP_BETWEEN_BUTTONS_AND_TEXT=-15, // Eh!? (pkg)
INSTRUCTIONS_BUTTON_Y_OFFSET=4,
2001-08-03 20:09:54 +02:00
};
2001-08-03 16:35:24 +02:00
class FontBank *m_fontBank;
class ScalableFontBank *m_scalableFontBank;
2001-08-03 18:15:46 +02:00
int m_readyToExit;
int m_currentPage;
2001-08-03 16:35:24 +02:00
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __GAME_BOSSTEXT_H__ */
/*===========================================================================
end */