78 Commits

Author SHA1 Message Date
Quentin Bazin
c7e23e61a0 [ServerWorld] Last torchlight issue fixed. 2019-12-30 20:18:52 +09:00
Quentin Bazin
391faca604 [TODO|README.md] Updated. 2019-12-30 19:00:59 +09:00
Quentin Bazin
b070e58b0e [CraftingRecipe] Fixed shaped recipe matching. 2019-12-30 18:09:22 +09:00
Quentin Bazin
b14b8f795b [README.md|TODO] Updated. 2019-04-08 18:24:42 +02:00
Quentin Bazin
537b7de9c7 [CraftingRecipe] Fixed recipe matching. 2019-04-08 16:54:57 +02:00
Quentin Bazin
cf236576ec Now syncing player position between clients. But client is authoritative. 2019-04-08 15:29:19 +02:00
Quentin Bazin
f56002f85a [ClientCommandHandler] Now used to send commands to the server. 2019-04-08 12:59:02 +02:00
Quentin Bazin
19ea5c152f [ServerCommandHandler] 'PlayerPosUpdate' callback added. 2019-04-07 17:20:35 +02:00
Quentin Bazin
633233e57e [BlockCursor] Fixed inventory update packet. [Client] Small optimization. 2019-04-07 16:09:14 +02:00
Quentin Bazin
c9e35a9ac3 [SettingsMenuState] 'Done' button is now standalone. 2019-01-21 22:16:52 +01:00
Quentin Bazin
066d1a09f5 [ServerWorld] Half tree issue and lighting bugs fixed. 2019-01-21 21:51:18 +01:00
Quentin Bazin
ec2a27b587 [BlockCursor] Now implements PlayerDigBlock network event. 2019-01-20 15:07:45 +01:00
Quentin Bazin
4b85e3928e [ChunkLightmap] Crash fixed (again). [GameState] Fixed SDL window event handling. 2019-01-20 15:07:45 +01:00
Quentin Bazin
c14e5ecd4d [Client] Preparing chunk request. 2019-01-20 15:07:45 +01:00
Quentin Bazin
e721b7b4ba [ClientWorld] Reload chunks when settings have changed. 2019-01-20 15:07:45 +01:00
Quentin Bazin
402cd5fe09 [ClientChunk] Added. Started world client/server architecture. 2019-01-20 15:07:45 +01:00
Quentin Bazin
389ee41f05 Server can be closed correctly now. 2019-01-20 15:07:45 +01:00
Quentin Bazin
ec3866aa0e [README.md] Updated. 2019-01-08 22:20:43 +01:00
Quentin Bazin
a17df4205f [furnace.lua|workbench.lua] Code splitted from blocks.lua 2019-01-08 02:43:40 +01:00
Quentin Bazin
66da21e20e [BlockFurnace] Removed. Now completely handled by Lua. 2019-01-08 02:35:49 +01:00
Quentin Bazin
50bf84acf6 [LuaCore] Added. Only two functions to get World and Player. 2019-01-07 05:03:22 +01:00
Quentin Bazin
3875b73a1d [LuaGUI] CraftingWidget support added. 2019-01-07 04:33:48 +01:00
Quentin Bazin
7c7af38097 [LuaGUI] gk::Image support added. 2019-01-07 02:39:39 +01:00
Quentin Bazin
c993b2ea10 [LuaGUI|LuaGUIState] Lua interface for GUI: OK. (only buttons) 2019-01-07 01:26:02 +01:00
Quentin Bazin
d5e49be7ec [ChunkBuilder] New draw type added for flowers. 2019-01-05 05:41:18 +01:00
Quentin Bazin
2c45a9daf0 [TODO] Updated. 2019-01-05 03:18:05 +01:00
Quentin Bazin
7def61ff15 [ChunkBuilder] Lighting code improved. 2018-12-31 10:14:48 +01:00
Quentin Bazin
63286f4747 [TextButton] Added code to use a real font instead of Text, but disabled it for now. 2018-12-31 04:30:23 +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
b1ba4439a8 [Keyboard] Replaced by GamePad, GameKey, InputHandler and KeyboardHandler. 2018-12-28 04:57:19 +01:00
Quentin Bazin
2853fe35d0 [CMake] Build updated to use SFML. Fixes wrong newline characters added in #14. 2018-12-26 21:02:03 +01: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
4ca4109a81 [Chunk|ChunkBuilder] Solid and liquid layers now separated. Fixed #4. 2018-07-06 15:51:29 +02:00
Quentin Bazin
2003ee63dc [ChunkBuilder] Very basic smooth lighting implementation. 2018-07-06 11:58:34 +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
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
ddf771af6a [Item] Attributes isBlock and textureID added. 2018-06-25 16:32:32 +02:00
Quentin Bazin
e236622408 [ChunkLightmap] Added. Lot of code removed from Chunk. 2018-06-25 15:59:25 +02:00
Quentin Bazin
72c7948e74 [README|TODO] Updated. 2018-06-24 22:32:20 +02:00
Quentin Bazin
d8475505c6 [BlockCursor|Hotbar] Block usage/gather. 2018-06-24 21:02:39 +02:00
Quentin Bazin
0ff30d8d02 [TODO] Updated. 2018-06-24 07:53:38 +02:00
Quentin Bazin
e01c6da109 [Text] Added. [ItemWidget] Now displays item amount. 2018-06-24 03:17:35 +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
671bf6d64e [TerrainGenerator] Small tweak. 2018-06-23 05:07:16 +02:00
Quentin Bazin
ef1cac8c21 [TODO] Updated. 2018-06-23 04:45:47 +02:00
Quentin Bazin
1a302dfb1c [InventoryWidget] Now moving items correctly. 2018-06-21 13:05:05 +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