Skip to content

Commit

Permalink
Update environment namespaces (LostArtefacts#655)
Browse files Browse the repository at this point in the history
  • Loading branch information
lahm86 authored May 4, 2024
1 parent ff10b3c commit c1b497f
Show file tree
Hide file tree
Showing 153 changed files with 219 additions and 313 deletions.
Binary file modified Deps/TRGE.Coord.dll
Binary file not shown.
5 changes: 2 additions & 3 deletions TRDataControl/Environment/EMEditorMapping.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
using Newtonsoft.Json;
using TREnvironmentEditor.Model;
using TREnvironmentEditor.Parsing;
using TRDataControl.Environment.Parsing;

namespace TREnvironmentEditor;
namespace TRDataControl.Environment;

public class EMEditorMapping
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Helpers/EMDirection.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TREnvironmentEditor.Helpers;
namespace TRDataControl.Environment;

public enum Direction
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Helpers/EMEntityFinder.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using TRLevelControl.Helpers;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Helpers;
namespace TRDataControl.Environment;

public class EMEntityFinder
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Helpers/EMEntityType.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TREnvironmentEditor.Helpers;
namespace TRDataControl.Environment;

public enum EMEntityType
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Helpers/EMExclusionMode.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TREnvironmentEditor.Helpers;
namespace TRDataControl.Environment;

public enum EMExclusionMode
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Helpers/EMLevelData.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TRLevelControl.Model;

namespace TREnvironmentEditor.Helpers;
namespace TRDataControl.Environment;

public class EMLevelData
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Helpers/EMLocation.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TRLevelControl.Model;

namespace TREnvironmentEditor.Helpers;
namespace TRDataControl.Environment;

public class EMLocation : ITRLocatable
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Helpers/EMLocationExpander.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TRLevelControl;

namespace TREnvironmentEditor.Helpers;
namespace TRDataControl.Environment;

public class EMLocationExpander
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Helpers/EMLocationUtilities.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using TRLevelControl.Helpers;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Helpers;
namespace TRDataControl.Environment;

public static class EMLocationUtilities
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Helpers/EMMeshTextureData.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.ComponentModel;

namespace TREnvironmentEditor.Helpers;
namespace TRDataControl.Environment;

public class EMMeshTextureData
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Helpers/EMOptions.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TREnvironmentEditor.Helpers;
namespace TRDataControl.Environment;

public class EMOptions
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Helpers/EMRoomDefinition.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TRLevelControl.Model;

namespace TREnvironmentEditor.Helpers;
namespace TRDataControl.Environment;

public class EMRoomDefinition<R> where R : class
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Helpers/EMRoomLight.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TRLevelControl.Model;

namespace TREnvironmentEditor.Helpers;
namespace TRDataControl.Environment;

public class EMRoomLight
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Helpers/EMRoomVertex.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TREnvironmentEditor.Helpers;
namespace TRDataControl.Environment;

public class EMRoomVertex
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Helpers/EMTag.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TREnvironmentEditor.Helpers;
namespace TRDataControl.Environment;

public enum EMTag
{
Expand Down
3 changes: 1 addition & 2 deletions TRDataControl/Environment/Helpers/EMTextureGroup.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using System.ComponentModel;
using TREnvironmentEditor.Model.Types;
using TRLevelControl;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Helpers;
namespace TRDataControl.Environment;

public class EMTextureGroup
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Helpers/EMTextureMap.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TREnvironmentEditor.Helpers;
namespace TRDataControl.Environment;

// Texture index => room index => rect/tri indices
public class EMTextureMap : Dictionary<ushort, EMGeometryMap>
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Helpers/EMTrigger.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TRLevelControl.Model;

namespace TREnvironmentEditor.Helpers;
namespace TRDataControl.Environment;

// This is redundant now - to be eliminated
public class EMTrigger
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Helpers/EMTriggerAction.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TRLevelControl.Model;

namespace TREnvironmentEditor.Helpers;
namespace TRDataControl.Environment;

public class EMTriggerAction
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Helpers/EMVisibilityPortal.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TRLevelControl.Model;

namespace TREnvironmentEditor.Helpers;
namespace TRDataControl.Environment;

public class EMVisibilityPortal
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Model/BaseEMCondition.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Newtonsoft.Json;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model;
namespace TRDataControl.Environment;

public abstract class BaseEMCondition
{
Expand Down
3 changes: 1 addition & 2 deletions TRDataControl/Environment/Model/BaseEMFunction.cs
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
using Newtonsoft.Json;
using TREnvironmentEditor.Helpers;
using TRLevelControl;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model;
namespace TRDataControl.Environment;

public abstract class BaseEMFunction
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model.Conditions;
namespace TRDataControl.Environment;

public class EMEntityPropertyCondition : BaseEMCondition
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using TRLevelControl.Helpers;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model.Conditions;
namespace TRDataControl.Environment;

public class EMSecretRoomCondition : BaseEMCondition
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model.Conditions;
namespace TRDataControl.Environment;

public class EMModelExistsCondition : BaseEMCondition
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model.Conditions;
namespace TRDataControl.Environment;

public class EMUnconditionalBirdCheck : BaseEMCondition
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using TREnvironmentEditor.Helpers;
using TRLevelControl.Model;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model.Conditions;
namespace TRDataControl.Environment;

public class EMRoomContainsWaterCondition : BaseEMCondition
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using TREnvironmentEditor.Helpers;
using TRLevelControl.Model;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model.Conditions;
namespace TRDataControl.Environment;

public class EMSectorContainsSecretCondition : BaseEMCondition
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
using TREnvironmentEditor.Helpers;
using TRLevelControl;
using TRLevelControl;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model.Conditions;
namespace TRDataControl.Environment;

public class EMSectorIsWallCondition : BaseEMCondition
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Model/EMConditionType.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TREnvironmentEditor.Model;
namespace TRDataControl.Environment;

public enum EMConditionType
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Model/EMConditionalEditorSet.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model;
namespace TRDataControl.Environment;

public class EMConditionalEditorSet
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Model/EMConditionalGroupedSet.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model;
namespace TRDataControl.Environment;

public class EMConditionalGroupedSet : ITextureModifier
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using TREnvironmentEditor.Helpers;
using TRLevelControl.Model;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model;
namespace TRDataControl.Environment;

public class EMConditionalSingleEditorSet : ITextureModifier
{
Expand Down
5 changes: 2 additions & 3 deletions TRDataControl/Environment/Model/EMEditorGroupedSet.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using TREnvironmentEditor.Helpers;
using TRLevelControl.Model;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model;
namespace TRDataControl.Environment;

public class EMEditorGroupedSet : ITextureModifier
{
Expand Down
5 changes: 2 additions & 3 deletions TRDataControl/Environment/Model/EMEditorSet.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using TREnvironmentEditor.Helpers;
using TRLevelControl.Model;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model;
namespace TRDataControl.Environment;

public class EMEditorSet : List<BaseEMFunction>, ITextureModifier
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Model/EMType.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TREnvironmentEditor.Model;
namespace TRDataControl.Environment;

public enum EMType
{
Expand Down
2 changes: 1 addition & 1 deletion TRDataControl/Environment/Model/ITextureModifier.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace TREnvironmentEditor.Model;
namespace TRDataControl.Environment;

public interface ITextureModifier
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model.Types;
namespace TRDataControl.Environment;

public class EMPlaceholderFunction : BaseEMFunction
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using TREnvironmentEditor.Helpers;
using TRLevelControl.Model;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model.Types;
namespace TRDataControl.Environment;

public abstract class BaseMoveTriggerableFunction : BaseEMFunction
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using TREnvironmentEditor.Helpers;
using TRLevelControl.Model;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model.Types;
namespace TRDataControl.Environment;

public class EMAddDoppelgangerFunction : EMAddEntityFunction
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using TREnvironmentEditor.Helpers;
using TRLevelControl.Model;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model.Types;
namespace TRDataControl.Environment;

public class EMAddEntityFunction : BaseEMFunction
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using TREnvironmentEditor.Helpers;
using TRLevelControl.Model;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model.Types;
namespace TRDataControl.Environment;

public class EMAdjustEntityPositionFunction : BaseEMFunction
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
using TREnvironmentEditor.Helpers;
using TRLevelControl.Helpers;
using TRLevelControl.Helpers;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model.Types;
namespace TRDataControl.Environment;

public class EMConvertEnemyFunction : BaseEMFunction
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using TREnvironmentEditor.Helpers;
using TRLevelControl.Model;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model.Types;
namespace TRDataControl.Environment;

public class EMConvertEntityFunction : BaseEMFunction
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using TREnvironmentEditor.Helpers;
using TRLevelControl.Model;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model.Types;
namespace TRDataControl.Environment;

public class EMConvertWheelDoorFunction : BaseEMFunction
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using TREnvironmentEditor.Helpers;
using TRLevelControl.Model;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model.Types;
namespace TRDataControl.Environment;

public class EMModifyEntityFunction : BaseEMFunction
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using TRLevelControl.Helpers;
using TRLevelControl.Model;

namespace TREnvironmentEditor.Model.Types;
namespace TRDataControl.Environment;

public class EMMoveEnemyFunction : BaseMoveTriggerableFunction
{
Expand Down
Loading

0 comments on commit c1b497f

Please sign in to comment.