154 Commits

Author SHA1 Message Date
Quentin Bazin
03bbc53cd4 [Block] Draw type 'AllFaces' added for leaves. [ChunkBuilder] Hidden face skipping is now dependent on 'AllFaces' draw type instead of BlockType. 2020-02-07 23:17:21 +09:00
Quentin Bazin
a351ca862a [CraftingWidget] Small improvement. [ServerBlock] Preparing future block features. 2020-02-03 14:11:18 +09:00
Quentin Bazin
7c05f319ba [LuaMod] Added support for bounding box definition. 2020-02-03 11:13:23 +09:00
Quentin Bazin
86918973a7 [CraftingRecipe] Small fix. 2020-01-31 16:44:27 +09:00
Quentin Bazin
b920c40829 [TilesDef] Members are now private. 2020-01-31 16:44:27 +09:00
Quentin Bazin
ac35d78cc2 [TextureAtlas] Added support for alternative tiles. 2020-01-31 16:44:27 +09:00
Quentin Bazin
e516b86d49 [TilesDef] Alternative tiles added. [ISerializable] Improved. 2020-01-31 16:44:27 +09:00
Quentin Bazin
793346f75f [TextureAtlas] Textures are now stored in mod folder. 2020-01-31 16:44:27 +09:00
Quentin Bazin
a3b85e1d5c Grass, logs, workbench and furnace: OK. 2020-01-31 16:44:27 +09:00
Quentin Bazin
44798d6fbd [TilesDef] Added. Now blocks and items can store multiple textures. 2020-01-31 16:44:27 +09:00
Quentin Bazin
5b2a1758ef Now using filenames instead of IDs when loading/retrieving textures. 2020-01-31 16:44:27 +09:00
Quentin Bazin
2d417f6eaa [GameState|HUD|InterfaceState] Fullscreen and resize handling added. 2020-01-27 15:33:06 +09:00
Quentin Bazin
8922f53e2a [Config] Tweaked mouse sensivity and added menu option for it. 2020-01-26 16:03:43 +09:00
Quentin Bazin
b9ec32ec71 [GameState] Now using a 70° FOV. 2020-01-25 15:29:37 +09:00
Quentin Bazin
e4f760fc57 [Config] Changed DIST_NEAR to 0.1f. 2020-01-23 22:38:44 +09:00
Quentin Bazin
c0e6807b4d [Config] Changed DIST_NEAR to 0.6f to fix an issue on Windows. 2020-01-23 15:23:03 +09:00
Quentin Bazin
fa8420e410 [CMakeLists.txt] Small fix. 2020-01-23 14:27:31 +09:00
Quentin Bazin
415a6c6d9b [CMakeLists.txt] Small fix for MinGW compilation. 2020-01-23 01:49:57 +09:00
Quentin Bazin
df1603c608 [.gitignore] Updated for Windows. 2020-01-22 16:22:06 +09:00
Quentin Bazin
7f41d3c7bb [CMakeLists.txt] Now allows compiling on Windows. 2020-01-22 14:18:31 +09:00
Quentin Bazin
a4ff78d672 [TerrainGenerator] Fixed small lighting issue. 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
1a8698b97b [ServerWorld|ChunkLightmap|ServerChunk] Removed useless updateLight() calls. 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
8825343ddf Reverting last commit. 2020-01-22 09:22:47 +09:00
Quentin Bazin
67c8410821 Attempting to improve light propagation. 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
2903cfba68 [World] Small patch. Fixes player collisions and block placing. 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
f45050ba59 [ServerLoadingState] Now used before login when using 'ServerWorld::sendWorldData'. 2020-01-10 16:08:57 +09:00
Quentin Bazin
c916e1b970 [ChunkLightmap] Fixed black border issue. 2020-01-04 15:37:52 +09:00
Quentin Bazin
4d069f0301 [ServerWorld] Small optimization. 2020-01-02 17:35:28 +09:00
Quentin Bazin
8e0774bb3a [ChunkLightmap] Small optimization. 2020-01-02 16:17:27 +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
e8f0198c3c [Text] Now able to display multiple lines. 2019-12-30 20:19:16 +09:00
Quentin Bazin
b070e58b0e [CraftingRecipe] Fixed shaped recipe matching. 2019-12-30 18:09:22 +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
1b373d9c2a [KeyboardHandler] Replaced by gk::KeyboardHandler. 2019-04-08 20:22:35 +02:00
Quentin Bazin
537b7de9c7 [CraftingRecipe] Fixed recipe matching. 2019-04-08 16:54:57 +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
19ea5c152f [ServerCommandHandler] 'PlayerPosUpdate' callback added. 2019-04-07 17:20:35 +02:00