959 Commits

Author SHA1 Message Date
Quentin Bazin
266e4b7453 Groups can now be used in recipes. 2020-03-29 15:37:49 +02:00
Quentin Bazin
786aaff198 Groups can now be used for filtering in InventoryWidget. 2020-03-29 15:37:49 +02:00
Quentin Bazin
1347f81619 Item groups added. Now used instead of 'is_fuel' and 'burn_time'. 2020-03-29 15:37:49 +02:00
Quentin Bazin
fd21e3e6d2 [TerrainGenerator] 'fastNoiseGeneration' splitted into smaller functions. 2020-03-29 10:12:44 +02:00
Quentin Bazin
480c95daaa [ClientWorld] Now using a gk::Vector4 for the closest initialized chunk. 2020-03-29 10:12:44 +02:00
Quentin Bazin
c128971c13 [TerrainGenerator] Better RNG. [Chunk|ServerChunk] Booleans are now atomic. 2020-03-29 10:12:36 +02:00
Quentin Bazin
74ad041479 [TitleScreenState] Small fix. 2020-03-19 00:06:54 +01:00
Quentin Bazin
db587f13c6 Singleplayer server will now use a random available port instead of 4242. 2020-03-18 02:17:02 +01:00
Quentin Bazin
e1e1c468eb [ClientApplication|ServerApplication] Updated for new 'gk::ArgumentHandler' version. 2020-03-18 01:51:26 +01:00
Quentin Bazin
93308c9f14 Basic texture pack system added (see #34). 2020-03-18 00:42:56 +01:00
Quentin Bazin
ef79c5b8bf [ChatCommandHandler] '/save' and '/load' commands added. 2020-03-18 00:02:20 +01:00
Quentin Bazin
bc3226eedc Folders reorganized. 2020-03-17 22:22:22 +01:00
Quentin Bazin
91afbcaef3 Fixed #46. 2020-03-15 23:14:04 +01:00
Quentin Bazin
87787e54d8 [ChunkLightmap] Small fix. 2020-03-15 20:50:34 +01:00
Quentin Bazin
8d60cb53bc Fixed #56. 2020-03-15 20:46:06 +01:00
Quentin Bazin
a95cd77dfd Fixed some issues with singleplayer mode. See #75 for more info. 2020-03-15 19:48:18 +01:00
Quentin Bazin
988fe5336a [docs/lua-api-block] Added 'inventory_image' documentation. 2020-03-15 17:02:57 +01:00
Quentin Bazin
aee82ca211 [ChunkBuilder] Fixed cactus face optimization. 2020-03-15 16:57:13 +01:00
Quentin Bazin
c5f83f9084 [blocks.lua] Sugar canes added. 2020-03-15 16:54:24 +01:00
Quentin Bazin
4b58389eb2 Fixes for travis-ci. 2020-03-15 12:43:32 +01:00
Quentin Bazin
53f3c447ec [MenuWidget] Added 'onGuiScaleChanged'. 2020-03-15 12:11:11 +01:00
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