61 lines
1.3 KiB
C
61 lines
1.3 KiB
C
|
/*=========================================================================
|
||
|
|
||
|
scrollbg.h
|
||
|
|
||
|
Author: PKG
|
||
|
Created:
|
||
|
Project: Spongebob
|
||
|
Purpose:
|
||
|
|
||
|
Copyright (c) 2000 Climax Development Ltd
|
||
|
|
||
|
===========================================================================*/
|
||
|
|
||
|
#ifndef __FRONTEND_SCROLLBG_H__
|
||
|
#define __FRONTEND_SCROLLBG_H__
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Includes
|
||
|
-------- */
|
||
|
|
||
|
/* Std Lib
|
||
|
------- */
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Tyepdefs && Defines
|
||
|
------------------- */
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Structure defintions
|
||
|
-------------------- */
|
||
|
|
||
|
class CScrollyBackground
|
||
|
{
|
||
|
public:
|
||
|
void init();
|
||
|
void shutdown();
|
||
|
void render();
|
||
|
void think(int _frames);
|
||
|
|
||
|
private:
|
||
|
class SpriteBank *m_sprites;
|
||
|
int m_xOff,m_yOff;
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Globals
|
||
|
------- */
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Functions
|
||
|
--------- */
|
||
|
|
||
|
/*---------------------------------------------------------------------- */
|
||
|
|
||
|
#endif /* __FRONTEND_SCROLLBG_H__ */
|
||
|
|
||
|
/*===========================================================================
|
||
|
end */
|