diff options
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/engine/kernel.h | 7 | ||||
-rw-r--r-- | engines/sci/vocabulary.cpp | 5 |
2 files changed, 0 insertions, 12 deletions
diff --git a/engines/sci/engine/kernel.h b/engines/sci/engine/kernel.h index 8ba7b0ea93..68e8807e56 100644 --- a/engines/sci/engine/kernel.h +++ b/engines/sci/engine/kernel.h @@ -79,13 +79,6 @@ public: int findSelector(const char *selectorName) const; /** - * Detects whether a particular kernel function is required in the game - * @param functionName The name of the desired kernel function - * @return True if the kernel function is listed in the kernel table, false otherwise - */ - bool hasKernelFunction(const char *functionName) const; - - /** * Applies to all versions before 0.000.502 * Old SCI versions used to interpret the third DrawPic() parameter inversely, * with the opposite default value (obviously). diff --git a/engines/sci/vocabulary.cpp b/engines/sci/vocabulary.cpp index 4f518a2768..1909335904 100644 --- a/engines/sci/vocabulary.cpp +++ b/engines/sci/vocabulary.cpp @@ -478,11 +478,6 @@ int Kernel::findSelector(const char *selectorName) const { return -1; } -bool Kernel::hasKernelFunction(const char *functionName) const { - Common::StringList::const_iterator it = Common::find(_kernelNames.begin(), _kernelNames.end(), functionName); - return (it != _kernelNames.end()); -} - void _vocab_recursive_ptree_dump_treelike(parse_tree_node_t *nodes, int nr, int prevnr) { if ((nr > VOCAB_TREE_NODES)/* || (nr < prevnr)*/) { printf("Error(%04x)", nr); |