This commit is contained in:
Daveo 2001-07-10 19:08:00 +00:00
parent 1f75d2b21e
commit a842b66ec7

View File

@ -349,7 +349,8 @@ void CGameScene::render_playing()
{
// CamMtx.t[2]=ZPos; // Temp
#ifdef USE_GLOBAL_RGB
if (PadIsConnected(1))
{
s_genericFont->setTrans(0);
s_genericFont->setSMode(0);
@ -364,6 +365,7 @@ void CGameScene::render_playing()
sprintf(Buf,"%s: %i",GlobalRGBName[i],GlobalRGB[i]);
s_genericFont->print(GlobalRGBX,GlobalRGBY+(i*16),Buf);
}
}
#endif
if(m_levelHasTimer)
@ -542,13 +544,16 @@ void CGameScene::think_showing_lives(int _frames)
void CGameScene::think_playing(int _frames)
{
#ifdef USE_GLOBAL_RGB
if (PadIsConnected(1))
{
if (PadGetDown(1) & PAD_UP) GlobalRGBSel--;
if (PadGetDown(1) & PAD_DOWN) GlobalRGBSel++;
GlobalRGBSel&=3;
GlobalRGBSel%=3;
if(PadGetHeld(1)&PAD_LEFT ) GlobalRGB[GlobalRGBSel]--;
if(PadGetHeld(1)&PAD_RIGHT ) GlobalRGB[GlobalRGBSel]++;
GlobalRGB[GlobalRGBSel]&=255;
}
#endif
if(s_readyToExit)