summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/StarshipAI.h
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/StarshipAI.h')
-rw-r--r--StarsEx/StarshipAI.h16
1 files changed, 5 insertions, 11 deletions
diff --git a/StarsEx/StarshipAI.h b/StarsEx/StarshipAI.h
index d84380e..a186997 100644
--- a/StarsEx/StarshipAI.h
+++ b/StarsEx/StarshipAI.h
@@ -11,13 +11,12 @@
Starship (low-level) Artifical Intelligence class
*/
-#ifndef StarshipAI_h
-#define StarshipAI_h
+#pragma once
+
+#include <cstdint>
-#include "Types.h"
#include "ShipAI.h"
-// +--------------------------------------------------------------------+
class StarshipAI : public ShipAI
{
@@ -49,13 +48,8 @@ protected:
System* SelectSubtarget();
bool AssessTargetPointDefense();
- DWORD sub_select_time;
- DWORD point_defense_time;
+ std::uint32_t sub_select_time;
+ std::uint32_t point_defense_time;
System* subtarget;
bool tgt_point_defense;
};
-
-// +--------------------------------------------------------------------+
-
-#endif // StarshipAI_h
-