Removed more useless FIXMEs

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@7240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
auria
2011-01-03 21:18:52 +00:00
parent eea6279db2
commit 8ddb9aee41
5 changed files with 3 additions and 11 deletions

View File

@@ -80,7 +80,6 @@ void RibbonWidget::add()
int total_needed_space = 0;
for (int i=0; i<subbuttons_amount; i++)
{
// FIXME: a little unclean to invoke layout code here?
LayoutManager::readCoords(m_children.get(i), NULL, this);
if (m_children[i].m_type != WTYPE_ICON_BUTTON && m_children[i].m_type != WTYPE_BUTTON)
@@ -331,7 +330,6 @@ EventPropagation RibbonWidget::rightPressed(const int playerID)
}
// if we reached a filler item, move again (but don't warp)
// FIXME: why is a constant from DynamicRibbon used here??
if (getSelectionIDString(playerID) == RibbonWidget::NO_ITEM_ID)
{
if (m_selection[playerID] + 1 < m_children.size())

View File

@@ -42,8 +42,6 @@
#endif
#ifdef WIN32
/* FIXME : for the remove directory function*/
// FIXME: doesn't work, many errors # include <shellapi.h>
# include <io.h>
# include <stdio.h>
# ifndef __CYGWIN__
@@ -69,8 +67,6 @@
// dynamic data path detection onmac
# include <CoreFoundation/CoreFoundation.h>
bool macSetBundlePathIfRelevant(std::string& data_dir)
{
printf("[FileManager] checking whether we are using an app bundle... ");
@@ -737,10 +733,9 @@ bool FileManager::removeDirectory(char const *name)
return true;
#else
//FIXME : check this function, it is only for windows, but I'm on linux.
::RemoveDirectory(name);
return true;
#ifdef XX
#if 0
SHFILEOPSTRUCT sh;
sh.hwnd = NULL;
sh.wFunc = FO_DELETE;

View File

@@ -60,7 +60,7 @@ PowerupManager::~PowerupManager()
} // ~PowerupManager
//-----------------------------------------------------------------------------
/** Removes any textures so that they can be reloaded. FIXME: missing atm.
/** Removes any textures so that they can be reloaded.
*/
void PowerupManager::unloadPowerups()
{

View File

@@ -106,7 +106,7 @@ bool getWideLine(std::ifstream& file, stringw* out)
//std::cout << buff[0] << ", " << buff[1]
// << "(" << std::hex << (unsigned)buff[0] << ", " << std::hex << (unsigned)buff[1] << ")\n";
// FIXME: endianness issues possible here?
// We got no complaints so I assume the endianness code here is OK
wide_char = unsigned(buff[0] & 0xFF) | (unsigned(buff[1] & 0xFF) << 8);
line += wide_char;
//std::cout << "Read char " << (char)(wide_char) << " (" << std::hex << wide_char << ")" << std::endl;

View File

@@ -429,7 +429,6 @@ public:
{
assert(m_magic_number == 0x33445566);
// FIXME: debug, remove
assert(KartSelectionScreen::getInstance()->m_kart_widgets.contains(this));
bool mineInList = false;
for (int p=0; p<StateManager::get()->activePlayerCount(); p++)