This commit is contained in:
parent
9bd5af6beb
commit
df57fbe7b9
3 changed files with 24 additions and 0 deletions
|
@ -86,6 +86,10 @@ eng=JUMP
|
||||||
eng=ACTION
|
eng=ACTION
|
||||||
|
|
||||||
; Screen menu
|
; Screen menu
|
||||||
|
[STR__FRONTEND__HORIZONTAL_POSITION]
|
||||||
|
eng=HORIZONTAL POSITION
|
||||||
|
[STR__FRONTEND__VERTICAL_POSITION]
|
||||||
|
eng=VERTICAL POSITION
|
||||||
|
|
||||||
; Sound menu
|
; Sound menu
|
||||||
[STR__FRONTEND__BGM]
|
[STR__FRONTEND__BGM]
|
||||||
|
|
|
@ -58,6 +58,10 @@
|
||||||
#include "pad\pads.h"
|
#include "pad\pads.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __VID_HEADER_
|
||||||
|
#include "system\vid.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/* Std Lib
|
/* Std Lib
|
||||||
------- */
|
------- */
|
||||||
|
@ -249,6 +253,14 @@ void CFrontEndOptions::init()
|
||||||
|
|
||||||
|
|
||||||
// Populate SCREEN menu
|
// Populate SCREEN menu
|
||||||
|
CGUIFactory::createSliderButtonFrame(m_modeMenus[MODE__SCREEN],
|
||||||
|
X_BORDER,Y_BORDER,412-(X_BORDER*2),35,
|
||||||
|
STR__FRONTEND__HORIZONTAL_POSITION,
|
||||||
|
&m_screenXOff,0,64);
|
||||||
|
CGUIFactory::createSliderButtonFrame(m_modeMenus[MODE__SCREEN],
|
||||||
|
X_BORDER,Y_BORDER+40,412-(X_BORDER*2),35,
|
||||||
|
STR__FRONTEND__VERTICAL_POSITION,
|
||||||
|
&m_screenYOff,0,32);
|
||||||
|
|
||||||
|
|
||||||
// Populate SOUND menu
|
// Populate SOUND menu
|
||||||
|
@ -278,6 +290,8 @@ void CFrontEndOptions::init()
|
||||||
m_sfxVolume=CSoundMediator::getVolume(CSoundMediator::SFX);
|
m_sfxVolume=CSoundMediator::getVolume(CSoundMediator::SFX);
|
||||||
m_speechVolume=CSoundMediator::getVolume(CSoundMediator::SPEECH);
|
m_speechVolume=CSoundMediator::getVolume(CSoundMediator::SPEECH);
|
||||||
m_controlStyle=CPadConfig::getConfig();
|
m_controlStyle=CPadConfig::getConfig();
|
||||||
|
m_screenXOff=VidGetXOfs();
|
||||||
|
m_screenYOff=VidGetYOfs();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*----------------------------------------------------------------------
|
/*----------------------------------------------------------------------
|
||||||
|
@ -395,6 +409,10 @@ void CFrontEndOptions::think(int _frames)
|
||||||
PAUL_DBGMSG("SPEECH");
|
PAUL_DBGMSG("SPEECH");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if(m_mode==MODE__SCREEN)
|
||||||
|
{
|
||||||
|
VidSetXYOfs(m_screenXOff,m_screenYOff);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!m_closingDown&&m_exitFlag)
|
if(!m_closingDown&&m_exitFlag)
|
||||||
|
|
|
@ -111,6 +111,8 @@ private:
|
||||||
int m_sfxVolume;
|
int m_sfxVolume;
|
||||||
int m_speechVolume;
|
int m_speechVolume;
|
||||||
int m_controlStyle;
|
int m_controlStyle;
|
||||||
|
int m_screenXOff;
|
||||||
|
int m_screenYOff;
|
||||||
|
|
||||||
static int s_controlStyleValues[];
|
static int s_controlStyleValues[];
|
||||||
static CGUITextReadout::TextReadoutData s_controlStyleReadoutText[];
|
static CGUITextReadout::TextReadoutData s_controlStyleReadoutText[];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue