179 Commits

Author SHA1 Message Date
Quentin Bazin
e2816324a8 [Player] Server now keep track of the inventory. 2019-01-23 00:04:03 +01:00
Quentin Bazin
e21160a56e [ClientApplication|ServerApplication] Now using gk::ArgumentParser. 2019-01-21 23:59:43 +01:00
Quentin Bazin
066d1a09f5 [ServerWorld] Half tree issue and lighting bugs fixed. 2019-01-21 21:51:18 +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
b7735ca71a [ChunkLightmap] Crash fixed. [ServerApplication] '--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
f5c9054e81 [ChunkLightmap|TerrainGenerator] Optimized chunk sending. 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
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
402cd5fe09 [ClientChunk] Added. Started world client/server architecture. 2019-01-20 15:07:45 +01:00
Quentin Bazin
7caeafb845 [Server] Added parameter 'port' for init(). 2019-01-20 15:07:45 +01:00
Quentin Bazin
389ee41f05 Server can be closed correctly now. 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