From c99310820720714083b34d7d01080c54c977eb75 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Thu, 15 Sep 2011 07:58:31 +0200 Subject: CGE: Transform some static and globals into class members --- engines/cge/bitmap.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'engines/cge/bitmap.h') diff --git a/engines/cge/bitmap.h b/engines/cge/bitmap.h index bc37591399..3e195fad14 100644 --- a/engines/cge/bitmap.h +++ b/engines/cge/bitmap.h @@ -33,12 +33,13 @@ namespace CGE { -#define kBmpEOI 0x0000 -#define kBmpSKP 0x4000 -#define kBmpREP 0x8000 -#define kBmpCPY 0xC000 - #define kMaxPath 128 +enum { + kBmpEOI = 0x0000, + kBmpSKP = 0x4000, + kBmpREP = 0x8000, + kBmpCPY = 0xC000 +}; #include "common/pack-start.h" @@ -50,6 +51,7 @@ struct HideDesc { #include "common/pack-end.h" class Bitmap { + char *forceExt(char *buf, const char *name, const char *ext); bool loadVBM(EncryptedStream *f); public: static Dac *_pal; -- cgit v1.2.3