aboutsummaryrefslogtreecommitdiff
path: root/engines/fullpipe/statics.h
diff options
context:
space:
mode:
authorColin Snover2017-11-14 13:03:15 -0600
committerEugene Sandulenko2017-11-18 22:35:12 +0100
commit350ddcee102b56029c42016b8c116fc839936e1c (patch)
tree14404e13d8b0d3944da742a7db6f503e193648ff /engines/fullpipe/statics.h
parentc85f409a0b2fa1094ebd1a51c088d2d830383d38 (diff)
downloadscummvm-rg350-350ddcee102b56029c42016b8c116fc839936e1c.tar.gz
scummvm-rg350-350ddcee102b56029c42016b8c116fc839936e1c.tar.bz2
scummvm-rg350-350ddcee102b56029c42016b8c116fc839936e1c.zip
FULLPIPE: Take references instead of pointers for required arguments in statics, remove unnecessary Picture allocation
Diffstat (limited to 'engines/fullpipe/statics.h')
-rw-r--r--engines/fullpipe/statics.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/engines/fullpipe/statics.h b/engines/fullpipe/statics.h
index 24d9fd078f..46b4a4bf9c 100644
--- a/engines/fullpipe/statics.h
+++ b/engines/fullpipe/statics.h
@@ -78,7 +78,7 @@ class DynamicPhase : public StaticPhase {
public:
DynamicPhase();
- DynamicPhase(DynamicPhase *src, bool reverse);
+ DynamicPhase(DynamicPhase &src, bool reverse);
virtual bool load(MfcArchive &file);
@@ -89,12 +89,11 @@ class Statics : public DynamicPhase {
public:
int16 _staticsId;
Common::String _staticsName;
- Picture *_picture;
+ Picture _picture;
public:
Statics();
- Statics(Statics *src, bool reverse);
- virtual ~Statics();
+ Statics(Statics &src, bool reverse);
virtual bool load(MfcArchive &file);
virtual void init();