Jace
|
4a516a4d86
|
Added ComponentInfo::FieldsInOrder to be able to loop through component fields in a consistent order based on the component XSD definition
|
2016-01-11 14:56:53 +01:00 |
|
Jace
|
21aea6f31d
|
Added World::ValidEntity for checking if an entity exists or not
|
2016-01-11 14:35:41 +01:00 |
|
Jace
|
297a3fb493
|
Support for "name" attribute on entities
|
2016-01-11 14:35:41 +01:00 |
|
Jace
|
39dd27726d
|
MAJOR BREAKING CHANGE: EntityID 0 is now a valid entity. Use EntityID_Invalid as sentry for checks!
Also contains inseparable editor changes.
|
2016-01-11 14:35:41 +01:00 |
|
Jace
|
6adc98eea5
|
Now writes entities to file instead of stdout...
|
2016-01-11 14:35:41 +01:00 |
|
Jace
|
11d547cde8
|
Entity 0 is now a real entity in the world, created by the first entity read while importing. This makes the difference between map files and entity files automatic, since consecutive entity file loads should automatically get the world as parent, as long as the world entity has been created earlier.
|
2016-01-11 14:35:41 +01:00 |
|
Jace
|
24b9e951c2
|
Added stride information to ComponentInfo, refactored FieldOffsets and FieldTypes into new struct Field_t Fields while I was at it.
|
2016-01-11 14:35:41 +01:00 |
|
Jace
|
81024b4a1d
|
First work on EntityFileWriter for saving levels
|
2016-01-11 14:35:41 +01:00 |
|
Jace
|
23e78c4947
|
Cleaned up code
|
2016-01-11 14:35:15 +01:00 |
|
Jace
|
3e7f27e1fe
|
Added error handler for DOM parsers
|
2016-01-11 14:35:15 +01:00 |
|
Jace
|
ee83394678
|
Unified some previously duplicated code
|
2016-01-11 14:35:15 +01:00 |
|
Jace
|
03456ad731
|
EntityFileParser
|
2016-01-11 14:35:15 +01:00 |
|
Jace
|
0bcbcda8b8
|
EntityFilePreprocessor
WIP
WIP
EntityFilePreprocessor
|
2016-01-11 14:35:15 +01:00 |
|
William Moberg
|
beb0967c3b
|
Merge branch 'master' into OrderedSystemPipeline
# Conflicts:
# src/Game/Game.cpp
|
2016-01-07 16:49:20 +01:00 |
|
William Moberg
|
7fb71f17b2
|
Destruct all systems properly in the pipeline.
|
2016-01-07 16:13:52 +01:00 |
|
William Moberg
|
c4642cc530
|
Merge branch 'master' into OrderedSystemPipeline
# Conflicts:
# include/Engine/Core/SystemPipeline.h
|
2016-01-07 15:07:16 +01:00 |
|
verysecrethero
|
a1ed79dfbf
|
HealthSystemTest has been created. This runs a single test simple test with HealthEvents and HealthSystem. Also some minor changes
|
2016-01-07 14:53:31 +01:00 |
|
verysecrethero
|
638c236ceb
|
HealthSystem tested and working. Also the 3 new PlayerEvents seems to work. TODO: a proper test in the testclass
|
2016-01-07 14:53:31 +01:00 |
|
verysecrethero
|
f67f22c82d
|
Added Healthrelated events and start of HealthSystem, also reverted the crash "fix"
|
2016-01-07 14:53:31 +01:00 |
|
William Moberg
|
fa8775a72e
|
Renamed vars and added some comments.
|
2016-01-07 10:28:18 +01:00 |
|
Jace
|
49884d7e60
|
Fix for crash when unsubscription during event processing (untested)
|
2016-01-06 13:47:02 +01:00 |
|
Jace
|
34cbbb3eb1
|
Fixed exit crash(es)
|
2016-01-06 11:20:16 +01:00 |
|
William Moberg
|
de8461e257
|
SystemPipeline should update systems in order depending on input update priority in AddSystem.
|
2015-12-18 15:33:25 +01:00 |
|
William Moberg
|
a26c8f2a24
|
Merge branch 'master' into OctTree
|
2015-12-17 17:30:44 +01:00 |
|
William Moberg
|
0f59b863ee
|
Renamed IF_DEBUG_IS to DEBUG_IF, slightly different behavior and added some safety checking for auto creating AABBs from models.
|
2015-12-17 17:08:47 +01:00 |
|
William Moberg
|
46ae2d39af
|
Merge branch 'master' into OctTree
# Conflicts:
# src/Game/Game.cpp
|
2015-12-17 16:44:01 +01:00 |
|
Jace
|
c1b9404e52
|
Created a FileDropped event for when a file is dropped onto the client by the OS
|
2015-12-17 15:30:43 +01:00 |
|
William Moberg
|
5160a45b44
|
Made Ray into a class with checks so the direction will always be normalized.
|
2015-12-17 13:41:34 +01:00 |
|
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
|
99b76d7ae1
|
Fixed returning address to temporary in functions. AABB also constructible from glm::vec4s.
|
2015-12-16 12:19:43 +01:00 |
|
Jace
|
bd6adcc157
|
Added SetParent to World
|
2015-12-16 12:05:37 +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
|
59095c2ce5
|
Started on CollisionSystem and TriggerSystem. Moved collision code to Collision folder.
|
2015-12-14 17:08:00 +01:00 |
|
Jace
|
07c4744436
|
Added World DeleteEntity, HasComponent and GetEntityChildren
|
2015-12-14 13:58:27 +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
|
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
|
af14d60493
|
Added MouseScroll event to input manager
|
2015-12-14 13:57:49 +01:00 |
|
Jace
|
653b4689b5
|
Added KeyboardChar event for keyboard text input
|
2015-12-14 13:56:24 +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
|
013f911ae2
|
Added MouseInputHandler and firstPersonInputController to aid in creation of first person movement.
|
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 |
|
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
|
0b60979c7b
|
Added a Initialize function for systems.
|
2015-12-11 14:03:00 +01:00 |
|
stiffly
|
80f028edf2
|
Added a very basic PlayerSystem, and a PlayerComponent.
|
2015-12-11 13:45:19 +01:00 |
|
William Moberg
|
4195baa5dc
|
ContainedObject in OctTree made private.
|
2015-12-10 17:57:09 +01:00 |
|