aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb
diff options
context:
space:
mode:
authorHenrik "Henke37" Andersson2019-10-10 21:16:40 +0200
committerEugene Sandulenko2019-10-11 18:10:46 +0200
commit37293f5b3f3c80b3190f058313a3a43403e3a454 (patch)
tree384b2ce42cf130022ad3ea3e7d73b7b4e5f9d46c /engines/hdb
parentb62b3ab8598d7243131c5da853331050ae6d204b (diff)
downloadscummvm-rg350-37293f5b3f3c80b3190f058313a3a43403e3a454.tar.gz
scummvm-rg350-37293f5b3f3c80b3190f058313a3a43403e3a454.tar.bz2
scummvm-rg350-37293f5b3f3c80b3190f058313a3a43403e3a454.zip
HDB: Using the class keyword makes the intended use clearer.
Diffstat (limited to 'engines/hdb')
-rw-r--r--engines/hdb/sound.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/sound.h b/engines/hdb/sound.h
index ebddcb1692..3ae5b3b252 100644
--- a/engines/hdb/sound.h
+++ b/engines/hdb/sound.h
@@ -1456,8 +1456,8 @@ struct SoundCache {
SoundCache() : loaded(SNDMEM_NOTCACHED), size(0), name(nullptr), luaName(nullptr), ext(SNDTYPE_NONE), data(nullptr) {}
};
-struct Song {
-
+class Song {
+public:
Song() : _playing(false), _song(SONG_NONE),
fadingOut(false), fadeOutVol(0), fadeOutRamp(0),
fadingIn(false), fadeInVol(0), fadeInRamp(0) {}