89 Commits

Author SHA1 Message Date
Quentin Bazin
7e9d26b92b [GameState|Key] Fixed registry access for singleplayer games. 2020-06-19 16:20:35 +02:00
Quentin Bazin
6f59f9200f [KeyboardHandler] Fixed key loading. 2020-06-19 16:20:35 +02:00
Quentin Bazin
59b0a04576 [KeyboardHandler] Now saving custom keys. 2020-06-19 16:20:35 +02:00
Quentin Bazin
4a17579674 [SettingsMenuState] Mod-defined keys can now be remapped. 2020-06-19 16:20:35 +02:00
Quentin Bazin
fc3fafc1a8 [Lua API] Key definition: OK. Can't be remapped yet. 2020-06-19 16:20:35 +02:00
Quentin Bazin
b45ac1cdbd [LuaKeyLoader] Now loading key definitions from Lua (see #109). 2020-06-19 16:20:35 +02:00
Quentin Bazin
c1176a438d [ChatCommandHandler] '/stop' command added. 2020-06-19 02:51:33 +02:00
Quentin Bazin
276efe52a0 [ChunkBuilder] Fixed #113. 2020-06-19 01:03:50 +02:00
Quentin Bazin
0542b8de66 [HUD] Chat position updated on screen resize. Fixed #112. 2020-06-17 16:03:11 +02:00
Quentin Bazin
589118e6e9 [PlayerBox] Now handling player rotation. 2020-06-04 19:01:04 +02:00
Quentin Bazin
9f01a538cb [Network] 'PlayerRotUpdate' packet added. Fixed #86. 2020-06-04 17:36:09 +02:00
Quentin Bazin
0cb165167e [external/gamekit] Updated. 2020-06-04 01:46:47 +02:00
Quentin Bazin
301d33fa5d Server is now aware of each player's held item. Closed #110. 2020-06-02 05:51:10 +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
0faeb1b5db [external/gamekit] Updated. Client and server now have different names in the log. 2020-06-01 01:33:17 +02:00
Quentin Bazin
1ed3f68d91 [external/gamekit] Updated. SFML issue related to mouse raw movement is now fixed. 2020-05-28 16:59:10 +02:00
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
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
732c2dd493 [ConnectionErrorState] Added. 2020-05-20 20:45:05 +02:00
Quentin Bazin
fe071163d4 Fixed #96. 2020-05-20 20:11:49 +02:00
Quentin Bazin
4ff7714ece Now using ServerConfig in Lua + Collision callback: OK. 2020-05-20 13:39:06 +02:00
Quentin Bazin
7194d718f1 Temporary fix for mouse raw movement while a mouse button is pressed. 2020-05-15 19:27:24 +02:00
Quentin Bazin
147394ed2b [KeyboardHandler] Added. Keys are now saved to config/keys.lua on client exit. 2020-05-15 00:27:12 +02:00
Quentin Bazin
db78953e1d [ClientApplication|Config] Now saving config on client exit. 2020-05-15 00:27:12 +02:00
Quentin Bazin
98783f394d [client/main] Removed Windows DPI awareness code because SFML apparently handles that. 2020-05-15 00:27:12 +02:00
Quentin Bazin
46dfc61c8f [ClientApplication] Now supports window resizing, pseudo-fullscreen mode and vsync. 2020-05-15 00:27:12 +02:00
Quentin Bazin
6f664b4255 Fixed texture bleeding and mouse-controlled camera movement. 2020-05-15 00:27:12 +02:00
Quentin Bazin
81e3326dc8 [ClientApplication] Now centering the window on the screen. 2020-05-15 00:27:12 +02:00
Quentin Bazin
a5c432512c [TextureAtlas] Updated for SFML. 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
5369f1f6ad [CMakeLists.txt] Small fix for zlib on travis-ci. 2020-05-10 21:04:00 +02:00
Quentin Bazin
057b1107a2 [config] Folder created for client/server config files. 2020-05-10 20:02:37 +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
a22bbf95ef [ServerConnectState] Now prints connection error messages instead of closing the client. 2020-05-05 15:04:26 +02:00
Quentin Bazin
f926f4f919 [InventoryCube] Faces have different shading when used as entity. 2020-05-04 11:32:38 +02:00
Quentin Bazin
1662335649 Windows-related fixes. 2020-04-29 21:17:28 +02:00
Quentin Bazin
6435595762 [InventoryCube] Small fix. 2020-04-29 21:17:28 +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
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