45 Commits

Author SHA1 Message Date
Quentin Bazin
dee8dc7d97 [Chunk|World] Block inventory enabled. WIP. 2019-01-25 23:47:45 +01:00
Quentin Bazin
077c93d15b [LuaGUI] Now shows Workbench and Furnace GUI. [ServerBlock] Added. 2019-01-25 13:59:57 +01:00
Quentin Bazin
44c1f6251d [BlockCursor] Now sending updated inventory to server after placing a block. 2019-01-23 21:45:19 +01:00
Quentin Bazin
2035f9123f [Block] onTick and onBlockActivated re-enabled. 2019-01-23 00:38:08 +01:00
Quentin Bazin
156915cfa8 [World] Now used as main class for ClientWorld and ServerWorld. 2019-01-23 00:15:47 +01:00
Quentin Bazin
e2816324a8 [Player] Server now keep track of the inventory. 2019-01-23 00:04:03 +01:00
Quentin Bazin
eb67edc556 [ClientApplication] '--host' argument added. 2019-01-22 00:08:09 +01:00
Quentin Bazin
e21160a56e [ClientApplication|ServerApplication] Now using gk::ArgumentParser. 2019-01-21 23:59:43 +01:00
Quentin Bazin
3a44632704 [SettingsMenuState] 'Input' menu is now displayed on two columns. 2019-01-21 23:11:09 +01:00
Quentin Bazin
c9e35a9ac3 [SettingsMenuState] 'Done' button is now standalone. 2019-01-21 22:16:52 +01:00
Quentin Bazin
6982875301 [SettingsMenuState] Keybindings are now editable in-game. 2019-01-20 21:39:07 +01:00
Quentin Bazin
f9393c5316 [ScriptEngine] Moved to server. 2019-01-20 17:08:44 +01:00
Quentin Bazin
3105fe9339 [ClientWorld|ServerWorld] Increased world size. [Player] Sprint added. 2019-01-20 15:07:45 +01:00
Quentin Bazin
29c518631b [.travis.yml] Added. 2019-01-20 15:07:45 +01:00
Quentin Bazin
8124cab3b6 Chunk loading optimized. 2019-01-20 15:07:45 +01:00
Quentin Bazin
f146e2d5da [Config] No clip mode added. [SettingsMenuState] Small refactoring. 2019-01-20 15:07:45 +01:00
Quentin Bazin
104597a39d [Network] 'ChunkRequest' command added. 2019-01-20 15:07:45 +01:00
Quentin Bazin
9da2ad5f86 [Client|Server] Removed old command flow. [Network] Useless commands removed. 2019-01-20 15:07:45 +01:00
Quentin Bazin
ec2a27b587 [BlockCursor] Now implements PlayerDigBlock network event. 2019-01-20 15:07:45 +01:00
Quentin Bazin
4b85e3928e [ChunkLightmap] Crash fixed (again). [GameState] Fixed SDL window event handling. 2019-01-20 15:07:45 +01:00
Quentin Bazin
38731bd155 [ClientApplication] '--port' argument added. 2019-01-20 15:07:45 +01:00
Quentin Bazin
03bffbb666 [Network] Server is now aware of placed blocks and can forward the info to other clients. 2019-01-20 15:07:45 +01:00
Quentin Bazin
2d569fd978 [ClientWorld|ServerWorld] Reduced world size to make testing easier. 2019-01-20 15:07:45 +01:00
Quentin Bazin
a972b67cdc [World] 'renderDistance' variable moved to Config. 2019-01-20 15:07:45 +01:00
Quentin Bazin
c14e5ecd4d [Client] Preparing chunk request. 2019-01-20 15:07:45 +01:00
Quentin Bazin
6c9b4bf644 [ChunkBuilder] Flowers are now sensible to light. 2019-01-20 15:07:45 +01:00
Quentin Bazin
f5c9054e81 [ChunkLightmap|TerrainGenerator] Optimized chunk sending. 2019-01-20 15:07:45 +01:00
Quentin Bazin
e721b7b4ba [ClientWorld] Reload chunks when settings have changed. 2019-01-20 15:07:45 +01:00
Quentin Bazin
824c6d30c0 [ChunkLightmap] Now handled by both client and server. 2019-01-20 15:07:45 +01:00
Quentin Bazin
8c847a4eb6 [README.md] Updated. 2019-01-20 15:07:45 +01:00
Quentin Bazin
d89283ddab [ServerLoadingState] Added. 2019-01-20 15:07:45 +01:00
Quentin Bazin
f374c7ba80 [HUD] All the widgets works now. 2019-01-20 15:07:45 +01:00
Quentin Bazin
1f277f38a1 [Player] Collisions: OK. [SettingsMenuState] Fly mode option added. 2019-01-20 15:07:45 +01:00
Quentin Bazin
ca90070905 [graphics|hud] Moved to client. 2019-01-20 15:07:45 +01:00
Quentin Bazin
9d8e9a297d [ClientApplication] Added back support for ScriptEngine. 2019-01-20 15:07:45 +01:00
Quentin Bazin
70d6a94332 [ServerWorld] Worldgen fixed. 2019-01-20 15:07:45 +01:00
Quentin Bazin
d75d7b7f54 [ServerChunk] Buggy worldgen, but still a worldgen. 2019-01-20 15:07:45 +01:00
Quentin Bazin
c9ba346b4c [ServerChunk] Now using TerrainGenerator instead of a random gen. 2019-01-20 15:07:45 +01:00
Quentin Bazin
fce9eba630 [ClientWorld|ServerWorld] Added. Code cleaned a bit. 2019-01-20 15:07:45 +01:00
Quentin Bazin
104c47d898 [GameState|ServerApplication] Test for block sending: OK. 2019-01-20 15:07:45 +01:00
Quentin Bazin
5070a35b62 [Server] Connection callback added. [Network] ChunkData command added. 2019-01-20 15:07:45 +01:00
Quentin Bazin
9667138c47 [Config] Fixed near plane value. [Client] Now supports custom commands. 2019-01-20 15:07:45 +01:00
Quentin Bazin
402cd5fe09 [ClientChunk] Added. Started world client/server architecture. 2019-01-20 15:07:45 +01:00
Quentin Bazin
3884be8868 Basic network classes added: Client, Server, ClientApplication, ServerApplication. 2019-01-20 15:07:45 +01:00
Quentin Bazin
c36481f4ef [CMakeLists.txt] Improved build for client/server architecture. 2019-01-20 15:07:45 +01:00