mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 16:59:06 +00:00
FULLPIPE: Added few destructors.
This commit is contained in:
parent
31d26440bd
commit
d09cccd7f2
@ -1020,6 +1020,11 @@ Statics::Statics() {
|
|||||||
_staticsName = 0;
|
_staticsName = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Statics::~Statics() {
|
||||||
|
delete _picture;
|
||||||
|
free(_staticsName);
|
||||||
|
}
|
||||||
|
|
||||||
Statics::Statics(Statics *src, bool reverse) : DynamicPhase(src, reverse) {
|
Statics::Statics(Statics *src, bool reverse) : DynamicPhase(src, reverse) {
|
||||||
_staticsId = src->_staticsId;
|
_staticsId = src->_staticsId;
|
||||||
|
|
||||||
@ -1603,6 +1608,10 @@ DynamicPhase::DynamicPhase() {
|
|||||||
_someY = 0;
|
_someY = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DynamicPhase::~DynamicPhase() {
|
||||||
|
delete _rect;
|
||||||
|
}
|
||||||
|
|
||||||
DynamicPhase::DynamicPhase(DynamicPhase *src, bool reverse) {
|
DynamicPhase::DynamicPhase(DynamicPhase *src, bool reverse) {
|
||||||
_field_7C = src->_field_7C;
|
_field_7C = src->_field_7C;
|
||||||
_field_7E = 0;
|
_field_7E = 0;
|
||||||
@ -1698,6 +1707,10 @@ StaticPhase::StaticPhase() {
|
|||||||
_exCommand = 0;
|
_exCommand = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
StaticPhase::~StaticPhase() {
|
||||||
|
delete _exCommand;
|
||||||
|
}
|
||||||
|
|
||||||
bool StaticPhase::load(MfcArchive &file) {
|
bool StaticPhase::load(MfcArchive &file) {
|
||||||
debug(5, "StaticPhase::load()");
|
debug(5, "StaticPhase::load()");
|
||||||
|
|
||||||
|
@ -56,6 +56,7 @@ class StaticPhase : public Picture {
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
StaticPhase();
|
StaticPhase();
|
||||||
|
virtual ~StaticPhase();
|
||||||
|
|
||||||
virtual bool load(MfcArchive &file);
|
virtual bool load(MfcArchive &file);
|
||||||
|
|
||||||
@ -74,6 +75,7 @@ class DynamicPhase : public StaticPhase {
|
|||||||
public:
|
public:
|
||||||
DynamicPhase();
|
DynamicPhase();
|
||||||
DynamicPhase(DynamicPhase *src, bool reverse);
|
DynamicPhase(DynamicPhase *src, bool reverse);
|
||||||
|
virtual ~DynamicPhase();
|
||||||
|
|
||||||
virtual bool load(MfcArchive &file);
|
virtual bool load(MfcArchive &file);
|
||||||
|
|
||||||
@ -89,6 +91,7 @@ class Statics : public DynamicPhase {
|
|||||||
public:
|
public:
|
||||||
Statics();
|
Statics();
|
||||||
Statics(Statics *src, bool reverse);
|
Statics(Statics *src, bool reverse);
|
||||||
|
virtual ~Statics();
|
||||||
|
|
||||||
virtual bool load(MfcArchive &file);
|
virtual bool load(MfcArchive &file);
|
||||||
Statics *getStaticsById(int itemId);
|
Statics *getStaticsById(int itemId);
|
||||||
|
Loading…
Reference in New Issue
Block a user