This commit is contained in:
Paul 2001-06-10 23:20:13 +00:00
parent 0079e80562
commit 4178435133
2 changed files with 6 additions and 6 deletions

View File

@ -220,6 +220,11 @@ void CFrontEndOptions::init()
m_background=new ("Options Background") CScrollyBackground();
m_background->init();
m_background->setOt(MAX_OT-2);
m_background->setTheDrawMode(CScrollyBackground::DRAWMODE_ADDITIVE);
m_background->setColour(80,80,80);
m_background->setSpeed(1,-1);
m_background->setSpeedScale(0);
// Create the menu frames
for(i=0;i<MODE__COUNT;i++)
@ -464,16 +469,11 @@ paulColourSpaceToRGB(rh,rb,rgb);
Params:
Returns:
---------------------------------------------------------------------- */
int ox=-1;
int oy=-1;
int os=0;
void CFrontEndOptions::think(int _frames)
{
int i,j,button;
m_background->setSpeed(ox,oy);
m_background->setSpeedScale(os);
m_background->think(_frames);
if(!CFader::isFading())

View File

@ -39,7 +39,7 @@ class CScrollyBackground
public:
typedef enum
{
DRAWMODE_NORMAL=1,
DRAWMODE_NORMAL=0,
DRAWMODE_ADDITIVE=1,
DRAWMODE_SUBTRACTIVE=2,
}DRAWMODE;