119 Commits

Author SHA1 Message Date
Quentin Bazin
857c7e4060 [LuaGUI] Now provides SCREEN_WIDTH, SCREEN_HEIGHT and GUI_SCALE instead of them being hardcoded in init.lua. 2020-02-15 13:54:02 +09:00
Quentin Bazin
41a46ba13b [CMakeLists.txt] Small improvements. 2020-02-14 18:36:45 +09:00
Quentin Bazin
ba168c4f16 [ChunkLightmap] Small fix. 2020-02-10 14:18:24 +09:00
Quentin Bazin
b98d45f5ab [CraftingRecipe] Shapeless recipe code removed while waiting for a proper implementation. 2020-02-09 23:35:34 +09:00
Quentin Bazin
b7bb8f1d52 Replaced my custom headers by LGPL license headers. 2020-02-08 18:34:26 +09:00
Quentin Bazin
abbabe8924 [BlockMetadata] Added. Now used in FurnaceWidget and furnace.lua 2020-02-08 17:45:20 +09:00
Quentin Bazin
442bafca68 [InventoryState] Replaced by 'show_inventory' function in init.lua. 2020-02-08 02:48:39 +09:00
Quentin Bazin
260d4cb607 Useless comments removed. 2020-02-08 01:57:38 +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
3a5c315f9a [Block|BlockCursor] No longer dependent on BlockType. 2020-02-07 23:17:21 +09:00
Quentin Bazin
83832bb136 [ChunkLightmap] No longer dependent on BlockType. 2020-02-07 23:17:21 +09:00
Quentin Bazin
9afa1b6202 [Block] Draw type 'Glass' added. 2020-02-07 23:17:21 +09:00
Quentin Bazin
70e80d1e31 [Block] Draw type 'Liquid' added. [ChunkBuilder] 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
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