summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/SteerAI.h
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/SteerAI.h')
-rw-r--r--StarsEx/SteerAI.h14
1 files changed, 3 insertions, 11 deletions
diff --git a/StarsEx/SteerAI.h b/StarsEx/SteerAI.h
index d33e492..0f5c887 100644
--- a/StarsEx/SteerAI.h
+++ b/StarsEx/SteerAI.h
@@ -11,13 +11,11 @@
Steering (low-level) Artifical Intelligence class
*/
-#ifndef SteerAI_h
-#define SteerAI_h
+#pragma once
-#include "Types.h"
-#include "SimObject.h"
#include "Director.h"
#include "Geometry.h"
+#include "SimObject.h"
// +--------------------------------------------------------------------+
@@ -109,16 +107,10 @@ protected:
Steer accumulator;
double magnitude;
- DWORD evade_time;
+ std::uint32_t evade_time;
double seek_gain;
double seek_damp;
int ai_type;
};
-
-
-// +--------------------------------------------------------------------+
-
-#endif // SteerAI_h
-