743 Commits

Author SHA1 Message Date
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
Quentin Bazin
78dbb64f27 [mods/default] Renamed wood/planks/leaves blocks with prefix oak_. Flower renamed to Dandelion. Tall grass renamed to Grass. 2020-03-04 21:02:54 +01:00
Quentin Bazin
7422018314 [ClientApplication] Argument -m/--multiplayer to start client on multiplayer mode. 2020-03-04 20:42:58 +01:00
Quentin Bazin
06697abda4 [ServerLoadingState] Now used to load registry and texture atlas. 2020-03-04 17:17:02 +01:00
Quentin Bazin
e37fd6aee2 [TitleScreenState] Now centering background. 2020-03-04 15:28:03 +01:00
Quentin Bazin
e0bd3c1a04 [ClientApplication] Removed unnecessary font loading. 2020-03-04 15:04:30 +01:00
Quentin Bazin
651d998296 [TODO] Updated. 2020-03-04 14:59:45 +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
d804aac22e [ServerConnectState] Now uses TextInput instead of gk::TextInput. 2020-03-04 13:18:22 +01:00
Quentin Bazin
10d5154e77 [Config] More options added to hide interface. [TitleScreenState] Background added. 2020-03-04 12:54:20 +01:00
Quentin Bazin
be86e66c7f [Text] Now uses a VBO to display characters. 2020-03-04 11:28:45 +01:00