89 Commits

Author SHA1 Message Date
Quentin Bazin
abbabe8924 [BlockMetadata] Added. Now used in FurnaceWidget and furnace.lua 2020-02-08 17:45:20 +09:00
Quentin Bazin
abe0385384 [ChunkBuilder] Small fix. [TODO] Updated. 2020-01-31 16:44:27 +09:00
Quentin Bazin
54493e3d58 [BlockCursor] Now reset breaking timer when switching item or activating a block. Thanks to obiwac who found these issues. 2020-01-27 12:43:16 +09:00
Quentin Bazin
90ab911840 [ChunkBuilder] Fixed smooth lighting issues with torchlight. 2020-01-04 16:25:10 +09:00
Quentin Bazin
64fe451741 [ChunkBuilder] Fixed flower lighting. 2020-01-04 15:39:04 +09:00
Quentin Bazin
c916e1b970 [ChunkLightmap] Fixed black border issue. 2020-01-04 15:37:52 +09:00
Quentin Bazin
d45f7d88aa [ChunkLightmap] Lighting propagation improved. This fix slowed chunk generation though. 2020-01-02 16:06:20 +09:00
Quentin Bazin
b6d5611355 [TerrainGenerator] Sunlight downward propagation fixed. 2019-12-31 19:55:53 +09:00
Quentin Bazin
28b5e77270 [TODO] Updated. 2019-12-30 23:20:16 +09:00
Quentin Bazin
e2348baa37 [Text] Small optimization. 2019-12-30 21:46:06 +09:00
Quentin Bazin
3d126bd9bf [SettingsMenuState] 'Esc' key issue fixed. 2019-12-30 21:08:25 +09:00
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