SBSPSS/source/frontend/credits.h
2001-06-08 18:26:09 +00:00

87 lines
1.7 KiB
C++

/*=========================================================================
credits.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2000 Climax Development Ltd
===========================================================================*/
#ifndef __FRONTEND_CREDITS_H__
#define __FRONTEND_CREDITS_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __FRONTEND_FRONTEND_H__
#include "frontend\frontend.h"
#endif
#ifndef _GLOBAL_HEADER_
#include "system\global.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CFrontEndCredits : public CFrontEndMode
{
public:
void init();
void shutdown();
void select();
void unselect();
void render();
void think(int _frames);
int isReadyToExit();
CFrontEndScene::FrontEndMode getNextMode();
private:
void renderCreditsListTillEndOfPage(u16 *_list);
class ScalableFontBank *m_font;
class CScrollyBackground *m_background1;
class CScrollyBackground *m_background2;
u8 *m_image;
u16 *m_currentPage;
u16 *m_lastPage;
int m_frame;
int m_shuttingDown;
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __FRONTEND_CREDITS_H__ */
/*===========================================================================
end */