Remove some outdated todo comments

celladd
scrawl 10 years ago
parent 304277429f
commit 16ddfbca14

@ -84,11 +84,11 @@ std::string Utf8Encoder::getUtf8(const char* input, size_t size)
// is also ok.) // is also ok.)
assert(input[size] == 0); assert(input[size] == 0);
// TODO: The rest of this function is designed for single-character // Note: The rest of this function is designed for single-character
// input encodings only. It also assumes that the input the input // input encodings only. It also assumes that the input the input
// encoding shares its first 128 values (0-127) with ASCII. These // encoding shares its first 128 values (0-127) with ASCII. There are
// conditions must be checked again if you add more input encodings // no plans to add more encodings to this module (we are using utf8
// later. // for new content files), so that shouldn't be an issue.
// Compute output length, and check for pure ascii input at the same // Compute output length, and check for pure ascii input at the same
// time. // time.

@ -258,13 +258,12 @@ namespace Physic
const Ogre::Vector3 &position, float scale, const Ogre::Quaternion &rotation); const Ogre::Vector3 &position, float scale, const Ogre::Quaternion &rotation);
/** /**
* Remove a character from the scene. TODO:delete it! for now, a small memory leak^^ done? * Remove a character from the scene.
*/ */
void removeCharacter(const std::string &name); void removeCharacter(const std::string &name);
/** /**
* Return a pointer to a character * Return a pointer to a character
* TODO:check if the actor exist...
*/ */
PhysicActor* getCharacter(const std::string &name); PhysicActor* getCharacter(const std::string &name);

@ -451,7 +451,6 @@ public:
mRenderSystem->_setSceneBlending(Ogre::SBF_SOURCE_ALPHA, Ogre::SBF_ONE_MINUS_SOURCE_ALPHA); mRenderSystem->_setSceneBlending(Ogre::SBF_SOURCE_ALPHA, Ogre::SBF_ONE_MINUS_SOURCE_ALPHA);
// always use wireframe // always use wireframe
// TODO: add option to enable wireframe mode in platform
mRenderSystem->_setPolygonMode(Ogre::PM_SOLID); mRenderSystem->_setPolygonMode(Ogre::PM_SOLID);
} }

Loading…
Cancel
Save