aboutsummaryrefslogtreecommitdiff
path: root/scumm/player_v2a.h
diff options
context:
space:
mode:
authorMax Horn2003-10-03 23:34:06 +0000
committerMax Horn2003-10-03 23:34:06 +0000
commitad293a5ab8bf59f9535a4e8fbb3681c76f28128e (patch)
treed622de229789fe7258d36fcf4ffec6892a2e4de1 /scumm/player_v2a.h
parentc3d84b1a14b787ba9037b71f11d601d6e40fb4f7 (diff)
downloadscummvm-rg350-ad293a5ab8bf59f9535a4e8fbb3681c76f28128e.tar.gz
scummvm-rg350-ad293a5ab8bf59f9535a4e8fbb3681c76f28128e.tar.bz2
scummvm-rg350-ad293a5ab8bf59f9535a4e8fbb3681c76f28128e.zip
cleanup / doxygenification
svn-id: r10578
Diffstat (limited to 'scumm/player_v2a.h')
-rw-r--r--scumm/player_v2a.h20
1 files changed, 13 insertions, 7 deletions
diff --git a/scumm/player_v2a.h b/scumm/player_v2a.h
index f54495cf98..e3fec9b27d 100644
--- a/scumm/player_v2a.h
+++ b/scumm/player_v2a.h
@@ -32,11 +32,12 @@ class SoundMixer;
namespace Scumm {
-#define V2A_MAXSLOTS 8
-
class ScummEngine;
class V2A_Sound;
+/**
+ * V2 Amiga sound/music driver.
+ */
class Player_V2A : public MusicEngine {
public:
Player_V2A(ScummEngine *scumm);
@@ -50,17 +51,22 @@ public:
virtual int getSoundStatus(int sound) const;
private:
- OSystem *_system;
- ScummEngine *_scumm;
- Player_MOD *_mod;
+ enum {
+ V2A_MAXSLOTS = 8
+ };
struct soundSlot
{
int id;
V2A_Sound *sound;
- } _slot[V2A_MAXSLOTS];
- int getSoundSlot (int id = 0) const;
+ };
+ OSystem *_system;
+ ScummEngine *_scumm;
+ Player_MOD *_mod;
+ soundSlot _slot[V2A_MAXSLOTS];
+
+ int getSoundSlot (int id = 0) const;
static void update_proc(void *param);
void updateSound();
};