SBSPSS/source/backend/credits.h

86 lines
1.7 KiB
C
Raw Normal View History

2001-06-19 22:55:28 +02:00
/*=========================================================================
credits.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2000 Climax Development Ltd
===========================================================================*/
#ifndef __FRONTEND_CREDITS_H__
#define __FRONTEND_CREDITS_H__
/*----------------------------------------------------------------------
Includes
-------- */
2001-06-19 23:26:50 +02:00
#ifndef __SYSTEM_GSTATE_H__
#include "system\gstate.h"
2001-06-19 22:55:28 +02:00
#endif
#ifndef _GLOBAL_HEADER_
#include "system\global.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
2001-06-19 23:26:50 +02:00
class CCreditsScene : public CScene
2001-06-19 22:55:28 +02:00
{
public:
void init();
void shutdown();
void render();
void think(int _frames);
2001-06-19 23:26:50 +02:00
int readyToShutdown();
char *getSceneName() {return"Credits";}
2001-06-19 22:55:28 +02:00
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
------- */
2001-06-19 23:26:50 +02:00
extern CCreditsScene CreditsScene;
2001-06-19 22:55:28 +02:00
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __FRONTEND_CREDITS_H__ */
/*===========================================================================
end */