From f3ee0b0b2ddcf4484cd61aa2b33e49d9cc35779a Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 7 May 2023 20:40:56 +1000 Subject: Work on random things. --- wave.c | 45 ++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 42 insertions(+), 3 deletions(-) (limited to 'wave.c') diff --git a/wave.c b/wave.c index e6f4e44..f10d27f 100644 --- a/wave.c +++ b/wave.c @@ -11,7 +11,7 @@ static const Wave waves[] = { 2, { { 3, 5 }, - { 15, 15 }, + { 15, 15 } } } }, @@ -25,7 +25,7 @@ static const Wave waves[] = { 2, { { 3, 5 }, - { 15, 15 }, + { 15, 15 } } }, { @@ -35,12 +35,50 @@ static const Wave waves[] = { { 30, 30 }, { 15, 20 }, { 23, 5 }, - { 6, 4 }, + { 6, 4 } } }, }, 2, 6 + }, + { + { + { + 30, + 2, + { + { 6, 16 }, + { 18, 8 } + } + }, + { + 100, + 2, + { + { 12, 4 }, + { 27, 7 } + } + }, + { + 100, + 2, + { + { 11, 7 }, + { 21, 26 } + } + }, + { + 100, + 2, + { + { 2, 24 }, + { 14, 22 } + } + }, + }, + 4, + 8 } }; @@ -86,6 +124,7 @@ void update_waver(Waver* waver, World* world) { (spawn->y * map_tile_size) << fbits ); } + waver->timer = 0; waver->sidx++; } } -- cgit v1.2.3-54-g00ecf