diff options
author | nathansmithsmith <nathansmith7@mailfence.com> | 2023-10-28 15:54:52 -0600 |
---|---|---|
committer | nathansmithsmith <nathansmith7@mailfence.com> | 2023-10-28 15:54:52 -0600 |
commit | 60fce38926856e1842aab7c14be99336f34b733f (patch) | |
tree | 572eb55b0966c9e6f360417cb3b1ab689a64183f /src/entities/antifaShip.h | |
parent | fa14227560c9be143b7c26ada4e41c6636966896 (diff) |
Using distance from target for targeting speed now
Diffstat (limited to 'src/entities/antifaShip.h')
-rw-r--r-- | src/entities/antifaShip.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/entities/antifaShip.h b/src/entities/antifaShip.h index 7474b00..ce5c71f 100644 --- a/src/entities/antifaShip.h +++ b/src/entities/antifaShip.h @@ -1,7 +1,6 @@ #include "gameCommon.h" #include "entity.h" #include "bullets.h" -#include "PID.h" #ifndef ANTIFA_SHIP_H #define ANTIFA_SHIP_H @@ -12,6 +11,7 @@ // Auto target shit. #define ANTIFA_START_AUTO_TARGET_MAX 0.5 // How far off auto target can be entail it drops. +#define ANTIFA_TARGETING_SPEED 0.5 typedef struct AntifaShip { Vector2 lastMouse; @@ -23,7 +23,6 @@ typedef struct AntifaShip { Vector3 gunTarget; bool doAutoTarget; - PID targetingPID; EntityId targetedEntityId; EntityFingerprint targetedEntityFingerprint; } AntifaShip; |