aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2016-12-25 16:42:26 -0500
committerPaul Gilbert2016-12-25 16:42:26 -0500
commitea7f98999e9ce3dd31cef73ae34a7cf8203cdedf (patch)
tree3351b2112eee13c212d5c5252acacf6eea263d4b
parentcbdd5506e3fabfd29b0d88031f523117aa7b665a (diff)
downloadscummvm-rg350-ea7f98999e9ce3dd31cef73ae34a7cf8203cdedf.tar.gz
scummvm-rg350-ea7f98999e9ce3dd31cef73ae34a7cf8203cdedf.tar.bz2
scummvm-rg350-ea7f98999e9ce3dd31cef73ae34a7cf8203cdedf.zip
TITANIC: Fix compiler warnings
-rw-r--r--engines/titanic/core/saveable_object.cpp3
-rw-r--r--engines/titanic/support/avi_surface.h5
2 files changed, 0 insertions, 8 deletions
diff --git a/engines/titanic/core/saveable_object.cpp b/engines/titanic/core/saveable_object.cpp
index 5e8c138984..f718ba79b3 100644
--- a/engines/titanic/core/saveable_object.cpp
+++ b/engines/titanic/core/saveable_object.cpp
@@ -424,9 +424,6 @@ CSaveableObject *ClassDef::create() {
CSaveableObject::ClassListMap *CSaveableObject::_classList;
CSaveableObject::ClassDefList *CSaveableObject::_classDefs;
-ClassDef **types[1000];
-static int tctr = 0;
-
#define DEFFN(T) CSaveableObject *Function##T() { return new T(); } \
ClassDef *T::_type
#define ADDFN(CHILD, PARENT) \
diff --git a/engines/titanic/support/avi_surface.h b/engines/titanic/support/avi_surface.h
index 216d4f8837..4ee6cc6e0b 100644
--- a/engines/titanic/support/avi_surface.h
+++ b/engines/titanic/support/avi_surface.h
@@ -179,11 +179,6 @@ public:
int getFrame() const { return _currentFrame; }
/**
- * Returns true if the surface is playing in reverse
- */
- bool isReversed() const { return _isReversed; }
-
- /**
* Add a movie event
*/
bool addEvent(int frameNumber, CGameObject *obj);