317 Commits

Author SHA1 Message Date
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
Quentin Bazin
6fdf1fc81d [CraftingRecipe] Small fix for shapeless recipes. 2018-06-25 18:27:27 +02:00
Quentin Bazin
b18333d43c [BlockType|ItemType|ItemBlock] Added. Better block/item id handling! 2018-06-25 18:12:27 +02:00
Quentin Bazin
ddf771af6a [Item] Attributes isBlock and textureID added. 2018-06-25 16:32:32 +02:00
Quentin Bazin
e236622408 [ChunkLightmap] Added. Lot of code removed from Chunk. 2018-06-25 15:59:25 +02:00
Quentin Bazin
22a09ed831 [GameState] Useless code removed. 2018-06-25 14:04:25 +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
ff5f18f4b1 [Chunk] Small lighting fix. 2018-06-25 01:51:07 +02:00
Quentin Bazin
f0b7b1efd5 [ChunkBuilder] Tried to add per-face lighting. 2018-06-25 01:42:44 +02:00
Quentin Bazin
dcb5d3b6b0 [Chunk] Opaque cubes now block light. Light computing must be done per face instead of per block. 2018-06-25 01:27:14 +02:00
Quentin Bazin
80af5423f7 [Chunk] Sunlight added. 2018-06-25 00:51:51 +02:00
Quentin Bazin
09ba9c84d3 [Chunk] First attempt to lighting. 2018-06-25 00:05:21 +02:00
Quentin Bazin
d8475505c6 [BlockCursor|Hotbar] Block usage/gather. 2018-06-24 21:02:39 +02:00
Quentin Bazin
e07a090a34 [Registry] Recipes for stone tools added. 2018-06-24 09:46:11 +02:00
Quentin Bazin
6806fcd8fe [Block|ChunkBuilder] Transparent leaves. [game.v.glsl] Waving leaves. 2018-06-24 09:42:11 +02:00
Quentin Bazin
c08879387a [BlockCursor] Preparation for block destroy animation. 2018-06-24 09:02:40 +02:00
Quentin Bazin
1728afa780 [MouseItemWidget] Small bug fixed. 2018-06-24 07:52:32 +02:00
Quentin Bazin
626285c38d [CraftingRecipe] Support for shapeless recipes added. 2018-06-24 07:46:34 +02:00
Quentin Bazin
8016402116 [Registry] Planks and stick recipes added. 2018-06-24 07:18:31 +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