SBSPSS/source/frontend/credits.h

87 lines
1.7 KiB
C
Raw Normal View History

2000-11-24 18:30:49 +01:00
/*=========================================================================
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
2001-06-08 20:26:09 +02:00
#ifndef _GLOBAL_HEADER_
#include "system\global.h"
#endif
2000-11-24 18:30:49 +01:00
/* 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:
2001-06-08 20:26:09 +02:00
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;
2000-11-24 18:30:49 +01:00
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __FRONTEND_CREDITS_H__ */
/*===========================================================================
end */