Quentin Bazin
a95cd77dfd
Fixed some issues with singleplayer mode. See #75 for more info.
2020-03-15 19:48:18 +01:00
Quentin Bazin
c5f83f9084
[blocks.lua] Sugar canes added.
2020-03-15 16:54:24 +01:00
Pedro Gimeno
9c954a2a01
Fix boundingbox drawtype, correctly handle all orientations
...
Affects prominently ChunkBuilder, BlockCursor, InventoryCube. It includes a fix to allow a wider Z range in 2D orthographic projections, and to make the hovering item have a Z that places it above all others.
A new file, BlockGeometry.{c,h}pp contains the cube geometry common to all item drawing modules.
2020-03-14 12:03:08 +01:00
Quentin Bazin
ceafa8cdc0
[ClientApplication|ServerApplication] New parameter '-w/--working-dir' to set the working directory of the programs.
2020-03-13 21:11:01 +01:00
Quentin Bazin
065590fb94
[LuaBiomeLoader] Changed block definitions format.
2020-03-13 12:18:40 +01:00
Quentin Bazin
e5195f9ad3
[InventoryWidgetDef] Definition format improved for inventory source.
2020-03-13 10:10:22 +01:00
Quentin Bazin
b4f1b4b95a
[CraftingWidgetDef] Definition format improved for inventory source.
2020-03-13 09:34:12 +01:00
Quentin Bazin
b3e0d9cd67
Small fixes for Windows compilation.
2020-03-12 14:52:33 +01:00
Quentin Bazin
c5510ee595
Fixed crash related to singleplayer games. (see #75 )
2020-03-12 00:06:45 +01:00
Quentin Bazin
2de04daa49
[ScriptEngine] Lots of functions exposed to Lua.
2020-03-11 23:50:21 +01:00
Quentin Bazin
6e23d77605
[TerrainGenerator] Fixed portal spawn.
2020-03-11 23:25:21 +01:00
Quentin Bazin
359173450c
[Crosshair] Fixed size on smaller screens.
2020-03-11 15:26:21 +01:00
Quentin Bazin
861e10e22a
[WorldController] Comments removed.
2020-03-10 17:39:30 +01:00
Quentin Bazin
7ca62a6d98
[ServerWorld] Now using chunk references instead of chunk pointers.
2020-03-10 17:30:22 +01:00
Quentin Bazin
11c5cb92a2
[LuaCore] New event 'OnBlockActivated' added.
2020-03-10 14:25:38 +01:00
Quentin Bazin
d259cce9e9
[LuaCore] Now supports event listener registration.
2020-03-10 14:02:20 +01:00
Quentin Bazin
2555d89fa2
[TerrainGenerator] Portals added.
2020-03-09 21:10:03 +01:00
Quentin Bazin
ff516ec30b
Basic sky API added (see #76 )
2020-03-09 19:36:46 +01:00
Quentin Bazin
d73d19327f
[ServerApplication] Now loading every mod in 'mods' folder.
2020-03-09 16:47:52 +01:00
Quentin Bazin
8ff23a02d3
[init.lua] Creative inventory auto-filled by Registry.
2020-03-09 10:50:01 +01:00
Quentin Bazin
f04993be26
[ScrollBarWidget] Added and used in creative window.
2020-03-09 10:38:30 +01:00
Quentin Bazin
8d44d255a5
[Server] Now forwaring ClientDisconnection packet to all clients. Fixes #64 .
2020-03-09 08:03:37 +01:00
Quentin Bazin
9a9db1a6e1
[ChatCommandHandler] Added.
2020-03-08 23:08:18 +01:00
Quentin Bazin
9f457b6718
[ProgressBarWidgetDef] Now loads 'type' attribute from a string.
2020-03-08 22:39:53 +01:00
Quentin Bazin
0b7a1ba9d0
[ServerCommandHandler] Now entirely responsible for player spawn position.
2020-03-08 22:10:35 +01:00
Quentin Bazin
b851b41dad
[ChunkBuilder] Cactus draw type added.
2020-03-08 20:00:20 +01:00
Quentin Bazin
90e51241e0
Fixed a crash on singleplayer mode.
2020-03-08 18:13:32 +01:00
Quentin Bazin
6a575d79f6
[LuaRecipeLoader] Useless private field removed.
2020-03-08 18:01:29 +01:00
Quentin Bazin
edec9ff87f
[Tree] New attributes. [biomes.lua] Desert now spawns cacti and dead bushes.
2020-03-08 17:28:35 +01:00
Quentin Bazin
58ef40b09f
[TerrainBiomeSampler] Now aware of dimensions.
2020-03-08 16:07:32 +01:00
Quentin Bazin
be1e49cfe0
[blocks.lua] Portal block added. Send PlayerChangeDimension on right-click.
2020-03-08 16:07:32 +01:00
Quentin Bazin
81986cb55d
[WorldController] Added. It's basically a container for 'ServerWorld' instances.
2020-03-08 16:07:32 +01:00
Quentin Bazin
3ef71df8c2
[Dimension] Added. Loaded from Lua and saved in Registry.
2020-03-08 16:07:32 +01:00
Quentin Bazin
f7d6e0021f
[LuaMod] Refactorized with dedicated loader classes: LuaBlockLoader, LuaItemLoader, LuaRecipeLoader and LuaBiomeLoader.
2020-03-07 17:17:50 +01:00
Quentin Bazin
82fa3f5975
[LuaMod] Draw type should now be a string.
2020-03-07 16:33:35 +01:00
Quentin Bazin
5ee75e72f6
[LuaGUI] 'set_size' and 'set_centered' added.
2020-03-07 15:41:19 +01:00
Quentin Bazin
8231b352f2
Style and small C++ mistakes fixed.
2020-03-07 13:52:47 +01:00
KdotJPG
474cdd16c4
Lua trees, ores, desert, review changes, merge
2020-03-07 13:52:47 +01:00
KdotJPG
53bb1c14c0
Biome setup & rudimentary generator
2020-03-07 13:52:47 +01:00
Quentin Bazin
53078388b4
[Server] Now handles client socket disconnection properly.
2020-03-06 14:14:11 +01:00
Quentin Bazin
9b4e19a980
[server/CMakeLists.txt] Small fix.
2020-03-05 18:11:18 +01:00
Quentin Bazin
b0ffedd44b
[mods/default] Oak Wood Slab added.
2020-03-04 23:25:19 +01:00
Quentin Bazin
72acda9d29
New parameter -s/--singleplayer added to start the client in singleplayer mode.
2020-03-04 14:58:14 +01:00
Quentin Bazin
4c26ec25c5
The client is now capable of running a server in a dedicated thread.
2020-03-04 14:38:31 +01:00
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