[Scummvm-cvs-logs] SF.net SVN: scummvm:[44159] scummvm/trunk/engines/sci
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Thu Sep 17 16:53:42 CEST 2009
Revision: 44159
http://scummvm.svn.sourceforge.net/scummvm/?rev=44159&view=rev
Author: fingolfin
Date: 2009-09-17 14:53:42 +0000 (Thu, 17 Sep 2009)
Log Message:
-----------
SCI: Removed dead code
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kernel.h
scummvm/trunk/engines/sci/vocabulary.cpp
Modified: scummvm/trunk/engines/sci/engine/kernel.h
===================================================================
--- scummvm/trunk/engines/sci/engine/kernel.h 2009-09-17 14:41:27 UTC (rev 44158)
+++ scummvm/trunk/engines/sci/engine/kernel.h 2009-09-17 14:53:42 UTC (rev 44159)
@@ -79,13 +79,6 @@
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).
Modified: scummvm/trunk/engines/sci/vocabulary.cpp
===================================================================
--- scummvm/trunk/engines/sci/vocabulary.cpp 2009-09-17 14:41:27 UTC (rev 44158)
+++ scummvm/trunk/engines/sci/vocabulary.cpp 2009-09-17 14:53:42 UTC (rev 44159)
@@ -478,11 +478,6 @@
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);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list