diff --git a/DaggerFramework.sln b/DaggerFramework.sln new file mode 100644 index 0000000..7898e5d --- /dev/null +++ b/DaggerFramework.sln @@ -0,0 +1,28 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.0.31903.59 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TestGame", "TestGame\TestGame.csproj", "{393AA04F-A0DE-42F2-AAEC-6B2DCFB7A852}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DaggerFramework", "DaggerFramework\DaggerFramework.csproj", "{DA4FDEDC-AA81-4336-844F-562F9E763974}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {393AA04F-A0DE-42F2-AAEC-6B2DCFB7A852}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {393AA04F-A0DE-42F2-AAEC-6B2DCFB7A852}.Debug|Any CPU.Build.0 = Debug|Any CPU + {393AA04F-A0DE-42F2-AAEC-6B2DCFB7A852}.Release|Any CPU.ActiveCfg = Release|Any CPU + {393AA04F-A0DE-42F2-AAEC-6B2DCFB7A852}.Release|Any CPU.Build.0 = Release|Any CPU + {DA4FDEDC-AA81-4336-844F-562F9E763974}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DA4FDEDC-AA81-4336-844F-562F9E763974}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DA4FDEDC-AA81-4336-844F-562F9E763974}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DA4FDEDC-AA81-4336-844F-562F9E763974}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/DaggerFramework.csproj b/DaggerFramework/DaggerFramework.csproj similarity index 90% rename from DaggerFramework.csproj rename to DaggerFramework/DaggerFramework.csproj index 4a4a7bc..62518c5 100644 --- a/DaggerFramework.csproj +++ b/DaggerFramework/DaggerFramework.csproj @@ -13,12 +13,12 @@ - %(Filename)%(Extension) Always - + %(Filename)%(Extension) Always diff --git a/Source/Audio/AudioBackend.cs b/DaggerFramework/Source/Audio/AudioBackend.cs similarity index 100% rename from Source/Audio/AudioBackend.cs rename to DaggerFramework/Source/Audio/AudioBackend.cs diff --git a/Source/Audio/AudioBus.cs b/DaggerFramework/Source/Audio/AudioBus.cs similarity index 100% rename from Source/Audio/AudioBus.cs rename to DaggerFramework/Source/Audio/AudioBus.cs diff --git a/Source/Audio/AudioEffect.cs b/DaggerFramework/Source/Audio/AudioEffect.cs similarity index 100% rename from Source/Audio/AudioEffect.cs rename to DaggerFramework/Source/Audio/AudioEffect.cs diff --git a/Source/Audio/DummyAudioBackend.cs b/DaggerFramework/Source/Audio/DummyAudioBackend.cs similarity index 100% rename from Source/Audio/DummyAudioBackend.cs rename to DaggerFramework/Source/Audio/DummyAudioBackend.cs diff --git a/Source/Audio/FmodAudioBackend.cs b/DaggerFramework/Source/Audio/FmodAudioBackend.cs similarity index 100% rename from Source/Audio/FmodAudioBackend.cs rename to DaggerFramework/Source/Audio/FmodAudioBackend.cs diff --git a/Source/Color.cs b/DaggerFramework/Source/Color.cs similarity index 100% rename from Source/Color.cs rename to DaggerFramework/Source/Color.cs diff --git a/Source/Extensions/Mat4Extensions.cs b/DaggerFramework/Source/Extensions/Mat4Extensions.cs similarity index 100% rename from Source/Extensions/Mat4Extensions.cs rename to DaggerFramework/Source/Extensions/Mat4Extensions.cs diff --git a/Source/External/FastNoiseLite.cs b/DaggerFramework/Source/External/FastNoiseLite.cs similarity index 100% rename from Source/External/FastNoiseLite.cs rename to DaggerFramework/Source/External/FastNoiseLite.cs diff --git a/Source/External/LehmerRandom.cs b/DaggerFramework/Source/External/LehmerRandom.cs similarity index 100% rename from Source/External/LehmerRandom.cs rename to DaggerFramework/Source/External/LehmerRandom.cs diff --git a/Source/Game.cs b/DaggerFramework/Source/Game.cs similarity index 100% rename from Source/Game.cs rename to DaggerFramework/Source/Game.cs diff --git a/Source/InputAction.cs b/DaggerFramework/Source/InputAction.cs similarity index 100% rename from Source/InputAction.cs rename to DaggerFramework/Source/InputAction.cs diff --git a/Source/InputHandler.cs b/DaggerFramework/Source/InputHandler.cs similarity index 100% rename from Source/InputHandler.cs rename to DaggerFramework/Source/InputHandler.cs diff --git a/Source/RaylibInputHandler.cs b/DaggerFramework/Source/RaylibInputHandler.cs similarity index 100% rename from Source/RaylibInputHandler.cs rename to DaggerFramework/Source/RaylibInputHandler.cs diff --git a/Source/Rendering/ColorRectShader.cs b/DaggerFramework/Source/Rendering/ColorRectShader.cs similarity index 100% rename from Source/Rendering/ColorRectShader.cs rename to DaggerFramework/Source/Rendering/ColorRectShader.cs diff --git a/Source/Rendering/GlRenderer.cs b/DaggerFramework/Source/Rendering/GlRenderer.cs similarity index 100% rename from Source/Rendering/GlRenderer.cs rename to DaggerFramework/Source/Rendering/GlRenderer.cs diff --git a/Source/Rendering/RaylibRenderer.cs b/DaggerFramework/Source/Rendering/RaylibRenderer.cs similarity index 100% rename from Source/Rendering/RaylibRenderer.cs rename to DaggerFramework/Source/Rendering/RaylibRenderer.cs diff --git a/Source/Rendering/Renderer.cs b/DaggerFramework/Source/Rendering/Renderer.cs similarity index 100% rename from Source/Rendering/Renderer.cs rename to DaggerFramework/Source/Rendering/Renderer.cs diff --git a/Source/Rendering/Shader.cs b/DaggerFramework/Source/Rendering/Shader.cs similarity index 100% rename from Source/Rendering/Shader.cs rename to DaggerFramework/Source/Rendering/Shader.cs diff --git a/Source/Resources/Font.cs b/DaggerFramework/Source/Resources/Font.cs similarity index 100% rename from Source/Resources/Font.cs rename to DaggerFramework/Source/Resources/Font.cs diff --git a/Source/Resources/Loaders/FontLoader.cs b/DaggerFramework/Source/Resources/Loaders/FontLoader.cs similarity index 100% rename from Source/Resources/Loaders/FontLoader.cs rename to DaggerFramework/Source/Resources/Loaders/FontLoader.cs diff --git a/Source/Resources/Loaders/ResourceLoader.cs b/DaggerFramework/Source/Resources/Loaders/ResourceLoader.cs similarity index 100% rename from Source/Resources/Loaders/ResourceLoader.cs rename to DaggerFramework/Source/Resources/Loaders/ResourceLoader.cs diff --git a/Source/Resources/Loaders/SoundLoader.cs b/DaggerFramework/Source/Resources/Loaders/SoundLoader.cs similarity index 100% rename from Source/Resources/Loaders/SoundLoader.cs rename to DaggerFramework/Source/Resources/Loaders/SoundLoader.cs diff --git a/Source/Resources/Loaders/Texture2dLoader.cs b/DaggerFramework/Source/Resources/Loaders/Texture2dLoader.cs similarity index 100% rename from Source/Resources/Loaders/Texture2dLoader.cs rename to DaggerFramework/Source/Resources/Loaders/Texture2dLoader.cs diff --git a/Source/Resources/Resource.cs b/DaggerFramework/Source/Resources/Resource.cs similarity index 100% rename from Source/Resources/Resource.cs rename to DaggerFramework/Source/Resources/Resource.cs diff --git a/Source/Resources/Sound.cs b/DaggerFramework/Source/Resources/Sound.cs similarity index 100% rename from Source/Resources/Sound.cs rename to DaggerFramework/Source/Resources/Sound.cs diff --git a/Source/Resources/Texture2d.cs b/DaggerFramework/Source/Resources/Texture2d.cs similarity index 100% rename from Source/Resources/Texture2d.cs rename to DaggerFramework/Source/Resources/Texture2d.cs diff --git a/Source/SceneGraph/Entities/CircleShape2d.cs b/DaggerFramework/Source/SceneGraph/Entities/CircleShape2d.cs similarity index 100% rename from Source/SceneGraph/Entities/CircleShape2d.cs rename to DaggerFramework/Source/SceneGraph/Entities/CircleShape2d.cs diff --git a/Source/SceneGraph/Entities/Drawable2d.cs b/DaggerFramework/Source/SceneGraph/Entities/Drawable2d.cs similarity index 100% rename from Source/SceneGraph/Entities/Drawable2d.cs rename to DaggerFramework/Source/SceneGraph/Entities/Drawable2d.cs diff --git a/Source/SceneGraph/Entities/Entity.cs b/DaggerFramework/Source/SceneGraph/Entities/Entity.cs similarity index 100% rename from Source/SceneGraph/Entities/Entity.cs rename to DaggerFramework/Source/SceneGraph/Entities/Entity.cs diff --git a/Source/SceneGraph/Entities/Entity2d.cs b/DaggerFramework/Source/SceneGraph/Entities/Entity2d.cs similarity index 100% rename from Source/SceneGraph/Entities/Entity2d.cs rename to DaggerFramework/Source/SceneGraph/Entities/Entity2d.cs diff --git a/Source/SceneGraph/Entities/IDrawable.cs b/DaggerFramework/Source/SceneGraph/Entities/IDrawable.cs similarity index 100% rename from Source/SceneGraph/Entities/IDrawable.cs rename to DaggerFramework/Source/SceneGraph/Entities/IDrawable.cs diff --git a/Source/SceneGraph/Entities/Particles2d.cs b/DaggerFramework/Source/SceneGraph/Entities/Particles2d.cs similarity index 100% rename from Source/SceneGraph/Entities/Particles2d.cs rename to DaggerFramework/Source/SceneGraph/Entities/Particles2d.cs diff --git a/Source/SceneGraph/Entities/Sprite2d.cs b/DaggerFramework/Source/SceneGraph/Entities/Sprite2d.cs similarity index 100% rename from Source/SceneGraph/Entities/Sprite2d.cs rename to DaggerFramework/Source/SceneGraph/Entities/Sprite2d.cs diff --git a/Source/SceneGraph/Entities/Text2d.cs b/DaggerFramework/Source/SceneGraph/Entities/Text2d.cs similarity index 100% rename from Source/SceneGraph/Entities/Text2d.cs rename to DaggerFramework/Source/SceneGraph/Entities/Text2d.cs diff --git a/Source/SceneGraph/EntityLayer.cs b/DaggerFramework/Source/SceneGraph/EntityLayer.cs similarity index 100% rename from Source/SceneGraph/EntityLayer.cs rename to DaggerFramework/Source/SceneGraph/EntityLayer.cs diff --git a/Source/SceneGraph/IMainLoop.cs b/DaggerFramework/Source/SceneGraph/IMainLoop.cs similarity index 100% rename from Source/SceneGraph/IMainLoop.cs rename to DaggerFramework/Source/SceneGraph/IMainLoop.cs diff --git a/Source/SceneGraph/Layer.cs b/DaggerFramework/Source/SceneGraph/Layer.cs similarity index 100% rename from Source/SceneGraph/Layer.cs rename to DaggerFramework/Source/SceneGraph/Layer.cs diff --git a/Source/SceneGraph/Scene.cs b/DaggerFramework/Source/SceneGraph/Scene.cs similarity index 100% rename from Source/SceneGraph/Scene.cs rename to DaggerFramework/Source/SceneGraph/Scene.cs diff --git a/Source/Utils/ImGuiRenderLayer.cs b/DaggerFramework/Source/Utils/ImGuiRenderLayer.cs similarity index 100% rename from Source/Utils/ImGuiRenderLayer.cs rename to DaggerFramework/Source/Utils/ImGuiRenderLayer.cs diff --git a/Source/Utils/MathUtils.cs b/DaggerFramework/Source/Utils/MathUtils.cs similarity index 100% rename from Source/Utils/MathUtils.cs rename to DaggerFramework/Source/Utils/MathUtils.cs diff --git a/TODO.md b/DaggerFramework/TODO.md similarity index 100% rename from TODO.md rename to DaggerFramework/TODO.md diff --git a/libs/fmod/fmod.cs b/DaggerFramework/libs/fmod/include/fmod.cs similarity index 100% rename from libs/fmod/fmod.cs rename to DaggerFramework/libs/fmod/include/fmod.cs diff --git a/libs/fmod/fmod_dsp.cs b/DaggerFramework/libs/fmod/include/fmod_dsp.cs similarity index 100% rename from libs/fmod/fmod_dsp.cs rename to DaggerFramework/libs/fmod/include/fmod_dsp.cs diff --git a/libs/fmod/fmod_errors.cs b/DaggerFramework/libs/fmod/include/fmod_errors.cs similarity index 100% rename from libs/fmod/fmod_errors.cs rename to DaggerFramework/libs/fmod/include/fmod_errors.cs diff --git a/libs/fmod/fmod_studio.cs b/DaggerFramework/libs/fmod/include/fmod_studio.cs similarity index 100% rename from libs/fmod/fmod_studio.cs rename to DaggerFramework/libs/fmod/include/fmod_studio.cs diff --git a/TestGame/TestGame.csproj b/TestGame/TestGame.csproj index 86342ac..42906bd 100644 --- a/TestGame/TestGame.csproj +++ b/TestGame/TestGame.csproj @@ -5,11 +5,9 @@ net7.0 enable enable - false - false - + \ No newline at end of file diff --git a/TestGame/UiLayer.cs b/TestGame/UiLayer.cs index d3abd9a..4c1cf8f 100755 --- a/TestGame/UiLayer.cs +++ b/TestGame/UiLayer.cs @@ -15,7 +15,8 @@ public class UiLayer : Layer { renderer.SetTransform(Vector2.Zero); renderer.DrawRectangle(new Vector2(720 / 2, 1280), Color.Green); - renderer.DrawDebugText(new Vector2(720 / 4 - 24, 64), "UI :)", 24, Color.White); + renderer.SetTransform(new Vector2(720 / 4 - 24, 64)); + renderer.DrawDebugText("UI :)", 24, Color.White); } private double _time; diff --git a/binaries/fmod/linux/LINUX_BINARIES_HERE b/binaries/fmod/linux/LINUX_BINARIES_HERE deleted file mode 100644 index e69de29..0000000 diff --git a/binaries/fmod/windows/WINDOWS_BINARIES_HERE b/binaries/fmod/windows/WINDOWS_BINARIES_HERE deleted file mode 100644 index e69de29..0000000