diff options
Diffstat (limited to 'src/assets.c')
-rw-r--r-- | src/assets.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/assets.c b/src/assets.c index 94c9de2..c11364e 100644 --- a/src/assets.c +++ b/src/assets.c | |||
@@ -92,9 +92,14 @@ enum WAVES { | |||
92 | WAVE_MAX, | 92 | WAVE_MAX, |
93 | }; | 93 | }; |
94 | 94 | ||
95 | #define WAVE_SIZE 4 | ||
95 | #define WAVE_VARS 4 | 96 | #define WAVE_VARS 4 |
96 | 97 | ||
97 | typedef u32 Wave[WAVE_VARS]; | 98 | typedef u32 Wave[WAVE_SIZE]; |
99 | static Wave wave_active = {0}; | ||
100 | static Wave wave_target = {0}; | ||
101 | static int wave_env_ticks = 0; | ||
102 | static int wave_env_decay = 8; | ||
98 | 103 | ||
99 | static const Wave waves[][WAVE_VARS] = { | 104 | static const Wave waves[][WAVE_VARS] = { |
100 | { | 105 | { |