aboutsummaryrefslogtreecommitdiff
path: root/src/entity.c
diff options
context:
space:
mode:
authornathansmithsmith <thenathansmithsmith@gmail.com>2023-07-13 20:57:32 -0600
committernathansmithsmith <thenathansmithsmith@gmail.com>2023-07-13 20:57:32 -0600
commit9eeb5293fc0d022298fb772338241aa7e8672dac (patch)
treed6ddbaf8f0398d6c83125a64a8c42e1c71ea48b4 /src/entity.c
parentf368f2811a3f8ca0a4b9572b300358bd17d8dac1 (diff)
Half working mussolini
Diffstat (limited to 'src/entity.c')
-rw-r--r--src/entity.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/entity.c b/src/entity.c
index 956c40f..0d91ac8 100644
--- a/src/entity.c
+++ b/src/entity.c
@@ -1,9 +1,13 @@
#include "entity.h"
+
+// Entities.
#include "entities/antifaShip.h"
#include "entities/soldato.h"
#include "entities/caporale.h"
#include "entities/sergente.h"
#include "entities/maresciallo.h"
+#include "entities/generale.h"
+#include "entities/mussolini.h"
// This fucker is used for creating entities.
const EntityTypeInfo entityTypeInfo[ENTITY_TYPE_COUNT] = {
@@ -11,7 +15,9 @@ const EntityTypeInfo entityTypeInfo[ENTITY_TYPE_COUNT] = {
(EntityTypeInfo){initSoldato, closeSoldato, updateSoldato, drawSoldato},
(EntityTypeInfo){initCaporale, closeCaporale, updateCaporale, drawCaporale},
(EntityTypeInfo){initSergente, closeSergente, updateSergente, drawSergente},
- (EntityTypeInfo){initMaresciallo, closeMaresciallo, updateMaresciallo, drawMaresciallo}
+ (EntityTypeInfo){initMaresciallo, closeMaresciallo, updateMaresciallo, drawMaresciallo},
+ (EntityTypeInfo){initGenerale, closeGenerale, updateGenerale, drawGenerale},
+ (EntityTypeInfo){initMussolini, closeMussolini, updateMussolini, drawMussolini}
};
EntityVelocity entityVelocityIdentity() {