924 Commits

Author SHA1 Message Date
Quentin Bazin
b3e0d9cd67 Small fixes for Windows compilation. 2020-03-12 14:52:33 +01:00
Quentin Bazin
8ab9b9a01d [docs] "C++ classes in Lua" page added. 2020-03-12 14:22:05 +01:00
Quentin Bazin
123df8b5f8 [docs] Lua API overview removed. Reorganized doc pages. 2020-03-12 14:07:18 +01:00
Quentin Bazin
81c98d664a [docs] Sorted attribute lists. 2020-03-12 13:48:11 +01:00
Quentin Bazin
292595e0fa [docs] 'item', 'recipe', 'sky', 'tree', 'biome', 'dimension' documentation added. 2020-03-12 13:36:54 +01:00
Quentin Bazin
d861627599 [docs] Updated. 2020-03-12 02:23:07 +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
4a954b7d11 [docs] MkDocs-based documentation for ReadTheDocs. 2020-03-11 01:01:05 +01:00
Quentin Bazin
1606d9a300 [screenshot3] Updated. 2020-03-10 22:42:59 +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
b3ae21009e [LuaGUIState] Textures are now loaded from a path given by mods. 2020-03-10 13:15:23 +01:00
Quentin Bazin
875242568b [TODO] Removed. [Notes] Updated. 2020-03-09 22:10:41 +01:00
Quentin Bazin
2555d89fa2 [TerrainGenerator] Portals added. 2020-03-09 21:10:03 +01:00
Quentin Bazin
602e85f3d4 [biomes.lua] Biome 'mountain' removed. 2020-03-09 20:17:40 +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
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