diff options
Diffstat (limited to 'TankBattleWindows')
| -rw-r--r-- | TankBattleWindows/.config/dotnet-tools.json | 36 | ||||
| -rw-r--r-- | TankBattleWindows/.vscode/launch.json | 14 | ||||
| -rw-r--r-- | TankBattleWindows/Content/Content.mgcb | 27 | ||||
| -rw-r--r-- | TankBattleWindows/Icon.ico | bin | 0 -> 147541 bytes | |||
| -rw-r--r-- | TankBattleWindows/Program.cs | 2 | ||||
| -rw-r--r-- | TankBattleWindows/TankBattleWindows.csproj | 21 | ||||
| -rw-r--r-- | TankBattleWindows/app.manifest | 43 |
7 files changed, 143 insertions, 0 deletions
diff --git a/TankBattleWindows/.config/dotnet-tools.json b/TankBattleWindows/.config/dotnet-tools.json new file mode 100644 index 0000000..a07174a --- /dev/null +++ b/TankBattleWindows/.config/dotnet-tools.json @@ -0,0 +1,36 @@ +{ + "version": 1, + "isRoot": true, + "tools": { + "dotnet-mgcb": { + "version": "3.8.4.1", + "commands": [ + "mgcb" + ] + }, + "dotnet-mgcb-editor": { + "version": "3.8.4.1", + "commands": [ + "mgcb-editor" + ] + }, + "dotnet-mgcb-editor-linux": { + "version": "3.8.4.1", + "commands": [ + "mgcb-editor-linux" + ] + }, + "dotnet-mgcb-editor-windows": { + "version": "3.8.4.1", + "commands": [ + "mgcb-editor-windows" + ] + }, + "dotnet-mgcb-editor-mac": { + "version": "3.8.4.1", + "commands": [ + "mgcb-editor-mac" + ] + } + } +}
\ No newline at end of file diff --git a/TankBattleWindows/.vscode/launch.json b/TankBattleWindows/.vscode/launch.json new file mode 100644 index 0000000..ac629ad --- /dev/null +++ b/TankBattleWindows/.vscode/launch.json @@ -0,0 +1,14 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "C#: TankBattleWindows Debug", + "type": "dotnet", + "request": "launch", + "projectPath": "${workspaceFolder}/TankBattleWindows.csproj" + } + ], + }
\ No newline at end of file diff --git a/TankBattleWindows/Content/Content.mgcb b/TankBattleWindows/Content/Content.mgcb new file mode 100644 index 0000000..9532176 --- /dev/null +++ b/TankBattleWindows/Content/Content.mgcb @@ -0,0 +1,27 @@ + +#----------------------------- Global Properties ----------------------------# + +/outputDir:bin/$(Platform) +/intermediateDir:obj/$(Platform) +/platform:Windows +/config: +/profile:Reach +/compress:False + +#-------------------------------- References --------------------------------# + + +#---------------------------------- Content ---------------------------------# + +#begin ../../Assets/Graphics/PNG/Tanks/tankBlack_outline.png +/importer:TextureImporter +/processor:TextureProcessor +/processorParam:ColorKeyColor=255,0,255,255 +/processorParam:ColorKeyEnabled=True +/processorParam:GenerateMipmaps=False +/processorParam:PremultiplyAlpha=True +/processorParam:ResizeToPowerOfTwo=False +/processorParam:MakeSquare=False +/processorParam:TextureFormat=Color +/build:../../Assets/Graphics/PNG/Tanks/tankBlack_outline.png;tankBlack_outline.png + diff --git a/TankBattleWindows/Icon.ico b/TankBattleWindows/Icon.ico Binary files differnew file mode 100644 index 0000000..7d9dec1 --- /dev/null +++ b/TankBattleWindows/Icon.ico diff --git a/TankBattleWindows/Program.cs b/TankBattleWindows/Program.cs new file mode 100644 index 0000000..2a8b867 --- /dev/null +++ b/TankBattleWindows/Program.cs @@ -0,0 +1,2 @@ +using var game = TankBattleCore.Game1.Instance; +game.Run(); diff --git a/TankBattleWindows/TankBattleWindows.csproj b/TankBattleWindows/TankBattleWindows.csproj new file mode 100644 index 0000000..37ac0ad --- /dev/null +++ b/TankBattleWindows/TankBattleWindows.csproj @@ -0,0 +1,21 @@ +<Project Sdk="Microsoft.NET.Sdk"> + <PropertyGroup> + <OutputType>WinExe</OutputType> + <TargetFramework>net9.0-windows</TargetFramework> + <RollForward>Major</RollForward> + <PublishReadyToRun>false</PublishReadyToRun> + <TieredCompilation>false</TieredCompilation> + <UseWindowsForms>true</UseWindowsForms> + </PropertyGroup> + <PropertyGroup> + <ApplicationManifest>app.manifest</ApplicationManifest> + <ApplicationIcon>Icon.ico</ApplicationIcon> + </PropertyGroup> + <ItemGroup> + <PackageReference Include="MonoGame.Framework.WindowsDX" Version="3.8.*" /> + <PackageReference Include="MonoGame.Content.Builder.Task" Version="3.8.*" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\TankBattleCore\TankBattleCore.csproj" /> + </ItemGroup> +</Project>
\ No newline at end of file diff --git a/TankBattleWindows/app.manifest b/TankBattleWindows/app.manifest new file mode 100644 index 0000000..6152ef7 --- /dev/null +++ b/TankBattleWindows/app.manifest @@ -0,0 +1,43 @@ +<?xml version="1.0" encoding="utf-8"?> +<assembly manifestVersion="1.0" xmlns="urn:schemas-microsoft-com:asm.v1"> + <assemblyIdentity version="1.0.0.0" name="TankBattleWindows"/> + <trustInfo xmlns="urn:schemas-microsoft-com:asm.v2"> + <security> + <requestedPrivileges xmlns="urn:schemas-microsoft-com:asm.v3"> + <requestedExecutionLevel level="asInvoker" uiAccess="false" /> + </requestedPrivileges> + </security> + </trustInfo> + + <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1"> + <application> + <!-- A list of the Windows versions that this application has been tested on and is + is designed to work with. Uncomment the appropriate elements and Windows will + automatically selected the most compatible environment. --> + + <!-- Windows Vista --> + <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}" /> + + <!-- Windows 7 --> + <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}" /> + + <!-- Windows 8 --> + <supportedOS Id="{4a2f28e3-53b9-4441-ba9c-d69d4a4a6e38}" /> + + <!-- Windows 8.1 --> + <supportedOS Id="{1f676c76-80e1-4239-95bb-83d0f6d0da78}" /> + + <!-- Windows 10 --> + <supportedOS Id="{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}" /> + + </application> + </compatibility> + + <application xmlns="urn:schemas-microsoft-com:asm.v3"> + <windowsSettings> + <dpiAware xmlns="http://schemas.microsoft.com/SMI/2005/WindowsSettings">true/pm</dpiAware> + <dpiAwareness xmlns="http://schemas.microsoft.com/SMI/2016/WindowsSettings">permonitorv2,permonitor</dpiAwareness> + </windowsSettings> + </application> + +</assembly> |
