Quentin Bazin
bb5819e5ee
[BlockCursor] No longer possible to replace blocks.
2020-02-17 15:22:12 +09:00
Quentin Bazin
494f56fae9
[BlockCursorRaycast] Added for raycast functions.
2020-02-17 15:02:01 +09:00
Quentin Bazin
a02c493fcf
[BlockCursor] Minor style fix. Depth buffer-based algorithm removed.
2020-02-17 14:44:59 +09:00
Pedro Gimeno
b0d29988ec
Replace the ray tracer with a more precise and complete one
...
Bounding boxes that are smaller than the node (e.g. flowers) are handled. In future it shouldn't be hard to add handling of multiple selection boxes per node.
Fixes #33 .
2020-02-16 20:39:46 +01:00
Quentin Bazin
c4ea0d84e1
[Config] New function 'loadConfigFromFile' automatically loads 'config.lua' if present.
2020-02-15 23:06:01 +09:00
Quentin Bazin
93cd68ffe9
[Config] Moved to client. SCREEN_WIDTH, SCREEN_HEIGHT and GUI_SCALE renamed. [EngineConfig] Added for common config.
2020-02-15 22:48:56 +09:00
Quentin Bazin
e798541304
[SettingsMenuState] Added 'Resolution' setting.
2020-02-15 22:25:29 +09:00
Quentin Bazin
56338f1f79
[BlockCursor] Small fix.
2020-02-15 21:47:35 +09:00
Quentin Bazin
457140b06a
Fixed Clang warnings.
2020-02-15 20:22:10 +09:00
Quentin Bazin
c4f64ff028
[ClientPlayer] Small fix. It's no longer possible to see through blocks from below.
2020-02-15 20:00:23 +09:00
Quentin Bazin
c6522336ea
[TerrainGenerator] Temporary fix for #41 .
2020-02-15 19:09:59 +09:00
Quentin Bazin
7793e2ee71
[ClientChunk|ChunkLightmap] Performance improvement.
2020-02-15 18:16:58 +09:00
Quentin Bazin
b2fd4e6b51
[ServerChunk] Incomplete tree issue fixed (see #41 ).
2020-02-15 17:36:24 +09:00
Quentin Bazin
71587c0da8
[Network] PlayerInventory and BlockActivated packets now send screen size and gui scale informations.
2020-02-15 14:42:29 +09:00
Quentin Bazin
41a46ba13b
[CMakeLists.txt] Small improvements.
2020-02-14 18:36:45 +09:00
Quentin Bazin
9eed9ab135
[ChunkBuilder] Liquid drawtype no longer affected by smooth lighting.
2020-02-11 21:23:48 +09:00
Quentin Bazin
a8a2440b5d
[ClientChunk] Water is now visible from the inside.
2020-02-11 16:42:54 +09:00
Quentin Bazin
7cc31096c1
[Cube] Renamed to InventoryCube.
2020-02-10 14:16:24 +09:00
Quentin Bazin
8e11b78e86
[TODO] Updated.
2020-02-09 23:46:00 +09:00
Quentin Bazin
b7bb8f1d52
Replaced my custom headers by LGPL license headers.
2020-02-08 18:34:26 +09:00
Quentin Bazin
abbabe8924
[BlockMetadata] Added. Now used in FurnaceWidget and furnace.lua
2020-02-08 17:45:20 +09:00
Quentin Bazin
5ffbfe0c13
[LuaGUIState] Small fix. [ServerWorld|ServerChunk] Fixed BlockData position sending.
2020-02-08 14:36:22 +09:00
Quentin Bazin
442bafca68
[InventoryState] Replaced by 'show_inventory' function in init.lua.
2020-02-08 02:48:39 +09:00
Quentin Bazin
260d4cb607
Useless comments removed.
2020-02-08 01:57:38 +09:00
Quentin Bazin
4cae1b9c50
[BlockCursor] It is now required to press Sneak key to place a block on a workbench/furnace without activating their GUI.
2020-02-08 01:30:39 +09:00
Quentin Bazin
a10c037670
[BlockType] Removed everywhere.
2020-02-07 23:17:21 +09:00
Quentin Bazin
4a1ab838e7
[ClientPlayer] No longer dependent on BlockType.
2020-02-07 23:17:21 +09:00
Quentin Bazin
3a5c315f9a
[Block|BlockCursor] No longer dependent on BlockType.
2020-02-07 23:17:21 +09:00
Quentin Bazin
83832bb136
[ChunkLightmap] No longer dependent on BlockType.
2020-02-07 23:17:21 +09:00
Quentin Bazin
9afa1b6202
[Block] Draw type 'Glass' added.
2020-02-07 23:17:21 +09:00
Quentin Bazin
70e80d1e31
[Block] Draw type 'Liquid' added. [ChunkBuilder] No longer dependent on 'BlockType'.
2020-02-07 23:17:21 +09:00
Quentin Bazin
03bbc53cd4
[Block] Draw type 'AllFaces' added for leaves. [ChunkBuilder] Hidden face skipping is now dependent on 'AllFaces' draw type instead of BlockType.
2020-02-07 23:17:21 +09:00
Quentin Bazin
0f05a11bc3
[ClientChunk] Small fix.
2020-02-07 23:17:21 +09:00
Quentin Bazin
33cb40fccd
[ChunkBuilder] getAmbientOcclusion() no longer depends on BlockType.
2020-02-07 23:17:21 +09:00
Quentin Bazin
a351ca862a
[CraftingWidget] Small improvement. [ServerBlock] Preparing future block features.
2020-02-03 14:11:18 +09:00
Quentin Bazin
92e748c475
[ChunkBuilder] Small fix.
2020-02-03 13:31:12 +09:00
Quentin Bazin
7c05f319ba
[LuaMod] Added support for bounding box definition.
2020-02-03 11:13:23 +09:00
Quentin Bazin
0b36dabb5e
[ChunkBuilder] Fixed AO anisotropy issue. [SettingsMenuState] Ambient occlusion is now available again.
2020-02-01 16:12:49 +09:00
Quentin Bazin
86918973a7
[CraftingRecipe] Small fix.
2020-01-31 16:44:27 +09:00
Quentin Bazin
c2ea78c10f
[ServerBlock|ClientCommandHandler] Small optimization.
2020-01-31 16:44:27 +09:00
Quentin Bazin
b920c40829
[TilesDef] Members are now private.
2020-01-31 16:44:27 +09:00
Quentin Bazin
ac35d78cc2
[TextureAtlas] Added support for alternative tiles.
2020-01-31 16:44:27 +09:00
Quentin Bazin
e516b86d49
[TilesDef] Alternative tiles added. [ISerializable] Improved.
2020-01-31 16:44:27 +09:00
Quentin Bazin
abe0385384
[ChunkBuilder] Small fix. [TODO] Updated.
2020-01-31 16:44:27 +09:00
Quentin Bazin
793346f75f
[TextureAtlas] Textures are now stored in mod folder.
2020-01-31 16:44:27 +09:00
Quentin Bazin
a3b85e1d5c
Grass, logs, workbench and furnace: OK.
2020-01-31 16:44:27 +09:00
Quentin Bazin
44798d6fbd
[TilesDef] Added. Now blocks and items can store multiple textures.
2020-01-31 16:44:27 +09:00
Quentin Bazin
946acbb8eb
[ItemWidget|Hotbar] Small fixes.
2020-01-31 16:44:27 +09:00
Quentin Bazin
5b2a1758ef
Now using filenames instead of IDs when loading/retrieving textures.
2020-01-31 16:44:27 +09:00
Quentin Bazin
42bdc64891
[TextureAtlas] Added.
2020-01-31 16:44:27 +09:00