aboutsummaryrefslogtreecommitdiff
path: root/wave.c
diff options
context:
space:
mode:
authorquou <quou@disroot.org>2023-05-07 20:40:56 +1000
committerquou <quou@disroot.org>2023-05-07 20:40:56 +1000
commitf3ee0b0b2ddcf4484cd61aa2b33e49d9cc35779a (patch)
treec5a58cc00741e82de16e66e7e12a380a3f16a841 /wave.c
parent97e79598aa3fbbf7e7b69894964ccb232dfc0347 (diff)
Work on random things.
Diffstat (limited to 'wave.c')
-rw-r--r--wave.c45
1 files changed, 42 insertions, 3 deletions
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++;
}
}