838 Commits

Author SHA1 Message Date
Pedro Gimeno
28d58c4a21 [TilesDef etc] Change order of faces so that furnaces point east 2020-03-14 12:03:08 +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
c386d62966 Fixed #30 using gk::EventHandler. 2020-03-13 23:08:57 +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
085ef782ed [docs/lua-api-cpp] Small typo fixed. 2020-03-13 19:03:22 +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
f255a27c17 [docs/lua-api-gui] 'set_size' and 'set_centered' documentation added. 2020-03-13 00:16:23 +01:00
Quentin Bazin
c50adf3421 [docs/index.md] Removed wiki links and changed the title. 2020-03-13 00:10:21 +01:00
Quentin Bazin
3ad14ad3f3 [docs] GUI API documented. 2020-03-12 23:39:14 +01:00
Quentin Bazin
e658c478a1 [mkdocs.yml] Small tweak. 2020-03-12 22:28:51 +01:00
Quentin Bazin
f5a27cbd0a [config.example.lua] Added. 2020-03-12 15:54:13 +01:00
Quentin Bazin
8cda023540 [docs] Small fixes. [screenshots] screenshot6 (nether) added. 2020-03-12 15:17:21 +01:00
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