41 Commits

Author SHA1 Message Date
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
22a09ed831 [GameState] Useless code removed. 2018-06-25 14:04:25 +02:00
Quentin Bazin
d8475505c6 [BlockCursor|Hotbar] Block usage/gather. 2018-06-24 21:02:39 +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
5c0735da26 [ItemStack] Added. 2018-06-24 01:42:06 +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
2892475ecc [InventoryState|WorkbenchWidget] Added. Starting inventory system. 2018-06-21 00:55:38 +02:00
Quentin Bazin
01dcb04feb [BlockCursor] Linked to Hotbar. [Hotbar] Player can select a block with mouse wheel. 2018-06-20 07:47:40 +02:00
Quentin Bazin
d9038e6cb5 [Image] Added. [Hotbar] WIP. 2018-06-20 05:43:52 +02:00
Quentin Bazin
91c2e33ae3 [game.v.glsl] Waving water is now seamless between chunks. 2018-06-20 03:07:51 +02:00
Quentin Bazin
9fd25da16a [RenderTarget] Now enables vertex attributes. Chunk now only defines vertex attribute pointer offsets. 2018-06-18 20:44:17 +02:00
Quentin Bazin
272145e15a [game.v.glsl] Waving water, but not seamless between chunks. 2018-06-18 18:56:30 +02:00
Quentin Bazin
ef0160d19b [Camera] Basic jump. 2018-06-18 12:24:46 +02:00
Quentin Bazin
613aca0890 [BlockCursor] Added. All block selection code moved from GameState. 2018-06-15 00:05:17 +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
b9087294c2 [Crosshair] Added. Code moved from GameState. 2018-06-14 18:24:07 +02:00
Quentin Bazin
8b0d83b661 [GameState] Now able to add a block in the world. 2018-06-14 04:35:11 +02:00
Quentin Bazin
8e6a0df267 [Camera] Small optimization. 2018-06-14 04:19:16 +02:00
Quentin Bazin
4c3fe96ca4 [GameState] Now using left mouse click to delete block. 2018-06-14 03:02:47 +02:00
Quentin Bazin
b0050a1f34 [CoreApplication] Replacing most old Application code. [ApplicationState|ApplicationStateStack] Updated. 2018-06-14 02:38:25 +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
70efbfce5b [.gitignore|CMakeLists.txt] Cleaned/improved. [sources] Cleaned some headers. 2018-06-12 09:24:43 +02:00
Quentin Bazin
4bdea4b341 Lots of small fixes. 2018-06-05 16:17:40 +02:00
Quentin Bazin
810a3b5ed3 Extra whitespaces stripped. 2018-06-05 01:24:54 +02:00
Quentin Bazin
96e3c28a24 [README] Screenshot added. 2015-02-06 01:44:16 +01:00
Quentin Bazin
6ce01710d9 [World] Render distance: OK. 2014-12-29 03:14:09 +01:00
Quentin Bazin
72918f2cdc [Fog] OK. 2014-12-29 02:57:29 +01:00
Quentin Bazin
31d1f29cdf [Skybox] Working on it. 2014-12-26 00:39:10 +01:00
Quentin Bazin
d8a3924503 [Shaders] Working on fog. 2014-12-23 16:15:44 +01:00
Quentin Bazin
f69b2e9580 Using SDL now. 2014-12-20 01:46:31 +01:00
Quentin Bazin
56d3ddb14a [Chunk] Working on it. 2014-12-19 16:00:31 +01:00
Quentin Bazin
0b806a93c6 [Chunk] Working on it. 2014-12-18 07:02:48 +01:00
Quentin Bazin
fad91e840f [Shader] added. [GameState] OK. 2014-12-15 16:47:30 +01:00