aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2011-01-31 11:36:14 +0000
committerFilippos Karapetis2011-01-31 11:36:14 +0000
commite0314f9ecd22504290ca3fb1d6e6b6db30dd6719 (patch)
treedfc9fe14431497163b4fbb2178ca780548f19635
parentb187551a019c56f85972abf8514f878c9c4dc6cf (diff)
downloadscummvm-rg350-e0314f9ecd22504290ca3fb1d6e6b6db30dd6719.tar.gz
scummvm-rg350-e0314f9ecd22504290ca3fb1d6e6b6db30dd6719.tar.bz2
scummvm-rg350-e0314f9ecd22504290ca3fb1d6e6b6db30dd6719.zip
SAGA: Turned several unnecessarily inherited classes into typedefs
svn-id: r55677
-rw-r--r--engines/saga/scene.h3
-rw-r--r--engines/saga/script.h3
-rw-r--r--engines/saga/sprite.h5
3 files changed, 3 insertions, 8 deletions
diff --git a/engines/saga/scene.h b/engines/saga/scene.h
index 8d48e71445..156705986d 100644
--- a/engines/saga/scene.h
+++ b/engines/saga/scene.h
@@ -140,8 +140,7 @@ struct SceneEntry {
uint16 facing;
};
-class SceneEntryList : public Common::Array<SceneEntry> {
-};
+typedef Common::Array<SceneEntry> SceneEntryList;
struct SceneImage {
bool loaded;
diff --git a/engines/saga/script.h b/engines/saga/script.h
index 080b1558d6..fba71edfba 100644
--- a/engines/saga/script.h
+++ b/engines/saga/script.h
@@ -129,8 +129,7 @@ struct EntryPoint {
uint16 offset;
};
-class VoiceLUT : public Common::Array<uint16> {
-};
+typedef Common::Array<uint16> VoiceLUT;
struct ModuleData {
bool loaded; // is it loaded or not?
diff --git a/engines/saga/sprite.h b/engines/saga/sprite.h
index 4e463cdd88..2ffb940ccc 100644
--- a/engines/saga/sprite.h
+++ b/engines/saga/sprite.h
@@ -44,10 +44,7 @@ struct SpriteInfo {
}
};
-class SpriteList : public Common::Array<SpriteInfo> {
-// int spriteListResourceId;
-};
-
+typedef Common::Array<SpriteInfo> SpriteList;
class Sprite {
public: