diff options
author | Max Horn | 2009-02-21 22:06:42 +0000 |
---|---|---|
committer | Max Horn | 2009-02-21 22:06:42 +0000 |
commit | 8430b662a99d96100fbeb3428a61595444fc3526 (patch) | |
tree | 2c0421af6635c6496905d6fb95c8e9de2a0487c4 /engines/sci/sfx/softseq | |
parent | da190b30fcf79edb14b58e560b243f797fb17820 (diff) | |
download | scummvm-rg350-8430b662a99d96100fbeb3428a61595444fc3526.tar.gz scummvm-rg350-8430b662a99d96100fbeb3428a61595444fc3526.tar.bz2 scummvm-rg350-8430b662a99d96100fbeb3428a61595444fc3526.zip |
SCI: Changed typedef struct -> struct
svn-id: r38752
Diffstat (limited to 'engines/sci/sfx/softseq')
-rw-r--r-- | engines/sci/sfx/softseq/amiga.cpp | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/engines/sci/sfx/softseq/amiga.cpp b/engines/sci/sfx/softseq/amiga.cpp index 95b82d586f..a6926b2101 100644 --- a/engines/sci/sfx/softseq/amiga.cpp +++ b/engines/sci/sfx/softseq/amiga.cpp @@ -48,19 +48,19 @@ namespace Sci { /* #define DEBUG */ -typedef struct envelope { +struct envelope_t { /* Phase period length in samples */ int length; /* Velocity delta per period */ int delta; /* Target velocity */ int target; -} envelope_t; +}; /* Fast decay envelope */ static envelope_t env_decay = {FREQUENCY / (32 * 64), 1, 0}; -typedef struct instrument { +struct instrument_t { char name[30]; int mode; /* Size of non-looping part in bytes */ @@ -73,15 +73,15 @@ typedef struct instrument { envelope_t envelope[4]; int8 *samples; int8 *loop; -} instrument_t; +}; -typedef struct bank { +struct bank_t { char name[30]; int size; instrument_t *instruments[256]; -} bank_t; +}; -typedef struct channel { +struct channel_t { int instrument; int note; int note_velocity; @@ -94,13 +94,13 @@ typedef struct channel { int hw_channel; frac_t offset; frac_t rate; -} channel_t; +}; -typedef struct hw_channel { +struct hw_channel_t { int instrument; int volume; int pan; -} hw_channel_t; +}; /* Instrument bank */ static bank_t bank; |