Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
IonAgorria committed Oct 23, 2023
1 parent 255adfc commit 4c7168a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions Source/Scripts/SquadShellEnums.inl
Original file line number Diff line number Diff line change
Expand Up @@ -697,8 +697,6 @@ enum ShellControlID
// SQSH_MAX = 0xFFFFFFFF
};

DECLARE_ENUM_DESCRIPTOR(ShellControlID)

enum SHELL_CONTROL_STATE
{
SQSH_VISIBLE = 1<<0,
Expand Down
1 change: 1 addition & 0 deletions Source/Units/UnitAttribute.h
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ DECLARE_ENUM_DESCRIPTOR(terEffectID)
DECLARE_ENUM_DESCRIPTOR(PlacementStrategy)
DECLARE_ENUM_DESCRIPTOR(ChooseSquadID)
DECLARE_ENUM_DESCRIPTOR(GAME_CONTENT)
DECLARE_ENUM_DESCRIPTOR(ShellControlID)
DECLARE_ENUM_DESCRIPTOR_ENCLOSED(RigidBodyPrm, RigidBodyType)
#endif

Expand Down
4 changes: 2 additions & 2 deletions Source/Util/Serialization.h
Original file line number Diff line number Diff line change
Expand Up @@ -640,8 +640,8 @@ SingletonPrm<Type>
/////////////////////////////////////////////////
// Регистрация enums
/////////////////////////////////////////////////
template<class Enum>
const EnumDescriptor<Enum>& getEnumDescriptor(const Enum& key);
//template<class Enum>
//const EnumDescriptor<Enum>& getEnumDescriptor(const Enum& key);

#define BEGIN_ENUM_DESCRIPTOR(enumType, enumName) \
struct Enum##enumType : EnumDescriptor<enumType> { Enum##enumType(); }; \
Expand Down

0 comments on commit 4c7168a

Please sign in to comment.