1184 Commits

Author SHA1 Message Date
Quentin Bazin
93a396e926 [ServerConnectState] Text input added to select an username. 2020-06-26 06:14:46 +02:00
Quentin Bazin
ac70901d4c [misc/deploy.sh] Don't add user-config to the package anymore. 2020-06-25 18:49:29 +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
1415e9db31 [WorldController] Moved world save code to WorldSaveBasicBackend. 2020-06-24 15:35: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
616ad0c50a [ServerPlayer] 'isOnline' added. 2020-06-23 19:12:15 +02:00
Quentin Bazin
0cdb08060a [WorldController] Now saving block inventory and metadata. 2020-06-23 19:12:15 +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
367626cfe8 [.zappr.yaml] Added. 2020-06-20 03:57:50 +02:00
Quentin Bazin
afc4918459 [ISerializable] Moved to GameKit. 2020-06-20 01:37:12 +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
ea38e6d397 [LuaKeyLoader] Moved callback inside key definition. 2020-06-19 16:20:35 +02:00
Quentin Bazin
5d741b30ee [docs/lua-api-key.md] Added. 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
b1ed51f6c1 [WorldController] '/save' only save modified chunks now. 2020-06-19 01:43:47 +02:00
Quentin Bazin
276efe52a0 [ChunkBuilder] Fixed #113. 2020-06-19 01:03:50 +02:00
Quentin Bazin
eb4370e513 [WorldController] '/save' and '/load' now use 'saves' folder. 2020-06-19 00:52:56 +02:00
Quentin Bazin
bfe48f64da [ServerWorld] Fixed #115. 2020-06-19 00:45:52 +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
a7c72d7f2d [ServerConfig] 'maxPlayers' added. 2020-06-02 16:28:16 +02:00
Quentin Bazin
742b1f2092 Replaced std::cerr usage with gkError() and gkWarning(). 2020-06-02 06:32:14 +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
67bf22664f [mods/default] init.lua splitted into multiple files. 2020-06-02 05:14:54 +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
ac34fecf43 [misc/deploy.sh] Added. 2020-06-01 05:04:06 +02:00