754 Commits

Author SHA1 Message Date
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
10feff98fe [ScrollBarWidget] Small improvement. 2020-03-09 11:13:29 +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
1a9a0db36d [Font] Useless private member removed. 2020-03-08 23:17:43 +01:00
Quentin Bazin
1b2f30ba56 [BlockCursor] Block destroy texture now loaded in constructor. 2020-03-08 23:12:55 +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
e3e443e1f6 Debug block added. 2020-03-08 21:45:24 +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
a6a121628a [init.lua] Cactus and dead bush added to creative inventory. 2020-03-08 17:32:39 +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
4079d17dcc [blocks.lua] Netherrack, soul sand and lava added. [dimensions.lua] Stone world replaced by nether. 2020-03-08 16:51:04 +01:00
Quentin Bazin
fa0c3c7959 [GameState] Now only drawing other players in the same dimension. 2020-03-08 16:18:18 +01:00
Quentin Bazin
87e0a59829 [ChunkBuilder] Added a new layer for 'glass' drawtype. Fixed portal block rendering. 2020-03-08 16:16:03 +01:00
Quentin Bazin
2896907af3 [README.md] Updated. 2020-03-08 16:09:00 +01:00
Quentin Bazin
a54ffa325c [DebugOverlay] Now displaying current dimension ID. 2020-03-08 16:07:32 +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
8e5f78f533 [InventoryCube] Rendering fixed. 2020-03-07 17:19:19 +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
Pedro Gimeno
660f2a3f3e [ChunkBuilder] Fix lighting from previous commit 2020-03-07 16:07:25 +01:00
Pedro Gimeno
d0166c4a59 [ChunkBuilder] Rotate vertices instead of faces; add more orientations 2020-03-07 16:07:25 +01:00
Pedro Gimeno
a1ecfd1c36 [ChunkBuilder] Make the arrays multidimensional
Assign a meaning to each dimension through constants, for clarity, and let the compiler do the indexing math instead of doing it ourselves explicitly.
2020-03-07 16:07:25 +01:00
Quentin Bazin
5ee75e72f6 [LuaGUI] 'set_size' and 'set_centered' added. 2020-03-07 15:41:19 +01:00
Quentin Bazin
5e0d6d7f6a [README.md] Updated. 2020-03-07 14:58:23 +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
d883467239 [BlockCursor] Replaced blending by old blending. 2020-03-06 00:45:39 +01:00
Quentin Bazin
2fd6a7450c [BlockCursor] Small visual tweaks. 2020-03-05 23:55:59 +01:00
Quentin Bazin
ffb33ef866 [CONTRIBUTING.md] Updated. 2020-03-05 22:17:05 +01:00
Quentin Bazin
fb4fcac010 [TODO] Updated. 2020-03-05 21:31:16 +01:00
Quentin Bazin
61ba4f6613 [Faithful 32x] Now uses 1.12 textures for brick, clay ball, diamond and ingots. 2020-03-05 20:01:12 +01:00
Quentin Bazin
64ee268129 [basic.f.glsl] Small tweaks on InventoryCube shading. 2020-03-05 18:59:26 +01:00
Pedro Gimeno
33760af0fb Fix InventoryCube
- South/bottom and north/west were reversed after swapping Y and Z axes.
- The order of vertices did not match the one in ChunkBuilder.cpp.
- The rotation was only good for the wrong order.
- Matrix multiplication order was reversed.
- There was no origin set, so rotation was around a vertex (worsened by the wrong matrix multiplication order). Now the cubes rotate around their centre.
2020-03-05 18:49:09 +01:00
Quentin Bazin
905e6e0f80 [textures_mc] Diamond and gold ingot are reverted back to 1.12. 2020-03-05 18:35:27 +01:00
Quentin Bazin
9b4e19a980 [server/CMakeLists.txt] Small fix. 2020-03-05 18:11:18 +01:00
Quentin Bazin
b31b146547 [README.md] "Getting started" wiki page added. 2020-03-05 15:22:22 +01:00
Quentin Bazin
63c3313e32 [ClientApplication] Small fix related to -m/--multiplayer. 2020-03-05 11:43:53 +01:00
Quentin Bazin
b0ffedd44b [mods/default] Oak Wood Slab added. 2020-03-04 23:25:19 +01:00