21 Commits

Author SHA1 Message Date
Quentin Bazin
30b7cb0b90 [WorldController] Entities partially saved with the world (see #126). 2020-06-24 00:22:26 +02:00
Quentin Bazin
cdfecd4310 Now using entt::registry::visit to serialize entities. Closed #102. 2020-06-01 21:31:14 +02:00
Quentin Bazin
b789fc3d9b [ScriptEngine] Code splitted into multiple files, improving compilation speed. 2020-05-22 04:54:34 +02:00
Quentin Bazin
0653b802b8 [Scene] Added 'createEntityFromModel()'. 2020-05-20 13:39:06 +02:00
Quentin Bazin
17af1861b5 [LuaMod] Added helpers to despawn an entity and add an item stack to a player's inventory. 2020-05-20 13:39:06 +02:00
Quentin Bazin
4ff7714ece Now using ServerConfig in Lua + Collision callback: OK. 2020-05-20 13:39:06 +02:00
Quentin Bazin
5d4dee14f4 [CollisionController] Now checks the dimension too. 2020-04-29 21:17:28 +02:00
Quentin Bazin
3351fe2432 [scene] Components, controllers and factories now have their own subfolders. 2020-04-29 21:17:28 +02:00
Quentin Bazin
bf7143efb3 [NetworkComponent] Now using server-side entity ID instead of an arbitrary one. 2020-04-29 21:17:28 +02:00
Quentin Bazin
1d7782c54a [.travis.yml] Small fix. [entt] Updated. 2020-04-29 21:17:28 +02:00
Quentin Bazin
9b9ee6ad07 [CollisionController] Now sends inventory update. 2020-04-29 21:17:28 +02:00
Quentin Bazin
ea88e40c54 [AnimationComponent] Now serialized. 2020-04-29 21:17:28 +02:00
Quentin Bazin
5baec80fb0 [RotationComponent] Added. 2020-04-29 21:17:28 +02:00
Quentin Bazin
597e60b716 [Network] 'EntityDespawn' packet added. 2020-04-29 21:17:28 +02:00
Quentin Bazin
580789deee [NetworkComponent|NetworkController] Added. 2020-04-29 21:17:28 +02:00
Quentin Bazin
1b153d131f [AnimationController] Moved client-side. 2020-04-29 21:17:28 +02:00
Quentin Bazin
0ebf4b60f9 [entt] Small tweaks for compatibility with C++17 version. 2020-04-29 21:17:28 +02:00
Quentin Bazin
419fc8b46c Entities completely serialized. 2020-04-29 21:17:28 +02:00
Quentin Bazin
d8a3b0a7a4 [CollisionController] Now server-side. 2020-04-29 21:17:28 +02:00
Quentin Bazin
ef3e05278a Got rendering working. 2020-04-29 21:17:28 +02:00
Quentin Bazin
2f4188bf4a Entity serialization is almost complete, only rendering data left. 2020-04-29 21:17:28 +02:00