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
7e9ab36aa6
[Player] Hotbar inventory merged into PlayerInventory since InventoryWidget now supports an offset.
2018-07-07 15:46:02 +02:00
Quentin Bazin
35ea412434
[Chunk|ChunkBuilder] Third layer added for leaves.
2018-07-06 16:25:09 +02:00
Quentin Bazin
4ca4109a81
[Chunk|ChunkBuilder] Solid and liquid layers now separated. Fixed #4 .
2018-07-06 15:51:29 +02:00
Quentin Bazin
fd4c357403
[BlockInfoWidget] Waila-like widget added.
2018-07-06 15:11:09 +02:00
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
31411a9da6
[Box] Added. [BlockCursor] Now displaying correct box size.
2018-07-02 04:30:17 +02:00
Quentin Bazin
4f64ede62a
[ChunkBuilder] First slab test.
2018-06-30 22:27:46 +02:00
Quentin Bazin
7713bb4693
[SettingsMenuState] Render distance button: Done.
2018-06-30 05:07:57 +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
54ae2e2a68
[BlockFurnace] Now displaying the corresponding texture when the furnace is active.
2018-06-29 09:48:37 +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
9c16bfd264
[BlockData] Added. [BlockWorkbench] Now keeps items stored inside.
2018-06-29 07:16:51 +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
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
3a62fdc598
[shaders|textures] Moved into 'resources' folder. [Types->IntTypes] Renamed.
2018-06-25 18:42:50 +02:00
Quentin Bazin
b18333d43c
[BlockType|ItemType|ItemBlock] Added. Better block/item id handling!
2018-06-25 18:12:27 +02:00
Quentin Bazin
e236622408
[ChunkLightmap] Added. Lot of code removed from Chunk.
2018-06-25 15:59:25 +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
6806fcd8fe
[Block|ChunkBuilder] Transparent leaves. [game.v.glsl] Waving leaves.
2018-06-24 09:42:11 +02:00
Quentin Bazin
75c8352501
[BlockWater] Added. Failed to add a good block updating system.
2018-06-24 01:09:32 +02:00
Quentin Bazin
be69cfbc5b
[Chunk] Now stores u32 instead of Block. [Registry] Added.
2018-06-23 23:05:36 +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
46fb26ab76
[Block] Now possible to change grass into dirt.
2018-06-20 04:22:42 +02:00
Quentin Bazin
5f38eaaeb0
[Chunk|ChunkBuilder] Small improvements.
2018-06-20 03:45:30 +02:00
Quentin Bazin
81209dbe64
[ChunkBuilder] Now handling block opacity correctly.
2018-06-20 02:23:39 +02:00
Quentin Bazin
4acc070077
[VertexBuffer] No longer store draw mode and data offsets.
2018-06-20 01:07:18 +02:00
Quentin Bazin
ff059f2b04
[Vertex] Structure added. [RenderTarget] Now supports all vertex attributes.
2018-06-20 00:57:27 +02:00
Quentin Bazin
b1d1e88593
[ChunkBuilder] Added.
2018-06-19 23:26:51 +02:00
Quentin Bazin
ab760e47de
[World] Can hold more than one chunk in height now.
2018-06-19 05:38:14 +02:00
Quentin Bazin
ac88ba4b97
[Block] Useless code removed.
2018-06-18 21:45:22 +02:00
Quentin Bazin
ef0160d19b
[Camera] Basic jump.
2018-06-18 12:24:46 +02:00
Quentin Bazin
d9e11d82d2
[Block] Now supports wood rings and grass sides. [Chunk] Small changes to cubeCoords to display textures correctly. Though drawOutlines may not work anymore.
2018-06-16 17:21:03 +02:00
Quentin Bazin
e4db36e0e4
[TerrainGenerator] Now using another generation. [Chunk] Block storage heavily reworked. Now using a compile-time array instead of a vector.
2018-06-16 16:45:48 +02:00
Quentin Bazin
7191b61bdf
[ApplicationState] Using new rendering system.
2018-06-14 23:36:01 +02:00
Quentin Bazin
65df0259da
[Chunk] Now using new renderer, but vertex attributes offset handling needs to be implemented in RenderTarget or VertexBuffer somehow.
2018-06-14 23:07:20 +02:00
Quentin Bazin
6d965a4312
[GameState] Cursor box and World updated to new render system. Working on Chunk.
2018-06-14 22:11:25 +02:00
Quentin Bazin
7201b31b55
[IDrawable|RenderStates|RenderTarget] Added. Trying a new rendering system based on the SFML one.
2018-06-14 21:16:56 +02:00
Quentin Bazin
e56a6b7d2f
Headers cleaned. [CMakeLists.txt] Now using -O3 and -ffast-math.
2018-06-14 03:20:20 +02:00
Quentin Bazin
4c3fe96ca4
[GameState] Now using left mouse click to delete block.
2018-06-14 03:02:47 +02:00
Quentin Bazin
b2950e4afe
[GameState|World|Chunk] Mouse picking: OK.
2018-06-14 01:55:10 +02:00
Quentin Bazin
3cd2335d40
[GameState] Can now display a cross and the selected block.
2018-06-13 21:48:35 +02:00
Quentin Bazin
23630138d4
[TODO] Added. [Chunk|World] Mouse picking: WIP.
2018-06-13 03:47:20 +02:00
Quentin Bazin
81368b2a66
[TerrainGenerator] Added. Lot of code removed from Chunk.
2018-06-12 23:08:42 +02:00
Quentin Bazin
70efbfce5b
[.gitignore|CMakeLists.txt] Cleaned/improved. [sources] Cleaned some headers.
2018-06-12 09:24:43 +02:00