aboutsummaryrefslogtreecommitdiff
path: root/wave.c
diff options
context:
space:
mode:
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++;
}
}