Jace
|
069583e09f
|
Created EntityFile which loads an EntityXMLFile into a temporary world to be merged with another world when you want to create a copy of the entity loaded from disk. This allows us to free EntityXMLFile once it's loaded into an EntityFile.
|
2016-03-02 19:52:11 +01:00 |
|
Jace
|
26d6546d79
|
Renamed EntityFile to EntityXMLFile to be able to separate file parsing from entity creation
|
2016-03-02 18:53:40 +01:00 |
|
Jace
|
a3d4eb65d5
|
Fixes #66 warnings
|
2016-02-01 17:53:01 +01:00 |
|
Jace
|
9ec32464bc
|
Added enum support to entity file format, see "Team" component for an example. Use ComponentInfo::Enum to convert enum string keys to its corresponding integer representation at runtime.
|
2016-01-16 23:12:24 +01:00 |
|
Jace
|
97e12ff550
|
Made EntityFileParser::MergeEntities return the base entity that was created, and also take an optional parent entity to create it under.
|
2016-01-15 18:31:32 +01:00 |
|
Jace
|
297a3fb493
|
Support for "name" attribute on entities
|
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
|
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 |
|
sippeangelo
|
d7de4fc694
|
Component definitions now loaded from schema. No default values yet.
|
2015-12-08 18:07:32 +01:00 |
|
sippeangelo
|
b3e68c6c34
|
Implemented ComponentPool and initial tests for it
|
2015-12-02 15:07:48 +01:00 |
|