92 Commits

Author SHA1 Message Date
Quentin Bazin
f2e8bc2842 [game.f.glsl] Small graphical improvements. 2019-02-01 20:35:03 +01:00
Quentin Bazin
c56d035740 [KeyboardHandler] Now using SDL_Scancode instead of SDL_Keycode. 2019-01-22 23:00:51 +01:00
Quentin Bazin
3105fe9339 [ClientWorld|ServerWorld] Increased world size. [Player] Sprint added. 2019-01-20 15:07:45 +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
f06a178d46 Minecrafter font added. 2019-01-09 00:01:31 +01:00
Quentin Bazin
d5e49be7ec [ChunkBuilder] New draw type added for flowers. 2019-01-05 05:41:18 +01:00
Quentin Bazin
30e893db69 [ChunkBuilder] Real ambient occlusion added.
Credits goes to this awesome article: https://0fps.net/2013/07/03/ambient-occlusion-for-minecraft-like-worlds/
2018-12-31 07:45:11 +01:00
Quentin Bazin
63286f4747 [TextButton] Added code to use a real font instead of Text, but disabled it for now. 2018-12-31 04:30:23 +01:00
Quentin Bazin
5eb6e115f5 [Lua] Now using string IDs instead of integer IDs. 2018-12-28 21:23:26 +01:00
Quentin Bazin
e1331b4815 [#14] Reverted back to SDL2. Fixed #17. 2018-12-28 06:21:29 +01:00
Quentin Bazin
ff69ddb160 [ScriptEngine] Now able to register crafts. 2018-12-20 05:19:56 +01:00
Quentin Bazin
2dadf9dc0a [ScriptEngine] Now able to register block/item properties. 2018-12-20 03:30:11 +01:00
Quentin Bazin
3b8124b795 [ChunkLightmap] Small tweaks. 2018-07-09 13:52:31 +02:00
Quentin Bazin
3104cf9cfb [ChunkBuilder] Smooth lighting fixed on back faces. Code refactored a bit. [recipes.xml] Slab recipe added. 2018-07-07 16:24:35 +02:00
Quentin Bazin
23cc904cf3 [fog.f.glsl] Small fix. Now using sky color instead of a transparent color. 2018-07-06 17:47:31 +02:00
Quentin Bazin
35ea412434 [Chunk|ChunkBuilder] Third layer added for leaves. 2018-07-06 16:25:09 +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
b01d2e8d33 [items.xml] Wooden tools and charcoal added. 2018-06-30 07:06:09 +02:00
Quentin Bazin
9378dbd6e3 [MouseItemWidget] Burn time info added on tooltip. 2018-06-30 04:17:08 +02:00
Quentin Bazin
04d3aeaaa0 [blocks.xml] Reserved block space. 2018-06-30 03:56:09 +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
5435ad309a [basic.f.glsl] Small cube preview lighting fix. 2018-06-29 19:33:59 +02:00
Quentin Bazin
e5dbcb565a [BlockFurnace|FurnaceWidget] Added. 2018-06-28 10:13:29 +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
4f8628c9e5 [Image] Color now supported. [Text] Now displays text shadow. 2018-06-26 05:42:06 +02:00
Quentin Bazin
b112cc0c02 [Cube] Small improvements. 2018-06-26 04:17:00 +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
3a62fdc598 [shaders|textures] Moved into 'resources' folder. [Types->IntTypes] Renamed. 2018-06-25 18:42:50 +02:00
Quentin Bazin
c08879387a [BlockCursor] Preparation for block destroy animation. 2018-06-24 09:02:40 +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
e01c6da109 [Text] Added. [ItemWidget] Now displays item amount. 2018-06-24 03:17:35 +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