Quentin Bazin
a8542b8da5
[CMakeLists.txt] -ffast-math removed. [GameState|ServerApplicaiton] Now sending updates every 100ms instead of 1000ms.
2020-03-02 21:09:16 +01:00
Pedro Gimeno
a9a3343604
Make server side position of player be doubles
2020-03-02 20:41:47 +01:00
Quentin Bazin
b2e48c9540
[LuaGUI] Refactorized and splitted into separated classes.
2020-03-02 17:49:04 +01:00
Quentin Bazin
ec7ef36d45
Blocks can now be rotated depending on the player direction.
2020-03-02 00:17:28 +01:00
Quentin Bazin
86125bf13e
[furnace.lua] Won't use non-fuel items as fuel anymore.
2020-03-01 18:04:50 +01:00
Quentin Bazin
c092e53116
[Inventory] Now supports using 'addStack' on a subset.
2020-03-01 12:28:26 +01:00
Quentin Bazin
4d9a2fbe7e
[LuaGUIState] Now handles Shift+Left click to move items quickly.
2020-03-01 00:15:49 +01:00
Quentin Bazin
45c797cd5f
Creative window added on key 'H'.
2020-02-29 18:07:01 +01:00
Quentin Bazin
319101c94c
[TerrainGenerator] Fixed single block holes.
2020-02-29 03:59:39 +01:00
Quentin Bazin
502a4b542d
include and source folders merged.
2020-02-29 03:31:14 +01:00
Nikola Schrodinger
0263387e35
Added iron ore generation.
2020-02-29 02:01:07 +01:00
Pedro Gimeno
89a1520d7c
Change player position to be at the feet, rather than the head
...
Note: This breaks the visualization of the other players (PlayerBox).
2020-02-26 22:17:37 +01:00
Nikola Schrodinger
4f1a9e87d4
Added new blocks and fixed minor bug with LuaMods.
2020-02-26 03:14:48 +09:00
Quentin Bazin
7a28b8bf49
[LuaGUIState] Small refactorization.
2020-02-25 09:51:38 +09:00
Quentin Bazin
bcc3f65147
Headers updated and CONTRIBUTORS file added.
2020-02-25 01:48:38 +09:00
Pedro Gimeno
d4daaa6355
Precision improvements (Part 4)
...
Fix world generator (to some extent).
2020-02-24 12:00:02 +01:00
Pedro Gimeno
8c5ab63061
Change server-side player position to match the client-side one
2020-02-24 10:38:08 +01:00
Quentin Bazin
47d57f7fc3
[ServerCommandHandler] Now deletes ServerPlayer instance on disconnection.
2020-02-24 17:20:49 +09:00
Quentin Bazin
879dc28eb2
[FurnaceWidget] Removed. Now completely implemented in Lua.
2020-02-23 22:38:51 +09:00
Quentin Bazin
47b7e3d849
[PlayerCraftingWidget] Removed, implemented completely using Lua.
2020-02-23 18:24:19 +09:00
Quentin Bazin
3399b71de1
[LuaWidgetDef] Added 'resultX' and 'resultY' parameters to 'CraftingWidget' and 'PlayerCraftingWidget'.
2020-02-23 18:00:20 +09:00
Quentin Bazin
904152e1aa
[PlayerInventoryWidget] Removed, only PlayerCraftingWidget isn't coded in Lua.
2020-02-22 22:50:27 +09:00
Quentin Bazin
88f3fc1475
[ServerCommandHandler] Now send an error message when a wrong command has been recieved.
2020-02-22 02:21:42 +09:00
Quentin Bazin
bb0c8e8d49
[ServerCommandHandler] Now supports teleportation command.
2020-02-22 01:44:00 +09:00
Quentin Bazin
e08af87563
[Chat] Added to render messages sent from server.
2020-02-21 17:50:45 +09:00
Quentin Bazin
2f827df14b
[Network] 'ChatMessage' packet added.
2020-02-21 17:25:56 +09:00
Quentin Bazin
530355cb39
[TerrainGenerator] Changed to get back old cave gen. [ClientPlayer] Spawn pos changed.
2020-02-21 16:33:18 +09:00
Pedro Gimeno
2a8125a979
Use Z for up (Part 6)
...
Fix neighbouring chunks list on the server side, which was causing some slices of trees to appear in the air.
Also switch order of loops for generating leaves to Z, Y, X.
2020-02-21 03:00:53 +01:00
Pedro Gimeno
7934d217f3
Use Z for up (part 1)
...
Bulk of the changes: swap Y and Z, HEIGHT and DEPTH mostly everywhere; change vertex order to make it right-handed; rename Left, Right, Front, Back to West, East, South, North respectively; switch some arrays and loops to Z,Y,X order.
2020-02-20 23:10:25 +01:00
Pedro Gimeno
780b39605f
Adapt the code to the latest changes in GameKit
2020-02-19 20:11:30 +01:00
Pedro Gimeno
cda1948bb6
Convert Rect instances to new axis-convention-neutral form as well
2020-02-19 17:14:41 +01:00
Quentin Bazin
949cc463cb
[TerrainGenerator] Tall Grass added.
2020-02-19 20:08:46 +09:00
Quentin Bazin
cb356b4a3b
Shaders don't use blockID anymore. Fixes #48 .
2020-02-19 19:30:07 +09:00
Quentin Bazin
a7ecdf1aa4
[ServerWorld] Small tweak.
2020-02-18 19:18:15 +09:00
Quentin Bazin
e5b5ba9568
[ClientPlayer] Temporary fix for MinGW.
2020-02-18 00:04:29 +09:00
Quentin Bazin
2c5f289ef1
[Block|Item] 'name' property renamed to 'stringID' for more coherency.
2020-02-17 15:54:19 +09:00
Quentin Bazin
93cd68ffe9
[Config] Moved to client. SCREEN_WIDTH, SCREEN_HEIGHT and GUI_SCALE renamed. [EngineConfig] Added for common config.
2020-02-15 22:48:56 +09:00
Quentin Bazin
457140b06a
Fixed Clang warnings.
2020-02-15 20:22:10 +09:00
Quentin Bazin
c6522336ea
[TerrainGenerator] Temporary fix for #41 .
2020-02-15 19:09:59 +09:00
Quentin Bazin
b2fd4e6b51
[ServerChunk] Incomplete tree issue fixed (see #41 ).
2020-02-15 17:36:24 +09:00
Quentin Bazin
71587c0da8
[Network] PlayerInventory and BlockActivated packets now send screen size and gui scale informations.
2020-02-15 14:42:29 +09:00
Quentin Bazin
857c7e4060
[LuaGUI] Now provides SCREEN_WIDTH, SCREEN_HEIGHT and GUI_SCALE instead of them being hardcoded in init.lua.
2020-02-15 13:54:02 +09:00
Quentin Bazin
41a46ba13b
[CMakeLists.txt] Small improvements.
2020-02-14 18:36:45 +09:00
Quentin Bazin
7bad35ed54
[SimplexNoise] Removed. [TerrainGeneration] Now using FastNoise for land height.
2020-02-11 20:58:53 +09:00
Quentin Bazin
c1ccb2f76a
[TerrainGenerator] Small fix.
2020-02-11 16:06:09 +09:00
Quentin Bazin
6f227b7564
[ServerCommandHandler] Now used to send server packets.
2020-02-11 15:00:03 +09:00
Quentin Bazin
6ea451a85a
[TerrainGenerator] Tree placement fixed.
2020-02-10 11:22:38 +09:00
Quentin Bazin
b7bb8f1d52
Replaced my custom headers by LGPL license headers.
2020-02-08 18:34:26 +09:00
Quentin Bazin
abbabe8924
[BlockMetadata] Added. Now used in FurnaceWidget and furnace.lua
2020-02-08 17:45:20 +09:00
Quentin Bazin
5ffbfe0c13
[LuaGUIState] Small fix. [ServerWorld|ServerChunk] Fixed BlockData position sending.
2020-02-08 14:36:22 +09:00