diff options
author | Strangerke | 2011-09-15 07:58:31 +0200 |
---|---|---|
committer | Strangerke | 2011-09-15 08:00:54 +0200 |
commit | c99310820720714083b34d7d01080c54c977eb75 (patch) | |
tree | e7ebfefba735fd1934373817f63f678130726676 /engines/cge/bitmap.h | |
parent | fc6fce22212fad5a9c8d15f0b8649eed3b0104b4 (diff) | |
download | scummvm-rg350-c99310820720714083b34d7d01080c54c977eb75.tar.gz scummvm-rg350-c99310820720714083b34d7d01080c54c977eb75.tar.bz2 scummvm-rg350-c99310820720714083b34d7d01080c54c977eb75.zip |
CGE: Transform some static and globals into class members
Diffstat (limited to 'engines/cge/bitmap.h')
-rw-r--r-- | engines/cge/bitmap.h | 12 |
1 files changed, 7 insertions, 5 deletions
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; |