aboutsummaryrefslogtreecommitdiff
path: root/src/entities/soldato.c
diff options
context:
space:
mode:
authornathansmithsmith <thenathansmithsmith@gmail.com>2023-12-03 01:09:04 -0700
committernathansmithsmith <thenathansmithsmith@gmail.com>2023-12-03 01:09:04 -0700
commit8bd37d4fe75a43deab8d6f24b481c23d7f965c5a (patch)
tree3a606dae6993778919e2ce94c6216d2f8f74d1b2 /src/entities/soldato.c
parenta8e21e0ac702fc7bcdcaf144f384cbce8aae03d0 (diff)
More and more level stuff
Diffstat (limited to 'src/entities/soldato.c')
-rw-r--r--src/entities/soldato.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/entities/soldato.c b/src/entities/soldato.c
index 917a615..3df328e 100644
--- a/src/entities/soldato.c
+++ b/src/entities/soldato.c
@@ -220,22 +220,3 @@ void setSoldatoLeader(Entity * entity1, Entity * entity2) {
leader->follow.followerId = follower->id;
leader->follow.followerFingerprint = follower->fingerprint;
}
-
-void addSoldatoGroupToWorld(Game * game, int groupSize, Vector3 position, Vector3 spacing) {
- int i;
- WorldEntry entries[groupSize];
-
- for (i = 0; i < groupSize; ++i)
- entries[i] = (WorldEntry){
- ENTITY_SOLDATO,
- Vector3Add(position, Vector3Multiply((Vector3){i, i, i}, spacing)),
- QuaternionIdentity()
- };
-
- addEntriesToWorld(
- &game->world,
- game,
- entries,
- sizeof(entries) / sizeof(WorldEntry)
- );
-}