William Moberg
|
03d5f0dd67
|
Added an macro IF_DEBUG_IS(x) that executes if run in debug mode, AABB has a check so max and min corners are set properly in debug mode.
|
2015-12-17 13:31:54 +01:00 |
|
William Moberg
|
a23d69af9a
|
Removed old relics from OctTree testing in OctTree.
|
2015-12-16 17:08:55 +01:00 |
|
William Moberg
|
6d1cbd928e
|
Improved collision logic, still not perfect since it updates before PlayerSystem.
|
2015-12-16 16:34:27 +01:00 |
|
William Moberg
|
cf0ff9bfe5
|
Simple quickly made CollisionSystem.
|
2015-12-16 12:23:08 +01:00 |
|
William Moberg
|
d10df6ae09
|
TriggerSystem implemented and working.
|
2015-12-16 12:22:15 +01:00 |
|
William Moberg
|
99b76d7ae1
|
Fixed returning address to temporary in functions. AABB also constructible from glm::vec4s.
|
2015-12-16 12:19:43 +01:00 |
|
William Moberg
|
04a01104b5
|
Merge branch 'master' into OctTree
# Conflicts:
# src/Engine/CMakeLists.txt
# src/Game/Game.cpp
|
2015-12-15 17:11:11 +01:00 |
|
William Moberg
|
e2417be8c7
|
Very simple CollisionSystem made, 'Z','Y' to toggle on/off.
|
2015-12-15 15:36:28 +01:00 |
|
William Moberg
|
170610bcb1
|
Added a TriggerSystem, seems to work as intended.
|
2015-12-15 14:49:52 +01:00 |
|
Jace
|
422e6f5264
|
Created a RenderState for ImGuiRenderPass
|
2015-12-14 20:26:04 +01:00 |
|
Jace
|
522679b14c
|
Added BlendEquation and BlendFunc to RenderState, and cleaned it up A LOT
|
2015-12-14 20:23:29 +01:00 |
|
William Moberg
|
ae7d4b9097
|
Put Collision folder in CMakeLists.txt and altered paths.
|
2015-12-14 17:35:39 +01:00 |
|
William Moberg
|
59095c2ce5
|
Started on CollisionSystem and TriggerSystem. Moved collision code to Collision folder.
|
2015-12-14 17:08:00 +01:00 |
|
Jace
|
cddd9026fb
|
Toggle editor with "ToggleEditor" command. Enable editor with "Debug.EnableEditor" config variable.
|
2015-12-14 16:12:52 +01:00 |
|
Jace
|
fb2cd0c6ae
|
Fixed float angle wrapping
|
2015-12-14 15:20:55 +01:00 |
|
Jace
|
797036c204
|
Fixed picking event
|
2015-12-14 14:24:11 +01:00 |
|
Jace
|
545869e342
|
Added scene graph UI to Editor
|
2015-12-14 13:58:28 +01:00 |
|
Jace
|
07c4744436
|
Added World DeleteEntity, HasComponent and GetEntityChildren
|
2015-12-14 13:58:27 +01:00 |
|
Jace
|
b8620eac26
|
Made debug camera detect UI focus properly
|
2015-12-14 13:58:27 +01:00 |
|
Jace
|
7c1182c28f
|
Fixed absolute positions once and for all (maybe?)
|
2015-12-14 13:57:56 +01:00 |
|
Jace
|
2f3843e595
|
Editor version 1
|
2015-12-14 13:57:55 +01:00 |
|
Jace
|
9a119f38bb
|
Added events processing to SystemPipeline
|
2015-12-14 13:57:54 +01:00 |
|
Jace
|
2018ba27ae
|
Added KnowsEntity function to ComponentPool to query whether an entity has a component attached
|
2015-12-14 13:57:52 +01:00 |
|
Jace
|
e5084e13ec
|
Added EditorSystem
|
2015-12-14 13:57:51 +01:00 |
|
Jace
|
8a6030bf57
|
Added support for "Impure" systems, which only update once per frame and contain their own logic for manipulating the world, instead of relying on a single list of components.
|
2015-12-14 13:57:51 +01:00 |
|
Jace
|
2e321e15a5
|
Cleaned up ImGuiRenderPass
|
2015-12-14 13:57:50 +01:00 |
|
Jace
|
c81a054601
|
Subscribed ImGui to MouseScroll event
|
2015-12-14 13:57:50 +01:00 |
|
Jace
|
af14d60493
|
Added MouseScroll event to input manager
|
2015-12-14 13:57:49 +01:00 |
|
Jace
|
7db1feac17
|
Added basic ImGui implementation
|
2015-12-14 13:57:45 +01:00 |
|
Jace
|
653b4689b5
|
Added KeyboardChar event for keyboard text input
|
2015-12-14 13:56:24 +01:00 |
|
Jace
|
d16cbe84f0
|
Merge remote-tracking branch 'origin/master' into Input
# Conflicts:
# src/Engine/Rendering/Renderer.cpp
|
2015-12-14 13:40:22 +01:00 |
|
Tleety
|
d182e6c453
|
Merge remote-tracking branch 'origin/master' into RendererDecoupling
# Conflicts:
# src/Game/Game.cpp
|
2015-12-14 13:16:56 +01:00 |
|
William Moberg
|
8d87841691
|
Merge branch 'master' into OctTree
|
2015-12-14 10:51:23 +01:00 |
|
William Moberg
|
11e37ca898
|
Added functions to test ray vs triangle- and model-intersections.
|
2015-12-14 10:42:45 +01:00 |
|
Jace
|
30474b70df
|
MouseInputHandler
|
2015-12-12 13:42:46 +01:00 |
|
Jace
|
03e226ffea
|
Refactored InputProxy to gracefully handle cases where multiple origins send the same command
|
2015-12-12 13:42:35 +01:00 |
|
Jace
|
013f911ae2
|
Added MouseInputHandler and firstPersonInputController to aid in creation of first person movement.
|
2015-12-12 13:42:34 +01:00 |
|
Jace
|
35624008e7
|
InputProxy with a KeyboardInputHandler to translate keyboard keys to input commands. Input origins are bound to commands through the BindOrigin event, or through loading them from a config file.
|
2015-12-12 13:42:34 +01:00 |
|
Jace
|
5d46a10a4e
|
Added GetAll function to config file that returns a list of all top level keys in a config file
|
2015-12-12 13:42:33 +01:00 |
|
Jace
|
bffc97f310
|
Groundwork for input command proxy
|
2015-12-12 13:42:33 +01:00 |
|
Tleety
|
d406059c79
|
Small bugfix.
|
2015-12-11 17:00:06 +01:00 |
|
Tleety
|
45b87ed6b1
|
ShaderProgram is now a Resource.
All shaderprograms are now pointers and loaded with Resourcemanager.
|
2015-12-11 16:53:46 +01:00 |
|
Tleety
|
53d5736420
|
Fixed a bugg with RenderState.
Renderstate now also handles the Frambuffer binding.
|
2015-12-11 16:07:12 +01:00 |
|
stiffly
|
3da69c8a1b
|
Fixed indentation
|
2015-12-11 15:29:57 +01:00 |
|
stiffly
|
16d636a87c
|
Removed Initialize function for systems.
|
2015-12-11 15:23:56 +01:00 |
|
stiffly
|
4da33ff4ec
|
Fixed movement on a "player" cube. Very simple system atm
|
2015-12-11 15:00:57 +01:00 |
|
Tleety
|
433331e752
|
DrawPass now moved to it's own class to make renderer cleaner.
|
2015-12-11 14:22:54 +01:00 |
|
stiffly
|
0b60979c7b
|
Added a Initialize function for systems.
|
2015-12-11 14:03:00 +01:00 |
|
Tleety
|
725a8896ce
|
PickingPass now publishes an event that others can listen to to get pickingdata.
|
2015-12-11 13:51:08 +01:00 |
|
stiffly
|
80f028edf2
|
Added a very basic PlayerSystem, and a PlayerComponent.
|
2015-12-11 13:45:19 +01:00 |
|