-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6d1ccd4
commit 88d0a74
Showing
12 changed files
with
199 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,10 @@ build/ | |
[Bb]in/ | ||
[Oo]bj/ | ||
packages/ | ||
OpenCover/ | ||
|
||
# MonoDevelop | ||
*.userprefs | ||
*.usertasks | ||
|
||
# Unity | ||
Library/ | ||
|
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
Binary file not shown.
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,6 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<startup> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5"/> | ||
</startup> | ||
</configuration> |
Binary file not shown.
25 changes: 25 additions & 0 deletions
25
SpriterDotNet.MonoGame.Example/Platforms/LinuxGL/OpenTK.dll.config
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,25 @@ | ||
<configuration> | ||
<dllmap os="linux" dll="opengl32.dll" target="libGL.so.1" /> | ||
<dllmap os="linux" dll="glu32.dll" target="libGLU.so.1" /> | ||
<dllmap os="linux" dll="openal32.dll" target="libopenal.so.1" /> | ||
<dllmap os="linux" dll="alut.dll" target="libalut.so.0" /> | ||
<dllmap os="linux" dll="opencl.dll" target="libOpenCL.so" /> | ||
<dllmap os="linux" dll="libX11" target="libX11.so.6" /> | ||
<dllmap os="linux" dll="libXi" target="libXi.so.6" /> | ||
<dllmap os="linux" dll="SDL2.dll" target="libSDL2-2.0.so.0" /> | ||
<dllmap os="osx" dll="opengl32.dll" target="/System/Library/Frameworks/OpenGL.framework/OpenGL" /> | ||
<dllmap os="osx" dll="openal32.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" /> | ||
<dllmap os="osx" dll="alut.dll" target="/System/Library/Frameworks/OpenAL.framework/OpenAL" /> | ||
<dllmap os="osx" dll="libGLES.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" /> | ||
<dllmap os="osx" dll="libGLESv1_CM.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" /> | ||
<dllmap os="osx" dll="libGLESv2.dll" target="/System/Library/Frameworks/OpenGLES.framework/OpenGLES" /> | ||
<dllmap os="osx" dll="opencl.dll" target="/System/Library/Frameworks/OpenCL.framework/OpenCL" /> | ||
<dllmap os="osx" dll="SDL2.dll" target="libSDL2.dylib" /> | ||
<!-- XQuartz compatibility (X11 on Mac) --> | ||
<dllmap os="osx" dll="libGL.so.1" target="/usr/X11/lib/libGL.dylib" /> | ||
<dllmap os="osx" dll="libX11" target="/usr/X11/lib/libX11.dylib" /> | ||
<dllmap os="osx" dll="libXcursor.so.1" target="/usr/X11/lib/libXcursor.dylib" /> | ||
<dllmap os="osx" dll="libXi" target="/usr/X11/lib/libXi.dylib" /> | ||
<dllmap os="osx" dll="libXinerama" target="/usr/X11/lib/libXinerama.dylib" /> | ||
<dllmap os="osx" dll="libXrandr.so.2" target="/usr/X11/lib/libXrandr.dylib" /> | ||
</configuration> |
21 changes: 21 additions & 0 deletions
21
SpriterDotNet.MonoGame.Example/Platforms/LinuxGL/Program.cs
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,21 @@ | ||
// Copyright (c) 2015 The original author or authors | ||
// | ||
// This software may be modified and distributed under the terms | ||
// of the zlib license. See the LICENSE file for details. | ||
|
||
using System; | ||
|
||
namespace SpriterDotNet.MonoGame.Example.WindowsGL | ||
{ | ||
public static class Program | ||
{ | ||
[STAThread] | ||
static void Main() | ||
{ | ||
using (SpriterGame game = new SpriterGame()) | ||
{ | ||
game.Run(); | ||
} | ||
} | ||
} | ||
} |
7 changes: 7 additions & 0 deletions
7
SpriterDotNet.MonoGame.Example/Platforms/LinuxGL/Properties/AssemblyInfo.cs
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,7 @@ | ||
using System.Reflection; | ||
using System.Runtime.InteropServices; | ||
|
||
[assembly: AssemblyTitle ("SpriterDotNet.MonoGame.Example.LinuxGL")] | ||
[assembly: AssemblyVersion ("1.0.0.0")] | ||
[assembly: AssemblyFileVersion ("1.0.0.0")] | ||
[assembly: ComVisible (false)] |
87 changes: 87 additions & 0 deletions
87
...erDotNet.MonoGame.Example/Platforms/LinuxGL/SpriterDotNet.MonoGame.Example.LinuxGL.csproj
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,87 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<Import Project="$(MSBuildExtensionsPath)\MonoGame\v3.0\MonoGame.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\MonoGame\v3.0\MonoGame.Common.props')" /> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform> | ||
<ProjectGuid>{1A98EB52-3FB5-4B0F-9745-E1E488A869E0}</ProjectGuid> | ||
<OutputType>Exe</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>SpriterDotNet.MonoGame.Example.WindowsGL</RootNamespace> | ||
<AssemblyName>SpriterDotNet.MonoGame.Example.WindowsGL</AssemblyName> | ||
<FileAlignment>512</FileAlignment> | ||
<MonoGamePlatform>DesktopGL</MonoGamePlatform> | ||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | ||
<TargetFrameworkProfile /> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> | ||
<PlatformTarget>x86</PlatformTarget> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Windows\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE;WINDOWS</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> | ||
<PlatformTarget>x86</PlatformTarget> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Windows\Release\</OutputPath> | ||
<DefineConstants>TRACE;WINDOWS</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<ApplicationIcon>Icon.ico</ApplicationIcon> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="MonoGame.Framework"> | ||
<HintPath>$(MonoGameInstallDirectory)\MonoGame\v3.0\Assemblies\DesktopGL\MonoGame.Framework.dll</HintPath> | ||
</Reference> | ||
<Reference Include="OpenTK"> | ||
<HintPath>$(MonoGameInstallDirectory)\MonoGame\v3.0\Assemblies\DesktopGL\OpenTK.dll</HintPath> | ||
</Reference> | ||
<Reference Include="NVorbis"> | ||
<HintPath>$(MonoGameInstallDirectory)\MonoGame\v3.0\Assemblies\DesktopGL\NVorbis.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Program.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="Icon.ico" /> | ||
<None Include="App.config" /> | ||
<None Include="packages.config" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<MonoGameContentReference Include="..\..\Content\Content.mgcb"> | ||
<Link>Content\Content.mgcb</Link> | ||
</MonoGameContentReference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\..\..\SpriterDotNet.MonoGame\SpriterDotNet.MonoGame.csproj"> | ||
<Project>{10c1ed31-6945-4617-85ad-d2575550149d}</Project> | ||
<Name>SpriterDotNet.MonoGame</Name> | ||
</ProjectReference> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Content Include="OpenTK.dll.config"> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</Content> | ||
</ItemGroup> | ||
<Import Project="..\..\SpriterDotNet.Monogame.Example.projitems" Label="Shared" /> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<Import Project="$(MSBuildExtensionsPath)\MonoGame\v3.0\MonoGame.Content.Builder.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> |
4 changes: 4 additions & 0 deletions
4
SpriterDotNet.MonoGame.Example/Platforms/LinuxGL/packages.config
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,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="MonoGame.Framework.WindowsGL" version="3.4.0.459" targetFramework="net40" /> | ||
</packages> |
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,43 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 14 | ||
VisualStudioVersion = 14.0.24720.0 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SpriterDotNet.MonoGame.Example.LinuxGL", "SpriterDotNet.MonoGame.Example\Platforms\LinuxGL\SpriterDotNet.MonoGame.Example.LinuxGL.csproj", "{12AB7DD0-9164-4D2D-82EF-406F5A26C4FD}" | ||
EndProject | ||
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SpriterDotNet.MonoGame.Example", "SpriterDotNet.MonoGame.Example\SpriterDotNet.MonoGame.Example.shproj", "{3EE9E551-B12D-4049-ABDE-862D2A2527B3}" | ||
EndProject | ||
Project("{D954291E-2A0B-460D-934E-DC6B0785DB48}") = "SpriterDotNet", "SpriterDotNet\SpriterDotNet.shproj", "{7142D477-6358-443E-85EF-27C94DE0C7F4}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SpriterDotNet.MonoGame", "SpriterDotNet.MonoGame\SpriterDotNet.MonoGame.csproj", "{10C1ED31-6945-4617-85AD-D2575550149D}" | ||
EndProject | ||
Global | ||
GlobalSection(SharedMSBuildProjectFiles) = preSolution | ||
SpriterDotNet\SpriterDotNet.projitems*{10c1ed31-6945-4617-85ad-d2575550149d}*SharedItemsImports = 4 | ||
SpriterDotNet.MonoGame.Example\SpriterDotNet.MonoGame.Example.projitems*{1a98eb52-3fb5-4b0f-9745-e1e488a869e0}*SharedItemsImports = 4 | ||
SpriterDotNet.MonoGame.Example\SpriterDotNet.MonoGame.Example.projitems*{3ee9e551-b12d-4049-abde-862d2a2527b3}*SharedItemsImports = 13 | ||
SpriterDotNet\SpriterDotNet.projitems*{7142d477-6358-443e-85ef-27c94de0c7f4}*SharedItemsImports = 13 | ||
SpriterDotNet.MonoGame.Example\SpriterDotNet.MonoGame.Example.projitems*{9ea4c831-7243-402e-a0aa-a502e6e1549e}*SharedItemsImports = 4 | ||
EndGlobalSection | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|x86 = Debug|x86 | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{9EA4C831-7243-402E-A0AA-A502E6E1549E}.Debug|x86.ActiveCfg = Debug|x86 | ||
{9EA4C831-7243-402E-A0AA-A502E6E1549E}.Debug|x86.Build.0 = Debug|x86 | ||
{9EA4C831-7243-402E-A0AA-A502E6E1549E}.Release|x86.ActiveCfg = Release|x86 | ||
{9EA4C831-7243-402E-A0AA-A502E6E1549E}.Release|x86.Build.0 = Release|x86 | ||
{12AB7DD0-9164-4D2D-82EF-406F5A26C4FD}.Debug|x86.ActiveCfg = Debug|x86 | ||
{12AB7DD0-9164-4D2D-82EF-406F5A26C4FD}.Debug|x86.Build.0 = Debug|x86 | ||
{12AB7DD0-9164-4D2D-82EF-406F5A26C4FD}.Release|x86.ActiveCfg = Release|x86 | ||
{12AB7DD0-9164-4D2D-82EF-406F5A26C4FD}.Release|x86.Build.0 = Release|x86 | ||
{10C1ED31-6945-4617-85AD-D2575550149D}.Debug|x86.ActiveCfg = Debug|Any CPU | ||
{10C1ED31-6945-4617-85AD-D2575550149D}.Debug|x86.Build.0 = Debug|Any CPU | ||
{10C1ED31-6945-4617-85AD-D2575550149D}.Release|x86.ActiveCfg = Release|Any CPU | ||
{10C1ED31-6945-4617-85AD-D2575550149D}.Release|x86.Build.0 = Release|Any CPU | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |