Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev #7

Open
wants to merge 63 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
2bd6f60
Add Animator, View, Draw Functions
Axanery Dec 22, 2023
2d11250
Merge branch 'dev' of https://github.com/Axanery/HatchGameEngine into…
Axanery Dec 22, 2023
c254d6b
Add Draw methods to definitions
Axanery Dec 22, 2023
ab78484
Merge branch 'Lactozilla:dev' into dev
Axanery Jan 9, 2024
ec7a16f
Merge branch 'dev' into dev
Axanery Feb 29, 2024
69685db
Fix documentation
Axanery Feb 29, 2024
0b56fbe
Update enums
Axanery Feb 29, 2024
9af95c4
Merge branch 'Lactozilla:dev' into dev
Axanery Feb 29, 2024
2ecee70
Fix Scene List Loading
Axanery Mar 5, 2024
1f6c7ac
Update View.CheckOnScreen to accommodate Update Regions
Axanery Mar 5, 2024
34586b1
Update deprecated functions and documentation
Axanery Mar 5, 2024
00f8320
Add Resources.LoadSpriteByFolder
Axanery Mar 7, 2024
01ed339
Change Sprite Folder to be called Resource Folder
Axanery Mar 7, 2024
b5e74f1
Merge branch 'dev' into dev
Axanery Mar 26, 2024
82898bb
Update Resources.LoadSpriteByFolder
Axanery Mar 26, 2024
3411e7c
Fix SceneInfo::GetFilename
Axanery Mar 26, 2024
b0fe0fc
Update HatchGameEngine.vcxproj
Axanery Mar 26, 2024
ac76234
Update HatchGameEngine.vcxproj
Axanery Mar 27, 2024
94eb87f
Merge branch 'dev' into dev
Axanery Apr 21, 2024
2a12bbd
Remove deprecated funcs and fix SceneInfo
Axanery Apr 22, 2024
79414dd
Fix Math.ToFixed and Math.FromFixed
Axanery Apr 22, 2024
9814932
Fix Math.ToFixed and Math.FromFixed again
Axanery Apr 22, 2024
1881fcc
Remove instance.ReturnHitboxFromSprite
Axanery Apr 22, 2024
d91a0c4
Update Documentation.htm
Axanery Apr 22, 2024
cd0ebc1
Merge branch 'Lactozilla:dev' into dev
Axanery Apr 30, 2024
024a391
Merge branch 'Lactozilla:dev' into dev
Axanery Jun 10, 2024
3904e6f
Add ATan functionality
Axanery Jun 10, 2024
32d7ef9
Fix ATan2
Axanery Jun 12, 2024
3c47e9b
Add Collision Class
Axanery Jun 25, 2024
4959089
Made some Math functions respect the number type
Axanery Jun 25, 2024
0a0ea4f
Update vcxproj to allow for x64 builds
Axanery Jun 25, 2024
be05b4c
Update Sprite and View Functions
Axanery Jul 6, 2024
b7579b9
Merge branch 'Lactozilla:dev' into dev
Axanery Jul 6, 2024
cbb3ef7
Allow for MSVC static compiling for 64-bit builds
Axanery Jul 6, 2024
7b5f5c6
Fix Debug build compiling
Axanery Jul 6, 2024
fc15f51
Update CMakeLists.txt
Axanery Jul 6, 2024
40a4af2
Combined Music.Play, PlayAtTime, Loop, & LoopAtTime
Axanery Jul 7, 2024
5a6c871
Added reserved slot IDs and uint conversions in-script
Axanery Jul 7, 2024
0aad0c7
Fix Draw.SpriteBasic
Axanery Jul 7, 2024
c216590
Fix String.ToUppercase/Lowercase and Draw.AnimatorBasic
Axanery Jul 8, 2024
62021fa
Update StandardLibrary.cpp
Axanery Jul 10, 2024
c0cc820
Fix Animator crash and add Freetype static lib
Axanery Jul 21, 2024
9eea9b4
Add more Animator variables
Axanery Jul 23, 2024
4ed8d42
Let Instance.IsClass take null as an arg
Axanery Jul 23, 2024
341261a
Add scene filters
Axanery Jul 28, 2024
2949ca8
Add Sprite.GetFrameExists
Axanery Jul 29, 2024
6d98df2
Update Documentation.htm
Axanery Jul 29, 2024
d2ce3e0
Allow for unicode characters to be used
Axanery Jul 29, 2024
67749bb
Add Debug Hitbox Viewer
Axanery Jul 29, 2024
3adb39e
Update window title if using hitboxes
Axanery Aug 12, 2024
0e917e6
Merge remote-tracking branch 'upstream/dev' into dev
Axanery Aug 12, 2024
5e99de5
Fix merge issues
Axanery Aug 12, 2024
407226f
Fix controller binds
Axanery Aug 16, 2024
ef9bbfe
Start DevMenu and add entity.Visible
Axanery Sep 22, 2024
da1e965
Merge remote-tracking branch 'upstream/dev' into dev
Axanery Sep 22, 2024
5209d67
Fix compile errors
Axanery Sep 22, 2024
fce8050
Fix merge issue
Axanery Sep 22, 2024
e84234e
Rename DevMenu to prevent Ubuntu compile error
Axanery Sep 23, 2024
44803a2
Create default config.ini if not found
Axanery Sep 24, 2024
0a322b5
Update activities and ini generation
Axanery Sep 26, 2024
15ba234
Merge branch 'dev' into dev
Axanery Nov 16, 2024
997e3ef
Fix merge conflicts
Axanery Nov 16, 2024
dda6579
Move Math.ToFixed and FromFixed to RSDK.Math
Axanery Nov 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ endif()
if(${CMAKE_SYSTEM_NAME} MATCHES "Windows")
if(CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
target_link_libraries(${PROJECT_NAME} "${CMAKE_CURRENT_LIST_DIR}/meta/win/lib/msvc/x64/SDL2.lib"
Ws2_32.lib opengl32.lib)
Ws2_32.lib opengl32.lib winmm.lib imm32.lib version.lib setupapi.lib)
else()
target_link_libraries(${PROJECT_NAME}
"${CMAKE_CURRENT_LIST_DIR}/meta/win/lib/mingw/${TOOLCHAIN_PREFIX}/libSDL2.a"
Expand Down
8 changes: 4 additions & 4 deletions VisualC/HatchGameEngine.sln
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 16
VisualStudioVersion = 16.0.31112.23
# Visual Studio Version 17
VisualStudioVersion = 17.9.34622.214
MinimumVisualStudioVersion = 10.0.40219.1
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "HatchGameEngine", "HatchGameEngine.vcxproj", "{EE5F89ED-FA81-458F-A2D2-3370351D9E23}"
EndProject
Expand All @@ -15,8 +15,8 @@ Global
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{EE5F89ED-FA81-458F-A2D2-3370351D9E23}.Debug|x64.ActiveCfg = Debug|x64
{EE5F89ED-FA81-458F-A2D2-3370351D9E23}.Debug|x64.Build.0 = Debug|x64
{EE5F89ED-FA81-458F-A2D2-3370351D9E23}.Debug|x86.ActiveCfg = Debug|Win32
{EE5F89ED-FA81-458F-A2D2-3370351D9E23}.Debug|x86.Build.0 = Debug|Win32
{EE5F89ED-FA81-458F-A2D2-3370351D9E23}.Debug|x86.ActiveCfg = Release|x64
{EE5F89ED-FA81-458F-A2D2-3370351D9E23}.Debug|x86.Build.0 = Release|x64
{EE5F89ED-FA81-458F-A2D2-3370351D9E23}.Release|x64.ActiveCfg = Release|x64
{EE5F89ED-FA81-458F-A2D2-3370351D9E23}.Release|x64.Build.0 = Release|x64
{EE5F89ED-FA81-458F-A2D2-3370351D9E23}.Release|x86.ActiveCfg = Release|Win32
Expand Down
24 changes: 21 additions & 3 deletions VisualC/HatchGameEngine.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<IncludePath>$(SolutionDir)..\meta\win\include;$(SolutionDir)..\include;$(SolutionDir)..\source;$(IncludePath)</IncludePath>
<LibraryPath>$(SolutionDir)..\meta\win\lib\msvc\x64;$(LibraryPath)</LibraryPath>
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
Expand Down Expand Up @@ -119,19 +120,36 @@
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<LanguageStandard>stdcpp17</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<PreprocessorDefinitions>WIN32;TARGET_NAME="$(ProjectName)";GLEW_STATIC;USING_OPENGL;USING_FREETYPE;_DEBUG;_WINDOWS;DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreadedDebugDLL</RuntimeLibrary>
</ClCompile>
<PostBuildEvent>
<Command>copy "$(TargetPath)" "$(SolutionDir)..\builds\win\$(TargetName)-Debug.exe"</Command>
</PostBuildEvent>
<Link>
<AdditionalDependencies>Ws2_32.lib;Wldap32.lib;Advapi32.lib;Crypt32.lib;Normaliz.lib;legacy_stdio_definitions.lib;glew32s.lib;opengl32.lib;freetype.lib;SDL2.lib;SDL2main.lib;winmm.lib;imm32.lib;version.lib;setupapi.lib;assimp.lib;zlibstatic.lib;%(AdditionalDependencies)</AdditionalDependencies>
<SubSystem>Console</SubSystem>
<IgnoreSpecificDefaultLibraries>
</IgnoreSpecificDefaultLibraries>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<LanguageStandard>stdcpp17</LanguageStandard>
<LanguageStandard>stdcpp20</LanguageStandard>
<PreprocessorDefinitions>WIN32;TARGET_NAME="$(ProjectName)";GLEW_STATIC;USING_OPENGL;USING_FREETYPE;USING_ASSIMP;NDEBUG;_WINDOWS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
</ClCompile>
<PostBuildEvent>
<Command>copy "$(TargetPath)" "$(SolutionDir)..\builds\win\$(TargetName)-Release.exe"</Command>
</PostBuildEvent>
<Link>
<SubSystem>Console</SubSystem>
<AdditionalDependencies>Ws2_32.lib;Wldap32.lib;Advapi32.lib;Crypt32.lib;Normaliz.lib;legacy_stdio_definitions.lib;glew32s.lib;opengl32.lib;freetype.lib;SDL2.lib;SDL2main.lib;winmm.lib;imm32.lib;version.lib;setupapi.lib;ucrt.lib;vcruntime.lib;msvcrt.lib;assimp.lib;zlibstatic.lib;%(AdditionalDependencies)</AdditionalDependencies>
<IgnoreAllDefaultLibraries>
</IgnoreAllDefaultLibraries>
<IgnoreSpecificDefaultLibraries>libvcruntime.lib</IgnoreSpecificDefaultLibraries>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\source\engine\Application.cpp" />
Expand Down Expand Up @@ -310,4 +328,4 @@
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
</Project>
36 changes: 33 additions & 3 deletions VisualC/HatchGameEngine.vcxproj.filters
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,36 @@
<ClCompile Include="..\source\Libraries\spng.c">
<Filter>Source Files\External Libs</Filter>
</ClCompile>
<ClCompile Include="..\source\engine\input\Controller.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\source\engine\math\Random.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\source\Libraries\poly2tri\common\shapes.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\source\Libraries\poly2tri\sweep\advancing_front.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\source\Libraries\poly2tri\sweep\cdt.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\source\Libraries\poly2tri\sweep\sweep_context.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\source\Libraries\poly2tri\sweep\sweep.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\source\Libraries\clipper2\clipper.engine.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\source\Libraries\clipper2\clipper.offset.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\source\Libraries\clipper2\clipper.rectclip.cpp">
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\include\engine\audio\AudioChannel.h">
Expand Down Expand Up @@ -464,9 +494,6 @@
<ClInclude Include="..\include\engine\resourcetypes\ResourceType.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\include\engine\scene\SceneConfig.h">
<Filter>Header Files</Filter>
</ClInclude>
<ClInclude Include="..\include\engine\sprites\Animation.h">
<Filter>Header Files</Filter>
</ClInclude>
Expand Down Expand Up @@ -494,6 +521,9 @@
<ClInclude Include="..\source\Libraries\stb_vorbis.h">
<Filter>Source Files\External Libs</Filter>
</ClInclude>
<ClInclude Include="..\source\Libraries\spng.h">
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="..\meta\win\icon.rc">
Expand Down
6 changes: 6 additions & 0 deletions desktop.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[.ShellClassInfo]
IconResource=C:\Users\Austin\Documents\Projects\HatchGameEngine\meta\win\icon.ico,0
[ViewState]
Mode=
Vid=
FolderType=Documents
Loading