aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ad/ad_layer.h
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-07-21 21:01:47 +0200
committerEinar Johan Trøan Sømåen2012-07-21 21:01:47 +0200
commitb5a07fef8ebf29f7f44b15d9b34799c7e115fdad (patch)
tree76599c7b51aa6ad0447cb6ff6847f9eba54a679a /engines/wintermute/ad/ad_layer.h
parent2e82471240804df65acdf51c43ea044cbb81ae68 (diff)
downloadscummvm-rg350-b5a07fef8ebf29f7f44b15d9b34799c7e115fdad.tar.gz
scummvm-rg350-b5a07fef8ebf29f7f44b15d9b34799c7e115fdad.tar.bz2
scummvm-rg350-b5a07fef8ebf29f7f44b15d9b34799c7e115fdad.zip
WINTERMUTE: Get rid of the C-prefix for class-definitions.
Diffstat (limited to 'engines/wintermute/ad/ad_layer.h')
-rw-r--r--engines/wintermute/ad/ad_layer.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/wintermute/ad/ad_layer.h b/engines/wintermute/ad/ad_layer.h
index 0ccdb13ae7..b76cbf1d99 100644
--- a/engines/wintermute/ad/ad_layer.h
+++ b/engines/wintermute/ad/ad_layer.h
@@ -30,26 +30,26 @@
#define WINTERMUTE_ADLAYER_H
namespace WinterMute {
-class CAdSceneNode;
-class CAdLayer : public CBObject {
+class AdSceneNode;
+class AdLayer : public BaseObject {
public:
bool _closeUp;
- DECLARE_PERSISTENT(CAdLayer, CBObject)
+ DECLARE_PERSISTENT(AdLayer, BaseObject)
bool _active;
int _height;
int _width;
bool _main;
- CAdLayer(CBGame *inGame);
- virtual ~CAdLayer();
- CBArray<CAdSceneNode *, CAdSceneNode *> _nodes;
+ AdLayer(BaseGame *inGame);
+ virtual ~AdLayer();
+ BaseArray<AdSceneNode *, AdSceneNode *> _nodes;
bool loadFile(const char *filename);
bool loadBuffer(byte *buffer, bool complete = true);
- virtual bool saveAsText(CBDynBuffer *buffer, int indent);
+ virtual bool saveAsText(BaseDynamicBuffer *buffer, int indent);
// scripting interface
- virtual CScValue *scGetProperty(const char *name);
- virtual bool scSetProperty(const char *name, CScValue *value);
- virtual bool scCallMethod(CScScript *script, CScStack *stack, CScStack *thisStack, const char *name);
+ virtual ScValue *scGetProperty(const char *name);
+ virtual bool scSetProperty(const char *name, ScValue *value);
+ virtual bool scCallMethod(ScScript *script, ScStack *stack, ScStack *thisStack, const char *name);
virtual const char *scToString();
};