1087 Commits

Author SHA1 Message Date
Quentin Bazin
d01481fdf5 [misc/deploy.sh] Small fixes. 2020-07-13 14:57:30 +02:00
Quentin Bazin
79e0794389 [Lua API] Screen size and gui scale are now available from ClientInfo. 2020-07-13 12:50:16 +02:00
Quentin Bazin
1485c15808 [Lua API] Added item definition property 'effective_on'. Fixed #143. 2020-07-13 06:54:05 +02:00
Quentin Bazin
9df06a4a88 Fixed block mining speed. 2020-07-13 06:26:21 +02:00
Quentin Bazin
35b13ad84d [CMakeLists.txt] Small fix. 2020-07-13 04:07:01 +02:00
Quentin Bazin
9fc0145cb1 [README.md] codedocs.xyz badge removed. 2020-07-12 23:47:09 +02:00
Quentin Bazin
5db8341153 [CMakeLists.txt] Added option to disable building tests. 2020-07-12 23:46:00 +02:00
Quentin Bazin
bf793e9bfb [tests] CxxTest-based unit tests added. 2020-07-11 17:44:20 +02:00
Quentin Bazin
dc0517bff9 [Config] Added option for max block reach distance. 2020-07-11 15:17:56 +02:00
Quentin Bazin
2d56b94398 [mods/default/blocks.lua] Small fixes. 2020-07-11 03:18:44 +02:00
Quentin Bazin
bd5174ba27 [ItemWidget] Fixed items taking green tint after switching with grass. 2020-07-11 03:12:11 +02:00
Quentin Bazin
6a68b1a430 [BlockState] 'drawOffset' attribute added. 2020-07-11 02:59:48 +02:00
Quentin Bazin
801c13fc4b [default] Various gameplay tweaks. [BlockState] Fixed tools. 2020-07-11 02:32:41 +02:00
Quentin Bazin
52b53ebfe4 [mods/default/blocks.lua] Removed old 'Redstone Lamp'. 2020-07-11 02:03:44 +02:00
Quentin Bazin
6bb0042adc [mods/default/tools.lua] Added to generate tools automatically. 2020-07-11 02:02:19 +02:00
Quentin Bazin
e071808721 [README.md] 'Roadmap' link added. 2020-07-11 01:29:45 +02:00
Quentin Bazin
a24deef802 [blocks.lua] Redstone Lamp now works with states. [furnace.lua] Now emits light when on. 2020-07-11 00:58:45 +02:00
Quentin Bazin
d68e17a521 Added 'Redstone Lamp' alternative using states. WIP. 2020-07-10 23:58:07 +02:00
Quentin Bazin
5b77f61298 Documentation updated for block states. 2020-07-10 22:49:59 +02:00
Quentin Bazin
f5f586980d 'use_alt_tiles' replaced by block states. 2020-07-10 22:43:50 +02:00
Quentin Bazin
fd979fdd06 [LuaBlockLoader] Now setting attributes only when necessary. [BlockStat€] 'isOpaque' fixed. 2020-07-10 22:43:50 +02:00
Quentin Bazin
a44a3b6ad2 Block states almost completely working. 2020-07-10 22:43:50 +02:00
Quentin Bazin
5f96d37fbd [BlockState] 'isOpaque' now has a custom getter. 2020-07-10 22:43:50 +02:00
Quentin Bazin
4884b7c1d9 [ScriptEngine] 'BlockState' and 'BlockParam' added. 2020-07-10 22:43:50 +02:00
Quentin Bazin
7750154b22 [BlockState] Added. First stop of block states. 2020-07-10 22:43:50 +02:00
Quentin Bazin
0af7cd7d0e [mods/creative_inventory] Small fix related to LuaJIT. 2020-07-09 23:17:06 +02:00
Quentin Bazin
2b210d697a [BlockParam] Added (see #139). 2020-07-09 22:24:19 +02:00
Quentin Bazin
02b9f8b283 Now using LuaJIT. Closed #91. 2020-07-09 02:40:21 +02:00
Quentin Bazin
c8643e0c2b [texturepacks/minecraft] Debug block textures added. 2020-07-09 01:34:06 +02:00
Quentin Bazin
70f58e7b5b [LuaGUI] Now allows defining a closing key. 2020-07-09 00:11:54 +02:00
Quentin Bazin
0d7b1fa160 [MenuWidget] Fixed a small issue by processing slider events first. 2020-07-08 19:17:15 +02:00
Quentin Bazin
256700ecec [ClientCommandHandler|LuaGUIState] Make sure only one GUI is active at the same time. 2020-07-08 12:02:48 +02:00
Quentin Bazin
18d0fa8cb1 [SettingsMenuState] Now using sliders for some settings. 2020-07-08 11:59:25 +02:00
Quentin Bazin
e3dc327b71 [Key] Small fix for multiplayer mode.
If the 'config/keys.lua' file didn't exist custom keys were empty.
2020-07-08 09:13:43 +02:00
Quentin Bazin
4ac67eedd4 [GameKey] 'Up' and 'Down' renamed to 'Forward' and 'Back'. 2020-07-08 04:19:36 +02:00
Quentin Bazin
4421f8258d [GameState] Now possible to take a screenshot by pressing F2 in-game. 2020-07-08 04:04:29 +02:00
DeatHunter
5ba2699c4b
Add random walk as an alternative to flood fill for oregen (#148)
* Improved oregen
* [Lua API] Added biome ore definition property 'gen_type'.

Co-authored-by: Quentin Bazin <quent42340@gmail.com>
2020-07-08 02:28:11 +02:00
Quentin Bazin
95233b78ad [SettingsMenuState] Increased max mouse sensitivity. 2020-07-08 00:45:28 +02:00
Quentin Bazin
43c28b4e68 [mods/default] Fixed some textures. 2020-07-08 00:40:27 +02:00
Quentin Bazin
283eff0f64 [Config] Now displaying an error when 'config' folder can't be created. 2020-07-08 00:20:12 +02:00
Quentin Bazin
0e10bd0c4e [Config] Changed default mipmap level. 2020-07-08 00:12:22 +02:00
Quentin Bazin
bb234ac4d8 [ClientWorld] Removed SFML-specific fix. 2020-07-08 00:12:22 +02:00
Quentin Bazin
5bb5b44ff4 [main] DPI awareness code added back to the project. 2020-07-08 00:12:22 +02:00
Quentin Bazin
1a4227a580 [gamekit] Updated. Menu background fixed. [Config] Now creating 'config' folder if it doesn't exist yet. 2020-07-08 00:12:22 +02:00
Quentin Bazin
b6f531af12 [TextureAtlas] Updated for SDL. 2020-07-08 00:12:22 +02:00
Quentin Bazin
c9b7990c3c First step of SDL2 migration. 2020-07-08 00:12:22 +02:00
Quentin Bazin
89f913bb90 [docs/lua-api-mod.md] Small layout improvement. 2020-07-07 03:33:11 +02:00
Quentin Bazin
c6ba9c74db [LuaBiomeLoader] Fixed a typo in ore definition table name. 2020-07-07 02:59:11 +02:00
Quentin Bazin
5a98a1d387 [DebugOverlay] Added chunk updates per sec. 2020-07-06 02:56:03 +02:00
Quentin Bazin
d51e4b32b8 [mods/creative_inventory] Fixed a bug causing some items to not be displayed. 2020-07-05 23:44:55 +02:00