28 Commits

Author SHA1 Message Date
Quentin Bazin
d5f5082bb0 Added -Wconversion and fixed warnings.
This mostly forces the casts to be explicit.
2021-06-09 04:36:26 +02:00
Quentin Bazin
e85c5f3458 Small fixes. 2020-07-24 19:59:35 +02:00
Quentin Bazin
fae51bceb5 [EngineConfig] Added BLOCK_AIR for air string ID. 2020-07-18 01:53:22 +02:00
Quentin Bazin
15d9acac61 [Registry] Now storing entity callbacks here instead of using a component. 2020-06-25 00:22:03 +02:00
Quentin Bazin
f32cdf8169 [WorldSaveBasicBackend] Now saving hitbox and itemstack components. 2020-06-24 18:13:48 +02:00
Quentin Bazin
30b7cb0b90 [WorldController] Entities partially saved with the world (see #126). 2020-06-24 00:22:26 +02:00
Quentin Bazin
afc4918459 [ISerializable] Moved to GameKit. 2020-06-20 01:37:12 +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
00b5ba8d14 Improved cross-compilation for Windows from Linux. 2020-05-26 17:14:08 +02:00
Quentin Bazin
3f2908a6b3 [CMakeLists.txt] Improved 'sol2' integration. 2020-05-22 20:55:17 +02:00
Quentin Bazin
fe071163d4 Fixed #96. 2020-05-20 20:11:49 +02:00
Quentin Bazin
0653b802b8 [Scene] Added 'createEntityFromModel()'. 2020-05-20 13:39:06 +02:00
Quentin Bazin
5e6103d00d Working on entity Lua API. 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
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
580789deee [NetworkComponent|NetworkController] Added. 2020-04-29 21:17:28 +02:00
Quentin Bazin
18f080c3f6 [SceneSerializer] Removed. [CMake] Small fix for 3.17. 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
2d3f1efd58 [SceneSerializer] Now using entt::continuous_loader. 2020-04-29 21:17:28 +02:00
Quentin Bazin
782e752058 [SceneSerializer] Adapted to latest EnTT version. 2020-04-29 21:17:28 +02:00
Quentin Bazin
5daa09389c Now using C++17 entt version. 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
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
Quentin Bazin
a361f9e01b Working on entity serialization. 2020-04-29 21:17:28 +02:00