SBSPSS/source/frontend/options.h

96 lines
1.8 KiB
C
Raw Normal View History

2000-11-22 17:04:18 +01:00
/*=========================================================================
options.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2000 Climax Development Ltd
===========================================================================*/
#ifndef __FRONTEND_OPTIONS_H__
#define __FRONTEND_OPTIONS_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __FRONTEND_FRONTENTD_H__
#include "frontend\frontend.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CFrontEndOptions : public CFrontEndMode
{
public:
void init();
void shutdown();
2000-11-22 18:02:04 +01:00
void select();
void unselect();
2000-11-22 17:04:18 +01:00
void render();
void think(int _frames);
int isReadyToExit();
CFrontEndScene::FrontEndMode getNextMode();
private:
2000-11-22 23:52:08 +01:00
enum
{
MODE__OPTIONS,
MODE__CONTROL,
MODE__SCREEN,
MODE__SOUND,
MODE__COUNT,
};
enum
{
X_BORDER=30,
Y_BORDER=20,
};
2000-11-22 17:04:18 +01:00
2000-11-22 23:52:08 +01:00
class CScrollyBackground *m_background;
class CGUIControlFrame *m_modeMenus[MODE__COUNT];
int m_mode,m_nextMode;
2000-11-22 17:04:18 +01:00
int m_exitFlag;
int m_closingDown;
2000-11-22 23:52:08 +01:00
int m_bgmVolume;
int m_sfxVolume;
int m_speechVolume;
2000-11-22 17:04:18 +01:00
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __FRONTEND_OPTIONS_H__ */
/*===========================================================================
end */