Commit Graph

48 Commits

Author SHA1 Message Date
XiaoQiDigipen d680a07918
Merge pull request #19 from SHADE-DP/DisableDllWarnings
Disable DLL Export Warnings (4251)

Might not be the 100% correct way but in existing usage in GAM 200, there were no issues at all.
2022-09-15 11:38:27 +08:00
XiaoQiDigipen 5ebdf87714
Merge pull request #18 from SHADE-DP/SP3-19-frame-rate-controller
FRC implemented
Handles the main game loop, which includes:

Handling restarting of scenes by freeing and initializing again
Handling changes of scenes by unloading previous scene and loading the next
Calling to update on a fixed time basis and reducing the accumulator
Calling to render on a variable time basis and adding to the accumulator
Measuring of variable time elapsed per frame
Ready for integration. Anticipating much change from this implementation during integration.
2022-09-15 11:34:53 +08:00
Kah Wei 67290c03e7 Updated vcxproj files 2022-09-15 11:34:04 +08:00
Kah Wei c48a467e57 Disabled warnings for DLL export 2022-09-15 11:33:40 +08:00
Sri Sham Haran 20f4b59f41 Merge branch 'main' into SDLIntegration 2022-09-15 09:30:03 +08:00
Sri Sham Haran bd69c6043a SDL Updates 2022-09-15 09:26:43 +08:00
Xiao Qi 8e601e60e5 Added SHCommonTypes header file
Changed C++ std from latest to 20
Updated premake program
2022-09-15 01:51:04 +08:00
XiaoQiDigipen 98d61f1ca7
Merge branch 'main' into SetWorkingDirectory 2022-09-15 01:39:10 +08:00
Sri Sham Haran 5e4eabc582 [WIP] SDL Window wrap 2022-09-15 00:48:43 +08:00
Kah Wei 7bc0dfb399 Set working directory of the application to be the executable location 2022-09-15 00:33:12 +08:00
mushgunAX a2353e4446 frc commit, not connected yet 2022-09-14 22:00:00 +08:00
Sri Sham Haran 599f1e4ffe add sdl to dependencies 2022-09-14 21:47:39 +08:00
Kah Wei 7c64a12896 Moved spdlog lib link to SHADE_Engine and removed KTX references in Premake 2022-09-14 20:09:01 +08:00
XiaoQiDigipen b66e2cf3d1
Merge branch 'main' into UseSharedOutInterDirs 2022-09-14 19:40:33 +08:00
Cocoa 803b29146e Fixed memory error with SHLogger & spdlog
The logger needs to be registered outside the library. As such, a macro SHLOG_REGISTER has been added, as well as a variable to the actual logger. The logger needs to be passed into the macro anywhere outside the library after it has been initialised to work on the dll. This has already been done right before the application runs.
2022-09-14 17:57:36 +08:00
Kah Wei 44ef3a500f Added post build command to copy spdlog.dll to output 2022-09-14 13:29:23 +08:00
Sri Sham Haran a3e4b0a845 update premakes for spdlog changes 2022-09-14 09:14:18 +08:00
Cocoa 2332e5401f Merge branch 'main' into SP3-15-Tools 2022-09-13 23:29:44 +08:00
Cocoa e45e589ba9 Added functions that wrap around logging macros for C++/CLI integration 2022-09-13 23:29:20 +08:00
Kah Wei cba3aa0663 Converted SHADE_Engine to a DLL project and exported common use classes 2022-09-13 21:08:13 +08:00
Kah Wei 91709b16c3 Changed out and intermediatery directories for all projects to use shared directories 2022-09-13 20:35:30 +08:00
Kah Wei 60a51eb101 Converted projects to use MD instead of MT library 2022-09-13 18:24:39 +08:00
Xiao Qi 5f56344a74 Shifted ECS_Base out of Engine Folder 2022-09-13 13:49:24 +08:00
XiaoQiDigipen cc2adcb2ab
Merge pull request #11 from SHADE-DP/SP3-14-FileSystem
File system base Implementation

Basic tree structure for file system created
Directory traversal with tree building
2022-09-13 11:42:30 +08:00
XiaoQiDigipen 615d247722
Merge branch 'main' into SP3-12-SceneGraph 2022-09-13 11:40:08 +08:00
Xiao Qi 7b55f7fe3b Merge branch 'main' into SP3-14-FileSystem 2022-09-13 11:36:11 +08:00
Xiao Qi 4aedf9f65a Added new shaderc lib link
WALAO BRANDON
2022-09-13 11:35:36 +08:00
Xiao Qi b6a6e9b3e5 Updated some const 2022-09-13 11:28:16 +08:00
Xiao Qi 47f716f72b SP3-105 SP3-106
Folder tree building done
Location bit shift done
2022-09-13 11:27:51 +08:00
Diren D Bharwani d4944ef920 Added a scene graph 2022-09-11 22:47:30 +08:00
Diren D Bharwani f0b916b275 Added missing inverse function for Quaternions 2022-09-08 23:21:02 +08:00
Diren D Bharwani 392b51898a Added more implementations for Quaternions 2022-09-08 22:46:51 +08:00
Diren D Bharwani 01ff98b24f Merge branch 'main' into SP3-16-Math
# Conflicts:
#	SHADE_Engine/SHADE_Engine.vcxproj
#	SHADE_Engine/src/SHpch.h
2022-09-08 19:46:06 +08:00
Brandon Mak 62c67909ee Rendering Integration 2022-09-08 19:11:25 +08:00
Diren D Bharwani 8cdd8b4a25 Added Math helper functions & wrappers for Vectors, Matrix and Quaternion. 2022-09-08 14:18:26 +08:00
Diren D Bharwani 280ef33587 Added logging & exception handling tools into engine, modified premake5 on SHADE_Application to include spdlog 2022-09-08 12:51:23 +08:00
Xiao Qi 8563ecb7e8 Imported Application, Engine, Scene Manager, Test Scene from 200 2022-09-08 11:48:32 +08:00
Xiao Qi 9a223098f6 Initial Commit 2022-09-08 11:17:25 +08:00
maverickdgg cfa7bb812a #comment initial commit added use of SHpch 2022-09-08 11:15:43 +08:00
maverickdgg ead46d0ef1 Merge branch 'main' into SP3-5-ECS 2022-09-08 11:09:36 +08:00
Xiao Qi 04ee50bc6a Generated solution 2022-09-08 11:08:46 +08:00
maverickdgg 1105edb8c2 initial commit 2022-09-08 11:08:23 +08:00
Sri Sham Haran 060937344b Update Dependencies and Premake 2022-09-06 10:39:12 +08:00
Xiao Qi aee5e3b4d6 Properly changed entrypoint to winmain 2022-09-05 15:29:02 +08:00
Xiao Qi d74ac7b8a4 Added dependencies to project 2022-09-05 14:37:29 +08:00
Xiao Qi 98bf020293 WinMain Entry point 2022-09-05 13:55:52 +08:00
Xiao Qi 0436ec45f6 Added dependencies into premake 2022-08-26 14:30:41 +08:00
Xiao Qi 3313127e8c Basic Project set up with premake 2022-08-26 14:04:03 +08:00