From fdbafeb5ff1e578c99cc9ffc1271b3f1a06d5ac2 Mon Sep 17 00:00:00 2001 From: auria Date: Mon, 3 Jan 2011 19:06:45 +0000 Subject: [PATCH] More FIXME cleanup git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7233 178a84e3-b1eb-0310-8ba1-8eac791a3b58 --- src/guiengine/widgets/dynamic_ribbon_widget.cpp | 1 - src/guiengine/widgets/model_view_widget.cpp | 1 - src/main.cpp | 13 ++++++++----- src/states_screens/race_setup_screen.cpp | 1 - 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/guiengine/widgets/dynamic_ribbon_widget.cpp b/src/guiengine/widgets/dynamic_ribbon_widget.cpp index 2b9112c74..c7d144ccf 100644 --- a/src/guiengine/widgets/dynamic_ribbon_widget.cpp +++ b/src/guiengine/widgets/dynamic_ribbon_widget.cpp @@ -430,7 +430,6 @@ void DynamicRibbonWidget::addAnimatedItem( const irr::core::stringw& user_name, FIXME: remove this unclean thing, I think irrlicht provides this feature: virtual void IGUIElement::OnPostRender (u32 timeMs) \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); } diff --git a/src/guiengine/widgets/model_view_widget.cpp b/src/guiengine/widgets/model_view_widget.cpp index d22fa56fa..77a8f9d62 100644 --- a/src/guiengine/widgets/model_view_widget.cpp +++ b/src/guiengine/widgets/model_view_widget.cpp @@ -55,7 +55,6 @@ void ModelViewWidget::add() FIXME: remove this unclean thing, I think irrlicht provides this feature: virtual void IGUIElement::OnPostRender (u32 timeMs) \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); diff --git a/src/main.cpp b/src/main.cpp index 9c89dd36f..236bf8988 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -92,7 +92,8 @@ void cmdLineHelp (char* invocation) " --list-karts Show available karts.\n" " --laps N Define number of laps to N.\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" " -f, --fullscreen Select fullscreen display.\n" " -w, --windowed Windowed display (default).\n" @@ -443,9 +444,11 @@ int handleCmdLine(int argc, char **argv) || !strcmp(argv[i], "-N") ) { UserConfigParams::m_no_start_screen = true; - //FIXME} else if ( !strcmp(argv[i], "--reverse") ) { - //FIXME:fprintf ( stdout, "Enabling reverse mode.\n" ) ; - //FIXME:raceSetup.reverse = 1; + + // TODO: reverse switch + //} else if ( !strcmp(argv[i], "--reverse") ) { + //fprintf ( stdout, "Enabling reverse mode.\n" ) ; + //raceSetup.reverse = 1; } else if ( !strcmp(argv[i], "--mirror") ) { @@ -463,7 +466,7 @@ int handleCmdLine(int argc, char **argv) race_manager->setNumLaps(atoi(argv[i+1])); i++; } - /* FIXME: + /* TODO: add back --players" switch else if ( !strcmp(argv[i], "--players") && i+1registerHoverListener(m_mode_listener); }