Quentin Bazin
07b150e9c8
[SettingsMenuState] Prepared to add input settings.
2018-12-28 06:45:19 +01:00
Quentin Bazin
e1331b4815
[ #14 ] Reverted back to SDL2. Fixed #17 .
2018-12-28 06:21:29 +01:00
Quentin Bazin
b1ba4439a8
[Keyboard] Replaced by GamePad, GameKey, InputHandler and KeyboardHandler.
2018-12-28 04:57:19 +01:00
Quentin Bazin
4325665eef
[Mouse] Movement fixed. ( #14 )
2018-12-26 21:02:03 +01:00
Quentin Bazin
1a501cd669
[Camera] Added. Used in Player.
2018-12-26 21:02:03 +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
e13d705e03
[Transform] Added. [Transformable|RenderStates] Adapted to use Transform.
2018-12-25 01:45:10 +01:00
Quentin Bazin
2f4a9eac44
[ScriptEngine] Now using snake_case for Lua.
2018-12-20 12:58:23 +01:00
Quentin Bazin
a26a567e95
[ScriptEngine] Added. Items and Blocks are partially loaded from Lua now.
2018-12-20 02:51:30 +01:00
Quentin Bazin
f4f313acea
[Camera|GameState] Player is now affected by gravity in child states.
2018-07-07 15:54:31 +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
4f02b3623c
[DebugOverlay|HUD] Added.
2018-07-06 14:24:49 +02:00
Quentin Bazin
2003ee63dc
[ChunkBuilder] Very basic smooth lighting implementation.
2018-07-06 11:58:34 +02:00
Quentin Bazin
16463b99ca
[RenderStates] Bitfield for vertex attributes added.
2018-07-02 12:54:12 +02:00
Quentin Bazin
4f64ede62a
[ChunkBuilder] First slab test.
2018-06-30 22:27:46 +02:00
Quentin Bazin
aecadf3976
[Crosshair] Now using rectangles. Added proper blending.
2018-06-30 18:39:08 +02:00
Quentin Bazin
7713bb4693
[SettingsMenuState] Render distance button: Done.
2018-06-30 05:07:57 +02:00
Quentin Bazin
cae6fee434
[GameState] Now release the mouse when the window loses focus.
2018-06-30 04:45:49 +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
fb46ab479c
[PauseMenuState|SettingsMenuState] Small name tweaks.
2018-06-29 20:57:32 +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
b7d8c47e52
[SettingsMenuState] Added.
2018-06-29 06:26:57 +02:00
Quentin Bazin
9f8768886c
[MenuWidget] Now supports multiple buttons. [PauseMenuState] 'Resume' button added.
2018-06-28 11:31:51 +02:00
Quentin Bazin
a3f598c11e
[PauseMenuState] Added. Will be replaced by a generic MenuState later. [MenuWidget|TextButton] Added.
2018-06-28 11:15:17 +02:00
Quentin Bazin
f451b9754b
[BlockWater] Now spread around.
2018-06-28 09:58:37 +02:00
Quentin Bazin
d53f080fb7
[CraftingRecipe] Improved shaped recipe matching. [SmallCraftingWidget] Added. Now items are craftable from inventory.
2018-06-27 10:42:34 +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
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
ea6e83cfeb
[BlockCursor] Block destruction animation added.
2018-06-26 04:52:31 +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
8fe7a68666
[Registry] Glowstone added. [Chunk] Cobblestone no longer emits light.
2018-06-25 22:50:30 +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
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
293737f157
[CraftingWidget] Small fix.
2018-06-25 03:52:16 +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
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
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