Updated MetaNames

This commit is contained in:
dexy 2019-11-22 15:50:53 +11:00
parent 0f7f35d28b
commit 1cb94d6ba6
2 changed files with 43 additions and 28 deletions

View File

@ -3566,6 +3566,11 @@ namespace CodeWalker.GameFiles
compDrawableId = 173599222, compDrawableId = 173599222,
propAnchorId = 3598106198, propAnchorId = 3598106198,
compTexId = 2991454271, compTexId = 2991454271,
PRF_CUTOUT = 3395845123,
PRF_DECAL = 3735238938,
PRF_ALPHA = 3757767268,
ANCHOR_PH_L_HAND = 604819740,
ANCHOR_PH_R_HAND = 2358626934,
//occlusion ymt's from Siprus //occlusion ymt's from Siprus
DestRoomIdx = 1028873946, DestRoomIdx = 1028873946,
@ -3692,6 +3697,16 @@ namespace CodeWalker.GameFiles
cloth_upper_waterproof = 3748562816, cloth_upper_waterproof = 3748562816,
upper_cotton = 3438959116, upper_cotton = 3438959116,
//CExtensionDefLightShaft enum value hashes from Siprus
LIGHTSHAFT_VOLUMETYPE_CYLINDER = 462992848,
LIGHTSHAFT_DENSITYTYPE_LINEAR = 152140774,
LIGHTSHAFT_DENSITYTYPE_CONSTANT = 676250331,
LIGHTSHAFT_DENSITYTYPE_QUADRATIC = 1098824079,
LIGHTSHAFT_DENSITYTYPE_QUADRATIC_GRADIENT = 1492299290,
LIGHTSHAFT_DENSITYTYPE_SOFT_SHADOW_HD = 1816804348,
LIGHTSHAFT_DENSITYTYPE_SOFT_SHADOW = 2057886646,
LIGHTSHAFT_DENSITYTYPE_LINEAR_GRADIENT = 2088805984,
LIGHTSHAFT_DENSITYTYPE_SOFT = 2399586564,

View File

@ -1349,19 +1349,19 @@ namespace CodeWalker.GameFiles
); );
case (MetaName)1931949281: case (MetaName)1931949281:
return new MetaEnumInfo((MetaName)1931949281, 3539601182, return new MetaEnumInfo((MetaName)1931949281, 3539601182,
new MetaEnumEntryInfo_s((MetaName)676250331, 0), new MetaEnumEntryInfo_s(MetaName.LIGHTSHAFT_DENSITYTYPE_CONSTANT, 0),
new MetaEnumEntryInfo_s((MetaName)2399586564, 1), new MetaEnumEntryInfo_s(MetaName.LIGHTSHAFT_DENSITYTYPE_SOFT, 1),
new MetaEnumEntryInfo_s((MetaName)2057886646, 2), new MetaEnumEntryInfo_s(MetaName.LIGHTSHAFT_DENSITYTYPE_SOFT_SHADOW, 2),
new MetaEnumEntryInfo_s((MetaName)1816804348, 3), new MetaEnumEntryInfo_s(MetaName.LIGHTSHAFT_DENSITYTYPE_SOFT_SHADOW_HD, 3),
new MetaEnumEntryInfo_s((MetaName)152140774, 4), new MetaEnumEntryInfo_s(MetaName.LIGHTSHAFT_DENSITYTYPE_LINEAR, 4),
new MetaEnumEntryInfo_s((MetaName)2088805984, 5), new MetaEnumEntryInfo_s(MetaName.LIGHTSHAFT_DENSITYTYPE_LINEAR_GRADIENT, 5),
new MetaEnumEntryInfo_s((MetaName)1098824079, 6), new MetaEnumEntryInfo_s(MetaName.LIGHTSHAFT_DENSITYTYPE_QUADRATIC, 6),
new MetaEnumEntryInfo_s((MetaName)1492299290, 7) new MetaEnumEntryInfo_s(MetaName.LIGHTSHAFT_DENSITYTYPE_QUADRATIC_GRADIENT, 7)
); );
case (MetaName)2266515059: case (MetaName)2266515059:
return new MetaEnumInfo((MetaName)2266515059, 4287472345, return new MetaEnumInfo((MetaName)2266515059, 4287472345,
new MetaEnumEntryInfo_s((MetaName)665241531, 0), new MetaEnumEntryInfo_s((MetaName)665241531, 0),
new MetaEnumEntryInfo_s((MetaName)462992848, 1) new MetaEnumEntryInfo_s(MetaName.LIGHTSHAFT_VOLUMETYPE_CYLINDER, 1)
); );
case MetaName.ePedVarComp: case MetaName.ePedVarComp:
return new MetaEnumInfo(MetaName.ePedVarComp, 3472084374, return new MetaEnumInfo(MetaName.ePedVarComp, 3472084374,
@ -1382,9 +1382,9 @@ namespace CodeWalker.GameFiles
); );
case MetaName.ePropRenderFlags: case MetaName.ePropRenderFlags:
return new MetaEnumInfo(MetaName.ePropRenderFlags, 1551913633, return new MetaEnumInfo(MetaName.ePropRenderFlags, 1551913633,
new MetaEnumEntryInfo_s((MetaName)3757767268, 0), new MetaEnumEntryInfo_s(MetaName.PRF_ALPHA, 0),
new MetaEnumEntryInfo_s((MetaName)3735238938, 1), new MetaEnumEntryInfo_s(MetaName.PRF_DECAL, 1),
new MetaEnumEntryInfo_s((MetaName)3395845123, 2) new MetaEnumEntryInfo_s(MetaName.PRF_CUTOUT, 2)
); );
case MetaName.eAnchorPoints: case MetaName.eAnchorPoints:
return new MetaEnumInfo(MetaName.eAnchorPoints, 1309372691, return new MetaEnumInfo(MetaName.eAnchorPoints, 1309372691,
@ -1399,8 +1399,8 @@ namespace CodeWalker.GameFiles
new MetaEnumEntryInfo_s(MetaName.ANCHOR_HIP, 8), new MetaEnumEntryInfo_s(MetaName.ANCHOR_HIP, 8),
new MetaEnumEntryInfo_s(MetaName.ANCHOR_LEFT_FOOT, 9), new MetaEnumEntryInfo_s(MetaName.ANCHOR_LEFT_FOOT, 9),
new MetaEnumEntryInfo_s(MetaName.ANCHOR_RIGHT_FOOT, 10), new MetaEnumEntryInfo_s(MetaName.ANCHOR_RIGHT_FOOT, 10),
new MetaEnumEntryInfo_s((MetaName)604819740, 11), new MetaEnumEntryInfo_s(MetaName.ANCHOR_PH_L_HAND, 11),
new MetaEnumEntryInfo_s((MetaName)2358626934, 12), new MetaEnumEntryInfo_s(MetaName.ANCHOR_PH_R_HAND, 12),
new MetaEnumEntryInfo_s(MetaName.NUM_ANCHORS, 13) new MetaEnumEntryInfo_s(MetaName.NUM_ANCHORS, 13)
); );
case (MetaName)3044470860: case (MetaName)3044470860:
@ -2220,21 +2220,21 @@ namespace CodeWalker.GameFiles
public enum Unk_1931949281 //archetype CExtensionDefLightShaft densityType public enum Unk_1931949281 //archetype CExtensionDefLightShaft densityType
: int //Key:3539601182 : int //Key:3539601182
{ {
Unk_676250331 = 0, LIGHTSHAFT_DENSITYTYPE_CONSTANT = 0,
Unk_2399586564 = 1, LIGHTSHAFT_DENSITYTYPE_SOFT = 1,
Unk_2057886646 = 2, LIGHTSHAFT_DENSITYTYPE_SOFT_SHADOW = 2,
Unk_1816804348 = 3, LIGHTSHAFT_DENSITYTYPE_SOFT_SHADOW_HD = 3,
Unk_152140774 = 4, LIGHTSHAFT_DENSITYTYPE_LINEAR = 4,
Unk_2088805984 = 5, LIGHTSHAFT_DENSITYTYPE_LINEAR_GRADIENT = 5,
Unk_1098824079 = 6, LIGHTSHAFT_DENSITYTYPE_QUADRATIC = 6,
Unk_1492299290 = 7, LIGHTSHAFT_DENSITYTYPE_QUADRATIC_GRADIENT = 7,
} }
public enum Unk_2266515059 //archetype CExtensionDefLightShaft volumeType public enum Unk_2266515059 //archetype CExtensionDefLightShaft volumeType
: int //Key:4287472345 : int //Key:4287472345
{ {
Unk_665241531 = 0, Unk_665241531 = 0,
Unk_462992848 = 1, LIGHTSHAFT_VOLUMETYPE_CYLINDER = 1,
} }
public enum ePedVarComp //component peds CComponentInfo ped accessory / variations slot public enum ePedVarComp //component peds CComponentInfo ped accessory / variations slot
@ -2259,9 +2259,9 @@ namespace CodeWalker.GameFiles
public enum ePropRenderFlags //component peds CPedPropMetaData renderFlags public enum ePropRenderFlags //component peds CPedPropMetaData renderFlags
: int //Key:1551913633 : int //Key:1551913633
{ {
Unk_3757767268 = 0, PRF_ALPHA = 0,
Unk_3735238938 = 1, PRF_DECAL = 1,
Unk_3395845123 = 2, PRF_CUTOUT = 2,
} }
public enum eAnchorPoints //component peds CAnchorProps eAnchorPoints public enum eAnchorPoints //component peds CAnchorProps eAnchorPoints
@ -2278,8 +2278,8 @@ namespace CodeWalker.GameFiles
ANCHOR_HIP = 8, ANCHOR_HIP = 8,
ANCHOR_LEFT_FOOT = 9, ANCHOR_LEFT_FOOT = 9,
ANCHOR_RIGHT_FOOT = 10, ANCHOR_RIGHT_FOOT = 10,
Unk_604819740 = 11, ANCHOR_PH_L_HAND = 11,
Unk_2358626934 = 12, ANCHOR_PH_R_HAND = 12,
NUM_ANCHORS = 13, NUM_ANCHORS = 13,
} }