Save a bunch
This commit is contained in:
parent
51d20067c6
commit
38307fadd2
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
# C++ and C# artifact folders
|
||||
/**/[Bb]uild
|
||||
/**/[Bb]in
|
||||
/**/[Oo]bj
|
||||
130
Generators/Skills-Gen/main.py
Normal file
130
Generators/Skills-Gen/main.py
Normal file
@ -0,0 +1,130 @@
|
||||
from random import choice, randint
|
||||
|
||||
ELEMENTS = [
|
||||
"Fire",
|
||||
"Frost",
|
||||
"Ice",
|
||||
"Flame",
|
||||
"Lightning",
|
||||
"Shock",
|
||||
"Poison",
|
||||
"Plague",
|
||||
"Water",
|
||||
"Holy",
|
||||
"Light",
|
||||
"Dark",
|
||||
"Shadow",
|
||||
"Ember",
|
||||
"Lava",
|
||||
"Immolation",
|
||||
"Magma",
|
||||
"Healing",
|
||||
"Hail",
|
||||
"Chaos",
|
||||
"Arctic",
|
||||
"Glacial",
|
||||
"Storm",
|
||||
"Death",
|
||||
"Molten",
|
||||
"Bone",
|
||||
"Spirit",
|
||||
"Blood",
|
||||
"Wind",
|
||||
"Arcane",
|
||||
"Prismatic"
|
||||
]
|
||||
|
||||
SPELL_TYPE = [
|
||||
"Shock",
|
||||
"Bolt",
|
||||
"Aura",
|
||||
"Nova",
|
||||
"Shield",
|
||||
"Blade",
|
||||
"Lance",
|
||||
"Ball",
|
||||
"Teeth",
|
||||
"Pillar",
|
||||
"Spear",
|
||||
"Brand",
|
||||
"Mastery",
|
||||
"Attunement",
|
||||
"Wave",
|
||||
"Blast",
|
||||
"Burst",
|
||||
"Flurry",
|
||||
"Orb",
|
||||
"Glaive",
|
||||
"Breath",
|
||||
"Ritual",
|
||||
"Spike",
|
||||
"Beam",
|
||||
"Bash",
|
||||
"Rush",
|
||||
"Snare",
|
||||
"Pact",
|
||||
"Daggers",
|
||||
"Storm",
|
||||
"Summoning",
|
||||
"Tether",
|
||||
"Totem",
|
||||
"Fury",
|
||||
"Explosion",
|
||||
"Touch",
|
||||
"Cleave",
|
||||
"Hammer",
|
||||
"Grip",
|
||||
"Wrath"
|
||||
]
|
||||
|
||||
SPELL_QUALIFIER = [
|
||||
|
||||
]
|
||||
|
||||
SPELL_RANK = [
|
||||
"Advanced",
|
||||
"Improved",
|
||||
"Lesser",
|
||||
"Greater",
|
||||
"Masterful",
|
||||
"Demonic",
|
||||
"Chain",
|
||||
"Multi",
|
||||
"Forked",
|
||||
"Homing",
|
||||
"Chaotic",
|
||||
"Flaming",
|
||||
"Blessed",
|
||||
"Burning",
|
||||
"Wild"
|
||||
]
|
||||
|
||||
SPELL_OWNERSHIP = [
|
||||
"Nature's",
|
||||
"Demon's",
|
||||
"Angels'",
|
||||
"Dragon's"
|
||||
]
|
||||
|
||||
def gen_name():
|
||||
owner = choice(SPELL_OWNERSHIP) if randint(0,5)==1 else ""
|
||||
rank = choice(SPELL_RANK) if randint(0,1)==1 else ""
|
||||
type = choice(SPELL_TYPE)
|
||||
element = choice(ELEMENTS)
|
||||
name_list = []
|
||||
if not owner == "":
|
||||
name_list.append(owner)
|
||||
if not rank == "":
|
||||
name_list.append(rank)
|
||||
name_list.append(element)
|
||||
name_list.append(type)
|
||||
name = " ".join(name_list)
|
||||
return name
|
||||
|
||||
def main():
|
||||
for _ in range(10):
|
||||
print(gen_name())
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
main()
|
||||
5
Guild/Guild.CLI/.gitignore
vendored
5
Guild/Guild.CLI/.gitignore
vendored
@ -258,4 +258,7 @@ paket-files/
|
||||
|
||||
# Python Tools for Visual Studio (PTVS)
|
||||
__pycache__/
|
||||
*.pyc
|
||||
*.pyc
|
||||
|
||||
# Imgui
|
||||
imgui.ini
|
||||
@ -1,647 +0,0 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v6.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v6.0": {
|
||||
"Guild.CLI/1.0.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET": "2.16.0",
|
||||
"Silk.NET.DXGI": "2.16.0",
|
||||
"Silk.NET.Direct3D.Compilers": "2.16.0",
|
||||
"Silk.NET.Direct3D11": "2.16.0",
|
||||
"Silk.NET.Input": "2.16.0",
|
||||
"Silk.NET.OpenGL": "2.16.0",
|
||||
"Silk.NET.OpenGL.Extensions.ImGui": "2.16.0",
|
||||
"Silk.NET.Windowing": "2.16.0"
|
||||
},
|
||||
"runtime": {
|
||||
"Guild.CLI.dll": {}
|
||||
}
|
||||
},
|
||||
"ImGui.NET/1.87.3": {
|
||||
"dependencies": {
|
||||
"System.Buffers": "4.5.1",
|
||||
"System.Numerics.Vectors": "4.5.0",
|
||||
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net6.0/ImGui.NET.dll": {
|
||||
"assemblyVersion": "1.87.3.0",
|
||||
"fileVersion": "1.87.3.0"
|
||||
}
|
||||
},
|
||||
"runtimeTargets": {
|
||||
"runtimes/linux-x64/native/libcimgui.so": {
|
||||
"rid": "linux-x64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/osx-universal/native/libcimgui.dylib": {
|
||||
"rid": "osx-universal",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/win-x64/native/cimgui.dll": {
|
||||
"rid": "win-x64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/win-x86/native/cimgui.dll": {
|
||||
"rid": "win-x86",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.CSharp/4.7.0": {},
|
||||
"Microsoft.DotNet.PlatformAbstractions/3.1.6": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Microsoft.DotNet.PlatformAbstractions.dll": {
|
||||
"assemblyVersion": "3.1.6.0",
|
||||
"fileVersion": "3.100.620.31604"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.Extensions.DependencyModel/6.0.0": {
|
||||
"dependencies": {
|
||||
"System.Buffers": "4.5.1",
|
||||
"System.Memory": "4.5.5",
|
||||
"System.Runtime.CompilerServices.Unsafe": "6.0.0",
|
||||
"System.Text.Encodings.Web": "6.0.0",
|
||||
"System.Text.Json": "6.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Microsoft.Extensions.DependencyModel.dll": {
|
||||
"assemblyVersion": "6.0.0.0",
|
||||
"fileVersion": "6.0.21.52210"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Silk.NET/2.16.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET.Core": "2.16.0",
|
||||
"Silk.NET.GLFW": "2.16.0",
|
||||
"Silk.NET.Input": "2.16.0",
|
||||
"Silk.NET.OpenAL": "2.16.0",
|
||||
"Silk.NET.OpenGL": "2.16.0",
|
||||
"Silk.NET.Vulkan": "2.16.0",
|
||||
"Silk.NET.Vulkan.Extensions.KHR": "2.16.0",
|
||||
"Silk.NET.Windowing": "2.16.0"
|
||||
}
|
||||
},
|
||||
"Silk.NET.Core/2.16.0": {
|
||||
"dependencies": {
|
||||
"Microsoft.CSharp": "4.7.0",
|
||||
"Microsoft.DotNet.PlatformAbstractions": "3.1.6",
|
||||
"Microsoft.Extensions.DependencyModel": "6.0.0",
|
||||
"System.Memory": "4.5.5",
|
||||
"System.Numerics.Vectors": "4.5.0",
|
||||
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net6.0/Silk.NET.Core.dll": {
|
||||
"assemblyVersion": "2.16.0.0",
|
||||
"fileVersion": "2.16.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Silk.NET.Direct3D.Compilers/2.16.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET.Core": "2.16.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net5.0/Silk.NET.Direct3D.Compilers.dll": {
|
||||
"assemblyVersion": "2.16.0.0",
|
||||
"fileVersion": "2.16.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Silk.NET.Direct3D11/2.16.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET.Core": "2.16.0",
|
||||
"Silk.NET.DXGI": "2.16.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net5.0/Silk.NET.Direct3D11.dll": {
|
||||
"assemblyVersion": "2.16.0.0",
|
||||
"fileVersion": "2.16.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Silk.NET.DXGI/2.16.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET.Core": "2.16.0",
|
||||
"Silk.NET.Maths": "2.16.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net5.0/Silk.NET.DXGI.dll": {
|
||||
"assemblyVersion": "2.16.0.0",
|
||||
"fileVersion": "2.16.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Silk.NET.GLFW/2.16.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET.Core": "2.16.0",
|
||||
"Ultz.Native.GLFW": "3.3.3.1"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net5.0/Silk.NET.GLFW.dll": {
|
||||
"assemblyVersion": "2.16.0.0",
|
||||
"fileVersion": "2.16.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Silk.NET.Input/2.16.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET.Input.Common": "2.16.0",
|
||||
"Silk.NET.Input.Glfw": "2.16.0",
|
||||
"Silk.NET.Input.Sdl": "2.16.0"
|
||||
}
|
||||
},
|
||||
"Silk.NET.Input.Common/2.16.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET.Windowing.Common": "2.16.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net5.0/Silk.NET.Input.Common.dll": {
|
||||
"assemblyVersion": "2.16.0.0",
|
||||
"fileVersion": "2.16.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Silk.NET.Input.Extensions/2.16.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET.Input.Common": "2.16.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net5.0/Silk.NET.Input.Extensions.dll": {
|
||||
"assemblyVersion": "2.16.0.0",
|
||||
"fileVersion": "2.16.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Silk.NET.Input.Glfw/2.16.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET.Input.Common": "2.16.0",
|
||||
"Silk.NET.Windowing.Glfw": "2.16.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net5.0/Silk.NET.Input.Glfw.dll": {
|
||||
"assemblyVersion": "2.16.0.0",
|
||||
"fileVersion": "2.16.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Silk.NET.Input.Sdl/2.16.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET.Input.Common": "2.16.0",
|
||||
"Silk.NET.Windowing.Sdl": "2.16.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net5.0/Silk.NET.Input.Sdl.dll": {
|
||||
"assemblyVersion": "2.16.0.0",
|
||||
"fileVersion": "2.16.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Silk.NET.Maths/2.16.0": {
|
||||
"runtime": {
|
||||
"lib/net5.0/Silk.NET.Maths.dll": {
|
||||
"assemblyVersion": "2.16.0.0",
|
||||
"fileVersion": "2.16.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Silk.NET.OpenAL/2.16.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET.Core": "2.16.0",
|
||||
"System.Buffers": "4.5.1",
|
||||
"System.Numerics.Vectors": "4.5.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net5.0/Silk.NET.OpenAL.dll": {
|
||||
"assemblyVersion": "2.16.0.0",
|
||||
"fileVersion": "2.16.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Silk.NET.OpenGL/2.16.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET.Core": "2.16.0",
|
||||
"Silk.NET.Maths": "2.16.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net5.0/Silk.NET.OpenGL.dll": {
|
||||
"assemblyVersion": "2.16.0.0",
|
||||
"fileVersion": "2.16.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Silk.NET.OpenGL.Extensions.ImGui/2.16.0": {
|
||||
"dependencies": {
|
||||
"ImGui.NET": "1.87.3",
|
||||
"Silk.NET.Input.Common": "2.16.0",
|
||||
"Silk.NET.Input.Extensions": "2.16.0",
|
||||
"Silk.NET.OpenGL": "2.16.0",
|
||||
"Silk.NET.Windowing.Common": "2.16.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net5.0/Silk.NET.OpenGL.Extensions.ImGui.dll": {
|
||||
"assemblyVersion": "2.16.0.0",
|
||||
"fileVersion": "2.16.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Silk.NET.SDL/2.16.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET.Core": "2.16.0",
|
||||
"Silk.NET.Maths": "2.16.0",
|
||||
"Ultz.Native.SDL": "2.0.14.1"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net5.0/Silk.NET.SDL.dll": {
|
||||
"assemblyVersion": "2.16.0.0",
|
||||
"fileVersion": "2.16.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Silk.NET.Vulkan/2.16.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET.Core": "2.16.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net5.0/Silk.NET.Vulkan.dll": {
|
||||
"assemblyVersion": "2.16.0.0",
|
||||
"fileVersion": "2.16.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Silk.NET.Vulkan.Extensions.KHR/2.16.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET.Core": "2.16.0",
|
||||
"Silk.NET.Vulkan": "2.16.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net5.0/Silk.NET.Vulkan.Extensions.KHR.dll": {
|
||||
"assemblyVersion": "2.16.0.0",
|
||||
"fileVersion": "2.16.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Silk.NET.Windowing/2.16.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET.Windowing.Common": "2.16.0",
|
||||
"Silk.NET.Windowing.Glfw": "2.16.0"
|
||||
}
|
||||
},
|
||||
"Silk.NET.Windowing.Common/2.16.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET.Core": "2.16.0",
|
||||
"Silk.NET.Maths": "2.16.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.1/Silk.NET.Windowing.Common.dll": {
|
||||
"assemblyVersion": "2.16.0.0",
|
||||
"fileVersion": "2.16.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Silk.NET.Windowing.Glfw/2.16.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET.GLFW": "2.16.0",
|
||||
"Silk.NET.Windowing.Common": "2.16.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net5.0/Silk.NET.Windowing.Glfw.dll": {
|
||||
"assemblyVersion": "2.16.0.0",
|
||||
"fileVersion": "2.16.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Silk.NET.Windowing.Sdl/2.16.0": {
|
||||
"dependencies": {
|
||||
"Silk.NET.SDL": "2.16.0",
|
||||
"Silk.NET.Windowing.Common": "2.16.0"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/net6.0/Silk.NET.Windowing.Sdl.dll": {
|
||||
"assemblyVersion": "2.16.0.0",
|
||||
"fileVersion": "2.16.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Buffers/4.5.1": {},
|
||||
"System.Memory/4.5.5": {},
|
||||
"System.Numerics.Vectors/4.5.0": {},
|
||||
"System.Runtime.CompilerServices.Unsafe/6.0.0": {},
|
||||
"System.Text.Encodings.Web/6.0.0": {
|
||||
"dependencies": {
|
||||
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
|
||||
}
|
||||
},
|
||||
"System.Text.Json/6.0.0": {
|
||||
"dependencies": {
|
||||
"System.Runtime.CompilerServices.Unsafe": "6.0.0",
|
||||
"System.Text.Encodings.Web": "6.0.0"
|
||||
}
|
||||
},
|
||||
"Ultz.Native.GLFW/3.3.3.1": {
|
||||
"runtimeTargets": {
|
||||
"runtimes/linux-x64/native/libglfw.so.3": {
|
||||
"rid": "linux-x64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/osx-arm64/native/libglfw.3.dylib": {
|
||||
"rid": "osx-arm64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/osx-x64/native/libglfw.3.dylib": {
|
||||
"rid": "osx-x64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/win-x64/native/glfw3.dll": {
|
||||
"rid": "win-x64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/win-x86/native/glfw3.dll": {
|
||||
"rid": "win-x86",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Ultz.Native.SDL/2.0.14.1": {
|
||||
"runtimeTargets": {
|
||||
"runtimes/linux-x64/native/libSDL2-2.0.so": {
|
||||
"rid": "linux-x64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/osx-x64/native/libSDL2-2.0.dylib": {
|
||||
"rid": "osx-x64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "0.0.0.0"
|
||||
},
|
||||
"runtimes/win-x64/native/SDL2.dll": {
|
||||
"rid": "win-x64",
|
||||
"assetType": "native",
|
||||
"fileVersion": "2.0.14.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Guild.CLI/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"ImGui.NET/1.87.3": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-pYKUrXtvinMZiWToAzGhAGXscPr1B/NVVADbfbBlpl9waaVtB/7q9Zx07HyjivE44f8u1W1L++iwwfrCS3Sw3w==",
|
||||
"path": "imgui.net/1.87.3",
|
||||
"hashPath": "imgui.net.1.87.3.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.CSharp/4.7.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-pTj+D3uJWyN3My70i2Hqo+OXixq3Os2D1nJ2x92FFo6sk8fYS1m1WLNTs0Dc1uPaViH0YvEEwvzddQ7y4rhXmA==",
|
||||
"path": "microsoft.csharp/4.7.0",
|
||||
"hashPath": "microsoft.csharp.4.7.0.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.DotNet.PlatformAbstractions/3.1.6": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-jek4XYaQ/PGUwDKKhwR8K47Uh1189PFzMeLqO83mXrXQVIpARZCcfuDedH50YDTepBkfijCZN5U/vZi++erxtg==",
|
||||
"path": "microsoft.dotnet.platformabstractions/3.1.6",
|
||||
"hashPath": "microsoft.dotnet.platformabstractions.3.1.6.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.Extensions.DependencyModel/6.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-TD5QHg98m3+QhgEV1YVoNMl5KtBw/4rjfxLHO0e/YV9bPUBDKntApP4xdrVtGgCeQZHVfC2EXIGsdpRNrr87Pg==",
|
||||
"path": "microsoft.extensions.dependencymodel/6.0.0",
|
||||
"hashPath": "microsoft.extensions.dependencymodel.6.0.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-K62SIwgqK1cfsDYRyfeJpU6ZjImMkqgxvCFP7mECrwSHaU2NAo5dK6JzhEhHywhtlrR6pdW+jkpzuffX+F4new==",
|
||||
"path": "silk.net/2.16.0",
|
||||
"hashPath": "silk.net.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.Core/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-9lU5QtE9SGaDtzj817Kp4td9jF2XsDwevzjmoEA7Fxp2t5uM4KDVAns4YgNT15J87v+mg3bxG7fK4aVSMkfbLA==",
|
||||
"path": "silk.net.core/2.16.0",
|
||||
"hashPath": "silk.net.core.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.Direct3D.Compilers/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-7VPDUj2y9XH64qCkeVpUiIYUOnzBt4OTqxgNnrXRf7ewfF3WUxzbZabQ8fe50unF73CvhvO5M8WJxbJCDev4ug==",
|
||||
"path": "silk.net.direct3d.compilers/2.16.0",
|
||||
"hashPath": "silk.net.direct3d.compilers.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.Direct3D11/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-3MlAi8PqvFIx3XTOx49TvKnojoPBwLzn46xbJ4Zpu58He//D/ZNM4QmK7/lR8m69Eq0iOY2vS3ZYanKrS8KHUA==",
|
||||
"path": "silk.net.direct3d11/2.16.0",
|
||||
"hashPath": "silk.net.direct3d11.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.DXGI/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-DPyAs4HWDKeFbFepdmcjmSM90AHmVnDObSZH4lYTUH82iiVhPDHETzxPi6XwPEAp4oWi0tGoTapQFe3Zji1jlQ==",
|
||||
"path": "silk.net.dxgi/2.16.0",
|
||||
"hashPath": "silk.net.dxgi.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.GLFW/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-SwYGUz//ZUiNFmPFDa82g2mDGDBpUmGPBRXFGY4MbpuMGGdOWdByA1vt4b7eNRsBuu1aAkiJznaCudiUtULMew==",
|
||||
"path": "silk.net.glfw/2.16.0",
|
||||
"hashPath": "silk.net.glfw.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.Input/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-u6RZ93e3Dg5yaeCiXZJn+6olLNi5UeGKJyVsU+LwVJbugFMsD6ANm0QZ++qQCql+DLxJVeBzIEnu0mA12sLxUA==",
|
||||
"path": "silk.net.input/2.16.0",
|
||||
"hashPath": "silk.net.input.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.Input.Common/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-RLweqYgzOScnW79UIFRaaI8b41EtkKOeGlUyFD6jRK/hqlrSQgEL/5vlpeFP/U85KaifFsGGsL1dv+FMWhP4bw==",
|
||||
"path": "silk.net.input.common/2.16.0",
|
||||
"hashPath": "silk.net.input.common.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.Input.Extensions/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-rutA2vXhHDZm7v9tSsJWYCf5kXafbJSWQT5ghO2iOiQQbRZK+E+tmMyQBTmrJc9+pwXASpM4q4vUJAVdmMArdg==",
|
||||
"path": "silk.net.input.extensions/2.16.0",
|
||||
"hashPath": "silk.net.input.extensions.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.Input.Glfw/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-KlAdyb22PxKYkpDdUGFw3vKKFpbdwubIMPUyDnoxaDzgBc0aOk5yY7aCsrYs8cNel/rlJZ6ZlL1BSqzYz4YvZg==",
|
||||
"path": "silk.net.input.glfw/2.16.0",
|
||||
"hashPath": "silk.net.input.glfw.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.Input.Sdl/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-4RTvoYYxkQldrJHKJR74tPV3tkA/1xpVzDRI2sTMRmB9X1MJhTD8Zeuw436E+oKxYc8uv8PzPqIzTnXlK4uDkA==",
|
||||
"path": "silk.net.input.sdl/2.16.0",
|
||||
"hashPath": "silk.net.input.sdl.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.Maths/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-Xjw9Fw/DQ0zVgJL5FUBH04qMp+vEfoHd71PrnrGwsRmopwEK4KKLuMYLVN/tKLvq5Mfh0Qd0bItOb26MyIJ/7g==",
|
||||
"path": "silk.net.maths/2.16.0",
|
||||
"hashPath": "silk.net.maths.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.OpenAL/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-6oiF3ftldIMzYgQO5JV9XsBpC5e5UrVEq/amZzcNNM+C6B06e6syKdD1Dg6EV4YCRtljlGif6NC0QDkXi/UiUw==",
|
||||
"path": "silk.net.openal/2.16.0",
|
||||
"hashPath": "silk.net.openal.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.OpenGL/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-SOE1lTWjMr+ThA+90XJ7MrKgygVm8ozOx4IWA1mX+7is9XSML8SaOO9FhmQgGhLbY8sPvOpiFbUhICZNXrMpFw==",
|
||||
"path": "silk.net.opengl/2.16.0",
|
||||
"hashPath": "silk.net.opengl.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.OpenGL.Extensions.ImGui/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-VrKn5am20z2kdc0Kd91/lMu9srehwXoqbUbxySsPrmLr1uNVkDSxDFzXqKKAzqVSa13kY/d/7J/vv6SQX91Dlg==",
|
||||
"path": "silk.net.opengl.extensions.imgui/2.16.0",
|
||||
"hashPath": "silk.net.opengl.extensions.imgui.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.SDL/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-Os5L+FhUxRNG/YfG3yFes5tNoPIaAlw3Y9g/dwBYYWgVxQpdhMpjTYjQEu+0zG2lguxgul03LRVtmt/+nyr+NQ==",
|
||||
"path": "silk.net.sdl/2.16.0",
|
||||
"hashPath": "silk.net.sdl.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.Vulkan/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-AxBUL4fxd4f8f5u7V4nhdZbeCmeWAmphUm0Lfai1YUCHLb6XNORP5jvlpTpBfW9mvtd8aLjV8cyTfdYw11vnig==",
|
||||
"path": "silk.net.vulkan/2.16.0",
|
||||
"hashPath": "silk.net.vulkan.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.Vulkan.Extensions.KHR/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-vM0/+Nc3EqHoIhsW8z/YvKt5xIY37GOTvcEsToiZaYwEMaNvNdsqxIZEhHIaLj+SujbX5cH1755al1r1rbCLhw==",
|
||||
"path": "silk.net.vulkan.extensions.khr/2.16.0",
|
||||
"hashPath": "silk.net.vulkan.extensions.khr.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.Windowing/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-385Qmc8pwMc9rs0YL30JHFLU6v33nQQcdShKrRtyoXX3+HGArkUT3T4rSpDHsA7EzCa0GBB4csh8AoheKqudxg==",
|
||||
"path": "silk.net.windowing/2.16.0",
|
||||
"hashPath": "silk.net.windowing.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.Windowing.Common/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-ay/eRIsZWnsDMlV8ZJDMQ+/HrLtmX4IWPdGBzbik3sKbcm9pvTFiCZWIrBNpg7IJpZhw6e1ZrhSsiK65+mH+rA==",
|
||||
"path": "silk.net.windowing.common/2.16.0",
|
||||
"hashPath": "silk.net.windowing.common.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.Windowing.Glfw/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-ZKR70gVtp/BAXU7ds6hzUowJx2HCwwacFH0zY1/ZEfj/AUzBtQQwZqXYrGoNX7vlwPtGXUDn4MzwBhplBR0CqA==",
|
||||
"path": "silk.net.windowing.glfw/2.16.0",
|
||||
"hashPath": "silk.net.windowing.glfw.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"Silk.NET.Windowing.Sdl/2.16.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-R3ceesLRv3nbJDy2G0yfaqGwdTBb/GmdLAEUg6GczEy1YNmmD1SLrLoJuDckOsUIDWMV3IyacmoSwYdcaBsu4A==",
|
||||
"path": "silk.net.windowing.sdl/2.16.0",
|
||||
"hashPath": "silk.net.windowing.sdl.2.16.0.nupkg.sha512"
|
||||
},
|
||||
"System.Buffers/4.5.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==",
|
||||
"path": "system.buffers/4.5.1",
|
||||
"hashPath": "system.buffers.4.5.1.nupkg.sha512"
|
||||
},
|
||||
"System.Memory/4.5.5": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==",
|
||||
"path": "system.memory/4.5.5",
|
||||
"hashPath": "system.memory.4.5.5.nupkg.sha512"
|
||||
},
|
||||
"System.Numerics.Vectors/4.5.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==",
|
||||
"path": "system.numerics.vectors/4.5.0",
|
||||
"hashPath": "system.numerics.vectors.4.5.0.nupkg.sha512"
|
||||
},
|
||||
"System.Runtime.CompilerServices.Unsafe/6.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==",
|
||||
"path": "system.runtime.compilerservices.unsafe/6.0.0",
|
||||
"hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512"
|
||||
},
|
||||
"System.Text.Encodings.Web/6.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-Vg8eB5Tawm1IFqj4TVK1czJX89rhFxJo9ELqc/Eiq0eXy13RK00eubyU6TJE6y+GQXjyV5gSfiewDUZjQgSE0w==",
|
||||
"path": "system.text.encodings.web/6.0.0",
|
||||
"hashPath": "system.text.encodings.web.6.0.0.nupkg.sha512"
|
||||
},
|
||||
"System.Text.Json/6.0.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-zaJsHfESQvJ11vbXnNlkrR46IaMULk/gHxYsJphzSF+07kTjPHv+Oc14w6QEOfo3Q4hqLJgStUaYB9DBl0TmWg==",
|
||||
"path": "system.text.json/6.0.0",
|
||||
"hashPath": "system.text.json.6.0.0.nupkg.sha512"
|
||||
},
|
||||
"Ultz.Native.GLFW/3.3.3.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-7eUNO/A1+BXZt0HF1i67HByjmQFo/FfdFatdHUlupv1qnu5tKr5RLreZ7O1Fr0oRIcW6kEx7kJY0aPfJBwcJAw==",
|
||||
"path": "ultz.native.glfw/3.3.3.1",
|
||||
"hashPath": "ultz.native.glfw.3.3.3.1.nupkg.sha512"
|
||||
},
|
||||
"Ultz.Native.SDL/2.0.14.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-pqhYzaFfEXGCZag7JsO3YoNHYALBqFHu4a3Ejyz5rjPW51p3Tfjs82Cz8n9GkohzJADZxSRthNYWpa3Hi1Vp6g==",
|
||||
"path": "ultz.native.sdl/2.0.14.1",
|
||||
"hashPath": "ultz.native.sdl.2.0.14.1.nupkg.sha512"
|
||||
}
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,9 +0,0 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net6.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "6.0.0"
|
||||
}
|
||||
}
|
||||
}
|
||||
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.
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.
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.
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.
@ -4,7 +4,17 @@ Size=400,400
|
||||
Collapsed=0
|
||||
|
||||
[Window][Dear ImGui Demo]
|
||||
Pos=1318,438
|
||||
Pos=129,236
|
||||
Size=550,680
|
||||
Collapsed=1
|
||||
Collapsed=0
|
||||
|
||||
[Window][Dear ImGui Metrics/Debugger]
|
||||
Pos=800,33
|
||||
Size=339,290
|
||||
Collapsed=0
|
||||
|
||||
[Window][Dear ImGui Stack Tool]
|
||||
Pos=60,60
|
||||
Size=281,188
|
||||
Collapsed=0
|
||||
|
||||
|
||||
@ -1,4 +0,0 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v6.0", FrameworkDisplayName = "")]
|
||||
@ -1,22 +0,0 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Guild.CLI")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Guild.CLI")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Guild.CLI")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
||||
@ -1 +0,0 @@
|
||||
b25b9017166f3d4f105d310d9739057173339f84
|
||||
@ -1,10 +0,0 @@
|
||||
is_global = true
|
||||
build_property.TargetFramework = net6.0
|
||||
build_property.TargetPlatformMinVersion =
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = Guild.CLI
|
||||
build_property.ProjectDir = C:\dev\monorepo\Guild\Guild.CLI\
|
||||
@ -1,8 +0,0 @@
|
||||
// <auto-generated/>
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.IO;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Net.Http;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
||||
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
4472e166aa7d831282c2f83311dc4c0c0d7eda1e
|
||||
@ -1,50 +0,0 @@
|
||||
C:\dev\monorepo\Guild\Guild.CLI\obj\Debug\net6.0\Guild.CLI.csproj.AssemblyReference.cache
|
||||
C:\dev\monorepo\Guild\Guild.CLI\obj\Debug\net6.0\Guild.CLI.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\dev\monorepo\Guild\Guild.CLI\obj\Debug\net6.0\Guild.CLI.AssemblyInfoInputs.cache
|
||||
C:\dev\monorepo\Guild\Guild.CLI\obj\Debug\net6.0\Guild.CLI.AssemblyInfo.cs
|
||||
C:\dev\monorepo\Guild\Guild.CLI\obj\Debug\net6.0\Guild.CLI.csproj.CoreCompileInputs.cache
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Guild.CLI.exe
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Guild.CLI.deps.json
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Guild.CLI.runtimeconfig.json
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Guild.CLI.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Guild.CLI.pdb
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\ImGui.NET.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Microsoft.DotNet.PlatformAbstractions.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Microsoft.Extensions.DependencyModel.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Silk.NET.Core.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Silk.NET.Direct3D.Compilers.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Silk.NET.Direct3D11.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Silk.NET.DXGI.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Silk.NET.GLFW.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Silk.NET.Input.Common.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Silk.NET.Input.Extensions.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Silk.NET.Input.Glfw.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Silk.NET.Input.Sdl.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Silk.NET.Maths.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Silk.NET.OpenAL.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Silk.NET.OpenGL.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Silk.NET.OpenGL.Extensions.ImGui.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Silk.NET.SDL.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Silk.NET.Vulkan.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Silk.NET.Vulkan.Extensions.KHR.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Silk.NET.Windowing.Common.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Silk.NET.Windowing.Glfw.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\Silk.NET.Windowing.Sdl.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\runtimes\linux-x64\native\libcimgui.so
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\runtimes\osx-universal\native\libcimgui.dylib
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\runtimes\win-x64\native\cimgui.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\runtimes\win-x86\native\cimgui.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\runtimes\linux-x64\native\libglfw.so.3
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\runtimes\osx-arm64\native\libglfw.3.dylib
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\runtimes\osx-x64\native\libglfw.3.dylib
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\runtimes\win-x64\native\glfw3.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\runtimes\win-x86\native\glfw3.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\runtimes\linux-x64\native\libSDL2-2.0.so
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\runtimes\osx-x64\native\libSDL2-2.0.dylib
|
||||
C:\dev\monorepo\Guild\Guild.CLI\bin\Debug\net6.0\runtimes\win-x64\native\SDL2.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\obj\Debug\net6.0\Guild.CLI.csproj.CopyComplete
|
||||
C:\dev\monorepo\Guild\Guild.CLI\obj\Debug\net6.0\Guild.CLI.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\obj\Debug\net6.0\refint\Guild.CLI.dll
|
||||
C:\dev\monorepo\Guild\Guild.CLI\obj\Debug\net6.0\Guild.CLI.pdb
|
||||
C:\dev\monorepo\Guild\Guild.CLI\obj\Debug\net6.0\Guild.CLI.genruntimeconfig.cache
|
||||
C:\dev\monorepo\Guild\Guild.CLI\obj\Debug\net6.0\ref\Guild.CLI.dll
|
||||
Binary file not shown.
@ -1 +0,0 @@
|
||||
2f7c0f5dfb2df69b06291b939c913ba6a58dbbfd
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,97 +0,0 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\dev\\monorepo\\Guild\\Guild.CLI\\Guild.CLI.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\dev\\monorepo\\Guild\\Guild.CLI\\Guild.CLI.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\dev\\monorepo\\Guild\\Guild.CLI\\Guild.CLI.csproj",
|
||||
"projectName": "Guild.CLI",
|
||||
"projectPath": "C:\\dev\\monorepo\\Guild\\Guild.CLI\\Guild.CLI.csproj",
|
||||
"packagesPath": "C:\\Users\\Eero\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\dev\\monorepo\\Guild\\Guild.CLI\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Eero\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
|
||||
],
|
||||
"originalTargetFrameworks": [
|
||||
"net6.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0": {
|
||||
"targetAlias": "net6.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net6.0": {
|
||||
"targetAlias": "net6.0",
|
||||
"dependencies": {
|
||||
"Silk.NET": {
|
||||
"target": "Package",
|
||||
"version": "[2.16.0, )"
|
||||
},
|
||||
"Silk.NET.DXGI": {
|
||||
"target": "Package",
|
||||
"version": "[2.16.0, )"
|
||||
},
|
||||
"Silk.NET.Direct3D.Compilers": {
|
||||
"target": "Package",
|
||||
"version": "[2.16.0, )"
|
||||
},
|
||||
"Silk.NET.Direct3D11": {
|
||||
"target": "Package",
|
||||
"version": "[2.16.0, )"
|
||||
},
|
||||
"Silk.NET.Input": {
|
||||
"target": "Package",
|
||||
"version": "[2.16.0, )"
|
||||
},
|
||||
"Silk.NET.OpenGL": {
|
||||
"target": "Package",
|
||||
"version": "[2.16.0, )"
|
||||
},
|
||||
"Silk.NET.OpenGL.Extensions.ImGui": {
|
||||
"target": "Package",
|
||||
"version": "[2.16.0, )"
|
||||
},
|
||||
"Silk.NET.Windowing": {
|
||||
"target": "Package",
|
||||
"version": "[2.16.0, )"
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.400\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -1,15 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Eero\.nuget\packages\</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.3.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\Eero\.nuget\packages\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
@ -1,2 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
||||
File diff suppressed because it is too large
Load Diff
@ -1,43 +0,0 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "xv2fHUMCIuCYrSH0tcpsPal/G/rwOHNG/YMO/9lOlwax08qgErgoCjl8ZkhaLWOhnV0L7lMoEtooFQL4cnRbaA==",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\dev\\monorepo\\Guild\\Guild.CLI\\Guild.CLI.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\imgui.net\\1.87.3\\imgui.net.1.87.3.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\microsoft.csharp\\4.7.0\\microsoft.csharp.4.7.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\microsoft.dotnet.platformabstractions\\3.1.6\\microsoft.dotnet.platformabstractions.3.1.6.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\microsoft.extensions.dependencymodel\\6.0.0\\microsoft.extensions.dependencymodel.6.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net\\2.16.0\\silk.net.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.core\\2.16.0\\silk.net.core.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.direct3d.compilers\\2.16.0\\silk.net.direct3d.compilers.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.direct3d11\\2.16.0\\silk.net.direct3d11.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.dxgi\\2.16.0\\silk.net.dxgi.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.glfw\\2.16.0\\silk.net.glfw.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.input\\2.16.0\\silk.net.input.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.input.common\\2.16.0\\silk.net.input.common.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.input.extensions\\2.16.0\\silk.net.input.extensions.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.input.glfw\\2.16.0\\silk.net.input.glfw.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.input.sdl\\2.16.0\\silk.net.input.sdl.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.maths\\2.16.0\\silk.net.maths.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.openal\\2.16.0\\silk.net.openal.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.opengl\\2.16.0\\silk.net.opengl.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.opengl.extensions.imgui\\2.16.0\\silk.net.opengl.extensions.imgui.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.sdl\\2.16.0\\silk.net.sdl.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.vulkan\\2.16.0\\silk.net.vulkan.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.vulkan.extensions.khr\\2.16.0\\silk.net.vulkan.extensions.khr.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.windowing\\2.16.0\\silk.net.windowing.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.windowing.common\\2.16.0\\silk.net.windowing.common.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.windowing.glfw\\2.16.0\\silk.net.windowing.glfw.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\silk.net.windowing.sdl\\2.16.0\\silk.net.windowing.sdl.2.16.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\system.buffers\\4.5.1\\system.buffers.4.5.1.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\system.memory\\4.5.5\\system.memory.4.5.5.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\system.numerics.vectors\\4.5.0\\system.numerics.vectors.4.5.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\6.0.0\\system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\system.text.encodings.web\\6.0.0\\system.text.encodings.web.6.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\system.text.json\\6.0.0\\system.text.json.6.0.0.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\ultz.native.glfw\\3.3.3.1\\ultz.native.glfw.3.3.3.1.nupkg.sha512",
|
||||
"C:\\Users\\Eero\\.nuget\\packages\\ultz.native.sdl\\2.0.14.1\\ultz.native.sdl.2.0.14.1.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
}
|
||||
3
Learning/DX9/.gitignore
vendored
Normal file
3
Learning/DX9/.gitignore
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
*.exe
|
||||
*.obj
|
||||
/build
|
||||
19
Learning/DX9/CMakeLists.txt
Normal file
19
Learning/DX9/CMakeLists.txt
Normal file
@ -0,0 +1,19 @@
|
||||
cmake_minimum_required(VERSION 3.0)
|
||||
|
||||
project(DirectX9BlankScreen)
|
||||
|
||||
# Add the executable target
|
||||
add_executable(${PROJECT_NAME} WIN32 main.cpp)
|
||||
|
||||
# Find DirectX 9 libraries
|
||||
|
||||
set(DIRECTX_SDK_PATH "C:/Program Files (x86)/Microsoft DirectX SDK (June 2010)")
|
||||
|
||||
# Include DirectX headers
|
||||
target_include_directories(${PROJECT_NAME} PRIVATE "${DIRECTX_SDK_PATH}/Include")
|
||||
|
||||
# Link DirectX libraries
|
||||
target_link_libraries(${PROJECT_NAME} PRIVATE "${DIRECTX_SDK_PATH}/Lib/x64/d3d9.lib")
|
||||
|
||||
# Set the C++ standard to C++11 or higher
|
||||
set_target_properties(${PROJECT_NAME} PROPERTIES CXX_STANDARD 11)
|
||||
184
Learning/DX9/main.cpp
Normal file
184
Learning/DX9/main.cpp
Normal file
@ -0,0 +1,184 @@
|
||||
/*
|
||||
Compile with
|
||||
cl /nologo main.cpp /link user32.lib d3d9.lib
|
||||
|
||||
OR
|
||||
|
||||
Add these:
|
||||
#pragma comment(lib,"user32.lib")
|
||||
#pragma comment(lib, "d3d9.lib")
|
||||
|
||||
and compile with:
|
||||
cl /nologo main.cpp
|
||||
*/
|
||||
|
||||
#include <Windows.h>
|
||||
#include <d3d9.h>
|
||||
|
||||
|
||||
|
||||
// Function prototypes
|
||||
LRESULT CALLBACK WindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam);
|
||||
HRESULT InitializeDirectX(HWND hWnd);
|
||||
void RenderFrame();
|
||||
|
||||
// DirectX variables
|
||||
LPDIRECT3D9 pD3D = NULL;
|
||||
LPDIRECT3DDEVICE9 pd3dDevice = NULL;
|
||||
|
||||
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
|
||||
{
|
||||
// Create the window
|
||||
const char className[] = "DirectX9BlankScreen";
|
||||
const int width = 800;
|
||||
const int height = 600;
|
||||
|
||||
WNDCLASS wc = {};
|
||||
wc.lpfnWndProc = WindowProc;
|
||||
wc.hInstance = hInstance;
|
||||
wc.lpszClassName = className;
|
||||
wc.hCursor = LoadCursor(NULL, IDC_ARROW);
|
||||
|
||||
RegisterClass(&wc);
|
||||
|
||||
HWND hWnd = CreateWindowEx(
|
||||
0,
|
||||
className,
|
||||
"DirectX 9 Blank Screen",
|
||||
WS_OVERLAPPEDWINDOW,
|
||||
CW_USEDEFAULT, CW_USEDEFAULT,
|
||||
width, height,
|
||||
NULL,
|
||||
NULL,
|
||||
hInstance,
|
||||
NULL
|
||||
);
|
||||
|
||||
if (!hWnd)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Initialize DirectX
|
||||
if (FAILED(InitializeDirectX(hWnd)))
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
// Show the window
|
||||
ShowWindow(hWnd, nCmdShow);
|
||||
UpdateWindow(hWnd);
|
||||
|
||||
// Main message loop
|
||||
MSG msg = {};
|
||||
while (msg.message != WM_QUIT)
|
||||
{
|
||||
if (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
|
||||
{
|
||||
TranslateMessage(&msg);
|
||||
DispatchMessage(&msg);
|
||||
}
|
||||
else
|
||||
{
|
||||
RenderFrame();
|
||||
}
|
||||
}
|
||||
|
||||
// Clean up DirectX resources
|
||||
if (pd3dDevice)
|
||||
{
|
||||
pd3dDevice->Release();
|
||||
pd3dDevice = NULL;
|
||||
}
|
||||
if (pD3D)
|
||||
{
|
||||
pD3D->Release();
|
||||
pD3D = NULL;
|
||||
}
|
||||
|
||||
return static_cast<int>(msg.wParam);
|
||||
}
|
||||
|
||||
LRESULT CALLBACK WindowProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lParam)
|
||||
{
|
||||
switch (message)
|
||||
{
|
||||
case WM_DESTROY:
|
||||
PostQuitMessage(0);
|
||||
return 0;
|
||||
|
||||
default:
|
||||
return DefWindowProc(hWnd, message, wParam, lParam);
|
||||
}
|
||||
}
|
||||
|
||||
HRESULT InitializeDirectX(HWND hWnd)
|
||||
{
|
||||
// Create the Direct3D9 object
|
||||
pD3D = Direct3DCreate9(D3D_SDK_VERSION);
|
||||
if (!pD3D)
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
// Setup the presentation parameters
|
||||
D3DPRESENT_PARAMETERS d3dpp = {};
|
||||
d3dpp.Windowed = TRUE;
|
||||
d3dpp.SwapEffect = D3DSWAPEFFECT_DISCARD;
|
||||
d3dpp.hDeviceWindow = hWnd;
|
||||
|
||||
// Create the Direct3D device
|
||||
if (FAILED(pD3D->CreateDevice(
|
||||
D3DADAPTER_DEFAULT,
|
||||
D3DDEVTYPE_HAL,
|
||||
hWnd,
|
||||
D3DCREATE_HARDWARE_VERTEXPROCESSING,
|
||||
&d3dpp,
|
||||
&pd3dDevice
|
||||
)))
|
||||
{
|
||||
return E_FAIL;
|
||||
}
|
||||
|
||||
return S_OK;
|
||||
}
|
||||
|
||||
void RenderFrame()
|
||||
{
|
||||
// Clear the back buffer
|
||||
pd3dDevice->Clear(0, NULL, D3DCLEAR_TARGET, D3DCOLOR_XRGB(0, 0, 0), 1.0f, 0);
|
||||
|
||||
// Begin the scene
|
||||
pd3dDevice->BeginScene();
|
||||
|
||||
// Set the vertex format
|
||||
pd3dDevice->SetFVF(D3DFVF_XYZ);
|
||||
|
||||
// Define the vertices of the triangle
|
||||
struct Vertex
|
||||
{
|
||||
float x, y, z;
|
||||
};
|
||||
Vertex vertices[] =
|
||||
{
|
||||
{ 0.0f, 1.0f, 0.0f }, // Top
|
||||
{ -1.0f, -1.0f, 0.0f }, // Bottom-left
|
||||
{ 1.0f, -1.0f, 0.0f } // Bottom-right
|
||||
};
|
||||
|
||||
// Set the color to red
|
||||
pd3dDevice->SetRenderState(D3DRS_LIGHTING, FALSE); // Disable lighting
|
||||
pd3dDevice->SetRenderState(D3DRS_CULLMODE, D3DCULL_NONE); // Disable backface culling
|
||||
pd3dDevice->SetRenderState(D3DRS_ALPHABLENDENABLE, FALSE); // Disable alpha blending
|
||||
pd3dDevice->SetRenderState(D3DRS_FILLMODE, D3DFILL_SOLID); // Solid fill mode
|
||||
pd3dDevice->SetRenderState(D3DRS_SHADEMODE, D3DSHADE_GOURAUD); // Gouraud shading
|
||||
|
||||
// Draw the triangle
|
||||
pd3dDevice->DrawPrimitiveUP(D3DPT_TRIANGLELIST, 1, vertices, sizeof(Vertex));
|
||||
|
||||
// End the scene
|
||||
pd3dDevice->EndScene();
|
||||
|
||||
// Present the back buffer to the screen
|
||||
pd3dDevice->Present(NULL, NULL, NULL, NULL);
|
||||
}
|
||||
10
Simulation/Fantasy.NET/Fantasy.NET.csproj
Normal file
10
Simulation/Fantasy.NET/Fantasy.NET.csproj
Normal file
@ -0,0 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
||||
2
Simulation/Fantasy.NET/Program.cs
Normal file
2
Simulation/Fantasy.NET/Program.cs
Normal file
@ -0,0 +1,2 @@
|
||||
// See https://aka.ms/new-console-template for more information
|
||||
Console.WriteLine("Hello, World!");
|
||||
32
Simulation/Fantasy.NET/Simulation.cs
Normal file
32
Simulation/Fantasy.NET/Simulation.cs
Normal file
@ -0,0 +1,32 @@
|
||||
namespace Fantasy;
|
||||
|
||||
public class Simulation
|
||||
{
|
||||
|
||||
private float ElapsedTime = 0f;
|
||||
private float AccumilatedTime = 0f;
|
||||
|
||||
private bool IsRunning = false;
|
||||
|
||||
public Simulation()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public void Start()
|
||||
{
|
||||
float dt = 0f;
|
||||
IsRunning = true;
|
||||
while (IsRunning)
|
||||
{
|
||||
|
||||
this.Loop(dt);
|
||||
ElapsedTime += dt;
|
||||
}
|
||||
}
|
||||
|
||||
private void Loop(float dt)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
218
Simulation/Fantasy/main.py
Normal file
218
Simulation/Fantasy/main.py
Normal file
@ -0,0 +1,218 @@
|
||||
import random
|
||||
|
||||
MAX_DISTANCE = 100
|
||||
SOUND_EFFECTS = ["Slap!", "Smack!"]
|
||||
|
||||
def fformat_percentage(val):
|
||||
if val == 1.0:
|
||||
return "0%"
|
||||
elif val > 1.0:
|
||||
return f"{int((val-1)*100)}%"
|
||||
return f"{int((-val)*100)}%"
|
||||
|
||||
def iformat_percentage(val):
|
||||
return f"{val}%"
|
||||
|
||||
class Defeated:
|
||||
"""
|
||||
Tris only cums as much as possible
|
||||
"""
|
||||
def __init__(self, game):
|
||||
self.game = game
|
||||
self.input = ""
|
||||
self.is_running = True
|
||||
self.chance = None
|
||||
|
||||
def do_action(self, inp):
|
||||
if inp in ["end"]:
|
||||
self.is_running = False
|
||||
return
|
||||
else:
|
||||
self.game.arousal += 10
|
||||
print(random.choice(SOUND_EFFECTS))
|
||||
|
||||
def run(self):
|
||||
while self.is_running:
|
||||
self.input = input("$")
|
||||
self.do_action(self.input)
|
||||
print("Defeat Ended.")
|
||||
|
||||
|
||||
class Encounter:
|
||||
"""
|
||||
If stamina gets to zero during an encounter, Tris is "defeated".
|
||||
"""
|
||||
def __init__(self, game):
|
||||
self.game = game
|
||||
self.input = ""
|
||||
self.is_running = True
|
||||
self.chance = None
|
||||
self.enemy = Enemy()
|
||||
|
||||
def roll(self):
|
||||
self.chance = random.random()
|
||||
|
||||
def check_defeat(self):
|
||||
if self.game.stamina <= 0:
|
||||
print("Defeated!")
|
||||
self.is_running = False
|
||||
d = Defeated(self.game)
|
||||
d.run()
|
||||
|
||||
def do_action(self, inp):
|
||||
self.check_defeat()
|
||||
if inp in ["fight", "f"]:
|
||||
print("Fight!")
|
||||
self.game.drain_stamina(20)
|
||||
self.enemy.attack(self.game)
|
||||
# self.is_running = False
|
||||
else:
|
||||
print("Unknown command.")
|
||||
|
||||
def run(self):
|
||||
while self.is_running:
|
||||
self.input = input("#")
|
||||
self.do_action(self.input)
|
||||
print("Encounter ended.")
|
||||
|
||||
class Enemy:
|
||||
def __init__(self) -> None:
|
||||
self.health = random.randint(50, 150)
|
||||
|
||||
def attack(self, game):
|
||||
if hasattr(game, "stamina"):
|
||||
print("Enemy attacks ")
|
||||
game.stamina -= 1
|
||||
|
||||
|
||||
class Game:
|
||||
def __init__(self):
|
||||
self.is_running = True
|
||||
self.input = ""
|
||||
self.chance = None
|
||||
# Stats
|
||||
self.distance = 0
|
||||
self.stamina = 100
|
||||
self.arousal = 0
|
||||
self.pleasure = 0
|
||||
self.sensitivity = 1.0
|
||||
|
||||
def save(self, name="save"):
|
||||
print("Saving...")
|
||||
data = [
|
||||
f"distance:{self.distance}\n",
|
||||
f"stamina:{self.stamina}\n",
|
||||
f"arousal:{self.arousal}\n",
|
||||
f"pleasure:{self.pleasure}\n",
|
||||
f"sensitivity:{self.sensitivity}\n",
|
||||
]
|
||||
with open(f"{name}.sav", "w+") as f:
|
||||
f.writelines(data);
|
||||
print("Game saved!")
|
||||
|
||||
def load(self, name="save"):
|
||||
print("Loading...")
|
||||
with open(f"{name}.sav", "r") as f:
|
||||
lines = f.readlines()
|
||||
for line in lines:
|
||||
s = line.split(":")
|
||||
if s[0] == "distance":
|
||||
self.distance = int(s[1])
|
||||
if s[0] == "stamina":
|
||||
self.stamina = int(s[1])
|
||||
if s[0] == "arousal":
|
||||
self.arousal = float(s[1])
|
||||
if s[0] == "pleasure":
|
||||
self.pleasure = int(s[1])
|
||||
if s[0] == "sensitivity":
|
||||
self.sensitivity = float(s[1])
|
||||
print("Game loaded!")
|
||||
|
||||
def roll(self):
|
||||
self.chance = random.random()
|
||||
|
||||
def drain_stamina(self, amt):
|
||||
self.stamina -= amt
|
||||
if self.stamina < 0:
|
||||
self.stamina = 0
|
||||
|
||||
def gain_stamina(self, amt):
|
||||
self.stamina += amt
|
||||
if self.stamina > 100:
|
||||
self.stamina = 100
|
||||
|
||||
def print_status(self):
|
||||
print(f"Tris has travelled {self.distance} out of {MAX_DISTANCE} miles.")
|
||||
print(f"Stamina:\t{self.stamina}")
|
||||
print(f"Pleasure:\t{self.pleasure}")
|
||||
print(f"Arousal:\t{iformat_percentage(self.arousal)}")
|
||||
print(f"Sensitivity:\t{fformat_percentage(self.sensitivity)}")
|
||||
|
||||
def do_encounter(self):
|
||||
print("Encounter!")
|
||||
e = Encounter(self)
|
||||
e.run()
|
||||
|
||||
def do_ambush(self):
|
||||
self.gain_stamina(25)
|
||||
print("Ambush!")
|
||||
e = Encounter(self)
|
||||
e.run()
|
||||
|
||||
def check_victory(self):
|
||||
if self.distance >= MAX_DISTANCE:
|
||||
print("Victory!")
|
||||
self.is_running = False
|
||||
|
||||
def debug(self):
|
||||
print(fformat_percentage(1))
|
||||
print(fformat_percentage(1.5))
|
||||
print(fformat_percentage(0.5))
|
||||
print(fformat_percentage(2.5))
|
||||
print(fformat_percentage(0.0))
|
||||
|
||||
def do_action(self, inp):
|
||||
self.roll()
|
||||
if inp in ["e","exit","q","quit"]:
|
||||
self.is_running = False
|
||||
elif inp in ["walk","w"]:
|
||||
if self.chance > 0.8:
|
||||
self.do_encounter()
|
||||
return
|
||||
if self.stamina == 0:
|
||||
print("Tris has no stamina. She must rest.")
|
||||
else:
|
||||
print("Tris walks forward")
|
||||
self.distance += 1
|
||||
self.drain_stamina(5)
|
||||
self.check_victory()
|
||||
|
||||
elif inp in ["status", "s"]:
|
||||
self.print_status()
|
||||
elif inp in ["save"]:
|
||||
self.save()
|
||||
elif inp in ["load"]:
|
||||
self.load()
|
||||
|
||||
elif inp in ["rest","r"]:
|
||||
if self.chance > 0.9:
|
||||
self.do_ambush()
|
||||
return
|
||||
print("Tris rests")
|
||||
self.gain_stamina(50)
|
||||
elif inp in ["dbg"]:
|
||||
self.debug()
|
||||
else:
|
||||
print("Unknown command.")
|
||||
|
||||
def run(self):
|
||||
while self.is_running:
|
||||
self.input = input(">")
|
||||
self.do_action(self.input)
|
||||
|
||||
def main():
|
||||
game = Game()
|
||||
game.run()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
1
utils/cleaner++/.gitignore
vendored
Normal file
1
utils/cleaner++/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
/build
|
||||
11
utils/cleaner++/CMakeLists.txt
Normal file
11
utils/cleaner++/CMakeLists.txt
Normal file
@ -0,0 +1,11 @@
|
||||
cmake_minimum_required(VERSION 3.0.0)
|
||||
project(cleaner++ VERSION 0.1.0 LANGUAGES C CXX)
|
||||
|
||||
include(CTest)
|
||||
enable_testing()
|
||||
|
||||
add_executable(cleaner++ main.cpp)
|
||||
|
||||
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
|
||||
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
|
||||
include(CPack)
|
||||
5
utils/cleaner++/main.cpp
Normal file
5
utils/cleaner++/main.cpp
Normal file
@ -0,0 +1,5 @@
|
||||
#include <iostream>
|
||||
|
||||
int main(int, char**){
|
||||
std::cout << "Hello, from cleaner++!\n";
|
||||
}
|
||||
@ -1,13 +1,16 @@
|
||||
import haxe.macro.Expr.Catch;
|
||||
import Sys;
|
||||
import sys.FileSystem;
|
||||
|
||||
class Main {
|
||||
|
||||
static var dir: String = "C:\\Users\\Eero\\AppData\\Local\\Temp";
|
||||
static var dirs: Array<String> = [
|
||||
"C:\\Users\\Eero\\AppData\\Local\\Temp"
|
||||
];
|
||||
|
||||
static function main() {
|
||||
clean(dir);
|
||||
for(dir in dirs) {
|
||||
clean(dir);
|
||||
}
|
||||
}
|
||||
|
||||
static function deleteFile(path) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user