aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJordi Vilalta Prat2009-02-24 22:51:19 +0000
committerJordi Vilalta Prat2009-02-24 22:51:19 +0000
commit936e807ef3094af4f22c71649832762036af841d (patch)
tree2bec43298aaa8ba003a6793af00432482d693a43 /engines
parent1dff55f90132f12fbf266d83b9ccdb309f1176a5 (diff)
downloadscummvm-rg350-936e807ef3094af4f22c71649832762036af841d.tar.gz
scummvm-rg350-936e807ef3094af4f22c71649832762036af841d.tar.bz2
scummvm-rg350-936e807ef3094af4f22c71649832762036af841d.zip
Removed unused resource macros
svn-id: r38869
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/kernel.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/engines/sci/engine/kernel.h b/engines/sci/engine/kernel.h
index 68cb1c3b59..e3cb8ad1c9 100644
--- a/engines/sci/engine/kernel.h
+++ b/engines/sci/engine/kernel.h
@@ -164,13 +164,6 @@ byte *kernel_dereference_bulk_pointer(EngineState *s, reg_t pointer, int entries
** 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