diff options
author | nathansmithsmith <nathansmith7@mailfence.com> | 2023-10-27 18:14:02 -0600 |
---|---|---|
committer | nathansmithsmith <nathansmith7@mailfence.com> | 2023-10-27 18:14:02 -0600 |
commit | 4c5b7bdbe8c1cfef9ed7a3ef639f3f83411b2b0e (patch) | |
tree | 015425e000fb05b5ef878a6b11b9b7c9be1383c3 /src/entities/antifaShip.h | |
parent | 4a5bdb90ffdbd9974f86df14893e7287f2faa933 (diff) |
Targeting info on screen
Diffstat (limited to 'src/entities/antifaShip.h')
-rw-r--r-- | src/entities/antifaShip.h | 3 |
1 files changed, 2 insertions, 1 deletions
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; |