From 8430b662a99d96100fbeb3428a61595444fc3526 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 21 Feb 2009 22:06:42 +0000 Subject: SCI: Changed typedef struct -> struct svn-id: r38752 --- engines/sci/sfx/softseq/amiga.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'engines/sci/sfx/softseq') 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; -- cgit v1.2.3