aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authornathansmithsmith <thenathansmithsmith@gmail.com>2023-12-12 13:42:12 -0700
committernathansmithsmith <thenathansmithsmith@gmail.com>2023-12-12 13:42:12 -0700
commit70e5f6223139e63ac7d89edfa78931c896b057c7 (patch)
treeefd71972a3054be8ab6d04dc0384603aebb76e20 /src
parent6f7586ab2cfbba32a1baacb5823d653627c1bc7a (diff)
More level 10 stuff
Diffstat (limited to 'src')
-rw-r--r--src/levels/level10.c15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/levels/level10.c b/src/levels/level10.c
index 371928a..f9ce945 100644
--- a/src/levels/level10.c
+++ b/src/levels/level10.c
@@ -15,18 +15,11 @@ void initLevel10(Game * game, Levels * levels) {
Level10 * data = (Level10*)levels->data;
data->stage = 0;
- WorldEntry entries[] = {
- (WorldEntry){ENTITY_ANTIFA, (Vector3){0.0, 0.0, 0.0}, QuaternionIdentity()},
- (WorldEntry){ENTITY_GENERALE, (Vector3){0.0, 0.0, -800.0}, QuaternionIdentity()},
- (WorldEntry){ENTITY_GENERALE, (Vector3){-800.0, -800.0, -800.0}, QuaternionIdentity()}
- };
+ addEntryToWorld(&game->world, game, (WorldEntry){ENTITY_ANTIFA, (Vector3){0.0, 0.0, 0.0}, QuaternionIdentity()});
- addEntriesToWorld(
- &game->world,
- game,
- entries,
- sizeof(entries) / sizeof(WorldEntry)
- );
+ addSoldatoGroupWithLeader(game, ENTITY_MARESCIALLO, 10, (Vector3){-1000.0, 0.0, 0.0}, (Vector3){0.0, -15.0, -15.0});
+ addSoldatoGroupWithLeader(game, ENTITY_CAPORALE, 10, (Vector3){1000.0, 0.0, 0.0}, (Vector3){0.0, 15.0, 15.0});
+ addSoldatoGroupWithLeader(game, ENTITY_CAPORALE, 10, (Vector3){1000.0, -1000.0, 0.0}, (Vector3){0.0, 15.0, 15.0});
}
void closelevel10(Levels * levels) {