aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/gfx/gfx_pixmap_scale.cpp
diff options
context:
space:
mode:
authorOystein Eftevaag2009-02-21 10:23:36 +0000
committerOystein Eftevaag2009-02-21 10:23:36 +0000
commit25f7c371718f74eb26fed5bd66a803f220c89c3b (patch)
treee78250ba07d5d28ffecf1621421ab33061edf1e4 /engines/sci/gfx/gfx_pixmap_scale.cpp
parent44ea7966108cf56df4a4eb3fd0b2b7df31d937e1 (diff)
downloadscummvm-rg350-25f7c371718f74eb26fed5bd66a803f220c89c3b.tar.gz
scummvm-rg350-25f7c371718f74eb26fed5bd66a803f220c89c3b.tar.bz2
scummvm-rg350-25f7c371718f74eb26fed5bd66a803f220c89c3b.zip
Wrapped the SCI engine in the Sci namespace.
svn-id: r38676
Diffstat (limited to 'engines/sci/gfx/gfx_pixmap_scale.cpp')
-rw-r--r--engines/sci/gfx/gfx_pixmap_scale.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/gfx/gfx_pixmap_scale.cpp b/engines/sci/gfx/gfx_pixmap_scale.cpp
index b1a26d2a5d..215be8c4d5 100644
--- a/engines/sci/gfx/gfx_pixmap_scale.cpp
+++ b/engines/sci/gfx/gfx_pixmap_scale.cpp
@@ -31,6 +31,8 @@
#include "sci/include/sci_memory.h"
+namespace Sci {
+
#define EXTEND_COLOR(x) (unsigned) ((((unsigned) x) << 24) | (((unsigned) x) << 16) | (((unsigned) x) << 8) | ((unsigned) x))
#define PALETTE_MODE mode->palette
@@ -485,3 +487,4 @@ void FUNCNAME_TRILINEAR(gfx_mode_t *mode, gfx_pixmap_t *pxm, int scale) {
#undef SIZETYPE
#undef EXTEND_COLOR
+} // End of namespace Sci