DIRECTOR: Removed redundant Sprite copy constructor

This commit is contained in:
Eugene Sandulenko 2020-04-11 17:08:45 +02:00
parent a2d7f975a1
commit d6c839dc8c
2 changed files with 0 additions and 43 deletions

View File

@ -67,48 +67,6 @@ Sprite::Sprite() {
_spriteType = 0;
}
Sprite::Sprite(const Sprite &sprite) {
_enabled = sprite._enabled;
_castId = sprite._castId;
_castIndex = sprite._castIndex;
_trails = sprite._trails;
_ink = sprite._ink;
_inkData = sprite._inkData;
_width = sprite._width;
_height = sprite._height;
_startPoint.x = sprite._startPoint.x;
_startPoint.y = sprite._startPoint.y;
_backColor = sprite._backColor;
_foreColor = sprite._foreColor;
_left = sprite._left;
_right = sprite._right;
_top = sprite._top;
_bottom = sprite._bottom;
_visible = sprite._visible;
_movieRate = sprite._movieRate;
_movieTime = sprite._movieTime;
_stopTime = sprite._stopTime;
_volume = sprite._volume;
_stretch = sprite._stretch;
_type = sprite._type;
_cast = sprite._cast;
_constraint = sprite._constraint;
_moveable = sprite._moveable;
_editable = sprite._editable;
_blend = sprite._blend;
_startTime = sprite._startTime;
_thickness = sprite._thickness;
_scriptId = sprite._scriptId;
_scriptCastIndex = sprite._scriptCastIndex;
_colorcode = sprite._colorcode;
_blendAmount = sprite._blendAmount;
_unk3 = sprite._unk3;
_spriteType = sprite._spriteType;
}
Sprite::~Sprite() {
}

View File

@ -60,7 +60,6 @@ enum MainChannelsPosition {
class Sprite {
public:
Sprite();
Sprite(const Sprite &sprite);
~Sprite();
uint16 getPattern();