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
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
46fb26ab76
[Block] Now possible to change grass into dirt.
2018-06-20 04:22:42 +02:00
Quentin Bazin
b8239c2f22
[BlockCursor] Can't target water blocks anymore. [Camera] Water blocks are now passable.
2018-06-20 04:05:40 +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
bcfc83f3f2
[BlockCursor] Tried to add another type of cursor.
2018-06-18 17:42:06 +02:00
Quentin Bazin
ef0160d19b
[Camera] Basic jump.
2018-06-18 12:24:46 +02:00
Quentin Bazin
905a23c792
[BlockCursor] Now using face == -1 when no block is selected instead of a fixed far position.
2018-06-15 01:13:59 +02:00
Quentin Bazin
4922329182
[BlockCursor] Small improvements.
2018-06-15 01:06:03 +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
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