241 Commits

Author SHA1 Message Date
Quentin Bazin
790d03ac71 [ChunkLightmap] Small tweaks. 2018-07-06 13:53:01 +02:00
Quentin Bazin
2003ee63dc [ChunkBuilder] Very basic smooth lighting implementation. 2018-07-06 11:58:34 +02:00
Quentin Bazin
0c2436cee9 [Cube] Small tweak. 2018-07-03 16:13:05 +02:00
Quentin Bazin
16463b99ca [RenderStates] Bitfield for vertex attributes added. 2018-07-02 12:54:12 +02:00
Quentin Bazin
31411a9da6 [Box] Added. [BlockCursor] Now displaying correct box size. 2018-07-02 04:30:17 +02:00
Quentin Bazin
96da02fa15 [Registry] Small fixes. 2018-07-02 02:58:02 +02:00
Quentin Bazin
4f64ede62a [ChunkBuilder] First slab test. 2018-06-30 22:27:46 +02:00
Quentin Bazin
59cf061e97 [Crosshair] Small tweaks. 2018-06-30 20:09:01 +02:00
Quentin Bazin
aecadf3976 [Crosshair] Now using rectangles. Added proper blending. 2018-06-30 18:39:08 +02:00
Quentin Bazin
7713bb4693 [SettingsMenuState] Render distance button: Done. 2018-06-30 05:07:57 +02:00
Quentin Bazin
cae6fee434 [GameState] Now release the mouse when the window loses focus. 2018-06-30 04:45:49 +02:00
Quentin Bazin
6b0fc907ee [CraftingWidget] Small fix. 2018-06-30 04:32:24 +02:00
Quentin Bazin
9378dbd6e3 [MouseItemWidget] Burn time info added on tooltip. 2018-06-30 04:17:08 +02:00
Quentin Bazin
7df693e4af [Recipe|SmeltingRecipe] Added. [BlockFurnace] Now supports SmeltingRecipe. 2018-06-30 03:48:04 +02:00
Quentin Bazin
dbb6fb5736 [Registry] Blocks, item and recipe data loaded from XML files. 2018-06-30 02:55:34 +02:00
Quentin Bazin
d1f24d9461 [BlockCursor] Block destruction animation is finally transparent. 2018-06-29 23:38:41 +02:00
Quentin Bazin
618ff96277 [Block|Item] Block hardness and item mining level/speed handled. 2018-06-29 21:55:47 +02:00
Quentin Bazin
95842ddc07 [Block] Item drop added. Now CoalOre drops Coal and Stone drops Cobblestone. 2018-06-29 21:18:48 +02:00
Quentin Bazin
fb46ab479c [PauseMenuState|SettingsMenuState] Small name tweaks. 2018-06-29 20:57:32 +02:00
Quentin Bazin
54ae2e2a68 [BlockFurnace] Now displaying the corresponding texture when the furnace is active. 2018-06-29 09:48:37 +02:00
Quentin Bazin
dd49aff276 [FurnaceWidget] Visual indicator added. 2018-06-29 09:19:36 +02:00
Quentin Bazin
a258fde36a [BlockFurnace] Now able to smelt iron ore into ingots, using coal as fuel. 2018-06-29 08:56:59 +02:00
Quentin Bazin
da0877f515 [SmallCraftingWidget] Removed. Caused segfault due to Inventory initialized after CraftingWidget base. 2018-06-29 07:38:57 +02:00
Quentin Bazin
9c16bfd264 [BlockData] Added. [BlockWorkbench] Now keeps items stored inside. 2018-06-29 07:16:51 +02:00
Quentin Bazin
b7d8c47e52 [SettingsMenuState] Added. 2018-06-29 06:26:57 +02:00
Quentin Bazin
9f8768886c [MenuWidget] Now supports multiple buttons. [PauseMenuState] 'Resume' button added. 2018-06-28 11:31:51 +02:00
Quentin Bazin
a3f598c11e [PauseMenuState] Added. Will be replaced by a generic MenuState later. [MenuWidget|TextButton] Added. 2018-06-28 11:15:17 +02:00
Quentin Bazin
e5dbcb565a [BlockFurnace|FurnaceWidget] Added. 2018-06-28 10:13:29 +02:00
Quentin Bazin
f451b9754b [BlockWater] Now spread around. 2018-06-28 09:58:37 +02:00
Quentin Bazin
a2eeb41e48 [Chunk] Small improvement. 2018-06-28 09:22:57 +02:00
Quentin Bazin
40d458067f [Config] Constant GUI_SCALE added. 2018-06-28 08:52:55 +02:00
Quentin Bazin
60d31afc64 [InventoryWidget|MouseItemWidget] Small improvements. 2018-06-28 08:50:57 +02:00
Quentin Bazin
d53f080fb7 [CraftingRecipe] Improved shaped recipe matching. [SmallCraftingWidget] Added. Now items are craftable from inventory. 2018-06-27 10:42:34 +02:00
Quentin Bazin
24c857b57c [PlayerInventoryWidget] Added. Now the crafting table is only accessible through the Workbench block. 2018-06-27 05:39:56 +02:00
Quentin Bazin
e8173578b1 [Player] Added, it's only a container for player's inventory. [BlockWorkbench] Added. Can display WorkbenchWidget on right click. 2018-06-27 05:09:30 +02:00
Quentin Bazin
8843c8f346 [Hotbar] Small improvements. [ItemWidget] Cube size increased. [game.v.glsl] Small fix on leaves movement. 2018-06-27 00:20:26 +02:00
Quentin Bazin
ea9053ac8b [Text] Small refactoring. 2018-06-26 06:38:20 +02:00
Quentin Bazin
180eaaafd8 [CraftingWidget] Small blink fixed. [ItemWidget] Cube offsets fixed. 2018-06-26 06:18:50 +02:00
Quentin Bazin
994cf8433d [MouseItemWidget] Small bug fixed. 2018-06-26 06:03:30 +02:00
Quentin Bazin
4f8628c9e5 [Image] Color now supported. [Text] Now displays text shadow. 2018-06-26 05:42:06 +02:00
Quentin Bazin
457b58ab73 [Cube|ItemWidget] Cube size/rotation improved. 2018-06-26 05:08:32 +02:00
Quentin Bazin
3ae317dc99 [BlockCursor] Block destruction animation improved. 2018-06-26 04:56:56 +02:00
Quentin Bazin
ea6e83cfeb [BlockCursor] Block destruction animation added. 2018-06-26 04:52:31 +02:00
Quentin Bazin
b112cc0c02 [Cube] Small improvements. 2018-06-26 04:17:00 +02:00
Quentin Bazin
9a9a7edf28 [Transformable] Rotation added. [Cube] Added. [ItemWidget] Ugly cube display. 2018-06-26 01:35:19 +02:00
Quentin Bazin
d1e504d3de [InventoryWidget] Hovering item highlight. 2018-06-25 23:46:10 +02:00
Quentin Bazin
3809e808d2 [RectangleShape] Added. [InventoryState] Dark background added. 2018-06-25 23:29:50 +02:00
Quentin Bazin
8fe7a68666 [Registry] Glowstone added. [Chunk] Cobblestone no longer emits light. 2018-06-25 22:50:30 +02:00
Quentin Bazin
6422524da9 [Text] Fixed glyph spacing. [MouseItemWidget] Tooltip added when hovering items. 2018-06-25 22:34:29 +02:00
Quentin Bazin
3a62fdc598 [shaders|textures] Moved into 'resources' folder. [Types->IntTypes] Renamed. 2018-06-25 18:42:50 +02:00