Skip to content

Commit

Permalink
SCI: Add a few FIXMEs
Browse files Browse the repository at this point in the history
  • Loading branch information
wjp committed May 13, 2012
1 parent 0aacf4c commit 4f6d42d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions engines/sci/resource.cpp
Expand Up @@ -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",
Expand Down
2 changes: 2 additions & 0 deletions engines/sci/resource.h
Expand Up @@ -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,
Expand All @@ -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 */
};

Expand Down

0 comments on commit 4f6d42d

Please sign in to comment.