Quentin Bazin
c993b2ea10
[LuaGUI|LuaGUIState] Lua interface for GUI: OK. (only buttons)
2019-01-07 01:26:02 +01:00
Quentin Bazin
17a0b0df88
Adapted to fit new GameKit version.
2019-01-05 18:37:59 +01:00
Quentin Bazin
3dd8f83918
[HUD] Now holds its own projection matrix.
2018-12-30 04:40:05 +01:00
Quentin Bazin
42df982956
Now using GameKit.
2018-12-29 02:23:23 +01:00
Quentin Bazin
e1331b4815
[ #14 ] Reverted back to SDL2. Fixed #17 .
2018-12-28 06:21:29 +01:00
Quentin Bazin
07b534b15b
[Camera] Merged into Player.
2018-12-26 21:02:03 +01:00
exilief
dc8d781393
Switching from SDL to SFML ( #14 )
...
* Add SFML support besides SDL. Choose with global macro USE_SDL / USE_SFML.
+ Small fixes to make it compile on MinGW (with Glad instead of GLEW -> option NO_GLEW)
* Add SFML support besides SDL (Part 3). Cleaned up some macros.
* Add SFML support besides SDL (Part 4). Small SFML fixes. Changed Spaces->Tabs
* Add SFML support besides SDL (Part 5). Cleaning up more macros + small fixes.
* Port to SFML. Removed all SDL code.
* Small changes
* Conversion functions to/from SFML types for Vector2/3 and Color.
* Removed unused SDL files
* Changes for SFML port
* Changes for SFML port
* Fixed line endings (probably?)
2018-12-26 18:36:46 +01:00
Quentin Bazin
fd4c357403
[BlockInfoWidget] Waila-like widget added.
2018-07-06 15:11:09 +02:00
Quentin Bazin
4f02b3623c
[DebugOverlay|HUD] Added.
2018-07-06 14:24:49 +02:00
Quentin Bazin
31411a9da6
[Box] Added. [BlockCursor] Now displaying correct box size.
2018-07-02 04:30:17 +02:00
Quentin Bazin
aecadf3976
[Crosshair] Now using rectangles. Added proper blending.
2018-06-30 18:39:08 +02:00
Quentin Bazin
d1f24d9461
[BlockCursor] Block destruction animation is finally transparent.
2018-06-29 23:38:41 +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
da0877f515
[SmallCraftingWidget] Removed. Caused segfault due to Inventory initialized after CraftingWidget base.
2018-06-29 07:38: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
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
ea6e83cfeb
[BlockCursor] Block destruction animation added.
2018-06-26 04:52:31 +02:00
Quentin Bazin
d8475505c6
[BlockCursor|Hotbar] Block usage/gather.
2018-06-24 21:02:39 +02:00
Quentin Bazin
c08879387a
[BlockCursor] Preparation for block destroy animation.
2018-06-24 09:02:40 +02:00
Quentin Bazin
5c0735da26
[ItemStack] Added.
2018-06-24 01:42:06 +02:00
Quentin Bazin
60c6eaed3b
[Color|Sprite|SpriteAnimation|Timer|Vector2] Added. [TerrainGenerator|MouseItemWidget] Small improvements.
2018-06-23 07:00:47 +02:00
Quentin Bazin
2eecb88ced
[Hotbar|WorkbenchWidget] Inventories linked.
2018-06-23 03:26:34 +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
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
613aca0890
[BlockCursor] Added. All block selection code moved from GameState.
2018-06-15 00:05:17 +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