[Scummvm-cvs-logs] SF.net SVN: scummvm:[43528] scummvm/trunk/engines/sci/engine/kernel.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Wed Aug 19 09:13:30 CEST 2009
Revision: 43528
http://scummvm.svn.sourceforge.net/scummvm/?rev=43528&view=rev
Author: lordhoto
Date: 2009-08-19 07:13:29 +0000 (Wed, 19 Aug 2009)
Log Message:
-----------
Comment out unused function (which was also currently only enabled when SCI32 is enabled).
Modified Paths:
--------------
scummvm/trunk/engines/sci/engine/kernel.cpp
Modified: scummvm/trunk/engines/sci/engine/kernel.cpp
===================================================================
--- scummvm/trunk/engines/sci/engine/kernel.cpp 2009-08-19 07:12:33 UTC (rev 43527)
+++ scummvm/trunk/engines/sci/engine/kernel.cpp 2009-08-19 07:13:29 UTC (rev 43528)
@@ -820,7 +820,7 @@
}
#ifdef ENABLE_SCI32
-static void vocab_get_knames11(ResourceManager *resmgr, Common::StringList &names) {
+//static void vocab_get_knames11(ResourceManager *resmgr, Common::StringList &names) {
/*
999.voc format for SCI1.1 games:
[b] # of kernel functions
@@ -830,7 +830,7 @@
{[w name-len][function name]}
...
*/
- //unsigned int size = 64, pos = 3;
+/* //unsigned int size = 64, pos = 3;
int len;
Resource *r = resmgr->findResource(ResourceId(kResourceTypeVocab, VOCAB_RESOURCE_KNAMES), 0);
if(r == NULL) // failed to open vocab.999 (happens with SCI1 demos)
@@ -843,7 +843,7 @@
len = READ_LE_UINT16(r->data + off);
names[i] = Common::String((char *)r->data + off + 2, len);
}
-}
+}*/
#endif
bool Kernel::loadKernelNames() {
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