forked from LostArtefacts/TR-Rando
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This updates the model builder to support TR4 and TR5 remastered, which has some changes in frame rotations and "null" model entries.
- Loading branch information
Showing
8 changed files
with
112 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using TRLevelControl.Build; | ||
using TRLevelControl.Model; | ||
|
||
namespace TRLevelControl; | ||
|
||
public class TR4PDPControl : TRPDPControlBase<TR4Type> | ||
{ | ||
public TR4PDPControl(ITRLevelObserver observer = null) | ||
: base(observer) { } | ||
|
||
protected override TRModelBuilder<TR4Type> CreateBuilder() | ||
=> new(TRGameVersion.TR4, TRModelDataType.PDP, null, true); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
using TRLevelControl.Build; | ||
using TRLevelControl.Model; | ||
|
||
namespace TRLevelControl; | ||
|
||
public class TR5PDPControl : TRPDPControlBase<TR5Type> | ||
{ | ||
public TR5PDPControl(ITRLevelObserver observer = null) | ||
: base(observer) { } | ||
|
||
protected override TRModelBuilder<TR5Type> CreateBuilder() | ||
=> new(TRGameVersion.TR5, TRModelDataType.PDP, null, true); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
|
||
public enum TRAngleMode | ||
{ | ||
Auto = -1, | ||
All = 0, | ||
X = 0x4000, | ||
Y = 0x8000, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters