Jace
|
cfe023cc1d
|
Created ComponentInfo::EnumType which defines which native type to use for enums.
|
2016-01-19 12:33:53 +01:00 |
|
Jace
|
162523d3ca
|
Made EntityFileWriter store enums as strings instead of integer values to be resistant to enum value changes!
|
2016-01-19 11:55:27 +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
|
297a3fb493
|
Support for "name" attribute on entities
|
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 |
|