151 Commits

Author SHA1 Message Date
Quentin Bazin
442bafca68 [InventoryState] Replaced by 'show_inventory' function in init.lua. 2020-02-08 02:48:39 +09:00
Quentin Bazin
4cae1b9c50 [BlockCursor] It is now required to press Sneak key to place a block on a workbench/furnace without activating their GUI. 2020-02-08 01:30:39 +09:00
Quentin Bazin
a10c037670 [BlockType] Removed everywhere. 2020-02-07 23:17:21 +09:00
Quentin Bazin
e198cd272d [Block] isLightSource attribute added. 2020-02-07 23:17:21 +09:00
Quentin Bazin
81e37de144 [TerrainGenerator] No longer dependent on BlockType. 2020-02-07 23:17:21 +09:00
Quentin Bazin
02465c26fd [ServerChunk] Moved TerrainGenerator in ServerWorld. 2020-02-07 23:17:21 +09:00
Quentin Bazin
3a5c315f9a [Block|BlockCursor] No longer dependent on BlockType. 2020-02-07 23:17:21 +09:00
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
c2ea78c10f [ServerBlock|ClientCommandHandler] Small optimization. 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
0a60a94cc5 [ClientPlayer|ServerCommandHandler] Position shifted a little bit due to new world gen. 2020-01-26 15:32:45 +09:00
Quentin Bazin
460091c506 [TerrainGenerator] Working on new terrain generation. [FastNoise] Added. 2020-01-26 15:25:02 +09:00
Quentin Bazin
4c3b55de1c [TerrainGenerator] Working on new terrain generation. [SimplexNoise] Added. 2020-01-25 17:26:29 +09:00
Quentin Bazin
3eda95a0ad [PauseMenuState] Small fix. 2020-01-25 16:38:45 +09:00
Quentin Bazin
fa8420e410 [CMakeLists.txt] Small fix. 2020-01-23 14:27:31 +09:00
Quentin Bazin
918c558052 [BlockCursor|Cube] Fixed on Windows. 2020-01-23 13:18:09 +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
09821a0dd0 [ServerWorld] Tree gen fixed. 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
ba3dfb3b7e [ServerWorld] Debug removed. 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
1b1c94455f [ServerWorld] Second client can now receive chunks, but it's reaaaally slow. 2020-01-22 09:22:47 +09:00
Quentin Bazin
89f77b08b5 [ServerWorld] First attempt to send chunks depending on player position. 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
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
f09dbcc8e6 [ServerChunk] 'update' renamed into 'updateLights'. 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
4d069f0301 [ServerWorld] Small optimization. 2020-01-02 17:35:28 +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