More FIXME cleanup

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7233 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria 2011-01-03 19:06:45 +00:00
parent 27d75d2414
commit fdbafeb5ff
4 changed files with 8 additions and 8 deletions

View File

@ -430,7 +430,6 @@ void DynamicRibbonWidget::addAnimatedItem( const irr::core::stringw& user_name,
FIXME: remove this unclean thing, I think irrlicht provides this feature: FIXME: remove this unclean thing, I think irrlicht provides this feature:
virtual void IGUIElement::OnPostRender (u32 timeMs) virtual void IGUIElement::OnPostRender (u32 timeMs)
\brief animate the element and its children. \brief animate the element and its children.
FIXME 2: I think it will remain in the needsUpdate even when leaving the screen?
*/ */
GUIEngine::needsUpdate.push_back(this); GUIEngine::needsUpdate.push_back(this);
} }

View File

@ -55,7 +55,6 @@ void ModelViewWidget::add()
FIXME: remove this unclean thing, I think irrlicht provides this feature: FIXME: remove this unclean thing, I think irrlicht provides this feature:
virtual void IGUIElement::OnPostRender (u32 timeMs) virtual void IGUIElement::OnPostRender (u32 timeMs)
\brief animate the element and its children. \brief animate the element and its children.
FIXME 2: I think it will remain in the needsUpdate even when leaving the screen?
*/ */
GUIEngine::needsUpdate.push_back(this); GUIEngine::needsUpdate.push_back(this);

View File

@ -92,7 +92,8 @@ void cmdLineHelp (char* invocation)
" --list-karts Show available karts.\n" " --list-karts Show available karts.\n"
" --laps N Define number of laps to N.\n" " --laps N Define number of laps to N.\n"
" --mode N N=1 novice, N=2 driver, N=3 racer.\n" " --mode N N=1 novice, N=2 driver, N=3 racer.\n"
//FIXME" --players n Define number of players to between 1 and 4.\n" // TODO: add back "--players" switch
//" --players n Define number of players to between 1 and 4.\n"
" --item STYLE Use STYLE as your item style.\n" " --item STYLE Use STYLE as your item style.\n"
" -f, --fullscreen Select fullscreen display.\n" " -f, --fullscreen Select fullscreen display.\n"
" -w, --windowed Windowed display (default).\n" " -w, --windowed Windowed display (default).\n"
@ -443,9 +444,11 @@ int handleCmdLine(int argc, char **argv)
|| !strcmp(argv[i], "-N") ) || !strcmp(argv[i], "-N") )
{ {
UserConfigParams::m_no_start_screen = true; UserConfigParams::m_no_start_screen = true;
//FIXME} else if ( !strcmp(argv[i], "--reverse") ) {
//FIXME:fprintf ( stdout, "Enabling reverse mode.\n" ) ; // TODO: reverse switch
//FIXME:raceSetup.reverse = 1; //} else if ( !strcmp(argv[i], "--reverse") ) {
//fprintf ( stdout, "Enabling reverse mode.\n" ) ;
//raceSetup.reverse = 1;
} }
else if ( !strcmp(argv[i], "--mirror") ) else if ( !strcmp(argv[i], "--mirror") )
{ {
@ -463,7 +466,7 @@ int handleCmdLine(int argc, char **argv)
race_manager->setNumLaps(atoi(argv[i+1])); race_manager->setNumLaps(atoi(argv[i+1]));
i++; i++;
} }
/* FIXME: /* TODO: add back --players" switch
else if ( !strcmp(argv[i], "--players") && i+1<argc ) { else if ( !strcmp(argv[i], "--players") && i+1<argc ) {
raceSetup.numPlayers = atoi(argv[i+1]); raceSetup.numPlayers = atoi(argv[i+1]);

View File

@ -250,7 +250,6 @@ void RaceSetupScreen::init()
break; break;
} }
//FIXME: it's unclear to me whether I must add a listener everytime init is called or not
m_mode_listener = new GameModeRibbonListener(this); m_mode_listener = new GameModeRibbonListener(this);
w2->registerHoverListener(m_mode_listener); w2->registerHoverListener(m_mode_listener);
} }