Commit Graph

229 Commits

Author SHA1 Message Date
Diren D Bharwani 415e47780c Completed Transform System 2022-09-21 14:54:57 +08:00
Diren D Bharwani 0db7392eed Merge remote-tracking branch 'origin/main' into SP3-16-Math 2022-09-21 14:06:36 +08:00
XiaoQiDigipen e7eac229ee
Merge pull request #36 from SHADE-DP/SP3-12-SceneGraph
SP3-12 More Scene Graph Fixes

BUGFIXES

Fixed bug where parenting an object will spawn infinite children
Fixed bug where parents held on to a child after the child left
2022-09-21 09:06:01 +08:00
XiaoQiDigipen 2097edd94d
Merge pull request #35 from SHADE-DP/CleanAndGenerate
Modified generate.bat to delete all generated files before generating files with Premake

Should fix issues where sometimes Premake excludes some files from the generated projects. The usual fix is to manually delete the files so this change automates that.
2022-09-21 09:04:53 +08:00
Cocoa 9c69d41a4e Added 90% of transform component & transform system. 2022-09-21 00:49:52 +08:00
Cocoa 3cd538562c More Scene Graph Fixes 2022-09-20 19:32:28 +08:00
Cocoa cc6d1dd95b Added Transform Component 2022-09-20 17:20:57 +08:00
Kah Wei f461a0e658 Modified generate.bat to delete all generated files before generating files 2022-09-20 16:37:29 +08:00
Cocoa 7f173b3207 Added SH_API to Math Classes 2022-09-20 16:10:47 +08:00
Cocoa 7b7a4788e4 Merge branch 'main' into SP3-16-Math 2022-09-20 15:42:53 +08:00
XiaoQiDigipen 5b6f60ee8a
Merge pull request #34 from SHADE-DP/SP3-12-SceneGraph
SP3-12 Scene Graph Fixes

BUGFIXES

Scene Graph automatically creates a root which is set to MAX_EID
Fixed constness of getter functions in Scene Graph & Scene Node
2022-09-20 15:37:58 +08:00
Cocoa b5f3ec85aa Merge branch 'main' into SP3-16-Math 2022-09-20 15:37:28 +08:00
Cocoa f4bf895e45 Fixed constness of functions in scene graph 2022-09-20 15:35:10 +08:00
Cocoa c0290b7185 Added fixes to scene graph. Read description for details.
1. Scene graph creates a root on construction. EntityID is set to MaxEID. The root is not intended to be modified.
2. When adding a node, if the 2nd arg (parent) is omitted, the node will be a child of the root.
2022-09-20 01:31:59 +08:00
Cocoa 34685e6726 Regenerated project files 2022-09-20 00:48:27 +08:00
XiaoQiDigipen 624c8fa4d6
Merge pull request #33 from SHADE-DP/SP3-5-ECS
SP3-5 ecs
Added Scene Graph functionality to Entity, Scene graph set parent missing old parent check (diren handling)
Scene graph functionality untested.

Added SH_API to Scene Graph
2022-09-19 17:31:21 +08:00
maverickdgg ceb96938fb Added SHAPI to Scene graph 2022-09-19 17:28:59 +08:00
Cocoa e51a3688af Merge branch 'main' into SP3-16-Math 2022-09-19 17:17:40 +08:00
Xiao Qi 52efdcf65e Merge branch 'main' into SP3-5-ECS 2022-09-19 17:12:54 +08:00
XiaoQiDigipen de08955467
Merge pull request #32 from SHADE-DP/SP3-18-Events
SP3-18 Event/Messaging System
2022-09-19 17:09:21 +08:00
Cocoa ec3470c443 Merge branch 'main' into SP3-16-Math 2022-09-19 17:08:16 +08:00
Xiao Qi a867ecbcbf SP3-108 Shifted definitions for functions in Event Manager from cpp to hpp 2022-09-19 17:08:08 +08:00
Cocoa 471ec27a6d Added Bounding Box 2022-09-19 16:50:06 +08:00
maverickdgg f72b004b95 Merge branch 'main' into SP3-5-ECS 2022-09-19 15:41:59 +08:00
maverickdgg 44611115fe Added Scene graph functionality (un tested) 2022-09-19 15:41:52 +08:00
Cocoa f1e6031d2e Added Transform, adjusted alignment in math files for better readability on smaller screens 2022-09-19 14:32:01 +08:00
XiaoQiDigipen 37fde32e7c
Merge pull request #30 from SHADE-DP/SP3-5-ECS
Sp3-5-ECS
Added Entity Creation/Destroyed events
2022-09-18 16:51:54 +08:00
maverickdgg f21aa8836c Merge branch 'main' into SP3-5-ECS 2022-09-18 16:50:10 +08:00
maverickdgg b3d9a54d8f Added entity creation event and entity destroyed events 2022-09-18 16:46:08 +08:00
XiaoQiDigipen 02b17095d0
Merge pull request #29 from SHADE-DP/SP3-18-Events
SP3-18 Event/Messaging System
2022-09-18 13:42:52 +08:00
Xiao Qi 6706f9acf0 SP3-108 Created templated derived classes for events to accommodate for automatic type sending ability 2022-09-17 22:33:11 +08:00
XiaoQiDigipen 5ff765c6b9
Merge pull request #28 from SHADE-DP/SP3-1-Rendering
Rendering system updates 

SH_APIed appropriate classes
Routine class for graphics created but not called via RunRoutines (Daniel needs to call this in application I believe)
2022-09-16 15:02:34 +08:00
Brandon Mak c1c5e70676 Merge remote-tracking branch 'origin/main' into SP3-1-Rendering 2022-09-16 14:46:48 +08:00
Brandon Mak a42a8b0c46 SH_API EVERYWHERE 2022-09-16 14:20:21 +08:00
XiaoQiDigipen e976dee601
Merge pull request #27 from SHADE-DP/SP3-5-ECS
SP3-5 ECS

System manager rework. Added system routines
2022-09-16 14:15:23 +08:00
Xiao Qi 7315d3038f Fixed outdated header includes in cxx files
Changed references to isActive to function calls
2022-09-16 14:14:51 +08:00
Brandon Mak 4b168fb2d7 Merge branch 'main' into SP3-1-Rendering 2022-09-16 14:09:14 +08:00
Brandon Mak eb975d96c6 Merge remote-tracking branch 'origin/main' into SP3-1-Rendering 2022-09-16 14:08:36 +08:00
Xiao Qi 0373754e37 Merge branch 'main' into SP3-5-ECS 2022-09-16 14:06:05 +08:00
XiaoQiDigipen 7a7807b7fa
Merge pull request #26 from SHADE-DP/BackTo5.0
Downgraded back to .NET 5.0 due to lack of VS 2019 support
2022-09-16 14:05:30 +08:00
Kah Wei aaf3d67eed Downgraded back to .NET 5.0 due to lack of VS 2019 support 2022-09-16 14:02:55 +08:00
Brandon Mak f0b9f19f4d clear color value fix 2022-09-16 12:33:42 +08:00
XiaoQiDigipen cf3f74e47d
Merge pull request #25 from SHADE-DP/SP3-18-Events
SP3-18 SP3-108 Event/Messaging System

Ported over Events Manager from 200
Removed singleton design pattern
Removed event package design
Implemented event dynamic data

Instructions to use are in SHEventManager.h
2022-09-16 01:33:47 +08:00
Xiao Qi 1dde480a9f Merge branch 'main' into SP3-18-Events 2022-09-15 18:38:11 +08:00
Xiao Qi f9743f394d Added some lines in comments for clarity 2022-09-15 18:37:05 +08:00
Xiao Qi e1074887c8 Added instructions 2022-09-15 18:34:07 +08:00
Xiao Qi 5af0bf7d25 Instructions on how to use events 2022-09-15 18:33:36 +08:00
XiaoQiDigipen 415451535c
Merge pull request #24 from SHADE-DP/IgnoreVcxProjSln
Removed and ignored VS project and solution files
2022-09-15 17:10:33 +08:00
Kah Wei 382d75528a Removed and ignored VS project and solution files 2022-09-15 12:50:48 +08:00
XiaoQiDigipen ae570969ad
Merge pull request #23 from SHADE-DP/SP3-6-c-scripting
Integration of .NET Scripting Backend 

After this is merged, the following tools need to be installed in Visual Studio:

C++/CLI support for v142 build tools
.NET 6.0 Runtime
2022-09-15 12:31:30 +08:00