This commit is contained in:
parent
1c8dadb6bb
commit
2a01bfdb8d
2 changed files with 162 additions and 0 deletions
60
source/frontend/scrollbg.h
Normal file
60
source/frontend/scrollbg.h
Normal file
|
@ -0,0 +1,60 @@
|
|||
/*=========================================================================
|
||||
|
||||
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 */
|
Loading…
Add table
Add a link
Reference in a new issue