70 Commits

Author SHA1 Message Date
Quentin Bazin
45c797cd5f Creative window added on key 'H'. 2020-02-29 18:07:01 +01:00
Nikola Schrodinger
5d7e5158e8 Added new items 2020-02-29 11:31:28 +01:00
Nikola Schrodinger
0263387e35 Added iron ore generation. 2020-02-29 02:01:07 +01:00
Quentin Bazin
101df11c14 [textures_mc] Replaced some textures added by #66 by original ones. 2020-02-26 15:20:45 +09:00
Quentin Bazin
a9426a9daa [textures] Fixed permissions for Faithful 32x textures. 2020-02-26 03:17:35 +09:00
Nikola Schrodinger
4f1a9e87d4 Added new blocks and fixed minor bug with LuaMods. 2020-02-26 03:14:48 +09:00
Quentin Bazin
1d4fe0a11e [TextureAtlas] Now displaying 'undefined' texture for blocks with wrong texture definition. 2020-02-25 09:38:06 +09:00
Quentin Bazin
bcc3f65147 Headers updated and CONTRIBUTORS file added. 2020-02-25 01:48:38 +09:00
Quentin Bazin
879dc28eb2 [FurnaceWidget] Removed. Now completely implemented in Lua. 2020-02-23 22:38:51 +09:00
Quentin Bazin
47b7e3d849 [PlayerCraftingWidget] Removed, implemented completely using Lua. 2020-02-23 18:24:19 +09:00
Quentin Bazin
3399b71de1 [LuaWidgetDef] Added 'resultX' and 'resultY' parameters to 'CraftingWidget' and 'PlayerCraftingWidget'. 2020-02-23 18:00:20 +09:00
Quentin Bazin
904152e1aa [PlayerInventoryWidget] Removed, only PlayerCraftingWidget isn't coded in Lua. 2020-02-22 22:50:27 +09:00
Pedro Gimeno
9a1b193be9 Use Z for up (Part 3)
Fix camera, player movement, and bounding boxes.
2020-02-21 03:00:27 +01:00
Quentin Bazin
949cc463cb [TerrainGenerator] Tall Grass added. 2020-02-19 20:08:46 +09:00
Quentin Bazin
cb356b4a3b Shaders don't use blockID anymore. Fixes #48. 2020-02-19 19:30:07 +09:00
Quentin Bazin
2c5f289ef1 [Block|Item] 'name' property renamed to 'stringID' for more coherency. 2020-02-17 15:54:19 +09:00
Quentin Bazin
71587c0da8 [Network] PlayerInventory and BlockActivated packets now send screen size and gui scale informations. 2020-02-15 14:42:29 +09:00
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
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
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
3a5c315f9a [Block|BlockCursor] 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
e516b86d49 [TilesDef] Alternative tiles added. [ISerializable] Improved. 2020-01-31 16:44:27 +09:00
Quentin Bazin
abe0385384 [ChunkBuilder] Small fix. [TODO] Updated. 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
b070e58b0e [CraftingRecipe] Fixed shaped recipe matching. 2019-12-30 18:09:22 +09:00
Quentin Bazin
41155f7fd0 [ServerApplication] Now handles multiple players. 2019-04-07 18:20:15 +02:00
Quentin Bazin
b1d327ba14 [furnace.lua] Fixed. 2019-01-26 20:46:38 +01:00
Quentin Bazin
11f9365675 [Network] BlockInvUpdate and BlockDataUpdate packets added. Furnace almost done. 2019-01-26 20:29:13 +01:00
Quentin Bazin
077c93d15b [LuaGUI] Now shows Workbench and Furnace GUI. [ServerBlock] Added. 2019-01-25 13:59:57 +01:00
Quentin Bazin
61ee28fe83 [screenshots] Updated. 2019-01-20 19:19:16 +01:00
Quentin Bazin
307a1bdb23 Now using Faithful 32x texture pack for items. 2019-01-20 15:07:45 +01:00
Quentin Bazin
07ad682f94 Now using Faithful 32x texture pack for blocks. 2019-01-20 15:07:45 +01:00
Quentin Bazin
a17d361297 Now depends on SFML2 network lib. 2019-01-20 15:07:45 +01:00
Quentin Bazin
a17df4205f [furnace.lua|workbench.lua] Code splitted from blocks.lua 2019-01-08 02:43:40 +01:00
Quentin Bazin
66da21e20e [BlockFurnace] Removed. Now completely handled by Lua. 2019-01-08 02:35:49 +01:00
Quentin Bazin
50bf84acf6 [LuaCore] Added. Only two functions to get World and Player. 2019-01-07 05:03:22 +01:00
Quentin Bazin
3875b73a1d [LuaGUI] CraftingWidget support added. 2019-01-07 04:33:48 +01:00