initial add

This commit is contained in:
Colin McMillen 2021-11-02 17:04:42 -04:00
commit 281b095f92
22 changed files with 55 additions and 0 deletions

10
Program.cs Normal file
View File

@ -0,0 +1,10 @@
using Microsoft.Xna.Framework;
static class Program {
static void Main(string[] args) {
using (Game g = new Game()) {
new GraphicsDeviceManager(g);
g.Run();
}
}
}

21
Shmup.csproj Normal file
View File

@ -0,0 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\FNA\FNA.Core.csproj">
<ReferenceOutputAssembly>true</ReferenceOutputAssembly>
</ProjectReference>
</ItemGroup>
<Target Name="CopyDLLs" AfterTargets="Build">
<CreateItem Include="fnalibs\x64\*.dll">
<Output TaskParameter="Include" ItemName="DLLs"/>
</CreateItem>
<Message Text="@(DLLs) -> $(TargetDir)" Importance="High"/>
<Copy SourceFiles="@(DLLs)" DestinationFolder="$(TargetDir)" SkipUnchangedFiles="true"/>
</Target>
</Project>

17
fnalibs/README.txt Normal file
View File

@ -0,0 +1,17 @@
This is fnalibs, an archive containing the native libraries used by FNA.
These are the folders included:
- x86: 32-bit Windows
- x64: 64-bit Windows
- lib64: Linux (64-bit only)
- osx: macOS (64-bit only)
- vulkan: MoltenVK ICD for macOS
- Place this at Game.app/Contents/Resources/vulkan/
The library dependency list is as follows:
- SDL2, used as the platform layer
- FNA3D, used in the Graphics namespace
- FAudio, used in the Audio/Media namespaces
- libtheorafile, only used for VideoPlayer

Binary file not shown.

BIN
fnalibs/lib64/libFNA3D.so.0 Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,7 @@
{
"file_format_version" : "1.0.0",
"ICD": {
"library_path": "../../../MacOS/osx/libMoltenVK.dylib",
"api_version" : "1.1.0"
}
}

BIN
fnalibs/x64/FAudio.dll Normal file

Binary file not shown.

BIN
fnalibs/x64/FNA3D.dll Normal file

Binary file not shown.

BIN
fnalibs/x64/SDL2.dll Normal file

Binary file not shown.

Binary file not shown.

BIN
fnalibs/x86/FAudio.dll Normal file

Binary file not shown.

BIN
fnalibs/x86/FNA3D.dll Normal file

Binary file not shown.

BIN
fnalibs/x86/SDL2.dll Normal file

Binary file not shown.

Binary file not shown.