Skip to content

Commit 5877dc2

Browse files
committed
Update TR2X guids
This adds guids for the bear and wolf in TR2 Golden Mask (matching the equivalent in TR1) and creates a new guid for the monk type in GM that has no shadow.
1 parent b9d298d commit 5877dc2

File tree

2 files changed

+13
-5
lines changed

2 files changed

+13
-5
lines changed

TRLevelControl/Helpers/TRXGuid.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -478,6 +478,9 @@ public static Guid Get(TRGameVersion version, int type)
478478
[(int)TR2Type.LaraCutscenePlacement_N] = new("604407b7-fce9-4042-9268-9269a191f615"),
479479
[(int)TR2Type.ShotgunShowerAnimation_H] = new("c3c56053-16cd-4bff-9892-dc2f816d8897"),
480480
[(int)TR2Type.DragonExplosionEmitter_N] = new("78bde34c-13f0-4fb0-8407-c7dfc3c2e3fb"),
481+
[(int)TR2Type.Bear] = new("fbf6c19f-80aa-4790-baba-9dadb09d4f82"),
482+
[(int)TR2Type.Wolf] = new("6b3b8413-7ac3-4728-9e4b-e15e64e1e40c"),
483+
[(int)TR2Type.MonkWithNoShadow] = new("28271d92-b65b-44a2-9156-24ab1a7c41b2"),
481484
},
482485
};
483486
}

TRLevelControl/Model/TR2/Enums/TR2Type.cs

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -275,10 +275,15 @@ public enum TR2Type : uint
275275
ShotgunShowerAnimation_H = 263,
276276
DragonExplosionEmitter_N = 264,
277277

278-
// Scenery
279-
Plant0 = 265,
280-
Plant1 = 266,
281-
Plant2 = 267,
278+
// TRX
279+
Bear = 265,
280+
Wolf = 266,
281+
MonkWithNoShadow = 267,
282+
283+
// Scenery - TODO: get rid of defined statics
284+
Plant0 = Bear,
285+
Plant1 = Wolf,
286+
Plant2 = MonkWithNoShadow,
282287
Plant3 = 268,
283288
Plant4 = 269,
284289
Plant5 = 270,
@@ -326,7 +331,7 @@ public enum TR2Type : uint
326331
Debris7 = 312,
327332
Debris8 = 313,
328333
Debris9 = 314,
329-
SceneryBase = Plant0,
334+
SceneryBase = Bear,
330335

331336
// Alias entries
332337
BengalTiger = 1000,

0 commit comments

Comments
 (0)