From 4c5b7bdbe8c1cfef9ed7a3ef639f3f83411b2b0e Mon Sep 17 00:00:00 2001 From: nathansmithsmith Date: Fri, 27 Oct 2023 18:14:02 -0600 Subject: Targeting info on screen --- src/entities/antifaShip.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/entities/antifaShip.h') diff --git a/src/entities/antifaShip.h b/src/entities/antifaShip.h index 89000c7..7474b00 100644 --- a/src/entities/antifaShip.h +++ b/src/entities/antifaShip.h @@ -1,6 +1,7 @@ #include "gameCommon.h" #include "entity.h" #include "bullets.h" +#include "PID.h" #ifndef ANTIFA_SHIP_H #define ANTIFA_SHIP_H @@ -11,7 +12,6 @@ // Auto target shit. #define ANTIFA_START_AUTO_TARGET_MAX 0.5 // How far off auto target can be entail it drops. -#define ANTIFA_AUTO_TARGET_SPEED 100.0 typedef struct AntifaShip { Vector2 lastMouse; @@ -23,6 +23,7 @@ typedef struct AntifaShip { Vector3 gunTarget; bool doAutoTarget; + PID targetingPID; EntityId targetedEntityId; EntityFingerprint targetedEntityFingerprint; } AntifaShip; -- cgit v1.2.3