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
Jocke
b37ffc7449
WIP Model component not working.
2016-01-11 14:58:49 +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
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
81024b4a1d
First work on EntityFileWriter for saving levels
2016-01-11 14:35:41 +01:00
Jace
bd6adcc157
Added SetParent to World
2015-12-16 12:05:37 +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
sippeangelo
90a79c702f
Added crude absolute positioning when rendering
2015-12-09 15:26:49 +01:00
sippeangelo
58d827f7d0
Moved world definition to Schema/Entities/Test.xml and removed HardcodedTestWorld
2015-12-09 14:25:41 +01:00
sippeangelo
c9d1ba6cae
EntityIDs should start at 1, because 0 is world
2015-12-09 11:07:46 +01:00
sippeangelo
d7de4fc694
Component definitions now loaded from schema. No default values yet.
2015-12-08 18:07:32 +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