Jace
b7d93058b1
Added base work for dity bits in components
2016-03-08 21:11:59 +01:00
Jace
5d53fc74cb
Merge branch 'Dirtybit' of github.com:teamfisk/TacticalZ into Dirtybit
2016-03-08 15:46:21 +01:00
Jace
ecc8d998cf
Added ComponentInfo::Field_t::Index
2016-03-08 15:46:14 +01:00
William Moberg
090bd806ce
Added DirtyBit enum to Dirty getter in ComponentWrapper.
2016-03-08 15:39:16 +01:00
Jace
881ce7b02f
Proper string handling without nasty memory leaks. PHEW.
2016-02-19 15:11:10 +01:00
Jace
97499f1c28
Made ComponentPool copyable by making sure string fields are handled properly
2016-02-18 11:37:03 +01:00
Jace
d3bc48f5f7
Major networking refactoring to allow for snapshot filtering outside of netcode
2016-02-09 13:22:21 +01:00
Jace
3a2b124cae
Replication flag in component definition. Component definitions should now inherit from Types/Component.xsd
2016-02-04 13:36:12 +01:00
Jace
cfe023cc1d
Created ComponentInfo::EnumType which defines which native type to use for enums.
2016-01-19 12:33:53 +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
Jocke
236230d12c
Packets now dynamically allocates more memory when they need it.
...
Increased local receive buffer for Client and Server() and removed the magic number that was used
In Server.h and Client.h
(char readBuffer[INPUTSIZE] = { 0 }).
Packets start size has now been increased to 512 bytes.
Changed ComponentInfo::FieldsInOrder to store strings instead of pointers.
Removed HasEntity() and are now using ValidEntity() instead.
2016-01-12 12:00:19 +01:00
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
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
sippeangelo
d3d2e594fe
Basic and working entity system with a really ugly test case
2015-12-03 15:07:35 +01:00
sippeangelo
b3e68c6c34
Implemented ComponentPool and initial tests for it
2015-12-02 15:07:48 +01:00
sippeangelo
a5affd2dc2
Added barebones ECS prototype
2015-12-01 17:04:03 +01:00