aboutsummaryrefslogtreecommitdiff
path: root/src/entities
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
parenta8e21e0ac702fc7bcdcaf144f384cbce8aae03d0 (diff)
More and more level stuff
Diffstat (limited to 'src/entities')
-rw-r--r--src/entities/soldato.c19
-rw-r--r--src/entities/soldato.h2
2 files changed, 0 insertions, 21 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)
- );
-}
diff --git a/src/entities/soldato.h b/src/entities/soldato.h
index d05a42d..392be54 100644
--- a/src/entities/soldato.h
+++ b/src/entities/soldato.h
@@ -26,6 +26,4 @@ void drawSoldato(Game * game, Entity * entity);
void setSoldatoLeader(Entity * entity1, Entity * entity2);
-void addSoldatoGroupToWorld(Game * game, int groupSize, Vector3 position, Vector3 spacing);
-
#endif