25 Commits

Author SHA1 Message Date
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
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
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
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
41155f7fd0 [ServerApplication] Now handles multiple players. 2019-04-07 18:20:15 +02:00
Quentin Bazin
14ca959fe1 [LuaGUI] C++14 migration. 2019-02-26 16:04:08 +01:00
Quentin Bazin
6e4e8c0547 [ServerChunk] Ticking blocks re-enabled. WIP. 2019-01-26 10:05:37 +01:00
Quentin Bazin
077c93d15b [LuaGUI] Now shows Workbench and Furnace GUI. [ServerBlock] Added. 2019-01-25 13:59:57 +01:00
Quentin Bazin
2035f9123f [Block] onTick and onBlockActivated re-enabled. 2019-01-23 00:38:08 +01:00
Quentin Bazin
e2816324a8 [Player] Server now keep track of the inventory. 2019-01-23 00:04:03 +01:00
Quentin Bazin
f9393c5316 [ScriptEngine] Moved to server. 2019-01-20 17:08:44 +01:00