46 Commits

Author SHA1 Message Date
Quentin Bazin
f440525ed7 [Network] 'ServerClosed' packet added. Fixed #106. 2020-05-26 17:51:04 +02:00
Quentin Bazin
00b5ba8d14 Improved cross-compilation for Windows from Linux. 2020-05-26 17:14:08 +02:00
Quentin Bazin
5753fc2847 [external/lua] Changed repo for Windows compatibility. [external/entt] Now using latest stable version. 2020-05-23 03:57:30 +02:00
Quentin Bazin
e104e6fc0d [CMake] Now handling target link dependencies. 2020-05-22 20:55:17 +02:00
Quentin Bazin
3f2908a6b3 [CMakeLists.txt] Improved 'sol2' integration. 2020-05-22 20:55:17 +02:00
Quentin Bazin
4a6bbbe5ea [Dimension] 'gravity' field added to change gravity per-dimension. 2020-05-22 20:55:17 +02:00
Quentin Bazin
12aaad6c50 All dependencies are now included as submodules. Fixes #101. 2020-05-22 16:18:34 +02:00
Quentin Bazin
b789fc3d9b [ScriptEngine] Code splitted into multiple files, improving compilation speed. 2020-05-22 04:54:34 +02:00
Quentin Bazin
fe071163d4 Fixed #96. 2020-05-20 20:11:49 +02:00
Quentin Bazin
0700481ba7 Documentation added for entity API. 2020-05-20 13:39:06 +02:00
Quentin Bazin
0653b802b8 [Scene] Added 'createEntityFromModel()'. 2020-05-20 13:39:06 +02:00
Quentin Bazin
2f82101fb8 Entity definition + spawn from Lua: OK. 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
a2c2dba2a6 [CompressedPacket] Fixed #97. [gamekit] Updated. 2020-05-15 00:27:12 +02:00
Quentin Bazin
9ce7870a58 [external/gamekit] Updated. 2020-05-15 00:27:12 +02:00
Quentin Bazin
333222e2a7 First step of SFML migration. 2020-05-15 00:27:12 +02:00
Quentin Bazin
dc1b7147c8 Completely removed unused code about UDP sockets. 2020-05-10 22:35:05 +02:00
Quentin Bazin
2ddc43cb41 [sol] Updated to version 3.0.3. 2020-05-10 19:50:21 +02:00
Quentin Bazin
c277dc7d87 Packets are now compressed using zlib. Legacy and unused UDP code removed. 2020-05-10 19:36:39 +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
91b3792a20 [ServerConfig] Added for option 'useItemDrops'. 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
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
e7abb7ffb2 SFML and GameKit are now used as git submodules. 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
419fc8b46c Entities completely serialized. 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
Quentin Bazin
d090e6903d [Scene] Splitted into Controllers. [Config] New 'useItemDrop' option. 2020-04-29 21:17:28 +02:00
Quentin Bazin
2ecef2ded9 Door block added. 2020-03-29 19:25:40 +02:00
Quentin Bazin
5c8d926315 Block groups added. 2020-03-29 15:37:49 +02:00
Quentin Bazin
266e4b7453 Groups can now be used in recipes. 2020-03-29 15:37:49 +02:00
Quentin Bazin
786aaff198 Groups can now be used for filtering in InventoryWidget. 2020-03-29 15:37:49 +02:00
Quentin Bazin
1347f81619 Item groups added. Now used instead of 'is_fuel' and 'burn_time'. 2020-03-29 15:37:49 +02:00
Quentin Bazin
c128971c13 [TerrainGenerator] Better RNG. [Chunk|ServerChunk] Booleans are now atomic. 2020-03-29 10:12:36 +02:00
Quentin Bazin
bc3226eedc Folders reorganized. 2020-03-17 22:22:22 +01:00