Skip to content

Commit ded8a7c

Browse files
committed
add cryo enums
1 parent 1865364 commit ded8a7c

4 files changed

Lines changed: 7 additions & 1 deletion

File tree

GeneralsMD/Code/GameEngine/Include/GameClient/TintStatus.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ enum TintStatus CPP_11(: Int)
3838
TINT_STATUS_EXTRA8,
3939
TINT_STATUS_EXTRA9,
4040
TINT_STATUS_EXTRA10,
41+
TINT_STATUS_FROZEN,
4142

4243
TINT_STATUS_COUNT // Keep this last
4344
};

GeneralsMD/Code/GameEngine/Include/GameLogic/Damage.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ enum DamageType CPP_11(: Int)
9999
DAMAGE_TESLA,
100100
DAMAGE_JET_TORPEDO,
101101
DAMAGE_ANTI_SHIP,
102+
DAMAGE_CRYO,
102103

103104
// Specific damage types with special logic attached
104105
DAMAGE_TORPEDO, ///< can only attack units over water
@@ -217,6 +218,7 @@ enum DeathType CPP_11(: Int)
217218

218219
//New Death Types
219220
DEATH_CHRONO,
221+
DEATH_CRYO,
220222

221223
DEATH_NUM_TYPES // keep this last
222224
};
@@ -246,7 +248,8 @@ static const char *const TheDeathNames[] =
246248
"EXTRA_8",
247249
"POISONED_GAMMA",
248250
//New:
249-
"CHRONO",
251+
"CHRONO",
252+
"CRYO",
250253

251254
nullptr
252255
};

GeneralsMD/Code/GameEngine/Source/GameClient/Drawable.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ const char* const TintStatusFlags::s_bitNameList[] =
134134
"GAINING_CHRONO_DAMAGE",
135135
"FORCE_FIELD",
136136
"IRON_CURTAIN",
137+
"FROZEN",
137138
"EXTRA1",
138139
"EXTRA2",
139140
"EXTRA3",

GeneralsMD/Code/GameEngine/Source/GameLogic/System/Damage.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ const char* const DamageTypeFlags::s_bitNameList[] =
9595
"TESLA",
9696
"JET_TORPEDO",
9797
"ANTI_SHIP",
98+
"CRYO",
9899
// Specific damage types with special logic attached
99100
"TORPEDO",
100101
"ANTI_TORPEDO",

0 commit comments

Comments
 (0)