aboutsummaryrefslogtreecommitdiff
path: root/saga/sndres.h
diff options
context:
space:
mode:
authorPaweł Kołodziejski2004-05-01 16:15:55 +0000
committerPaweł Kołodziejski2004-05-01 16:15:55 +0000
commit0af53f3c97075e380aab15bcc8dd7126b05bd9c4 (patch)
treea2f929125159a287518df2a70f11d58561dd954e /saga/sndres.h
parentd84d93b5d0709e95dec412fe8c9b4e5c2dfa9e2e (diff)
downloadscummvm-rg350-0af53f3c97075e380aab15bcc8dd7126b05bd9c4.tar.gz
scummvm-rg350-0af53f3c97075e380aab15bcc8dd7126b05bd9c4.tar.bz2
scummvm-rg350-0af53f3c97075e380aab15bcc8dd7126b05bd9c4.zip
indent
svn-id: r13715
Diffstat (limited to 'saga/sndres.h')
-rw-r--r--saga/sndres.h33
1 files changed, 14 insertions, 19 deletions
diff --git a/saga/sndres.h b/saga/sndres.h
index 759a62ee0d..23b144b632 100644
--- a/saga/sndres.h
+++ b/saga/sndres.h
@@ -20,13 +20,8 @@
* $Header$
*
*/
-/*
- Description:
-
- Sound resource class header
- Notes:
-*/
+// Sound resource class header
#ifndef SAGA_SNDRES_H_
#define SAGA_SNDRES_H_
@@ -44,30 +39,30 @@ namespace Saga {
#define R_VOC_FILE_DESC "Creative Voice File\x1A"
struct R_VOC_HEADER_BLOCK {
- char ft_desc[20]; /* BYTE [20] */
- uint16 db_offset; /* WORD */
- uint16 voc_version; /* WORD */
- uint16 voc_fileid; /* WORD */
+ char ft_desc[20]; // BYTE [20]
+ uint16 db_offset; // WORD
+ uint16 voc_version;// WORD
+ uint16 voc_fileid; // WORD
};
#define R_VOC_HEADER_BLOCK_LEN 26
struct R_VOC_GENBLOCK {
- int block_id; /* BYTE */
- uint32 block_len; /* BYTE[3] */
+ int block_id; // BYTE
+ uint32 block_len; // BYTE[3]
};
#define R_VOC_GENBLOCK_LEN 4
struct R_VOC_BLOCK1 {
- int block_id; /* BYTE */
- uint32 block_len; /* BYTE[3] */
- uint16 time_constant; /* BYTE */
- int pack_method; /* BYTE */
+ int block_id; // BYTE
+ uint32 block_len; // BYTE[3]
+ uint16 time_constant; // BYTE
+ int pack_method; // BYTE
};
class SndRes {
- public:
+public:
SndRes(SagaEngine *vm);
@@ -89,8 +84,8 @@ class SndRes {
R_GAME_SOUNDINFO _snd_info;
SagaEngine *_vm;
- };
+};
} // End of namespace Saga
-#endif /* SAGA_SNDRES_H_ */
+#endif