diff options
author | Paul Gilbert | 2010-01-30 09:21:07 +0000 |
---|---|---|
committer | Paul Gilbert | 2010-01-30 09:21:07 +0000 |
commit | 3285a4ba4d585739577176baddd8f48478d2f229 (patch) | |
tree | 86f8e10aab8e619116721398918bca88abf4ce5d /engines/m4/graphics.h | |
parent | 28aee9c5f3462cd72db0b91b7f578649869738d5 (diff) | |
download | scummvm-rg350-3285a4ba4d585739577176baddd8f48478d2f229.tar.gz scummvm-rg350-3285a4ba4d585739577176baddd8f48478d2f229.tar.bz2 scummvm-rg350-3285a4ba4d585739577176baddd8f48478d2f229.zip |
Beginnings of a separation of the MADS and M4 engines into separate classes. This will be cleaner then having checks everywhere for whether the game mode is MADS or M4.
svn-id: r47705
Diffstat (limited to 'engines/m4/graphics.h')
-rw-r--r-- | engines/m4/graphics.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/m4/graphics.h b/engines/m4/graphics.h index 47253c4ed0..b88e9f3616 100644 --- a/engines/m4/graphics.h +++ b/engines/m4/graphics.h @@ -173,7 +173,7 @@ enum FadeType {FT_TO_GREY, FT_TO_COLOR, FT_TO_BLOCK}; class Palette { private: - M4Engine *_vm; + MadsM4Engine *_vm; bool _colorsChanged; bool _fading_in_progress; byte _originalPalette[256 * 4]; @@ -182,7 +182,7 @@ private: void reset(); public: - Palette(M4Engine *vm); + Palette(MadsM4Engine *vm); void setPalette(const byte *colors, uint start, uint num); void setPalette(const RGB8 *colors, uint start, uint num); |