summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/FighterTacticalAI.h
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/FighterTacticalAI.h')
-rw-r--r--StarsEx/FighterTacticalAI.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/StarsEx/FighterTacticalAI.h b/StarsEx/FighterTacticalAI.h
index bda69ec..fd39a05 100644
--- a/StarsEx/FighterTacticalAI.h
+++ b/StarsEx/FighterTacticalAI.h
@@ -11,12 +11,13 @@
Fighter-specific mid-level (tactical) AI
*/
-#ifndef FighterTacticalAI_h
-#define FighterTacticalAI_h
+#pragma once
+
+#include <cstdint>
+
+#include <List.h>
-#include "Types.h"
#include "TacticalAI.h"
-#include "List.h"
// +--------------------------------------------------------------------+
@@ -44,12 +45,7 @@ protected:
virtual int ListSecondariesForTarget(Ship* tgt, List<WeaponGroup>& weps);
bool winchester[4];
- DWORD THREAT_REACTION_TIME;
- DWORD secondary_selection_time;
+ std::uint32_t THREAT_REACTION_TIME;
+ std::uint32_t secondary_selection_time;
int ai_level;
};
-
-// +--------------------------------------------------------------------+
-
-#endif // FighterTacticalAI_h
-