SCI: Add a few FIXMEs

This commit is contained in:
Willem Jan Palenstijn
2012-05-13 16:23:15 +02:00
parent 0aacf4c4c0
commit 4f6d42d77b
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -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",
+2
View File
@@ -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 */
};