aboutsummaryrefslogtreecommitdiff
path: root/engines/saga
diff options
context:
space:
mode:
authorFilippos Karapetis2007-08-20 20:00:40 +0000
committerFilippos Karapetis2007-08-20 20:00:40 +0000
commitc50c20b2c2e74f138f19fe141e468b0941dbdea1 (patch)
treeccc8da70d921c8712452b0049fd8b4788e0cdfdf /engines/saga
parenta6171ec34928af401a8b4549519fd28828195b57 (diff)
downloadscummvm-rg350-c50c20b2c2e74f138f19fe141e468b0941dbdea1.tar.gz
scummvm-rg350-c50c20b2c2e74f138f19fe141e468b0941dbdea1.tar.bz2
scummvm-rg350-c50c20b2c2e74f138f19fe141e468b0941dbdea1.zip
Cleanup: Removed obsolete TODOs
svn-id: r28682
Diffstat (limited to 'engines/saga')
-rw-r--r--engines/saga/displayinfo.h3
-rw-r--r--engines/saga/interface.cpp4
-rw-r--r--engines/saga/itedata.h3
-rw-r--r--engines/saga/saveload.cpp2
-rw-r--r--engines/saga/scene.cpp5
5 files changed, 4 insertions, 13 deletions
diff --git a/engines/saga/displayinfo.h b/engines/saga/displayinfo.h
index 0d7bfaf554..76e647ef2a 100644
--- a/engines/saga/displayinfo.h
+++ b/engines/saga/displayinfo.h
@@ -280,7 +280,7 @@ static const GameDisplayInfo ITE_DisplayInfo = {
};
-//TODO: ihnm
+// IHNM
#define IHNM_CONVERSE_MAX_TEXT_WIDTH (485 - 8)
#define IHNM_CONVERSE_TEXT_HEIGHT 10
#define IHNM_CONVERSE_TEXT_LINES 11
@@ -354,7 +354,6 @@ static PanelButton IHNM_LoadPanelButtons[] = {
};
static PanelButton IHNM_SavePanelButtons[] = {
- // TODO
{kPanelButtonSave, 25,79, 80,25, kTextSave,'s',0, 0,0,0},
{kPanelButtonSave, 155,79, 80,25, kTextCancel,'c',0, 0,0,0},
{kPanelButtonSaveEdit, 26,57, 209,17, 0,'-',0, 0,0,0},
diff --git a/engines/saga/interface.cpp b/engines/saga/interface.cpp
index 8733d35cb1..3d8ccc7e0f 100644
--- a/engines/saga/interface.cpp
+++ b/engines/saga/interface.cpp
@@ -420,8 +420,8 @@ void Interface::setMode(int mode) {
switch (_panelMode) {
case kPanelMain:
- if (_vm->getGameType() == GType_IHNM)
- warning("FIXME: Implement IHNM differences from ExecuteInventoryPanel");
+ // FIXME: Implement IHNM differences from ExecuteInventoryPanel for IHNM (though I believe they're already
+ // implemented)
_mainPanel.currentButton = NULL;
break;
diff --git a/engines/saga/itedata.h b/engines/saga/itedata.h
index d9bd59adc4..3c594b5fec 100644
--- a/engines/saga/itedata.h
+++ b/engines/saga/itedata.h
@@ -41,9 +41,6 @@ enum ActorFlags {
kNoScale = 0x80 // (1<<7) Actor is not scaled
};
-// TODO: This doesn't quite correspond to the original Actor struct, so I'm not
-// sure if I got it right.
-
struct ActorTableData {
byte flags;
byte nameIndex;
diff --git a/engines/saga/saveload.cpp b/engines/saga/saveload.cpp
index d04b72f7a8..a0154c0fd2 100644
--- a/engines/saga/saveload.cpp
+++ b/engines/saga/saveload.cpp
@@ -237,8 +237,8 @@ void SagaEngine::load(const char *fileName) {
// Some older saves were not written in an endian safe fashion.
// We try to detect this here by checking for extremly high version values.
// If found, we retry with the data swapped.
- // FIXME: Maybe display a warning/error message instead?
if (_saveHeader.version > 0xFFFFFF) {
+ warning("This savegame is not endian safe, retrying with the data swapped");
_saveHeader.version = SWAP_BYTES_32(_saveHeader.version);
}
diff --git a/engines/saga/scene.cpp b/engines/saga/scene.cpp
index adb3f9feaa..5ab7fbb4a5 100644
--- a/engines/saga/scene.cpp
+++ b/engines/saga/scene.cpp
@@ -811,11 +811,6 @@ void Scene::loadScene(LoadSceneParams *loadSceneParams) {
_vm->_sound->stopAll();
- // FIXME: Does IHNM use scene background music, or is all the
- // music scripted? At the very least, it shouldn't try
- // to start song 0 at the beginning of the game, since
- // it's the end credits music.
-
if (_vm->getGameType() == GType_ITE) {
if (_sceneDescription.musicResourceId >= 0) {
event.type = kEvTOneshot;