diff options
author | quou <quou@disroot.org> | 2023-05-07 20:40:56 +1000 |
---|---|---|
committer | quou <quou@disroot.org> | 2023-05-07 20:40:56 +1000 |
commit | f3ee0b0b2ddcf4484cd61aa2b33e49d9cc35779a (patch) | |
tree | c5a58cc00741e82de16e66e7e12a380a3f16a841 /wave.c | |
parent | 97e79598aa3fbbf7e7b69894964ccb232dfc0347 (diff) |
Work on random things.
Diffstat (limited to 'wave.c')
-rw-r--r-- | wave.c | 45 |
1 files changed, 42 insertions, 3 deletions
@@ -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++; } } |