STARK: Remove / update TODOs

This commit is contained in:
Bastien Bouclet 2015-12-22 20:38:00 +01:00
parent d4bb79936f
commit 1d6555fc37
5 changed files with 1 additions and 6 deletions

View File

@ -106,7 +106,6 @@ void Image::printData() {
}
int Image::indexForPoint(const Common::Point &point) const {
// TODO: This doesn't necessarily get the innermost polygon
int index = -1;
for (uint32 i = 0; i < _polygons.size(); i++) {
if (isPointInPolygon(_polygons[i], point)) {

View File

@ -295,7 +295,6 @@ Visual *ItemVisual::getVisual() {
}
int ItemVisual::getHotspotIndexForPoint(const Common::Point &point) {
// TODO: This breaks rather weirdly on subtype 6 and 10
Anim *anim = getAnim();
if (anim) {
return anim->getPointHotspotIndex(point);

View File

@ -104,8 +104,6 @@ void DialogPlayer::removeLastOnlyOption() {
void DialogPlayer::buildOptions() {
Resources::Dialog::TopicArray availableTopics = _currentDialog->listAvailableTopics();
// TODO: This is very minimal, complete
for (uint i = 0; i < availableTopics.size(); i++) {
Option option;

View File

@ -123,8 +123,8 @@ Resources::Location *ResourceProvider::getLocation(uint16 level, uint16 location
return nullptr;
}
// TODO: This approach doesn't carry over all the stuff that it should, perhaps we should avoid reloading?
void ResourceProvider::pushAndChangeLocation(int16 level, int16 location) {
// TODO: Keep track of the inventory state
pushCurrentLocation();
requestLocationChange(level, location);
}

View File

@ -49,7 +49,6 @@ FMVPlayer::~FMVPlayer() {
}
void FMVPlayer::play(const Common::String &name) {
// TODO: Clear existing
Common::SeekableReadStream *stream = StarkArchiveLoader->getExternalFile(name, "Global/");
if (!stream) {
warning("Could not open %s", name.c_str());