diff options
author | Willem Jan Palenstijn | 2012-05-13 16:23:15 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2012-05-13 16:23:15 +0200 |
commit | 4f6d42d77b5284552b12a7c0f427e060b27c3077 (patch) | |
tree | 5b869d5adabee7b30c48d9be7ec5021e20752eec | |
parent | 0aacf4c4c08baf512b98afa63bd3d052bfec0716 (diff) | |
download | scummvm-rg350-4f6d42d77b5284552b12a7c0f427e060b27c3077.tar.gz scummvm-rg350-4f6d42d77b5284552b12a7c0f427e060b27c3077.tar.bz2 scummvm-rg350-4f6d42d77b5284552b12a7c0f427e060b27c3077.zip |
SCI: Add a few FIXMEs
-rw-r--r-- | engines/sci/resource.cpp | 2 | ||||
-rw-r--r-- | engines/sci/resource.h | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index 77a6a40a92..11c3e2bab5 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -93,6 +93,8 @@ const char *getSciVersionDesc(SciVersion version) { //#define SCI_VERBOSE_RESMAN 1 +// FIXME: This list is out of sync with the enum in resource.h with +// its indices. static const char *const sci_error_types[] = { "No error", "I/O error", diff --git a/engines/sci/resource.h b/engines/sci/resource.h index 294a4672e2..6c2eb0b025 100644 --- a/engines/sci/resource.h +++ b/engines/sci/resource.h @@ -54,6 +54,7 @@ enum ResourceStatus { kResStatusLocked /**< Allocated and in use */ }; +// FIXME: This enum is out of sync with its textual descriptions in resource.cpp /** Initialization result types */ enum { SCI_ERROR_IO_ERROR = 1, @@ -64,6 +65,7 @@ enum { SCI_ERROR_DECOMPRESSION_ERROR = 6, /**< sanity checks failed during decompression */ SCI_ERROR_RESOURCE_TOO_BIG = 8 /**< Resource size exceeds SCI_MAX_RESOURCE_SIZE */ + // FIXME: This comment makes no sense. Track down in history what it means: /* the first critical error number */ }; |