924 Commits

Author SHA1 Message Date
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
95b0a55c14 [README.md] Updated. 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
7d3738b977 [.codedocs] Small fix. 2020-05-22 20:55:17 +02:00
Quentin Bazin
41f7dff901 [.travis.yml] Updated. 2020-05-22 16:55:53 +02:00
Quentin Bazin
1267bde8c9 [external/gamekit] Updated. 2020-05-22 16:52:38 +02:00
Quentin Bazin
08a951e1b1 [README.md] Updated. 2020-05-22 16:22:57 +02:00
Quentin Bazin
12aaad6c50 All dependencies are now included as submodules. Fixes #101. 2020-05-22 16:18:34 +02:00
Quentin Bazin
b34480565c [LuaCore] New event 'PlayerConnected' added. 2020-05-22 05:34:02 +02:00
Quentin Bazin
b789fc3d9b [ScriptEngine] Code splitted into multiple files, improving compilation speed. 2020-05-22 04:54:34 +02:00
Quentin Bazin
82c52bc4d3 [docs] Small fixes. 2020-05-20 20:53:22 +02:00
Quentin Bazin
eb5bbb466a [docs/lua-api-entity.md] Added link to 'spawn_entity' in lua-api-mod.md. 2020-05-20 20:51:25 +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
c35da59089 [README.md] Updated. 2020-05-20 13:42:26 +02:00
Quentin Bazin
0700481ba7 Documentation added for entity API. 2020-05-20 13:39:06 +02:00
Quentin Bazin
7c4835120e [LuaEntityLoader] Small refactor. 2020-05-20 13:39:06 +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
f9dcc6c016 [LuaMod] Small refactoring. 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
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
675bdb112f [.gitmodules] Now using https:// instead of git:// (please run git submodule sync --recursive). 2020-05-19 15:43:39 +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
4595d87ac8 [external/gamekit] Updated. 2020-05-15 00:27:12 +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
a2c2dba2a6 [CompressedPacket] Fixed #97. [gamekit] Updated. 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
9ce7870a58 [external/gamekit] Updated. 2020-05-15 00:27:12 +02:00
Quentin Bazin
995ec8b4c3 [.travis.yml] Updated. 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
aff04da91a [cmake/sdl2] Folder removed. 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
dfcbb3c80d [keys.xml] 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
f9da65ac31 [Server] Fixed singleplayer mode. 2020-05-10 20:14:20 +02:00
Quentin Bazin
057b1107a2 [config] Folder created for client/server config files. 2020-05-10 20:02:37 +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
05a652bbb6 [README.md] Small fix. 2020-05-10 14:34:58 +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
9f09a0af55 [LuaCore] New event 'OnBlockDigged' added. 2020-05-04 11:39:01 +02:00