1308 Commits

Author SHA1 Message Date
Quentin Bazin
d65d2117a9 [mods/default/tools.lua] Hoe now checks that the block above is empty. 2020-07-31 15:26:53 +02:00
Quentin Bazin
9ee3a110d7 [BlockCursor|HUD] Small fix. 2020-07-31 15:17:54 +02:00
Quentin Bazin
ca6839d525 [BlockCursor] Fixed right-click holding behaviour. 2020-07-31 03:16:11 +02:00
Quentin Bazin
9fb3064328 Worldgen seed can now be either specified during world creation or generated randomly. 2020-07-30 21:54:50 +02:00
Quentin Bazin
03d1a006b4 Worldgen now uses a seed. Fixed #116. 2020-07-30 21:13:19 +02:00
LordDeatHunter
9534c9d00a Added new cavegen 2020-07-30 20:32:44 +02:00
Quentin Bazin
d0bd710f90 [LuaEntityLoader|LuaMod|Registry] Error messages fixed. 2020-07-30 17:38:52 +02:00
Quentin Bazin
40ac6e1032 [README.md] Updated. 2020-07-30 17:11:56 +02:00
Quentin Bazin
20a2b9eb2c [README.md] Updated. 2020-07-30 16:19:10 +02:00
Quentin Bazin
d558cc1a08 [MenuWidget] Now stops event handling if button/slider list changed. 2020-07-30 15:23:48 +02:00
Quentin Bazin
9517e385f1 [BlockCursor] Now replacing blocks with XShape draw type instead of placing block on them. 2020-07-30 14:10:37 +02:00
Quentin Bazin
c1b5a5d84c [BlockCursor] Now repeats block activation every 250 ms or on block change if right-click is held. 2020-07-30 14:01:58 +02:00
Quentin Bazin
1742eac7ae [Heightmap] Changed height formula.
[EngineConfig] Version suffix increased.
2020-07-30 12:40:05 +02:00
Quentin Bazin
ae571dbe81 [Minimap] Events are now only executed if minimap is enabled. 2020-07-30 12:27:54 +02:00
Quentin Bazin
4eb3b6fe5f [TerrainGenerator|ServerCommandHandler] Small fix. 2020-07-30 00:59:41 +02:00
Quentin Bazin
6065c98481 [Heightmap] Small fixes. [ServerCommandHandler] Now spawning player safely. Fixed #117. 2020-07-30 00:46:58 +02:00
Quentin Bazin
98cf9df93e [Heightmap] Added and used in TerrainGenerator. Fixed #135.
[README.md] Fixed typo.
[EngineConfig] Increased pre-release version suffix.
[mods/default] Fixed furnace texture.
2020-07-29 18:01:48 +02:00
Pedro Gimeno
180123c0b7 Change calls to rotate() to calls to rotateX/Y/Z
Mostly cosmetic, but will also optimize some operations if the compiler is not smart enough.

Also fix a typo in a comment.
2020-07-29 17:28:06 +02:00
Quentin Bazin
dd8df8bf78 [external/gamekit] Updated. Probably fixed #166. 2020-07-29 16:36:45 +02:00
Quentin Bazin
bb0b86198d [Item] Added constants for harvest capabilities/requirements. 2020-07-28 23:39:28 +02:00
Quentin Bazin
7d1ee578d9 [Inventory] Hotbar priority fixed. 2020-07-28 22:40:49 +02:00
Quentin Bazin
90d64e263c [DebugOverlay|TitleScreenState] Small fix. [EngineConfig] 'VERSION_SUFFIX' added. [misc/deploy.sh] Now asking if version number has been updated before deploying. 2020-07-28 21:47:49 +02:00
Quentin Bazin
eba4145037 [mods/default/blocks.lua] Torch inventory appearance fixed. 2020-07-28 21:30:30 +02:00
Quentin Bazin
371ea10381 [mods/default/blocks.lua] Torch hardness set to 0. 2020-07-28 21:28:48 +02:00
Quentin Bazin
73d7944c17 [ChunkBuilder] Opaque blocks now use their own torchlight value for each face. 2020-07-28 21:24:13 +02:00
Quentin Bazin
a83e4d20bf Now saving program output to log files. 2020-07-28 20:55:49 +02:00
Quentin Bazin
d38946e097 [mods/creative_inventory] Fixed a few bugs with search bar.
[mods/default] 'Shears' added.
2020-07-28 19:57:17 +02:00
Pedro Gimeno
2be3fc24a6 Fix the rotation axis of celestial objects 2020-07-28 19:31:35 +02:00
Quentin Bazin
ef5ac1d818 [LuaGUI] Text input definition added.
[creative_inventory] Now has a search bar!
2020-07-28 19:10:02 +02:00
Quentin Bazin
4337868fde [TexturePackSelectionState] World reload request added. Prevents a bug with incomplete texture packs (see #167). 2020-07-28 12:26:30 +02:00
Pedro Gimeno
6202717443 Use gk::abs instead of defining an ABS macro 2020-07-28 11:43:47 +02:00
Quentin Bazin
0a88bec7fb [SettingsMenuState] Added menu option to change camera FOV. [Minimap] Now updating blue triangle when FOV or render distance changes. 2020-07-28 09:48:50 +02:00
Quentin Bazin
ee1efccca5 [Config] 'isChunkMinimapEnabled' added, along with its menu option in SettingsMenuState. 2020-07-28 09:35:27 +02:00
Quentin Bazin
a1366e162e [Minimap] Now showing player fov/render distance using a blue triangle. 2020-07-28 09:29:31 +02:00
Quentin Bazin
59b8650001 [Minimap] Now showing rendered chunks. 2020-07-28 09:12:36 +02:00
Quentin Bazin
82f170d654 [Minimap] Added. 2020-07-28 09:12:36 +02:00
Pedro Gimeno
7e308bc988 Improve precision in time calculations to prevent possible problems 2020-07-27 20:59:41 +02:00
Pedro Gimeno
89274f906a Improve /time command to allow time in h:m and omitting set
`/time set N` and `/time add N` work like before. The following extensions were added:

- `/time N`, `/time str`
  - same as `/time set N` and `/time set str` respectively
- `/time h:m`, `/time set h:m`
  - allows setting a specific time in hour:minutes format
- `/time add h:m`
  - adds a specific number of hours and minutes to the time
2020-07-27 20:57:09 +02:00
Quentin Bazin
5a8b051322 [.travis.yml] Small fix. 2020-07-27 18:12:30 +02:00
Quentin Bazin
51f4496c74 [mods/default/blocks.lua] Ice block fixed. 2020-07-27 18:12:30 +02:00
Quentin Bazin
f99729d827 Block placement constraints implemented. Closed #137. 2020-07-27 18:12:30 +02:00
Pedro Gimeno
85a1b4ee78 Fix rendering of skybox when far away from 0,0,0 2020-07-27 00:13:01 +02:00
Pedro Gimeno
d22785f593 Fix clipping of the skybox
The bottom of the skybox was being clipped as a result of a -50m offset that is applied to its centre. Fix that, and add a constant for said offset in EngineConfig.cpp.
2020-07-26 23:55:06 +02:00
Quentin Bazin
8477bcaace [external/gamekit] Updated. 2020-07-25 13:24:04 +02:00
Quentin Bazin
529c0a0427 Fixed missing include and define for MSVC. 2020-07-25 03:11:23 +02:00
Quentin Bazin
255190bde3 [external/gamekit] Updated. 2020-07-25 03:09:38 +02:00
Quentin Bazin
54ffc2c33d [Block] 'custom_param_bits' attribute added. Fixed #139. 2020-07-25 01:42:05 +02:00
Quentin Bazin
c96aef94c1 [external/gamekit] Updated. 2020-07-25 01:08:21 +02:00
DeatHunter
bbc9d84495
New blocks, items and recipes (#151)
* Added new blocks and items

* Added crafting recipes

* Added missing textures

* Changed textures to faithful 1.12

* Fixed file permissions

* Changed to 1.12 naming scheme

* Added missing MineCraft textures

* Fixed error in blocks.lua

* Fixed some filenames
2020-07-25 00:27:33 +02:00
Quentin Bazin
c518334e5b [GameState] Fixed #163. 2020-07-25 00:25:50 +02:00