[Scummvm-cvs-logs] SF.net SVN: scummvm:[38869] scummvm/trunk/engines/sci/engine/kernel.h

jvprat at users.sourceforge.net jvprat at users.sourceforge.net
Tue Feb 24 23:51:19 CET 2009


Revision: 38869
          http://scummvm.svn.sourceforge.net/scummvm/?rev=38869&view=rev
Author:   jvprat
Date:     2009-02-24 22:51:19 +0000 (Tue, 24 Feb 2009)

Log Message:
-----------
Removed unused resource macros

Modified Paths:
--------------
    scummvm/trunk/engines/sci/engine/kernel.h

Modified: scummvm/trunk/engines/sci/engine/kernel.h
===================================================================
--- scummvm/trunk/engines/sci/engine/kernel.h	2009-02-24 22:48:39 UTC (rev 38868)
+++ scummvm/trunk/engines/sci/engine/kernel.h	2009-02-24 22:51:19 UTC (rev 38869)
@@ -164,13 +164,6 @@
 ** reg_t dereferenciation also assures alignedness of data.
 */
 
-/******************** Resource Macros ********************/
-
-/* Returns the composite resource ID: */
-#define RESOURCE_ID(type, number) (number) | ((type) << 11)
-#define RESOURCE_NUMBER(resid) ((resid) & 0x7ff)
-#define RESOURCE_TYPE(resid) ((resid) >> 11)
-
 int kernel_oops(EngineState *s, const char *file, int line, const char *reason);
 /* Halts script execution and informs the user about an internal kernel error or failed assertion
 ** Parameters: (EngineState *) s: The state to use


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