summaryrefslogtreecommitdiffhomepage
path: root/StarsEx/WeaponGroup.h
diff options
context:
space:
mode:
Diffstat (limited to 'StarsEx/WeaponGroup.h')
-rw-r--r--StarsEx/WeaponGroup.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/StarsEx/WeaponGroup.h b/StarsEx/WeaponGroup.h
index a35ba76..3edad1d 100644
--- a/StarsEx/WeaponGroup.h
+++ b/StarsEx/WeaponGroup.h
@@ -11,12 +11,15 @@
Weapon Control Category (Group) class
*/
-#ifndef WeaponGroup_h
-#define WeaponGroup_h
+#pragma once
-#include "Types.h"
+#include <cstdint>
+
+#include <Text.h>
+
+#include "SimObject.h"
+#include "System.h"
#include "Weapon.h"
-#include "Text.h"
// +--------------------------------------------------------------------+
@@ -77,7 +80,7 @@ public:
int Status() const;
WeaponDesign* GetDesign() const;
- bool CanTarget(DWORD tgt_class) const;
+ bool CanTarget(std::uint32_t tgt_class) const;
void PowerOn();
void PowerOff();
@@ -100,6 +103,3 @@ protected:
float mass;
float resist;
};
-
-#endif // WeaponGroup_h
-