aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/core/static_image.h
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-06 19:12:49 -0500
committerPaul Gilbert2016-03-06 19:12:49 -0500
commit7375394b810f3503f168d5770555aa1932d7892d (patch)
tree420e42cc4b5bc3b9a445e7a397fa26765bc62191 /engines/titanic/core/static_image.h
parentf423d4d41a0d94067162acf868bc7eba99cd3e17 (diff)
downloadscummvm-rg350-7375394b810f3503f168d5770555aa1932d7892d.tar.gz
scummvm-rg350-7375394b810f3503f168d5770555aa1932d7892d.tar.bz2
scummvm-rg350-7375394b810f3503f168d5770555aa1932d7892d.zip
TITANIC: Converting saveable objects hierarchy to have type data
This is necessary for at least message sending, and probably other areas, that needs to be able to pass class filtering for message targets. And I could figure out a clean way to use the built-in RTTI
Diffstat (limited to 'engines/titanic/core/static_image.h')
-rw-r--r--engines/titanic/core/static_image.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/titanic/core/static_image.h b/engines/titanic/core/static_image.h
index ac556f243e..2b0a3ad071 100644
--- a/engines/titanic/core/static_image.h
+++ b/engines/titanic/core/static_image.h
@@ -29,10 +29,7 @@ namespace Titanic {
class CStaticImage : public CGameObject {
public:
- /**
- * Return the class name
- */
- virtual const char *getClassName() const { return "CStaticImage"; }
+ CLASSDEF
/**
* Save the data for the class to file