This commit is contained in:
Paul 2000-11-23 19:55:33 +00:00
parent 8a43e1a060
commit c88ba38b4d
5 changed files with 277 additions and 98 deletions

View file

@ -22,6 +22,9 @@
#include "frontend\frontend.h"
#endif
#ifndef __GUI_GREADOUT_H__
#include "gui\greadout.h"
#endif
/* Std Lib
------- */
@ -56,7 +59,33 @@ private:
MODE__SCREEN,
MODE__SOUND,
MODE__COUNT,
MODE__COUNT
};
enum
{
CONTROL_UP,
CONTROL_DOWN,
CONTROL_LEFT,
CONTROL_RIGHT,
CONTROL_JUMP,
CONTROL_ACTION,
CONTROL_COUNT
};
enum
{
ICON_UP,
ICON_DOWN,
ICON_LEFT,
ICON_RIGHT,
ICON_CROSS,
ICON_CIRCLE,
ICON_SQUARE,
ICON_TRIANGLE,
ICON_COUNT
};
enum
@ -65,6 +94,12 @@ private:
Y_BORDER=20,
};
typedef struct
{
int m_padButton;
int m_icon;
} ButtonToIconMap;
class CScrollyBackground *m_background;
class CGUIControlFrame *m_modeMenus[MODE__COUNT];
int m_mode,m_nextMode;
@ -77,6 +112,14 @@ private:
int m_speechVolume;
int m_controlStyle;
static int s_controlStyleValues[];
static CGUITextReadout::TextReadoutData s_controlStyleReadoutText[];
static int s_buttonOrder[];
int m_controlIcons[CONTROL_COUNT];
static CGUISpriteReadout::SpriteReadoutData s_controlReadoutSprites[ICON_COUNT];
static ButtonToIconMap s_controlMap[ICON_COUNT];
};