aboutsummaryrefslogtreecommitdiff
path: root/engines/m4/actor.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2010-01-30 09:21:07 +0000
committerPaul Gilbert2010-01-30 09:21:07 +0000
commit3285a4ba4d585739577176baddd8f48478d2f229 (patch)
tree86f8e10aab8e619116721398918bca88abf4ce5d /engines/m4/actor.cpp
parent28aee9c5f3462cd72db0b91b7f578649869738d5 (diff)
downloadscummvm-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/actor.cpp')
-rw-r--r--engines/m4/actor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/m4/actor.cpp b/engines/m4/actor.cpp
index 82f7361cca..e80bcac6ca 100644
--- a/engines/m4/actor.cpp
+++ b/engines/m4/actor.cpp
@@ -33,7 +33,7 @@ namespace M4 {
#define WALKER_BURGER "Wilbur0%i" // wilbur, with a number denoting his current direction
-Actor::Actor(M4Engine *vm) : _vm(vm) {
+Actor::Actor(MadsM4Engine *vm) : _vm(vm) {
_scaling = 100;
_direction = 5;
_walkerSprites.resize(10);
@@ -104,7 +104,7 @@ void Actor::setWalkerPalette() {
_walkerSprites[kFacingSouthEast]->getColorCount());
}
-Inventory::Inventory(M4Engine *vm) : _vm(vm) {
+Inventory::Inventory(MadsM4Engine *vm) : _vm(vm) {
}
Inventory::~Inventory() {