aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/base_frame.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/base/base_frame.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/base/base_frame.h')
-rw-r--r--engines/wintermute/base/base_frame.h36
1 files changed, 18 insertions, 18 deletions
diff --git a/engines/wintermute/base/base_frame.h b/engines/wintermute/base/base_frame.h
index f3dec4e16f..dcbf74bc47 100644
--- a/engines/wintermute/base/base_frame.h
+++ b/engines/wintermute/base/base_frame.h
@@ -33,37 +33,37 @@
#include "engines/wintermute/coll_templ.h"
namespace WinterMute {
-class CBSound;
-class CBSubFrame;
-class CBObject;
-class CScScript;
-class CScStack;
-class CBFrame: public CBScriptable {
+class BaseSound;
+class BaseSubFrame;
+class BaseObject;
+class ScScript;
+class ScStack;
+class BaseFrame: public BaseScriptable {
public:
bool _killSound;
bool _keyframe;
- bool oneTimeDisplay(CBObject *owner, bool muted = false);
- DECLARE_PERSISTENT(CBFrame, CBScriptable)
- CBSound *_sound;
+ bool oneTimeDisplay(BaseObject *owner, bool muted = false);
+ DECLARE_PERSISTENT(BaseFrame, BaseScriptable)
+ BaseSound *_sound;
bool _editorExpanded;
bool getBoundingRect(Rect32 *rect, int x, int y, float scaleX = 100, float scaleY = 100);
- bool saveAsText(CBDynBuffer *buffer, int indent);
+ bool saveAsText(BaseDynamicBuffer *buffer, int indent);
int _moveY;
int _moveX;
uint32 _delay;
- CBArray<CBSubFrame *, CBSubFrame *> _subframes;
- bool draw(int x, int y, CBObject *registerOwner = NULL, float zoomX = 100, float zoomY = 100, bool precise = true, uint32 Alpha = 0xFFFFFFFF, bool allFrames = false, float rotate = 0.0f, TSpriteBlendMode blendMode = BLEND_NORMAL);
+ BaseArray<BaseSubFrame *, BaseSubFrame *> _subframes;
+ bool draw(int x, int y, BaseObject *registerOwner = NULL, float zoomX = 100, float zoomY = 100, bool precise = true, uint32 Alpha = 0xFFFFFFFF, bool allFrames = false, float rotate = 0.0f, TSpriteBlendMode blendMode = BLEND_NORMAL);
bool loadBuffer(byte *buffer, int lifeTime, bool keepLoaded);
- CBFrame(CBGame *inGame);
- virtual ~CBFrame();
+ BaseFrame(BaseGame *inGame);
+ virtual ~BaseFrame();
- CBArray<const char *, const char *> _applyEvent;
+ BaseArray<const char *, const char *> _applyEvent;
// 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();
};