initial add
This commit is contained in:
commit
281b095f92
10
Program.cs
Normal file
10
Program.cs
Normal 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
21
Shmup.csproj
Normal 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
17
fnalibs/README.txt
Normal 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
|
BIN
fnalibs/lib64/libFAudio.so.0
Normal file
BIN
fnalibs/lib64/libFAudio.so.0
Normal file
Binary file not shown.
BIN
fnalibs/lib64/libFNA3D.so.0
Normal file
BIN
fnalibs/lib64/libFNA3D.so.0
Normal file
Binary file not shown.
BIN
fnalibs/lib64/libSDL2-2.0.so.0
Normal file
BIN
fnalibs/lib64/libSDL2-2.0.so.0
Normal file
Binary file not shown.
BIN
fnalibs/lib64/libtheorafile.so
Normal file
BIN
fnalibs/lib64/libtheorafile.so
Normal file
Binary file not shown.
BIN
fnalibs/osx/libFAudio.0.dylib
Normal file
BIN
fnalibs/osx/libFAudio.0.dylib
Normal file
Binary file not shown.
BIN
fnalibs/osx/libFNA3D.0.dylib
Normal file
BIN
fnalibs/osx/libFNA3D.0.dylib
Normal file
Binary file not shown.
BIN
fnalibs/osx/libMoltenVK.dylib
Normal file
BIN
fnalibs/osx/libMoltenVK.dylib
Normal file
Binary file not shown.
BIN
fnalibs/osx/libSDL2-2.0.0.dylib
Normal file
BIN
fnalibs/osx/libSDL2-2.0.0.dylib
Normal file
Binary file not shown.
BIN
fnalibs/osx/libtheorafile.dylib
Normal file
BIN
fnalibs/osx/libtheorafile.dylib
Normal file
Binary file not shown.
BIN
fnalibs/osx/libvulkan.1.dylib
Normal file
BIN
fnalibs/osx/libvulkan.1.dylib
Normal file
Binary file not shown.
7
fnalibs/vulkan/icd.d/MoltenVK_icd.json
Normal file
7
fnalibs/vulkan/icd.d/MoltenVK_icd.json
Normal 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
BIN
fnalibs/x64/FAudio.dll
Normal file
Binary file not shown.
BIN
fnalibs/x64/FNA3D.dll
Normal file
BIN
fnalibs/x64/FNA3D.dll
Normal file
Binary file not shown.
BIN
fnalibs/x64/SDL2.dll
Normal file
BIN
fnalibs/x64/SDL2.dll
Normal file
Binary file not shown.
BIN
fnalibs/x64/libtheorafile.dll
Normal file
BIN
fnalibs/x64/libtheorafile.dll
Normal file
Binary file not shown.
BIN
fnalibs/x86/FAudio.dll
Normal file
BIN
fnalibs/x86/FAudio.dll
Normal file
Binary file not shown.
BIN
fnalibs/x86/FNA3D.dll
Normal file
BIN
fnalibs/x86/FNA3D.dll
Normal file
Binary file not shown.
BIN
fnalibs/x86/SDL2.dll
Normal file
BIN
fnalibs/x86/SDL2.dll
Normal file
Binary file not shown.
BIN
fnalibs/x86/libtheorafile.dll
Normal file
BIN
fnalibs/x86/libtheorafile.dll
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user