aboutsummaryrefslogtreecommitdiff
path: root/engines/director/cast.h
diff options
context:
space:
mode:
authorEugene Sandulenko2019-11-24 18:17:02 +0000
committerEugene Sandulenko2019-11-24 18:17:02 +0000
commit991e7d447bd919934002858dad8e8cb4f9dd1eed (patch)
treedba26f312c2fea61a18928bd59cfe9e61c79c061 /engines/director/cast.h
parent6a650e10b1fed68e52134f6959bda5f560eebe06 (diff)
downloadscummvm-rg350-991e7d447bd919934002858dad8e8cb4f9dd1eed.tar.gz
scummvm-rg350-991e7d447bd919934002858dad8e8cb4f9dd1eed.tar.bz2
scummvm-rg350-991e7d447bd919934002858dad8e8cb4f9dd1eed.zip
DIRECTOR: Rename Cast class variables to follow our naming conventions
Diffstat (limited to 'engines/director/cast.h')
-rw-r--r--engines/director/cast.h72
1 files changed, 36 insertions, 36 deletions
diff --git a/engines/director/cast.h b/engines/director/cast.h
index 8acbc39acd..213cfbd1c9 100644
--- a/engines/director/cast.h
+++ b/engines/director/cast.h
@@ -51,30 +51,30 @@ enum CastType {
class Cast {
public:
- CastType type;
- Common::Rect initialRect;
- Common::Rect boundingRect;
- Common::Array<Resource> children;
+ CastType _type;
+ Common::Rect _initialRect;
+ Common::Rect _boundingRect;
+ Common::Array<Resource> _children;
- const Graphics::Surface *surface;
+ const Graphics::Surface *_surface;
- byte modified;
+ byte _modified;
};
class BitmapCast : public Cast {
public:
BitmapCast(Common::ReadStreamEndian &stream, uint32 castTag, uint16 version = 2);
- uint16 pitch;
- uint16 regX;
- uint16 regY;
- uint8 flags;
- uint16 someFlaggyThing;
- uint16 unk1, unk2;
+ uint16 _pitch;
+ uint16 _regX;
+ uint16 _regY;
+ uint8 _flags;
+ uint16 _someFlaggyThing;
+ uint16 _unk1, _unk2;
- uint16 bitsPerPixel;
+ uint16 _bitsPerPixel;
- uint32 tag;
+ uint32 _tag;
};
enum ShapeType {
@@ -88,13 +88,13 @@ class ShapeCast : public Cast {
public:
ShapeCast(Common::ReadStreamEndian &stream, uint16 version = 2);
- ShapeType shapeType;
- uint16 pattern;
- byte fgCol;
- byte bgCol;
- byte fillType;
- byte lineThickness;
- byte lineDirection;
+ ShapeType _shapeType;
+ uint16 _pattern;
+ byte _fgCol;
+ byte _bgCol;
+ byte _fillType;
+ byte _lineThickness;
+ byte _lineDirection;
};
enum TextType {
@@ -128,24 +128,24 @@ class TextCast : public Cast {
public:
TextCast(Common::ReadStreamEndian &stream, uint16 version = 2);
- SizeType borderSize;
- SizeType gutterSize;
- SizeType boxShadow;
+ SizeType _borderSize;
+ SizeType _gutterSize;
+ SizeType _boxShadow;
- byte flags1;
- uint32 fontId;
- uint16 fontSize;
- TextType textType;
- TextAlignType textAlign;
- SizeType textShadow;
- byte textSlant;
- Common::Array<TextFlag> textFlags;
- uint16 palinfo1, palinfo2, palinfo3;
+ byte _flags1;
+ uint32 _fontId;
+ uint16 _fontSize;
+ TextType _textType;
+ TextAlignType _textAlign;
+ SizeType _textShadow;
+ byte _textSlant;
+ Common::Array<TextFlag> _textFlags;
+ uint16 _palinfo1, _palinfo2, _palinfo3;
Common::String _ftext;
void importStxt(const Stxt *stxt);
void importRTE(byte* text);
- CachedMacText *cachedMacText;
+ CachedMacText *_cachedMacText;
};
enum ButtonType {
@@ -158,14 +158,14 @@ class ButtonCast : public TextCast {
public:
ButtonCast(Common::ReadStreamEndian &stream, uint16 version = 2);
- ButtonType buttonType;
+ ButtonType _buttonType;
};
class ScriptCast : public Cast {
public:
ScriptCast(Common::ReadStreamEndian &stream, uint16 version = 2);
- uint32 id;
+ uint32 _id;
};