Pedro Gimeno
7934d217f3
Use Z for up (part 1)
...
Bulk of the changes: swap Y and Z, HEIGHT and DEPTH mostly everywhere; change vertex order to make it right-handed; rename Left, Right, Front, Back to West, East, South, North respectively; switch some arrays and loops to Z,Y,X order.
2020-02-20 23:10:25 +01:00
Pedro Gimeno
780b39605f
Adapt the code to the latest changes in GameKit
2020-02-19 20:11:30 +01:00
Pedro Gimeno
cda1948bb6
Convert Rect instances to new axis-convention-neutral form as well
2020-02-19 17:14:41 +01:00
Quentin Bazin
949cc463cb
[TerrainGenerator] Tall Grass added.
2020-02-19 20:08:46 +09:00
Quentin Bazin
cb356b4a3b
Shaders don't use blockID anymore. Fixes #48 .
2020-02-19 19:30:07 +09:00
Quentin Bazin
a7ecdf1aa4
[ServerWorld] Small tweak.
2020-02-18 19:18:15 +09:00
Quentin Bazin
e5b5ba9568
[ClientPlayer] Temporary fix for MinGW.
2020-02-18 00:04:29 +09:00
Quentin Bazin
2c5f289ef1
[Block|Item] 'name' property renamed to 'stringID' for more coherency.
2020-02-17 15:54:19 +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
457140b06a
Fixed Clang warnings.
2020-02-15 20:22:10 +09:00
Quentin Bazin
c6522336ea
[TerrainGenerator] Temporary fix for #41 .
2020-02-15 19:09:59 +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
857c7e4060
[LuaGUI] Now provides SCREEN_WIDTH, SCREEN_HEIGHT and GUI_SCALE instead of them being hardcoded in init.lua.
2020-02-15 13:54:02 +09:00
Quentin Bazin
41a46ba13b
[CMakeLists.txt] Small improvements.
2020-02-14 18:36:45 +09:00
Quentin Bazin
7bad35ed54
[SimplexNoise] Removed. [TerrainGeneration] Now using FastNoise for land height.
2020-02-11 20:58:53 +09:00
Quentin Bazin
c1ccb2f76a
[TerrainGenerator] Small fix.
2020-02-11 16:06:09 +09:00
Quentin Bazin
6f227b7564
[ServerCommandHandler] Now used to send server packets.
2020-02-11 15:00:03 +09:00
Quentin Bazin
6ea451a85a
[TerrainGenerator] Tree placement fixed.
2020-02-10 11:22:38 +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
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
e198cd272d
[Block] isLightSource attribute added.
2020-02-07 23:17:21 +09:00
Quentin Bazin
81e37de144
[TerrainGenerator] No longer dependent on BlockType.
2020-02-07 23:17:21 +09:00
Quentin Bazin
02465c26fd
[ServerChunk] Moved TerrainGenerator in ServerWorld.
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
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
a351ca862a
[CraftingWidget] Small improvement. [ServerBlock] Preparing future block features.
2020-02-03 14:11:18 +09:00
Quentin Bazin
7c05f319ba
[LuaMod] Added support for bounding box definition.
2020-02-03 11:13:23 +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
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
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
5b2a1758ef
Now using filenames instead of IDs when loading/retrieving textures.
2020-01-31 16:44:27 +09:00
Quentin Bazin
0a60a94cc5
[ClientPlayer|ServerCommandHandler] Position shifted a little bit due to new world gen.
2020-01-26 15:32:45 +09:00
Quentin Bazin
460091c506
[TerrainGenerator] Working on new terrain generation. [FastNoise] Added.
2020-01-26 15:25:02 +09:00
Quentin Bazin
4c3b55de1c
[TerrainGenerator] Working on new terrain generation. [SimplexNoise] Added.
2020-01-25 17:26:29 +09:00
Quentin Bazin
3eda95a0ad
[PauseMenuState] Small fix.
2020-01-25 16:38:45 +09:00
Quentin Bazin
fa8420e410
[CMakeLists.txt] Small fix.
2020-01-23 14:27:31 +09:00
Quentin Bazin
918c558052
[BlockCursor|Cube] Fixed on Windows.
2020-01-23 13:18:09 +09:00
Quentin Bazin
415a6c6d9b
[CMakeLists.txt] Small fix for MinGW compilation.
2020-01-23 01:49:57 +09:00
Quentin Bazin
df1603c608
[.gitignore] Updated for Windows.
2020-01-22 16:22:06 +09:00
Quentin Bazin
7f41d3c7bb
[CMakeLists.txt] Now allows compiling on Windows.
2020-01-22 14:18:31 +09:00
Quentin Bazin
a4ff78d672
[TerrainGenerator] Fixed small lighting issue.
2020-01-22 09:22:47 +09:00