115 Commits

Author SHA1 Message Date
Quentin Bazin
a434727216 [WorldSelectionState] Background and title added (see #128) 2020-06-26 07:13:48 +02:00
Quentin Bazin
5aa2a22a23 [GameState] Now using 'Player' as a default username if empty. [ServerCommandHandler] Now checking username on connection. 2020-06-26 06:14:46 +02:00
Quentin Bazin
00e0d76bbc [ClientApplication] Added '-u/--username' to change default username. [TitleScreenState] Now using default username with '-m/--multiplayer' and '-s/--singleplayer'. 2020-06-26 06:14:46 +02:00
Quentin Bazin
e23603cf6e [PlayerList] Now refusing players that are already online. 2020-06-26 06:14:46 +02:00
Quentin Bazin
057753f1d2 [WorldSaveBasicBackend] Now saving player position, rotation and inventory. 2020-06-26 06:14:46 +02:00
Quentin Bazin
3c957d9889 [Config] Now storing default username and server address. 2020-06-26 06:14:46 +02:00
Quentin Bazin
a3eea107f5 [ServerConnectState] Added simple regex check for username. 2020-06-26 06:14:46 +02:00
Quentin Bazin
93a396e926 [ServerConnectState] Text input added to select an username. 2020-06-26 06:14:46 +02:00
Quentin Bazin
30b7cb0b90 [WorldController] Entities partially saved with the world (see #126). 2020-06-24 00:22:26 +02:00
Quentin Bazin
2c18d3ba49 [KeyboardHandler] Small fix. 2020-06-23 19:12:15 +02:00
Quentin Bazin
e0b3e66dfe [ClientApplication|ServerApplication] Small fixes. 2020-06-23 19:12:15 +02:00
Quentin Bazin
977ebf6b4d [ServerApplication] Now using a default save file named '_server'. 2020-06-23 19:12:15 +02:00
Quentin Bazin
f858b1f8a2 [WorldMenuState] Added to replace WorldInfoState. Now using WorldCreationState to rename worlds. 2020-06-23 19:12:15 +02:00
Quentin Bazin
219cd5c3e6 [WorldSavingState] Added. 2020-06-23 19:12:15 +02:00
Quentin Bazin
15fa7aef59 [WorldInfoState|WorldDeletionState] Added. 2020-06-23 19:12:15 +02:00
Quentin Bazin
163e991b15 [WorldSelectionState] Now sorting save files. 2020-06-23 19:12:15 +02:00
Quentin Bazin
365a9b0d49 [Text] Small fix. 2020-06-23 19:12:15 +02:00
Quentin Bazin
21bafc046e [ChatCommandHandler] '/save' and '/load' commands removed. '/help' command added. 2020-06-23 19:12:15 +02:00
Quentin Bazin
785be03847 [WorldCreationState] Added. 2020-06-23 19:12:15 +02:00
Quentin Bazin
7981c4525d Fixed #125. 2020-06-23 19:12:15 +02:00
Quentin Bazin
dc4140074d [ClientWorld] No longer accepting chunks when current dimension isn't defined. 2020-06-23 19:12:15 +02:00
Quentin Bazin
bfed2aa30b [WorldSelectionState] Now displaying save file size. 2020-06-23 19:12:15 +02:00
Quentin Bazin
12b719e043 [WorldSelectionState] Added. 2020-06-23 19:12:15 +02:00
Quentin Bazin
1f7d83bebc [Text|TextInput] 'm_text' renamed to 'm_string'. 2020-06-20 01:24:06 +02:00
Quentin Bazin
00d1cb84d5 Mod-defined server config options. Fixes #105.
[Chat] History system with up/down arrow keys.
[ChatCommandHandler] '/option' command added.
2020-06-20 01:07:28 +02:00
Quentin Bazin
cc85f5f050 [docs/network-protocol.md] Added. 2020-06-19 17:18:18 +02:00
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