mirror of
https://github.com/simtactics/SimAINet.git
synced 2025-03-24 12:39:07 +00:00
Renamed to SimAI
This commit is contained in:
parent
6c0d63d4bb
commit
6c6dee2246
21 changed files with 38 additions and 34 deletions
12
README.md
12
README.md
|
@ -1,19 +1,19 @@
|
||||||
# SimAntics
|
# SimAI
|
||||||
|
|
||||||
SimAntics is a port of FreeSO's reimplementation to .NET Standard.
|
SimAI is a port of FreeSO's reimplementation to .NET Standard.
|
||||||
|
|
||||||
## Build Status
|
## Build Status
|
||||||
|
|
||||||
| Service | Status |
|
| Service | Status |
|
||||||
| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
|
||||||
| Github | [](https://github.com/simtactics/SimAntics/actions) |
|
| Github | [](https://github.com/simtactics/SimAI/actions) |
|
||||||
|
|
||||||
## Authors
|
## Authors
|
||||||
|
|
||||||
- **Anthony Foxclaw** - _Maintainer_ - [tonytins](https://github.com/tonytins)
|
- **Anthony Foxclaw** - _Maintainer_ - [tonytins](https://github.com/tonytins)
|
||||||
- **Rhys Simpson** - _Original work_ - [riperiperi](https://github.com/riperiperi)
|
- **Rhys Simpson** - _Original work_ - [riperiperi](https://github.com/riperiperi)
|
||||||
|
|
||||||
See also the list of [contributors](https://github.com/simtactics/SimAntics/contributors) who participated in this project.
|
See also the list of [contributors](https://github.com/simtactics/SimAI/contributors) who participated in this project.
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
|
|
@ -4,6 +4,8 @@
|
||||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||||
|
|
||||||
<IsPackable>false</IsPackable>
|
<IsPackable>false</IsPackable>
|
||||||
|
|
||||||
|
<RootNamespace>SimAntics.Tests</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -18,7 +20,7 @@
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\SimAntics\SimAntics.csproj" />
|
<ProjectReference Include="..\SimAI\SimAI.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
|
@ -2,7 +2,7 @@ using System;
|
||||||
using System.Diagnostics;
|
using System.Diagnostics;
|
||||||
using Xunit;
|
using Xunit;
|
||||||
|
|
||||||
namespace SimAntics.Tests
|
namespace SimAI.Tests
|
||||||
{
|
{
|
||||||
public class UnitTest1
|
public class UnitTest1
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
||||||
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
||||||
// http://mozilla.org/MPL/2.0/.
|
// http://mozilla.org/MPL/2.0/.
|
||||||
namespace SimAntics.Tests
|
namespace SimAI.Tests
|
||||||
{
|
{
|
||||||
public class VMTest
|
public class VMTest
|
||||||
{
|
{
|
|
@ -1,9 +1,9 @@
|
||||||
|
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio 15
|
# Visual Studio 15
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimAntics", "SimAntics\SimAntics.csproj", "{6B758449-9D5A-456A-A733-31B7841E538A}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimAI", "SimAI\SimAI.csproj", "{6B758449-9D5A-456A-A733-31B7841E538A}"
|
||||||
EndProject
|
EndProject
|
||||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimAntics.Tests", "SimAntics.Tests\SimAntics.Tests.csproj", "{4B7461A4-982A-4D89-92E3-E4D4A3EC85FB}"
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SimAI.Tests", "SimAI.Tests\SimAI.Tests.csproj", "{4B7461A4-982A-4D89-92E3-E4D4A3EC85FB}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
|
@ -2,7 +2,7 @@
|
||||||
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
||||||
// http://mozilla.org/MPL/2.0/.
|
// http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
namespace SimAntics
|
namespace SimAI
|
||||||
{
|
{
|
||||||
public enum Direction
|
public enum Direction
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
||||||
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
||||||
// http://mozilla.org/MPL/2.0/.
|
// http://mozilla.org/MPL/2.0/.
|
||||||
namespace SimAntics.Engine
|
namespace SimAI.Engine
|
||||||
{
|
{
|
||||||
public class VMMemory
|
public class VMMemory
|
||||||
{
|
{
|
|
@ -2,9 +2,9 @@
|
||||||
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
||||||
// http://mozilla.org/MPL/2.0/.
|
// http://mozilla.org/MPL/2.0/.
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using SimAntics.Engine.Entities;
|
using SimAI.Engine.Entities;
|
||||||
|
|
||||||
namespace SimAntics.Engine
|
namespace SimAI.Engine
|
||||||
{
|
{
|
||||||
public class VMScheduler
|
public class VMScheduler
|
||||||
{
|
{
|
|
@ -1,10 +1,11 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
||||||
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
||||||
// http://mozilla.org/MPL/2.0/.
|
// http://mozilla.org/MPL/2.0/.
|
||||||
using SimAntics.Engine.Entities;
|
|
||||||
using SimAntics.Marshals;
|
|
||||||
|
|
||||||
namespace SimAntics.Engine
|
using SimAI.Engine.Entities;
|
||||||
|
using SimAI.Marshals;
|
||||||
|
|
||||||
|
namespace SimAI.Engine
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Holds information about the execution of a routine
|
/// Holds information about the execution of a routine
|
|
@ -6,9 +6,9 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using SimAntics.Engine.Entities;
|
using SimAI.Engine.Entities;
|
||||||
|
|
||||||
namespace SimAntics.Engine
|
namespace SimAI.Engine
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Compatibility class
|
/// Compatibility class
|
||||||
|
@ -44,7 +44,7 @@ namespace SimAntics.Engine
|
||||||
// Don't need to be serialized.
|
// Don't need to be serialized.
|
||||||
public int DialogCooldown = 0;
|
public int DialogCooldown = 0;
|
||||||
// the number of ticks that have executed so far this frame. If this exceeds the allowed max,
|
// the number of ticks that have executed so far this frame. If this exceeds the allowed max,
|
||||||
// the thread resets, and a SimAntics Error pops up.
|
// the thread resets, and a SimAI Error pops up.
|
||||||
public int TicksThisFrame = 0;
|
public int TicksThisFrame = 0;
|
||||||
// the maximum number of primitives a thread can execute in one frame. Tweak appropriately.
|
// the maximum number of primitives a thread can execute in one frame. Tweak appropriately.
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
// http://mozilla.org/MPL/2.0/.
|
// http://mozilla.org/MPL/2.0/.
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
|
|
||||||
namespace SimAntics.Engine.Entities
|
namespace SimAI.Engine.Entities
|
||||||
{
|
{
|
||||||
public class VMEntityRTTI
|
public class VMEntityRTTI
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
||||||
// http://mozilla.org/MPL/2.0/.
|
// http://mozilla.org/MPL/2.0/.
|
||||||
|
|
||||||
namespace SimAntics
|
namespace SimAI
|
||||||
{
|
{
|
||||||
public interface IVM
|
public interface IVM
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
||||||
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
||||||
// http://mozilla.org/MPL/2.0/.
|
// http://mozilla.org/MPL/2.0/.
|
||||||
namespace SimAntics.Interfaces
|
namespace SimAI.Interfaces
|
||||||
{
|
{
|
||||||
public interface VMIMotiveDecay : VMSerializable
|
public interface VMIMotiveDecay : VMSerializable
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
||||||
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
||||||
// http://mozilla.org/MPL/2.0/.
|
// http://mozilla.org/MPL/2.0/.
|
||||||
namespace SimAntics.Interfaces
|
namespace SimAI.Interfaces
|
||||||
{
|
{
|
||||||
public interface VMSerializable
|
public interface VMSerializable
|
||||||
{
|
{
|
|
@ -2,7 +2,7 @@
|
||||||
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
||||||
// http://mozilla.org/MPL/2.0/.
|
// http://mozilla.org/MPL/2.0/.
|
||||||
using System;
|
using System;
|
||||||
namespace SimAntics.Marshals
|
namespace SimAI.Marshals
|
||||||
{
|
{
|
||||||
public class VMMarshal
|
public class VMMarshal
|
||||||
{
|
{
|
|
@ -4,7 +4,7 @@
|
||||||
using System;
|
using System;
|
||||||
using System.IO;
|
using System.IO;
|
||||||
|
|
||||||
namespace SimAntics.Marshals
|
namespace SimAI.Marshals
|
||||||
{
|
{
|
||||||
public class VMStackFrameMarshal
|
public class VMStackFrameMarshal
|
||||||
{
|
{
|
|
@ -2,6 +2,7 @@
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netstandard2.0</TargetFramework>
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
|
<RootNamespace>SimAntics</RootNamespace>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
|
@ -3,10 +3,10 @@
|
||||||
// http://mozilla.org/MPL/2.0/.
|
// http://mozilla.org/MPL/2.0/.
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using SimAntics.Engine;
|
using SimAI.Engine;
|
||||||
using SimAntics.Engine.Entities;
|
using SimAI.Engine.Entities;
|
||||||
|
|
||||||
namespace SimAntics
|
namespace SimAI
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// VM is an abstract class that contains the
|
/// VM is an abstract class that contains the
|
|
@ -3,7 +3,7 @@
|
||||||
// http://mozilla.org/MPL/2.0/.
|
// http://mozilla.org/MPL/2.0/.
|
||||||
using System;
|
using System;
|
||||||
|
|
||||||
namespace SimAntics
|
namespace SimAI
|
||||||
{
|
{
|
||||||
public class VMClock
|
public class VMClock
|
||||||
{
|
{
|
|
@ -1,7 +1,7 @@
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
// This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
|
||||||
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
// If a copy of the MPL was not distributed with this file, You can obtain one at
|
||||||
// http://mozilla.org/MPL/2.0/.
|
// http://mozilla.org/MPL/2.0/.
|
||||||
namespace SimAntics
|
namespace SimAI
|
||||||
{
|
{
|
||||||
public class VMContext
|
public class VMContext
|
||||||
{
|
{
|
|
@ -4,9 +4,9 @@
|
||||||
using System;
|
using System;
|
||||||
using System.Collections.Generic;
|
using System.Collections.Generic;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
using SimAntics.Engine;
|
using SimAI.Engine;
|
||||||
|
|
||||||
namespace SimAntics
|
namespace SimAI
|
||||||
{
|
{
|
||||||
public class VMSimanticsException : Exception
|
public class VMSimanticsException : Exception
|
||||||
{
|
{
|
Loading…
Add table
Reference in a new issue