diff options
Diffstat (limited to 'src/assets.c')
-rw-r--r-- | src/assets.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/assets.c b/src/assets.c index be4b87c..2569c9e 100644 --- a/src/assets.c +++ b/src/assets.c | |||
@@ -85,24 +85,6 @@ static const u32 note_name_sprites[] = { | |||
85 | // Wave data. | 85 | // Wave data. |
86 | // | 86 | // |
87 | 87 | ||
88 | enum WAVES { | ||
89 | WAVE_SIN, | ||
90 | WAVE_SAW, | ||
91 | WAVE_SQUARE, | ||
92 | WAVE_MAX, | ||
93 | }; | ||
94 | |||
95 | #define WAVE_SIZE 4 | ||
96 | #define WAVE_VARS 4 | ||
97 | |||
98 | typedef u32 Wave[WAVE_SIZE]; | ||
99 | static Wave wave_active = {0}; | ||
100 | // static Wave wave_target = {0}; | ||
101 | // TODO: wave env status: OFF, ATTACK, DECAY | ||
102 | static int wave_env_ticks = 0; | ||
103 | static int wave_env_attack = 8; | ||
104 | static int wave_env_decay = 8; | ||
105 | |||
106 | static const Wave waves[][WAVE_VARS] = { | 88 | static const Wave waves[][WAVE_VARS] = { |
107 | { | 89 | { |
108 | {0xefdebc89, 0x98cbedfe, 0x10214376, 0x67341201}, | 90 | {0xefdebc89, 0x98cbedfe, 0x10214376, 0x67341201}, |