aboutsummaryrefslogtreecommitdiff
path: root/sound/mods/module.h
diff options
context:
space:
mode:
authorJohannes Schickel2006-10-18 18:34:40 +0000
committerJohannes Schickel2006-10-18 18:34:40 +0000
commitcf60ba63e9a6d2656e3b64378bc8ceee5e5238bc (patch)
tree5a366f084959a11916f8924a53389f80a52ba7ad /sound/mods/module.h
parent169bc3880df8951f6ce8bbcb335ce6da8ad892e3 (diff)
downloadscummvm-rg350-cf60ba63e9a6d2656e3b64378bc8ceee5e5238bc.tar.gz
scummvm-rg350-cf60ba63e9a6d2656e3b64378bc8ceee5e5238bc.tar.bz2
scummvm-rg350-cf60ba63e9a6d2656e3b64378bc8ceee5e5238bc.zip
some cleanup.
svn-id: r24374
Diffstat (limited to 'sound/mods/module.h')
-rw-r--r--sound/mods/module.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/sound/mods/module.h b/sound/mods/module.h
index 3b39f3991e..f16d3eb4f4 100644
--- a/sound/mods/module.h
+++ b/sound/mods/module.h
@@ -21,8 +21,8 @@
*
*/
-#ifndef __SOUND_MODS_MODULE_H__
-#define __SOUND_MODS_MODULE_H__
+#ifndef SOUND_MODS_MODULE_H
+#define SOUND_MODS_MODULE_H
namespace Modules {
@@ -34,15 +34,15 @@ namespace Modules {
* like they are in the file.
*/
-typedef struct {
+struct note_t {
byte sample;
uint16 period;
uint16 effect;
-} note_t;
+};
typedef note_t pattern_t[64][4];
-typedef struct {
+struct sample_t {
byte name[23];
uint16 len;
byte finetune;
@@ -50,7 +50,7 @@ typedef struct {
uint16 repeat;
uint16 replen;
byte *data;
-} sample_t;
+};
class Module {
public: