mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 03:56:31 +00:00
split collisions into a separate project (#308)
This commit is contained in:
@@ -94,6 +94,10 @@
|
||||
</Content>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\..\MonoGame.Extended.Collisions\MonoGame.Extended.Collisions.csproj">
|
||||
<Project>{02562c6f-5bfb-467e-8a95-68b6ce2d635a}</Project>
|
||||
<Name>MonoGame.Extended.Collisions</Name>
|
||||
</ProjectReference>
|
||||
<ProjectReference Include="..\..\MonoGame.Extended\MonoGame.Extended.csproj">
|
||||
<Project>{41724c52-3d50-45bb-81eb-3c8a247eafd1}</Project>
|
||||
<Name>MonoGame.Extended</Name>
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
using System.Linq;
|
||||
using MonoGame.Extended.Collisions;
|
||||
using MonoGame.Extended.Maps.Tiled;
|
||||
|
||||
namespace MonoGame.Extended.Maps.Tiled
|
||||
namespace MonoGame.Extended.Collisions
|
||||
{
|
||||
public static class CollisionWorldExtensions
|
||||
{
|
||||
@@ -0,0 +1,66 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||
<PropertyGroup>
|
||||
<MinimumVisualStudioVersion>10.0</MinimumVisualStudioVersion>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{02562C6F-5BFB-467E-8A95-68B6CE2D635A}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||
<RootNamespace>MonoGame.Extended.Collisions</RootNamespace>
|
||||
<AssemblyName>MonoGame.Extended.Collisions</AssemblyName>
|
||||
<DefaultLanguage>en-US</DefaultLanguage>
|
||||
<FileAlignment>512</FileAlignment>
|
||||
<ProjectTypeGuids>{786C830F-07A1-408B-BD7F-6EE04809D6DB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||
<TargetFrameworkProfile>Profile7</TargetFrameworkProfile>
|
||||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||
<DebugSymbols>true</DebugSymbols>
|
||||
<DebugType>full</DebugType>
|
||||
<Optimize>false</Optimize>
|
||||
<OutputPath>bin\Debug\</OutputPath>
|
||||
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||
<DebugType>pdbonly</DebugType>
|
||||
<Optimize>true</Optimize>
|
||||
<OutputPath>bin\Release\</OutputPath>
|
||||
<DefineConstants>TRACE</DefineConstants>
|
||||
<ErrorReport>prompt</ErrorReport>
|
||||
<WarningLevel>4</WarningLevel>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="CollisionActor.cs" />
|
||||
<Compile Include="CollisionGrid.cs" />
|
||||
<Compile Include="CollisionGridCell.cs" />
|
||||
<Compile Include="CollisionGridCellFlag.cs" />
|
||||
<Compile Include="CollisionInfo.cs" />
|
||||
<Compile Include="CollisionWorld.cs" />
|
||||
<Compile Include="CollisionWorldExtensions.cs" />
|
||||
<Compile Include="IActorTarget.cs" />
|
||||
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Reference Include="MonoGame.Framework">
|
||||
<HintPath>..\..\Dependencies\MonoGame.Framework.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\MonoGame.Extended\MonoGame.Extended.csproj">
|
||||
<Project>{41724c52-3d50-45bb-81eb-3c8a247eafd1}</Project>
|
||||
<Name>MonoGame.Extended</Name>
|
||||
</ProjectReference>
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
<Target Name="BeforeBuild">
|
||||
</Target>
|
||||
<Target Name="AfterBuild">
|
||||
</Target>
|
||||
-->
|
||||
</Project>
|
||||
@@ -0,0 +1,30 @@
|
||||
using System.Resources;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
// associated with an assembly.
|
||||
[assembly: AssemblyTitle("MonoGame.Extended.Collisions")]
|
||||
[assembly: AssemblyDescription("")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("")]
|
||||
[assembly: AssemblyProduct("MonoGame.Extended.Collisions")]
|
||||
[assembly: AssemblyCopyright("Copyright © 2016")]
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
[assembly: NeutralResourcesLanguage("en")]
|
||||
|
||||
// Version information for an assembly consists of the following four values:
|
||||
//
|
||||
// Major Version
|
||||
// Minor Version
|
||||
// Build Number
|
||||
// Revision
|
||||
//
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.0.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.0.0.0")]
|
||||
@@ -100,6 +100,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Demo.Batching", "Demos\Demo
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Demo.NuclexGui", "Demos\Demo.NuclexGui\Demo.NuclexGui.csproj", "{8003BA78-CB44-46B5-85A2-2A6440C3EFDC}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoGame.Extended.Collisions", "MonoGame.Extended.Collisions\MonoGame.Extended.Collisions.csproj", "{02562C6F-5BFB-467E-8A95-68B6CE2D635A}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
@@ -276,6 +278,14 @@ Global
|
||||
{8003BA78-CB44-46B5-85A2-2A6440C3EFDC}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{8003BA78-CB44-46B5-85A2-2A6440C3EFDC}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{8003BA78-CB44-46B5-85A2-2A6440C3EFDC}.Release|x86.Build.0 = Release|Any CPU
|
||||
{02562C6F-5BFB-467E-8A95-68B6CE2D635A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{02562C6F-5BFB-467E-8A95-68B6CE2D635A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{02562C6F-5BFB-467E-8A95-68B6CE2D635A}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{02562C6F-5BFB-467E-8A95-68B6CE2D635A}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{02562C6F-5BFB-467E-8A95-68B6CE2D635A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{02562C6F-5BFB-467E-8A95-68B6CE2D635A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{02562C6F-5BFB-467E-8A95-68B6CE2D635A}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{02562C6F-5BFB-467E-8A95-68B6CE2D635A}.Release|x86.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
||||
@@ -197,13 +197,6 @@
|
||||
<Compile Include="Gui\GuiThickness.cs" />
|
||||
<Compile Include="IColorable.cs" />
|
||||
<Compile Include="IPoolable.cs" />
|
||||
<Compile Include="Collisions\CollisionActor.cs" />
|
||||
<Compile Include="Collisions\CollisionGrid.cs" />
|
||||
<Compile Include="Collisions\CollisionGridCell.cs" />
|
||||
<Compile Include="Collisions\CollisionGridCellFlag.cs" />
|
||||
<Compile Include="Collisions\CollisionInfo.cs" />
|
||||
<Compile Include="Collisions\CollisionWorld.cs" />
|
||||
<Compile Include="Collisions\IActorTarget.cs" />
|
||||
<Compile Include="Content\ContentManagerExtensions.cs" />
|
||||
<Compile Include="Camera2D.cs" />
|
||||
<Compile Include="Content\ContentReaderExtensions.cs" />
|
||||
@@ -230,7 +223,6 @@
|
||||
<Compile Include="IScalable.cs" />
|
||||
<Compile Include="ISizable.cs" />
|
||||
<Compile Include="IUpdate.cs" />
|
||||
<Compile Include="Maps\Tiled\CollisionWorldExtensions.cs" />
|
||||
<Compile Include="Particles\ColorExtensions.cs" />
|
||||
<Compile Include="Particles\FastRandomExtensions.cs" />
|
||||
<Compile Include="Particles\HslColor.cs" />
|
||||
@@ -354,6 +346,7 @@
|
||||
<ItemGroup>
|
||||
<Content Include="Graphics\Effects\Resources\DefaultEffect2D.fx" />
|
||||
</ItemGroup>
|
||||
<ItemGroup />
|
||||
<Import Project="$(MSBuildExtensionsPath32)\Microsoft\Portable\$(TargetFrameworkVersion)\Microsoft.Portable.CSharp.targets" />
|
||||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||
Other similar extension points exist, see Microsoft.Common.targets.
|
||||
|
||||
Reference in New Issue
Block a user