Renamed to SimAI

This commit is contained in:
Anthony Foxclaw 2020-04-15 21:41:30 -04:00
parent 6c0d63d4bb
commit 6c6dee2246
21 changed files with 38 additions and 34 deletions

View file

@ -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
| Service | Status |
| ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Github | [![Build](https://img.shields.io/github/workflow/status/simtactics/SimAntics/build/master?logo=github)](https://github.com/simtactics/SimAntics/actions) |
| Service | Status |
| ------- | ------------------------------------------------------------------------------------------------------------------------------------------------ |
| Github | [![Build](https://img.shields.io/github/workflow/status/simtactics/SimAI/build/master?logo=github)](https://github.com/simtactics/SimAI/actions) |
## Authors
- **Anthony Foxclaw** - _Maintainer_ - [tonytins](https://github.com/tonytins)
- **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

View file

@ -4,6 +4,8 @@
<TargetFramework>netcoreapp3.1</TargetFramework>
<IsPackable>false</IsPackable>
<RootNamespace>SimAntics.Tests</RootNamespace>
</PropertyGroup>
<ItemGroup>
@ -18,7 +20,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\SimAntics\SimAntics.csproj" />
<ProjectReference Include="..\SimAI\SimAI.csproj" />
</ItemGroup>
</Project>

View file

@ -2,7 +2,7 @@ using System;
using System.Diagnostics;
using Xunit;
namespace SimAntics.Tests
namespace SimAI.Tests
{
public class UnitTest1
{

View file

@ -1,7 +1,7 @@
// 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
// http://mozilla.org/MPL/2.0/.
namespace SimAntics.Tests
namespace SimAI.Tests
{
public class VMTest
{

View file

@ -1,9 +1,9 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# 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
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
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution

View file

@ -2,7 +2,7 @@
// If a copy of the MPL was not distributed with this file, You can obtain one at
// http://mozilla.org/MPL/2.0/.
namespace SimAntics
namespace SimAI
{
public enum Direction
{

View file

@ -1,7 +1,7 @@
// 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
// http://mozilla.org/MPL/2.0/.
namespace SimAntics.Engine
namespace SimAI.Engine
{
public class VMMemory
{

View file

@ -2,9 +2,9 @@
// If a copy of the MPL was not distributed with this file, You can obtain one at
// http://mozilla.org/MPL/2.0/.
using System.Collections.Generic;
using SimAntics.Engine.Entities;
using SimAI.Engine.Entities;
namespace SimAntics.Engine
namespace SimAI.Engine
{
public class VMScheduler
{

View file

@ -1,10 +1,11 @@
// 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
// 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>
/// Holds information about the execution of a routine

View file

@ -6,9 +6,9 @@
#endif
using System.Collections.Generic;
using SimAntics.Engine.Entities;
using SimAI.Engine.Entities;
namespace SimAntics.Engine
namespace SimAI.Engine
{
/// <summary>
/// Compatibility class
@ -44,7 +44,7 @@ namespace SimAntics.Engine
// Don't need to be serialized.
public int DialogCooldown = 0;
// 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;
// the maximum number of primitives a thread can execute in one frame. Tweak appropriately.

View file

@ -3,7 +3,7 @@
// http://mozilla.org/MPL/2.0/.
using System.Collections.Generic;
namespace SimAntics.Engine.Entities
namespace SimAI.Engine.Entities
{
public class VMEntityRTTI
{

View file

@ -2,7 +2,7 @@
// If a copy of the MPL was not distributed with this file, You can obtain one at
// http://mozilla.org/MPL/2.0/.
namespace SimAntics
namespace SimAI
{
public interface IVM
{

View file

@ -1,7 +1,7 @@
// 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
// http://mozilla.org/MPL/2.0/.
namespace SimAntics.Interfaces
namespace SimAI.Interfaces
{
public interface VMIMotiveDecay : VMSerializable
{

View file

@ -1,7 +1,7 @@
// 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
// http://mozilla.org/MPL/2.0/.
namespace SimAntics.Interfaces
namespace SimAI.Interfaces
{
public interface VMSerializable
{

View file

@ -2,7 +2,7 @@
// If a copy of the MPL was not distributed with this file, You can obtain one at
// http://mozilla.org/MPL/2.0/.
using System;
namespace SimAntics.Marshals
namespace SimAI.Marshals
{
public class VMMarshal
{

View file

@ -4,7 +4,7 @@
using System;
using System.IO;
namespace SimAntics.Marshals
namespace SimAI.Marshals
{
public class VMStackFrameMarshal
{

View file

@ -2,6 +2,7 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<RootNamespace>SimAntics</RootNamespace>
</PropertyGroup>
<ItemGroup>

View file

@ -3,10 +3,10 @@
// http://mozilla.org/MPL/2.0/.
using System;
using System.Collections.Generic;
using SimAntics.Engine;
using SimAntics.Engine.Entities;
using SimAI.Engine;
using SimAI.Engine.Entities;
namespace SimAntics
namespace SimAI
{
/// <summary>
/// VM is an abstract class that contains the

View file

@ -3,7 +3,7 @@
// http://mozilla.org/MPL/2.0/.
using System;
namespace SimAntics
namespace SimAI
{
public class VMClock
{

View file

@ -1,7 +1,7 @@
// 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
// http://mozilla.org/MPL/2.0/.
namespace SimAntics
namespace SimAI
{
public class VMContext
{

View file

@ -4,9 +4,9 @@
using System;
using System.Collections.Generic;
using System.Text;
using SimAntics.Engine;
using SimAI.Engine;
namespace SimAntics
namespace SimAI
{
public class VMSimanticsException : Exception
{