Skip to content

Commit

Permalink
Add code and image files for debug folder
Browse files Browse the repository at this point in the history
  • Loading branch information
SoniaSandler authored Aug 14, 2023
1 parent 836dd94 commit b95b099
Show file tree
Hide file tree
Showing 28 changed files with 1,197 additions and 0 deletions.
Binary file added Debug/1heart.bmp
Binary file not shown.
Binary file added Debug/2hearts.bmp
Binary file not shown.
Binary file added Debug/3hearts.bmp
Binary file not shown.
132 changes: 132 additions & 0 deletions Debug/MarioProject.vcxproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
<?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>
<ItemGroup>
<MASM Include="main.asm" />
</ItemGroup>
<ItemGroup>
<None Include="data.inc" />
<None Include="main_funcs.inc" />
</ItemGroup>
<PropertyGroup Label="Globals">
<VCProjectVersion>15.0</VCProjectVersion>
<ProjectGuid>{47256415-959D-4D2F-B533-065D91001A13}</ProjectGuid>
<RootNamespace>MarioProject</RootNamespace>
<WindowsTargetPlatformVersion>10.0.16299.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>v141</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props" />
</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 />
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<SDLCheck>true</SDLCheck>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<SDLCheck>true</SDLCheck>
<ConformanceMode>true</ConformanceMode>
</ClCompile>
<Link>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets" />
</ImportGroup>
</Project>
30 changes: 30 additions & 0 deletions Debug/MarioProject.vcxproj.filters
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hh;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
</ItemGroup>
<ItemGroup>
<MASM Include="main.asm">
<Filter>Source Files</Filter>
</MASM>
</ItemGroup>
<ItemGroup>
<None Include="data.inc">
<Filter>Header Files</Filter>
</None>
<None Include="main_funcs.inc">
<Filter>Header Files</Filter>
</None>
</ItemGroup>
</Project>
Binary file added Debug/Mreka2.0.bmp
Binary file not shown.
Binary file added Debug/coin.bmp
Binary file not shown.
140 changes: 140 additions & 0 deletions Debug/data.inc
Original file line number Diff line number Diff line change
@@ -0,0 +1,140 @@
.data

vy dword 0
time dword 0
acl dword 1

scr0 byte "Score:0",0
scrone byte "Score:1",0
scrtwo byte "Score:2",0
scrthree byte "Score:3",0
scrfour byte "Score:4",0
scrfive byte "Score:5",0
scrsix byte "Score:6",0

score dword 0
numH dword 3
jumpUp dword 0

picture byte "mario.bmp",0
pictureScnd byte "mario2.bmp",0

Dmoot STRUCT
info Img<> ;0-19
pos POINT<0,380> ;20-27
centerP POINT<24,54> ;28-35
rad dword 28 ;36-39
centerT POINT<> ;40-47
draw dword 1 ;48-51

drc POINT<0,0> ;52-59
borderx DWORD 800
borderyU DWORD 200
borderyD DWORD 476
picNum dword 1

Dmoot ENDS

mario Dmoot<>
mario2 Dmoot<>


rekka byte "Mreka2.0.bmp",0

Reka STRUCT

info Img<>
xinpic dword 0
winpic dword 800

Reka ENDS
bckrnd Reka<>



coin byte "coin.bmp",0
coins STRUCT
info Img<>
pos POINT<400,260>
centerP POINT<18,18>
rad dword 20
centerT POINT<>
draw dword 1

drc POINT<-1,0>
coins ENDS
coin1 coins<>
coin2 coins<<>,<50,260>,<>,<>,<>,<>,<-3,0>>
coin3 coins<<>,<200,300>,<>,<>,<>,<>,<-5,0>>
coin4 coins<<>,<700,280>,<>,<>,<>,<>,<-4,0>>
coin5 coins<<>,<500,320>,<>,<>,<>,<>,<-2,0>>


enemyR byte "enemies.bmp",0
enemyL byte "enemisL.bmp",0

enemys STRUCT
info Img<>
pos POINT<700,432>
centerP POINT<23,23>
rad dword 23
centerT POINT<>

drc POINT<-2,0>
picNum dword 2
border dword 800
bordery dword ?

enemys ENDS

enemy1 enemys<>
enemy2 enemys<>

lose byte "youlost.bmp",0
won byte "youwon.bmp",0
opening byte "openingScreen.bmp",0

screenPic STRUCT
info Img<>
pos POINT<150,150>
show dword 0

screenPic ENDS

youLost screenPic<>
youwon screenPic<>
open screenPic<<>,<0,0>>


heart1 byte "1heart.bmp",0
heart2 byte "2hearts.bmp",0
heart3 byte "3hearts.bmp",0


num0 byte "num0.bmp",0
num1 byte "num1.bmp",0
num2 byte "num2.bmp",0
num3 byte "num3.bmp",0
num4 byte "num4.bmp",0
num5 byte "num5.bmp",0


Count STRUCT
info Img<>
pos POINT<0,0>

Count ENDS

oneH Count<>
twoH Count<>
threeH Count<>

nm0 Count<<>,<746,0>>
nm1 Count<<>,<746,0>>
nm2 Count<<>,<746,0>>
nm3 Count<<>,<746,0>>
nm4 Count<<>,<746,0>>
nm5 Count<<>,<746,0>>
Loading

0 comments on commit b95b099

Please sign in to comment.