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
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
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
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
6422524da9
[Text] Fixed glyph spacing. [MouseItemWidget] Tooltip added when hovering items.
2018-06-25 22:34:29 +02:00
Quentin Bazin
ddf771af6a
[Item] Attributes isBlock and textureID added.
2018-06-25 16:32:32 +02:00
Quentin Bazin
293737f157
[CraftingWidget] Small fix.
2018-06-25 03:52:16 +02:00
Quentin Bazin
ddcdac14b5
[MouseItemWidget] Now handles taking items from read-only inventory if it holds the same item.
2018-06-25 03:39:02 +02:00
Quentin Bazin
3e187fe263
[CraftingWidget] Crafting result now read-only. Only consumes recipe items when result is taken.
2018-06-25 03:31:10 +02:00
Quentin Bazin
68e3d1493d
[CraftingWidget] Added for more control on craft result inventory.
2018-06-25 02:39:23 +02:00
Quentin Bazin
1728afa780
[MouseItemWidget] Small bug fixed.
2018-06-24 07:52:32 +02:00
Quentin Bazin
1de5c04b14
[CraftingRecipe] Added. [Registry] Basic axe recipe added. [WorkbenchWidget] Recipe support added.
2018-06-24 07:11:50 +02:00
Quentin Bazin
f2dc9775ad
[ItemWidget] Basic item system added. Can display sticks and a hoe now.
2018-06-24 06:35:49 +02:00
Quentin Bazin
a77da9a4ea
[MouseItemWidget] Item duplication fixed.
2018-06-24 03:27:42 +02:00
Quentin Bazin
e01c6da109
[Text] Added. [ItemWidget] Now displays item amount.
2018-06-24 03:17:35 +02:00
Quentin Bazin
5c0735da26
[ItemStack] Added.
2018-06-24 01:42:06 +02:00
Quentin Bazin
60c6eaed3b
[Color|Sprite|SpriteAnimation|Timer|Vector2] Added. [TerrainGenerator|MouseItemWidget] Small improvements.
2018-06-23 07:00:47 +02:00
Quentin Bazin
b8b36117a0
New block types added.
2018-06-23 03:50:02 +02:00
Quentin Bazin
2eecb88ced
[Hotbar|WorkbenchWidget] Inventories linked.
2018-06-23 03:26:34 +02:00
Quentin Bazin
a9f182ec61
[MouseItemWidget] Added. [WorkbenchWidget] Now using MouseItemWidget to move items across inventories.
2018-06-23 01:32:23 +02:00
Quentin Bazin
28071a6b89
[InventoryWidget] Small bugs fixed.
2018-06-23 00:34:02 +02:00
Quentin Bazin
1a302dfb1c
[InventoryWidget] Now moving items correctly.
2018-06-21 13:05:05 +02:00
Quentin Bazin
f242d2efbe
[InventoryWidget] Selected item is now displayed on top of all others.
2018-06-21 09:04:39 +02:00
Quentin Bazin
be7b857b84
[Widget] Base class was needed to get widget real positions. [InventoryWidget] Drag n'drop is working.
2018-06-21 09:00:53 +02:00
Quentin Bazin
4fe6868bcb
[Texture|VertexBuffer] Now inherit from NonCopyable. [Transformable] Small fix.
2018-06-21 07:03:02 +02:00
Quentin Bazin
89c11ba73c
[Hotbar] Now using ItemWidget instead of Image.
2018-06-21 06:08:31 +02:00
Quentin Bazin
fb3f7f0501
Lot of changes. [...]
...
[Renderer] Deleted, code moved to Application.
[Transformable] Transformations are now applied to model matrix in applyTransform.
[ResourceHandler|TextureLoader|XMLFile] Added.
[Debug|Exception] Updated.
2018-06-21 05:45:17 +02:00
Quentin Bazin
9af917357a
[Transformable] Added. Works like the sf::Transformable class of SFML, but uses applyTransform(states) instead of states.transform *= getTransform().
2018-06-21 02:55:33 +02:00
Quentin Bazin
05957d4552
[Inventory|InventoryWidget|ItemWidget] Added. Need to add ITransform to go further.
2018-06-21 01:32:55 +02:00
Quentin Bazin
2892475ecc
[InventoryState|WorkbenchWidget] Added. Starting inventory system.
2018-06-21 00:55:38 +02:00