Skip to content

Commit

Permalink
Upload my work
Browse files Browse the repository at this point in the history
  • Loading branch information
ADu2021 committed Jan 11, 2022
1 parent 24268fc commit daf5e55
Show file tree
Hide file tree
Showing 152 changed files with 4,383 additions and 0 deletions.
Binary file added bin/ContraGame.exe
Binary file not shown.
Binary file added doc/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/This Is A ContraGame.pptx
Binary file not shown.
Binary file added doc/大作业自评表-2021.xlsx
Binary file not shown.
Empty file added doc/游戏介绍.ppt
Empty file.
Binary file added doc/游戏介绍1.pptx
Binary file not shown.
Empty file added doc/游戏视频.mp4
Empty file.
Binary file added doc/界面设计.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/设计文档.doc
Binary file not shown.
Binary file added src/ContraGame/.vs/ContraGame/v16/.suo
Binary file not shown.
Binary file added src/ContraGame/.vs/ContraGame/v16/Browse.VC.db
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added src/ContraGame/ContraGame.aps
Binary file not shown.
3,251 changes: 3,251 additions & 0 deletions src/ContraGame/ContraGame.cpp

Large diffs are not rendered by default.

550 changes: 550 additions & 0 deletions src/ContraGame/ContraGame.h

Large diffs are not rendered by default.

Binary file added src/ContraGame/ContraGame.rc
Binary file not shown.
31 changes: 31 additions & 0 deletions src/ContraGame/ContraGame.sln
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31729.503
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ContraGame", "ContraGame.vcxproj", "{48420FA0-4FC2-4783-B4B6-0F02841DDC7B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{48420FA0-4FC2-4783-B4B6-0F02841DDC7B}.Debug|x64.ActiveCfg = Debug|x64
{48420FA0-4FC2-4783-B4B6-0F02841DDC7B}.Debug|x64.Build.0 = Debug|x64
{48420FA0-4FC2-4783-B4B6-0F02841DDC7B}.Debug|x86.ActiveCfg = Debug|Win32
{48420FA0-4FC2-4783-B4B6-0F02841DDC7B}.Debug|x86.Build.0 = Debug|Win32
{48420FA0-4FC2-4783-B4B6-0F02841DDC7B}.Release|x64.ActiveCfg = Release|x64
{48420FA0-4FC2-4783-B4B6-0F02841DDC7B}.Release|x64.Build.0 = Release|x64
{48420FA0-4FC2-4783-B4B6-0F02841DDC7B}.Release|x86.ActiveCfg = Release|Win32
{48420FA0-4FC2-4783-B4B6-0F02841DDC7B}.Release|x86.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {77E0302F-3B01-4684-B5D2-69C351152A3D}
EndGlobalSection
EndGlobal
213 changes: 213 additions & 0 deletions src/ContraGame/ContraGame.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,213 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>15.0</VCProjectVersion>
<ProjectGuid>{48420FA0-4FC2-4783-B4B6-0F02841DDC7B}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>ContraGame</RootNamespace>
<WindowsTargetPlatformVersion>10.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>_DEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<PreprocessorDefinitions>NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="ContraGame.h" />
<ClInclude Include="Resource.h" />
</ItemGroup>
<ItemGroup>
<ClCompile Include="ContraGame.cpp" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="ContraGame.rc" />
</ItemGroup>
<ItemGroup>
<Image Include="res\BackgroundCity.bmp" />
<Image Include="res\Bee.bmp" />
<Image Include="res\BGMainMenu.bmp" />
<Image Include="res\BGMainMenu.png" />
<Image Include="res\BG_HELP.bmp" />
<Image Include="res\BG_TUTORIAL.bmp" />
<Image Include="res\bitmap2.bmp" />
<Image Include="res\BLOCK1.bmp" />
<Image Include="res\BLOCK2-0.bmp" />
<Image Include="res\BLOCK2-0.png" />
<Image Include="res\BLOCK2-1.bmp" />
<Image Include="res\Blue.bmp" />
<Image Include="res\BOSS.bmp" />
<Image Include="res\BULLET.bmp" />
<Image Include="res\Buttons\CONTINUE.bmp" />
<Image Include="res\Buttons\HELP.bmp" />
<Image Include="res\Buttons\MAIN_MENU.bmp" />
<Image Include="res\Buttons\NEW_GAME.bmp" />
<Image Include="res\Buttons\QUIT.bmp" />
<Image Include="res\Buttons\RESTART.bmp" />
<Image Include="res\Buttons\RESUME.bmp" />
<Image Include="res\Buttons\SAVE.bmp" />
<Image Include="res\castle.bmp" />
<Image Include="res\City.bmp" />
<Image Include="res\cursorBlue.bmp" />
<Image Include="res\fx1.bmp" />
<Image Include="res\GATE.bmp" />
<Image Include="res\Grass.bmp" />
<Image Include="res\GREY.bmp" />
<Image Include="res\HELP\HELP0.bmp" />
<Image Include="res\HP.bmp" />
<Image Include="res\HPBAR.bmp" />
<Image Include="res\icon.ico" />
<Image Include="res\marine.bmp" />
<Image Include="res\MP.bmp" />
<Image Include="res\MP.png" />
<Image Include="res\pause.bmp" />
<Image Include="res\Player.bmp" />
<Image Include="res\Player.png" />
<Image Include="res\QUIT.bmp" />
<Image Include="res\Red.bmp" />
<Image Include="res\RESUME.bmp" />
<Image Include="res\SPIKE.bmp" />
<Image Include="res\START.bmp" />
<Image Include="res\SUCCESS.bmp" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
93 changes: 93 additions & 0 deletions src/ContraGame/ContraGame.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="源文件">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="头文件">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions>
</Filter>
<Filter Include="资源文件">
<UniqueIdentifier>{146b43ce-58cc-4a8a-b264-b41c88fd83de}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClInclude Include="Resource.h">
<Filter>头文件</Filter>
</ClInclude>
<ClInclude Include="ContraGame.h">
<Filter>头文件</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ClCompile Include="ContraGame.cpp">
<Filter>源文件</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="ContraGame.rc">
<Filter>资源文件</Filter>
</ResourceCompile>
</ItemGroup>
<ItemGroup>
<Image Include="res\START.bmp">
<Filter>资源文件</Filter>
</Image>
<Image Include="res\Blue.bmp">
<Filter>资源文件</Filter>
</Image>
<Image Include="res\Grass.bmp">
<Filter>资源文件</Filter>
</Image>
<Image Include="res\icon.ico">
<Filter>资源文件</Filter>
</Image>
<Image Include="res\Red.bmp">
<Filter>资源文件</Filter>
</Image>
<Image Include="res\marine.bmp">
<Filter>资源文件</Filter>
</Image>
<Image Include="res\BackgroundCity.bmp" />
<Image Include="res\Player.png" />
<Image Include="res\Player.bmp" />
<Image Include="res\bitmap2.bmp" />
<Image Include="res\City.bmp" />
<Image Include="res\QUIT.bmp" />
<Image Include="res\RESUME.bmp" />
<Image Include="res\Buttons\CONTINUE.bmp" />
<Image Include="res\Buttons\HELP.bmp" />
<Image Include="res\Buttons\MAIN_MENU.bmp" />
<Image Include="res\Buttons\NEW_GAME.bmp" />
<Image Include="res\Buttons\QUIT.bmp" />
<Image Include="res\Buttons\RESUME.bmp" />
<Image Include="res\Buttons\SAVE.bmp" />
<Image Include="res\cursorBlue.bmp" />
<Image Include="res\BGMainMenu.png" />
<Image Include="res\BGMainMenu.bmp" />
<Image Include="res\pause.bmp" />
<Image Include="res\Buttons\RESTART.bmp" />
<Image Include="res\castle.bmp" />
<Image Include="res\fx1.bmp" />
<Image Include="res\Bee.bmp" />
<Image Include="res\HP.bmp" />
<Image Include="res\HPBAR.bmp" />
<Image Include="res\MP.png" />
<Image Include="res\MP.bmp" />
<Image Include="res\GREY.bmp" />
<Image Include="res\BLOCK1.bmp" />
<Image Include="res\BLOCK2-0.png" />
<Image Include="res\BLOCK2-0.bmp" />
<Image Include="res\BLOCK2-1.bmp" />
<Image Include="res\BG_TUTORIAL.bmp" />
<Image Include="res\BG_HELP.bmp" />
<Image Include="res\HELP\HELP0.bmp" />
<Image Include="res\SPIKE.bmp" />
<Image Include="res\GATE.bmp" />
<Image Include="res\BULLET.bmp" />
<Image Include="res\SUCCESS.bmp" />
<Image Include="res\BOSS.bmp" />
</ItemGroup>
</Project>
4 changes: 4 additions & 0 deletions src/ContraGame/ContraGame.vcxproj.user
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup />
</Project>
Binary file added src/ContraGame/Debug/ContraGame.exe
Binary file not shown.
11 changes: 11 additions & 0 deletions src/ContraGame/Debug/ContraGame.exe.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<Project>
<ProjectOutputs>
<ProjectOutput>
<FullPath>C:\Users\sheep\Desktop\大一上\程序设计基础\程序设计基础_2021_大作业_框架与模板\src\ContraGame\Debug\ContraGame.exe</FullPath>
</ProjectOutput>
</ProjectOutputs>
<ContentFiles />
<SatelliteDlls />
<NonRecipeFileRefs />
</Project>
Binary file added src/ContraGame/Debug/ContraGame.ilk
Binary file not shown.
Loading

0 comments on commit daf5e55

Please sign in to comment.