aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/include/resource.h
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sci/include/resource.h')
-rw-r--r--engines/sci/include/resource.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/sci/include/resource.h b/engines/sci/include/resource.h
index 8db6ef9185..070e662e1c 100644
--- a/engines/sci/include/resource.h
+++ b/engines/sci/include/resource.h
@@ -103,6 +103,8 @@
# define O_BINARY 0
#endif
+namespace Sci {
+
/**** FUNCTION DECLARATIONS ****/
#ifdef WIN32
@@ -117,7 +119,7 @@ getInt16(byte *d) {
}
#define getUInt16(d) (guint16)(getInt16(d))
-
+
/* Turns a little endian 16 bit value into a machine-dependant 16 bit value
** Parameters: d: Pointer to the memory position from which to read
** Returns : (gint16) The (possibly converted) 16 bit value
@@ -293,4 +295,6 @@ void sci_sched_yield(void);
# define BREAKPOINT() { error("Missed breakpoint in %s, line %d\n", __FILE__, __LINE__); *((int *) NULL) = 42; }
#endif /* !BREAKPOINT() */
+} // End of namespace Sci
+
#endif