mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-13 15:40:57 +00:00
STARK: Remove / update TODOs
This commit is contained in:
parent
d4bb79936f
commit
1d6555fc37
@ -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)) {
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
@ -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());
|
||||
|
Loading…
x
Reference in New Issue
Block a user