commit 6c05cf5aecf25b55f538cca6b2df7cf521e9bb4b Author: Chris Bell Date: Mon Nov 11 22:12:35 2024 -0600 Init diff --git a/.idea/.idea.Tiles/.idea/.gitignore b/.idea/.idea.Tiles/.idea/.gitignore new file mode 100644 index 0000000..4445aaf --- /dev/null +++ b/.idea/.idea.Tiles/.idea/.gitignore @@ -0,0 +1,13 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Rider ignored files +/modules.xml +/projectSettingsUpdater.xml +/.idea.Tiles.iml +/contentModel.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/.idea.Tiles/.idea/indexLayout.xml b/.idea/.idea.Tiles/.idea/indexLayout.xml new file mode 100644 index 0000000..7b08163 --- /dev/null +++ b/.idea/.idea.Tiles/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/Tiles.sln b/Tiles.sln new file mode 100644 index 0000000..cda0d2f --- /dev/null +++ b/Tiles.sln @@ -0,0 +1,16 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Tiles", "Tiles\Tiles.csproj", "{DB2321A5-36C4-495E-BC59-9C7861A1EB39}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {DB2321A5-36C4-495E-BC59-9C7861A1EB39}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {DB2321A5-36C4-495E-BC59-9C7861A1EB39}.Debug|Any CPU.Build.0 = Debug|Any CPU + {DB2321A5-36C4-495E-BC59-9C7861A1EB39}.Release|Any CPU.ActiveCfg = Release|Any CPU + {DB2321A5-36C4-495E-BC59-9C7861A1EB39}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/Tiles/Game.cs b/Tiles/Game.cs new file mode 100644 index 0000000..4f8df70 --- /dev/null +++ b/Tiles/Game.cs @@ -0,0 +1,102 @@ +using System.Numerics; +using Raylib_cs; + +namespace Tiles; + +public class Game +{ + const int _tileSize = 8; + const int _worldWidth = 1920/8; + const int _worldHeight = 1080/8; + + private int _screenWidth; + private int _screenHeight; + + private Dictionary _tiles = new(); + private Dictionary _worldGrid = new(); + + public Game(int screenWidth, int screenHeight) + { + _screenWidth = screenWidth; + _screenHeight = screenHeight; + Raylib.InitWindow(_screenWidth, _screenHeight, "Tiles"); + Raylib.SetTargetFPS(60); + + SetupTiles(); + + GenerateWorld(); + + while (!Raylib.WindowShouldClose()) + { + Raylib.BeginDrawing(); + Raylib.ClearBackground(new Color(20, 70, 100, 255)); + + DrawWorld(); + + Raylib.EndDrawing(); + } + } + + private void SetupTiles() + { + _tiles.Add("dirt", new("dirt", "data/tiles/images/dirt.png")); + _tiles.Add("grass", new("grass", "data/tiles/images/grass.png")); + _tiles.Add("rock", new("rock", "data/tiles/images/rock.png")); + } + + private void DrawWorld() + { + foreach (var tile in _worldGrid) + { + if (tile.Value == "air") + { + Raylib.DrawRectangle((int)tile.Key.X * _tileSize,(int)tile.Key.Y * _tileSize, _tileSize, _tileSize, new(0,0,0,0)); + } + else + { + Raylib.DrawTexture(_tiles[tile.Value].Texture, (int)tile.Key.X * _tileSize,(int)tile.Key.Y * _tileSize, Color.White); + } + } + } + + + // private void GenerateWorld() + // { + // for (int x = 0; x < _worldWidth; x++) + // { + // for (int y = 0; y < _worldHeight; y++) + // { + // _worldGrid.Add(new(x, y), "dirt"); + // } + // } + // } + + private void GenerateWorld() + { + int totalHeight = _worldHeight; + + int grassHeight = (int)(totalHeight * 0.05); + int dirtHeight = (int)(totalHeight * 0.10); + int airHeight = (int)(totalHeight * 0.50); + int rockHeight = totalHeight - (airHeight + grassHeight + dirtHeight); + + for (int x = 0; x < _worldWidth; x++) + { + for (int y = 0; y < totalHeight; y++) + { + string tileType; + + if (y < airHeight) + tileType = "air"; + else if (y < airHeight + grassHeight) + tileType = "grass"; + else if (y < airHeight + grassHeight + dirtHeight) + tileType = "dirt"; + else + tileType = "rock"; + + _worldGrid.Add(new(x, y), tileType); + } + } + } +} \ No newline at end of file diff --git a/Tiles/Program.cs b/Tiles/Program.cs new file mode 100644 index 0000000..8eb5900 --- /dev/null +++ b/Tiles/Program.cs @@ -0,0 +1,5 @@ +// Entry point + +using Tiles; + +Game game = new(1920, 1080); \ No newline at end of file diff --git a/Tiles/Tile.cs b/Tiles/Tile.cs new file mode 100644 index 0000000..2587973 --- /dev/null +++ b/Tiles/Tile.cs @@ -0,0 +1,36 @@ +using Raylib_cs; + +namespace Tiles; + +public class Tile +{ + public string Name { get; private set; } = string.Empty; + public Image Image { get; private set; } + public Texture2D Texture { get; private set; } + + public Tile(string name, string pathToImage) + { + Name = name; + Image = LoadImage(pathToImage); + Texture = LoadTexture(Image); + } + + private Image LoadImage(string path) + { + try + { + Image img = Raylib.LoadImage(path); + return img; + } + catch (Exception e) + { + Console.WriteLine(e); + throw; + } + } + + private Texture2D LoadTexture(Image img) + { + return Raylib.LoadTextureFromImage(img); + } +} \ No newline at end of file diff --git a/Tiles/Tiles.csproj b/Tiles/Tiles.csproj new file mode 100644 index 0000000..bf55cb8 --- /dev/null +++ b/Tiles/Tiles.csproj @@ -0,0 +1,19 @@ + + + + Exe + net8.0 + enable + enable + + + + + + + + + + + + diff --git a/Tiles/bin/Debug/net8.0/Newtonsoft.Json.dll b/Tiles/bin/Debug/net8.0/Newtonsoft.Json.dll new file mode 100755 index 0000000..d035c38 Binary files /dev/null and b/Tiles/bin/Debug/net8.0/Newtonsoft.Json.dll differ diff --git a/Tiles/bin/Debug/net8.0/Raylib-cs.dll b/Tiles/bin/Debug/net8.0/Raylib-cs.dll new file mode 100755 index 0000000..0905857 Binary files /dev/null and b/Tiles/bin/Debug/net8.0/Raylib-cs.dll differ diff --git a/Tiles/bin/Debug/net8.0/Tiles b/Tiles/bin/Debug/net8.0/Tiles new file mode 100755 index 0000000..f5f086b Binary files /dev/null and b/Tiles/bin/Debug/net8.0/Tiles differ diff --git a/Tiles/bin/Debug/net8.0/Tiles.deps.json b/Tiles/bin/Debug/net8.0/Tiles.deps.json new file mode 100644 index 0000000..83a05f1 --- /dev/null +++ b/Tiles/bin/Debug/net8.0/Tiles.deps.json @@ -0,0 +1,95 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v8.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v8.0": { + "Tiles/1.0.0": { + "dependencies": { + "Newtonsoft.Json": "13.0.3", + "Raylib-cs": "6.1.1" + }, + "runtime": { + "Tiles.dll": {} + } + }, + "Newtonsoft.Json/13.0.3": { + "runtime": { + "lib/net6.0/Newtonsoft.Json.dll": { + "assemblyVersion": "13.0.0.0", + "fileVersion": "13.0.3.27908" + } + } + }, + "Raylib-cs/6.1.1": { + "dependencies": { + "System.Numerics.Vectors": "4.5.0" + }, + "runtime": { + "lib/net6.0/Raylib-cs.dll": { + "assemblyVersion": "0.0.0.0", + "fileVersion": "0.0.0.0" + } + }, + "runtimeTargets": { + "runtimes/linux-x64/native/libraylib.so": { + "rid": "linux-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/osx-arm64/native/libraylib.dylib": { + "rid": "osx-arm64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/osx-x64/native/libraylib.dylib": { + "rid": "osx-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/win-x64/native/raylib.dll": { + "rid": "win-x64", + "assetType": "native", + "fileVersion": "0.0.0.0" + }, + "runtimes/win-x86/native/raylib.dll": { + "rid": "win-x86", + "assetType": "native", + "fileVersion": "0.0.0.0" + } + } + }, + "System.Numerics.Vectors/4.5.0": {} + } + }, + "libraries": { + "Tiles/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Newtonsoft.Json/13.0.3": { + "type": "package", + "serviceable": true, + "sha512": "sha512-HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", + "path": "newtonsoft.json/13.0.3", + "hashPath": "newtonsoft.json.13.0.3.nupkg.sha512" + }, + "Raylib-cs/6.1.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ty5RQoFK7bW4mTogwMf55Zh73DMJMvFLLJTarhmL1g7loxeLYoHTFufN7JagObdLHo2zB3wVrtEHVCXFoZ9TMg==", + "path": "raylib-cs/6.1.1", + "hashPath": "raylib-cs.6.1.1.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" + } + } +} \ No newline at end of file diff --git a/Tiles/bin/Debug/net8.0/Tiles.dll b/Tiles/bin/Debug/net8.0/Tiles.dll new file mode 100644 index 0000000..0558232 Binary files /dev/null and b/Tiles/bin/Debug/net8.0/Tiles.dll differ diff --git a/Tiles/bin/Debug/net8.0/Tiles.pdb b/Tiles/bin/Debug/net8.0/Tiles.pdb new file mode 100644 index 0000000..c5e64e1 Binary files /dev/null and b/Tiles/bin/Debug/net8.0/Tiles.pdb differ diff --git a/Tiles/bin/Debug/net8.0/Tiles.runtimeconfig.json b/Tiles/bin/Debug/net8.0/Tiles.runtimeconfig.json new file mode 100644 index 0000000..becfaea --- /dev/null +++ b/Tiles/bin/Debug/net8.0/Tiles.runtimeconfig.json @@ -0,0 +1,12 @@ +{ + "runtimeOptions": { + "tfm": "net8.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "8.0.0" + }, + "configProperties": { + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false + } + } +} \ No newline at end of file diff --git a/Tiles/bin/Debug/net8.0/data/tiles/images/dirt.png b/Tiles/bin/Debug/net8.0/data/tiles/images/dirt.png new file mode 100644 index 0000000..745819f Binary files /dev/null and b/Tiles/bin/Debug/net8.0/data/tiles/images/dirt.png differ diff --git a/Tiles/bin/Debug/net8.0/data/tiles/images/grass.png b/Tiles/bin/Debug/net8.0/data/tiles/images/grass.png new file mode 100644 index 0000000..72d92f8 Binary files /dev/null and b/Tiles/bin/Debug/net8.0/data/tiles/images/grass.png differ diff --git a/Tiles/bin/Debug/net8.0/data/tiles/images/rock.png b/Tiles/bin/Debug/net8.0/data/tiles/images/rock.png new file mode 100644 index 0000000..1c7c2a5 Binary files /dev/null and b/Tiles/bin/Debug/net8.0/data/tiles/images/rock.png differ diff --git a/Tiles/bin/Debug/net8.0/runtimes/linux-x64/native/libraylib.so b/Tiles/bin/Debug/net8.0/runtimes/linux-x64/native/libraylib.so new file mode 100755 index 0000000..e3a7318 Binary files /dev/null and b/Tiles/bin/Debug/net8.0/runtimes/linux-x64/native/libraylib.so differ diff --git a/Tiles/bin/Debug/net8.0/runtimes/osx-arm64/native/libraylib.dylib b/Tiles/bin/Debug/net8.0/runtimes/osx-arm64/native/libraylib.dylib new file mode 100755 index 0000000..a0de4f1 Binary files /dev/null and b/Tiles/bin/Debug/net8.0/runtimes/osx-arm64/native/libraylib.dylib differ diff --git a/Tiles/bin/Debug/net8.0/runtimes/osx-x64/native/libraylib.dylib b/Tiles/bin/Debug/net8.0/runtimes/osx-x64/native/libraylib.dylib new file mode 100755 index 0000000..2561ee8 Binary files /dev/null and b/Tiles/bin/Debug/net8.0/runtimes/osx-x64/native/libraylib.dylib differ diff --git a/Tiles/bin/Debug/net8.0/runtimes/win-x64/native/raylib.dll b/Tiles/bin/Debug/net8.0/runtimes/win-x64/native/raylib.dll new file mode 100755 index 0000000..68e27df Binary files /dev/null and b/Tiles/bin/Debug/net8.0/runtimes/win-x64/native/raylib.dll differ diff --git a/Tiles/bin/Debug/net8.0/runtimes/win-x86/native/raylib.dll b/Tiles/bin/Debug/net8.0/runtimes/win-x86/native/raylib.dll new file mode 100755 index 0000000..dec9a1d Binary files /dev/null and b/Tiles/bin/Debug/net8.0/runtimes/win-x86/native/raylib.dll differ diff --git a/Tiles/data/tiles/images/dirt.png b/Tiles/data/tiles/images/dirt.png new file mode 100644 index 0000000..745819f Binary files /dev/null and b/Tiles/data/tiles/images/dirt.png differ diff --git a/Tiles/data/tiles/images/grass.png b/Tiles/data/tiles/images/grass.png new file mode 100644 index 0000000..72d92f8 Binary files /dev/null and b/Tiles/data/tiles/images/grass.png differ diff --git a/Tiles/data/tiles/images/rock.png b/Tiles/data/tiles/images/rock.png new file mode 100644 index 0000000..1c7c2a5 Binary files /dev/null and b/Tiles/data/tiles/images/rock.png differ diff --git a/Tiles/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs b/Tiles/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs new file mode 100644 index 0000000..dca70aa --- /dev/null +++ b/Tiles/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] diff --git a/Tiles/obj/Debug/net8.0/Tiles.AssemblyInfo.cs b/Tiles/obj/Debug/net8.0/Tiles.AssemblyInfo.cs new file mode 100644 index 0000000..3203fbb --- /dev/null +++ b/Tiles/obj/Debug/net8.0/Tiles.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Tiles")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("Tiles")] +[assembly: System.Reflection.AssemblyTitleAttribute("Tiles")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/Tiles/obj/Debug/net8.0/Tiles.AssemblyInfoInputs.cache b/Tiles/obj/Debug/net8.0/Tiles.AssemblyInfoInputs.cache new file mode 100644 index 0000000..442bb18 --- /dev/null +++ b/Tiles/obj/Debug/net8.0/Tiles.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +314703ce6030ab92b0403937767ee96c9e692da1446a0bca83eb671836323b97 diff --git a/Tiles/obj/Debug/net8.0/Tiles.GeneratedMSBuildEditorConfig.editorconfig b/Tiles/obj/Debug/net8.0/Tiles.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..abd2ade --- /dev/null +++ b/Tiles/obj/Debug/net8.0/Tiles.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,13 @@ +is_global = true +build_property.TargetFramework = net8.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = Tiles +build_property.ProjectDir = /home/chris/mnt/data/Projects/tiles/Tiles/Tiles/ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/Tiles/obj/Debug/net8.0/Tiles.GlobalUsings.g.cs b/Tiles/obj/Debug/net8.0/Tiles.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/Tiles/obj/Debug/net8.0/Tiles.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +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; diff --git a/Tiles/obj/Debug/net8.0/Tiles.assets.cache b/Tiles/obj/Debug/net8.0/Tiles.assets.cache new file mode 100644 index 0000000..b226ee8 Binary files /dev/null and b/Tiles/obj/Debug/net8.0/Tiles.assets.cache differ diff --git a/Tiles/obj/Debug/net8.0/Tiles.csproj.AssemblyReference.cache b/Tiles/obj/Debug/net8.0/Tiles.csproj.AssemblyReference.cache new file mode 100644 index 0000000..2ee65a1 Binary files /dev/null and b/Tiles/obj/Debug/net8.0/Tiles.csproj.AssemblyReference.cache differ diff --git a/Tiles/obj/Debug/net8.0/Tiles.csproj.CoreCompileInputs.cache b/Tiles/obj/Debug/net8.0/Tiles.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..cd1379b --- /dev/null +++ b/Tiles/obj/Debug/net8.0/Tiles.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +3ec9c62de44dea25556fa76ba041a9a87f1c23d4041bbf89ddabb09116741918 diff --git a/Tiles/obj/Debug/net8.0/Tiles.csproj.FileListAbsolute.txt b/Tiles/obj/Debug/net8.0/Tiles.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..107e51f --- /dev/null +++ b/Tiles/obj/Debug/net8.0/Tiles.csproj.FileListAbsolute.txt @@ -0,0 +1,26 @@ +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/bin/Debug/net8.0/Tiles +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/bin/Debug/net8.0/Tiles.deps.json +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/bin/Debug/net8.0/Tiles.runtimeconfig.json +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/bin/Debug/net8.0/Tiles.dll +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/bin/Debug/net8.0/Tiles.pdb +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/obj/Debug/net8.0/Tiles.GeneratedMSBuildEditorConfig.editorconfig +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/obj/Debug/net8.0/Tiles.AssemblyInfoInputs.cache +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/obj/Debug/net8.0/Tiles.AssemblyInfo.cs +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/obj/Debug/net8.0/Tiles.csproj.CoreCompileInputs.cache +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/obj/Debug/net8.0/Tiles.dll +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/obj/Debug/net8.0/refint/Tiles.dll +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/obj/Debug/net8.0/Tiles.pdb +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/obj/Debug/net8.0/Tiles.genruntimeconfig.cache +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/obj/Debug/net8.0/ref/Tiles.dll +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/bin/Debug/net8.0/Newtonsoft.Json.dll +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/bin/Debug/net8.0/Raylib-cs.dll +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/bin/Debug/net8.0/runtimes/linux-x64/native/libraylib.so +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/bin/Debug/net8.0/runtimes/osx-arm64/native/libraylib.dylib +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/bin/Debug/net8.0/runtimes/osx-x64/native/libraylib.dylib +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/bin/Debug/net8.0/runtimes/win-x64/native/raylib.dll +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/bin/Debug/net8.0/runtimes/win-x86/native/raylib.dll +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/obj/Debug/net8.0/Tiles.csproj.AssemblyReference.cache +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/obj/Debug/net8.0/Tiles.csproj.Up2Date +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/bin/Debug/net8.0/data/tiles/images/dirt.png +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/bin/Debug/net8.0/data/tiles/images/grass.png +/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/bin/Debug/net8.0/data/tiles/images/rock.png diff --git a/Tiles/obj/Debug/net8.0/Tiles.csproj.Up2Date b/Tiles/obj/Debug/net8.0/Tiles.csproj.Up2Date new file mode 100644 index 0000000..e69de29 diff --git a/Tiles/obj/Debug/net8.0/Tiles.dll b/Tiles/obj/Debug/net8.0/Tiles.dll new file mode 100644 index 0000000..0558232 Binary files /dev/null and b/Tiles/obj/Debug/net8.0/Tiles.dll differ diff --git a/Tiles/obj/Debug/net8.0/Tiles.genruntimeconfig.cache b/Tiles/obj/Debug/net8.0/Tiles.genruntimeconfig.cache new file mode 100644 index 0000000..5edbf77 --- /dev/null +++ b/Tiles/obj/Debug/net8.0/Tiles.genruntimeconfig.cache @@ -0,0 +1 @@ +ea0165bad9b460082d3ffb45827aa82f8e2f6371b949fc9c770411299c2d99c7 diff --git a/Tiles/obj/Debug/net8.0/Tiles.pdb b/Tiles/obj/Debug/net8.0/Tiles.pdb new file mode 100644 index 0000000..c5e64e1 Binary files /dev/null and b/Tiles/obj/Debug/net8.0/Tiles.pdb differ diff --git a/Tiles/obj/Debug/net8.0/apphost b/Tiles/obj/Debug/net8.0/apphost new file mode 100755 index 0000000..f5f086b Binary files /dev/null and b/Tiles/obj/Debug/net8.0/apphost differ diff --git a/Tiles/obj/Debug/net8.0/ref/Tiles.dll b/Tiles/obj/Debug/net8.0/ref/Tiles.dll new file mode 100644 index 0000000..77f1c59 Binary files /dev/null and b/Tiles/obj/Debug/net8.0/ref/Tiles.dll differ diff --git a/Tiles/obj/Debug/net8.0/refint/Tiles.dll b/Tiles/obj/Debug/net8.0/refint/Tiles.dll new file mode 100644 index 0000000..77f1c59 Binary files /dev/null and b/Tiles/obj/Debug/net8.0/refint/Tiles.dll differ diff --git a/Tiles/obj/Tiles.csproj.nuget.dgspec.json b/Tiles/obj/Tiles.csproj.nuget.dgspec.json new file mode 100644 index 0000000..6834c1f --- /dev/null +++ b/Tiles/obj/Tiles.csproj.nuget.dgspec.json @@ -0,0 +1,76 @@ +{ + "format": 1, + "restore": { + "/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/Tiles.csproj": {} + }, + "projects": { + "/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/Tiles.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/Tiles.csproj", + "projectName": "Tiles", + "projectPath": "/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/Tiles.csproj", + "packagesPath": "/home/chris/.nuget/packages/", + "outputPath": "/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/chris/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net8.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + } + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "dependencies": { + "Newtonsoft.Json": { + "target": "Package", + "version": "[13.0.3, )" + }, + "Raylib-cs": { + "target": "Package", + "version": "[6.1.1, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/nix/store/857lb4p516avw491s8i5pzglwrki8n36-dotnet-sdk-8.0.300/sdk/8.0.300/PortableRuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/Tiles/obj/Tiles.csproj.nuget.g.props b/Tiles/obj/Tiles.csproj.nuget.g.props new file mode 100644 index 0000000..51303cf --- /dev/null +++ b/Tiles/obj/Tiles.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + /home/chris/.nuget/packages/ + /home/chris/.nuget/packages/ + PackageReference + 6.10.1 + + + + + \ No newline at end of file diff --git a/Tiles/obj/Tiles.csproj.nuget.g.targets b/Tiles/obj/Tiles.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/Tiles/obj/Tiles.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/Tiles/obj/project.assets.json b/Tiles/obj/project.assets.json new file mode 100644 index 0000000..e4eaf8b --- /dev/null +++ b/Tiles/obj/project.assets.json @@ -0,0 +1,243 @@ +{ + "version": 3, + "targets": { + "net8.0": { + "Newtonsoft.Json/13.0.3": { + "type": "package", + "compile": { + "lib/net6.0/Newtonsoft.Json.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Newtonsoft.Json.dll": { + "related": ".xml" + } + } + }, + "Raylib-cs/6.1.1": { + "type": "package", + "dependencies": { + "System.Numerics.Vectors": "4.5.0" + }, + "compile": { + "lib/net6.0/Raylib-cs.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/Raylib-cs.dll": { + "related": ".xml" + } + }, + "runtimeTargets": { + "runtimes/linux-x64/native/libraylib.so": { + "assetType": "native", + "rid": "linux-x64" + }, + "runtimes/osx-arm64/native/libraylib.dylib": { + "assetType": "native", + "rid": "osx-arm64" + }, + "runtimes/osx-x64/native/libraylib.dylib": { + "assetType": "native", + "rid": "osx-x64" + }, + "runtimes/win-x64/native/raylib.dll": { + "assetType": "native", + "rid": "win-x64" + }, + "runtimes/win-x86/native/raylib.dll": { + "assetType": "native", + "rid": "win-x86" + } + } + }, + "System.Numerics.Vectors/4.5.0": { + "type": "package", + "compile": { + "ref/netcoreapp2.0/_._": {} + }, + "runtime": { + "lib/netcoreapp2.0/_._": {} + } + } + } + }, + "libraries": { + "Newtonsoft.Json/13.0.3": { + "sha512": "HrC5BXdl00IP9zeV+0Z848QWPAoCr9P3bDEZguI+gkLcBKAOxix/tLEAAHC+UvDNPv4a2d18lOReHMOagPa+zQ==", + "type": "package", + "path": "newtonsoft.json/13.0.3", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.md", + "README.md", + "lib/net20/Newtonsoft.Json.dll", + "lib/net20/Newtonsoft.Json.xml", + "lib/net35/Newtonsoft.Json.dll", + "lib/net35/Newtonsoft.Json.xml", + "lib/net40/Newtonsoft.Json.dll", + "lib/net40/Newtonsoft.Json.xml", + "lib/net45/Newtonsoft.Json.dll", + "lib/net45/Newtonsoft.Json.xml", + "lib/net6.0/Newtonsoft.Json.dll", + "lib/net6.0/Newtonsoft.Json.xml", + "lib/netstandard1.0/Newtonsoft.Json.dll", + "lib/netstandard1.0/Newtonsoft.Json.xml", + "lib/netstandard1.3/Newtonsoft.Json.dll", + "lib/netstandard1.3/Newtonsoft.Json.xml", + "lib/netstandard2.0/Newtonsoft.Json.dll", + "lib/netstandard2.0/Newtonsoft.Json.xml", + "newtonsoft.json.13.0.3.nupkg.sha512", + "newtonsoft.json.nuspec", + "packageIcon.png" + ] + }, + "Raylib-cs/6.1.1": { + "sha512": "ty5RQoFK7bW4mTogwMf55Zh73DMJMvFLLJTarhmL1g7loxeLYoHTFufN7JagObdLHo2zB3wVrtEHVCXFoZ9TMg==", + "type": "package", + "path": "raylib-cs/6.1.1", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "README.md", + "lib/net6.0/Raylib-cs.dll", + "lib/net6.0/Raylib-cs.xml", + "raylib-cs.6.1.1.nupkg.sha512", + "raylib-cs.nuspec", + "raylib-cs_64x64.png", + "runtimes/linux-x64/native/libraylib.so", + "runtimes/osx-arm64/native/libraylib.dylib", + "runtimes/osx-x64/native/libraylib.dylib", + "runtimes/win-x64/native/raylib.dll", + "runtimes/win-x86/native/raylib.dll" + ] + }, + "System.Numerics.Vectors/4.5.0": { + "sha512": "QQTlPTl06J/iiDbJCiepZ4H//BVraReU4O4EoRw1U02H5TLUIT7xn3GnDp9AXPSlJUDyFs4uWjWafNX6WrAojQ==", + "type": "package", + "path": "system.numerics.vectors/4.5.0", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.TXT", + "THIRD-PARTY-NOTICES.TXT", + "lib/MonoAndroid10/_._", + "lib/MonoTouch10/_._", + "lib/net46/System.Numerics.Vectors.dll", + "lib/net46/System.Numerics.Vectors.xml", + "lib/netcoreapp2.0/_._", + "lib/netstandard1.0/System.Numerics.Vectors.dll", + "lib/netstandard1.0/System.Numerics.Vectors.xml", + "lib/netstandard2.0/System.Numerics.Vectors.dll", + "lib/netstandard2.0/System.Numerics.Vectors.xml", + "lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.dll", + "lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.xml", + "lib/uap10.0.16299/_._", + "lib/xamarinios10/_._", + "lib/xamarinmac20/_._", + "lib/xamarintvos10/_._", + "lib/xamarinwatchos10/_._", + "ref/MonoAndroid10/_._", + "ref/MonoTouch10/_._", + "ref/net45/System.Numerics.Vectors.dll", + "ref/net45/System.Numerics.Vectors.xml", + "ref/net46/System.Numerics.Vectors.dll", + "ref/net46/System.Numerics.Vectors.xml", + "ref/netcoreapp2.0/_._", + "ref/netstandard1.0/System.Numerics.Vectors.dll", + "ref/netstandard1.0/System.Numerics.Vectors.xml", + "ref/netstandard2.0/System.Numerics.Vectors.dll", + "ref/netstandard2.0/System.Numerics.Vectors.xml", + "ref/uap10.0.16299/_._", + "ref/xamarinios10/_._", + "ref/xamarinmac20/_._", + "ref/xamarintvos10/_._", + "ref/xamarinwatchos10/_._", + "system.numerics.vectors.4.5.0.nupkg.sha512", + "system.numerics.vectors.nuspec", + "useSharedDesignerContext.txt", + "version.txt" + ] + } + }, + "projectFileDependencyGroups": { + "net8.0": [ + "Newtonsoft.Json >= 13.0.3", + "Raylib-cs >= 6.1.1" + ] + }, + "packageFolders": { + "/home/chris/.nuget/packages/": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/Tiles.csproj", + "projectName": "Tiles", + "projectPath": "/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/Tiles.csproj", + "packagesPath": "/home/chris/.nuget/packages/", + "outputPath": "/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/obj/", + "projectStyle": "PackageReference", + "configFilePaths": [ + "/home/chris/.nuget/NuGet/NuGet.Config" + ], + "originalTargetFrameworks": [ + "net8.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + } + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "dependencies": { + "Newtonsoft.Json": { + "target": "Package", + "version": "[13.0.3, )" + }, + "Raylib-cs": { + "target": "Package", + "version": "[6.1.1, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "/nix/store/857lb4p516avw491s8i5pzglwrki8n36-dotnet-sdk-8.0.300/sdk/8.0.300/PortableRuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/Tiles/obj/project.nuget.cache b/Tiles/obj/project.nuget.cache new file mode 100644 index 0000000..3a520e9 --- /dev/null +++ b/Tiles/obj/project.nuget.cache @@ -0,0 +1,12 @@ +{ + "version": 2, + "dgSpecHash": "Azx9wGHtioQ=", + "success": true, + "projectFilePath": "/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/Tiles.csproj", + "expectedPackageFiles": [ + "/home/chris/.nuget/packages/newtonsoft.json/13.0.3/newtonsoft.json.13.0.3.nupkg.sha512", + "/home/chris/.nuget/packages/raylib-cs/6.1.1/raylib-cs.6.1.1.nupkg.sha512", + "/home/chris/.nuget/packages/system.numerics.vectors/4.5.0/system.numerics.vectors.4.5.0.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file diff --git a/Tiles/obj/project.packagespec.json b/Tiles/obj/project.packagespec.json new file mode 100644 index 0000000..0d12dac --- /dev/null +++ b/Tiles/obj/project.packagespec.json @@ -0,0 +1 @@ +"restore":{"projectUniqueName":"/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/Tiles.csproj","projectName":"Tiles","projectPath":"/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/Tiles.csproj","outputPath":"/home/chris/mnt/data/Projects/tiles/Tiles/Tiles/obj/","projectStyle":"PackageReference","originalTargetFrameworks":["net8.0"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net8.0":{"targetAlias":"net8.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"direct"}}"frameworks":{"net8.0":{"targetAlias":"net8.0","dependencies":{"Newtonsoft.Json":{"target":"Package","version":"[13.0.3, )"},"Raylib-cs":{"target":"Package","version":"[6.1.1, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"/nix/store/857lb4p516avw491s8i5pzglwrki8n36-dotnet-sdk-8.0.300/sdk/8.0.300/PortableRuntimeIdentifierGraph.json"}} \ No newline at end of file diff --git a/Tiles/obj/rider.project.model.nuget.info b/Tiles/obj/rider.project.model.nuget.info new file mode 100644 index 0000000..934ea56 --- /dev/null +++ b/Tiles/obj/rider.project.model.nuget.info @@ -0,0 +1 @@ +17313060443367297 \ No newline at end of file diff --git a/Tiles/obj/rider.project.restore.info b/Tiles/obj/rider.project.restore.info new file mode 100644 index 0000000..934ea56 --- /dev/null +++ b/Tiles/obj/rider.project.restore.info @@ -0,0 +1 @@ +17313060443367297 \ No newline at end of file