Browse Source

initial add

main
Colin McMillen 1 month ago
commit
281b095f92
  1. 10
      Program.cs
  2. 21
      Shmup.csproj
  3. 17
      fnalibs/README.txt
  4. BIN
      fnalibs/lib64/libFAudio.so.0
  5. BIN
      fnalibs/lib64/libFNA3D.so.0
  6. BIN
      fnalibs/lib64/libSDL2-2.0.so.0
  7. BIN
      fnalibs/lib64/libtheorafile.so
  8. BIN
      fnalibs/osx/libFAudio.0.dylib
  9. BIN
      fnalibs/osx/libFNA3D.0.dylib
  10. BIN
      fnalibs/osx/libMoltenVK.dylib
  11. BIN
      fnalibs/osx/libSDL2-2.0.0.dylib
  12. BIN
      fnalibs/osx/libtheorafile.dylib
  13. BIN
      fnalibs/osx/libvulkan.1.dylib
  14. 7
      fnalibs/vulkan/icd.d/MoltenVK_icd.json
  15. BIN
      fnalibs/x64/FAudio.dll
  16. BIN
      fnalibs/x64/FNA3D.dll
  17. BIN
      fnalibs/x64/SDL2.dll
  18. BIN
      fnalibs/x64/libtheorafile.dll
  19. BIN
      fnalibs/x86/FAudio.dll
  20. BIN
      fnalibs/x86/FNA3D.dll
  21. BIN
      fnalibs/x86/SDL2.dll
  22. BIN
      fnalibs/x86/libtheorafile.dll

10
Program.cs

@ -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

@ -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

@ -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

BIN
fnalibs/lib64/libFNA3D.so.0

BIN
fnalibs/lib64/libSDL2-2.0.so.0

BIN
fnalibs/lib64/libtheorafile.so

BIN
fnalibs/osx/libFAudio.0.dylib

BIN
fnalibs/osx/libFNA3D.0.dylib

BIN
fnalibs/osx/libMoltenVK.dylib

BIN
fnalibs/osx/libSDL2-2.0.0.dylib

BIN
fnalibs/osx/libtheorafile.dylib

BIN
fnalibs/osx/libvulkan.1.dylib

7
fnalibs/vulkan/icd.d/MoltenVK_icd.json

@ -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

BIN
fnalibs/x64/FNA3D.dll

BIN
fnalibs/x64/SDL2.dll

BIN
fnalibs/x64/libtheorafile.dll

BIN
fnalibs/x86/FAudio.dll

BIN
fnalibs/x86/FNA3D.dll

BIN
fnalibs/x86/SDL2.dll

BIN
fnalibs/x86/libtheorafile.dll

Loading…
Cancel
Save