148 Commits

Author SHA1 Message Date
Quentin Bazin
a2c49a2b4e [DebugOverlay] Now showing loaded chunks count. 2020-01-22 09:22:47 +09:00
Quentin Bazin
3a2024d120 Last lighting issue almost fixed. 2020-01-22 09:22:47 +09:00
Quentin Bazin
60b44511da [World] Furnace crash fixed. [ClientWorld] Small fix. 2020-01-22 09:22:47 +09:00
Quentin Bazin
6e0f7ddda5 Multiplayer infinite world: OK using 'ChunkRequest' packet. 2020-01-22 09:22:47 +09:00
Quentin Bazin
b43e539742 [BlockInfoWidget] Removed coordinates display. 2020-01-22 09:22:47 +09:00
Quentin Bazin
978a989ecf Lighting issues finally fixed. Yay. 2020-01-22 09:22:47 +09:00
Quentin Bazin
4bda292fa4 Almost fixed the lighting issue, found the problem. 2020-01-22 09:22:47 +09:00
Quentin Bazin
a651e37c6a Small tweaks. 2020-01-22 09:22:47 +09:00
Quentin Bazin
6315216e66 Removed useless code. 2020-01-22 09:22:47 +09:00
Quentin Bazin
fc9c60e2b9 [ClientWorld] Now waiting all neighbours of a chunk before updating/displaying it. 2020-01-22 09:22:47 +09:00
Quentin Bazin
aa38e17378 [ClientWorld|ServerWorld] Spawn data sending is now working. 2020-01-22 09:22:47 +09:00
Quentin Bazin
1dc66fd9e2 [ServerWorld] New function added to send spawn data to connecting clients. 2020-01-22 09:22:47 +09:00
Quentin Bazin
12dcb38ebd Infinite world: First attempt. 2020-01-22 09:22:47 +09:00
Quentin Bazin
2f790ec723 [ChunkBuilder] Small improvement. 2020-01-10 16:53:44 +09:00
Quentin Bazin
f45050ba59 [ServerLoadingState] Now used before login when using 'ServerWorld::sendWorldData'. 2020-01-10 16:08:57 +09:00
Quentin Bazin
8fbb0228ae [ChunkBuilder] Small fix. 2020-01-06 21:52:13 +09:00
Quentin Bazin
90ab911840 [ChunkBuilder] Fixed smooth lighting issues with torchlight. 2020-01-04 16:25:10 +09:00
Quentin Bazin
64fe451741 [ChunkBuilder] Fixed flower lighting. 2020-01-04 15:39:04 +09:00
Quentin Bazin
d45f7d88aa [ChunkLightmap] Lighting propagation improved. This fix slowed chunk generation though. 2020-01-02 16:06:20 +09:00
Quentin Bazin
b6d5611355 [TerrainGenerator] Sunlight downward propagation fixed. 2019-12-31 19:55:53 +09:00
Quentin Bazin
e2348baa37 [Text] Small optimization. 2019-12-30 21:46:06 +09:00
Quentin Bazin
3d126bd9bf [SettingsMenuState] 'Esc' key issue fixed. 2019-12-30 21:08:25 +09:00
Quentin Bazin
e8f0198c3c [Text] Now able to display multiple lines. 2019-12-30 20:19:16 +09:00
Quentin Bazin
391faca604 [TODO|README.md] Updated. 2019-12-30 19:00:59 +09:00
Quentin Bazin
44ea538282 [ChunkBuilder|ChunkLightmap] Sunlight problems fixed. Closes #21. 2019-12-30 10:34:20 +09:00
Quentin Bazin
182f9d7af0 [ChunkBuilder|ChunkLightmap] Fixed torchlight issues. Related to #21. 2019-12-30 06:59:10 +09:00
Quentin Bazin
6b871ea451 [README.md] Updated. 2019-04-13 15:52:25 +02:00
Quentin Bazin
0cc6cbb873 Updated for new GameKit version. 2019-04-13 15:06:52 +02:00
Quentin Bazin
1b373d9c2a [KeyboardHandler] Replaced by gk::KeyboardHandler. 2019-04-08 20:22:35 +02:00
Quentin Bazin
fc3211b481 [ServerConnectState] 'Cancel' button added. 2019-04-08 19:44:05 +02:00
Quentin Bazin
4630a25e02 [ServerConnectState] Added. 2019-04-08 19:39:34 +02:00
Quentin Bazin
040028a614 [InterfaceState] Added. This is an helpful base class for 2D states. 2019-04-08 18:44:05 +02:00
Quentin Bazin
2a14b9ea0d [PauseMenuState] New 'Title Screen' button. 2019-04-08 18:18:50 +02:00
Quentin Bazin
36ecd91de1 [TitleScreenState] Added. Closes #19. 2019-04-08 18:13:51 +02:00
Quentin Bazin
637f1f3e14 [Skybox] Removed. 2019-04-08 15:43:42 +02:00
Quentin Bazin
cf236576ec Now syncing player position between clients. But client is authoritative. 2019-04-08 15:29:19 +02:00
Quentin Bazin
f56002f85a [ClientCommandHandler] Now used to send commands to the server. 2019-04-08 12:59:02 +02:00
Quentin Bazin
41155f7fd0 [ServerApplication] Now handles multiple players. 2019-04-07 18:20:15 +02:00
Quentin Bazin
19ea5c152f [ServerCommandHandler] 'PlayerPosUpdate' callback added. 2019-04-07 17:20:35 +02:00
Quentin Bazin
cbde5e0659 [InventoryWidget] Small improvement. 2019-04-07 16:23:48 +02:00
Quentin Bazin
633233e57e [BlockCursor] Fixed inventory update packet. [Client] Small optimization. 2019-04-07 16:09:14 +02:00
Quentin Bazin
58043344f1 [ClientCommandHandler|ServerCommandHandler] Added. 2019-03-17 17:22:53 +01:00
Quentin Bazin
197ec07d12 [PlayerBox] Added to display players. [Network] New server-emitted 'PlayerSpawn' command. 2019-03-17 16:56:26 +01:00
Quentin Bazin
2c8878bf49 [GameState|ServerApplication] Moved callbacks setup into its own function. 2019-03-17 15:04:00 +01:00
Quentin Bazin
da5f042354 [OpenGL] Now using glCheck() from GameKit. 2019-02-27 02:18:14 +01:00
Quentin Bazin
0c8ef8ba47 Migrated to C++14. 2019-02-26 15:52:18 +01:00
Quentin Bazin
f07ce03668 [README.md] Updated. 2019-02-02 12:53:19 +01:00
Quentin Bazin
b286178d86 Light experiments reverted, I'll only keep this one. 2019-01-27 21:37:53 +01:00
Quentin Bazin
9226ce4f42 [ServerBlock] Now sending 'data' attribute. 2019-01-26 20:55:22 +01:00
Quentin Bazin
11f9365675 [Network] BlockInvUpdate and BlockDataUpdate packets added. Furnace almost done. 2019-01-26 20:29:13 +01:00