This commit is contained in:
parent
5ac1870d3f
commit
bccca24dfc
1 changed files with 6 additions and 0 deletions
|
@ -229,6 +229,7 @@ void CMapScene::think(int _frames)
|
||||||
if(!CFader::isFading()&&!m_readyToExit)
|
if(!CFader::isFading()&&!m_readyToExit)
|
||||||
{
|
{
|
||||||
// Change chapter
|
// Change chapter
|
||||||
|
#ifndef __USER_CDBUILD__
|
||||||
if(PadGetDown(0)&PAD_UP)
|
if(PadGetDown(0)&PAD_UP)
|
||||||
{
|
{
|
||||||
if(++m_currentChapterSelection>4)m_currentChapterSelection=0;
|
if(++m_currentChapterSelection>4)m_currentChapterSelection=0;
|
||||||
|
@ -239,6 +240,7 @@ void CMapScene::think(int _frames)
|
||||||
if(--m_currentChapterSelection<0)m_currentChapterSelection=4;
|
if(--m_currentChapterSelection<0)m_currentChapterSelection=4;
|
||||||
generateMapScreenImage();
|
generateMapScreenImage();
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// Move cursor
|
// Move cursor
|
||||||
if(PadGetDown(0)&PAD_LEFT)
|
if(PadGetDown(0)&PAD_LEFT)
|
||||||
|
@ -406,7 +408,11 @@ DVECTOR CMapScene::getPointerTargetPosition()
|
||||||
---------------------------------------------------------------------- */
|
---------------------------------------------------------------------- */
|
||||||
int CMapScene::isLevelOpen(int _chapter,int _level)
|
int CMapScene::isLevelOpen(int _chapter,int _level)
|
||||||
{
|
{
|
||||||
|
#ifdef __USER_CDBUILD__
|
||||||
|
return _level<4; // no boss or kelp world for thq
|
||||||
|
#else
|
||||||
return _level!=4; // no boss levels atm..
|
return _level!=4; // no boss levels atm..
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
int CMapScene::getSpatulaCollectedCount(int _chapter,int _level)
|
int CMapScene::getSpatulaCollectedCount(int _chapter,int _level)
|
||||||
|
|
Loading…
Add table
Reference in a new issue