138 Commits

Author SHA1 Message Date
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
Quentin Bazin
73e682b90b [HUD] FPS counter added. 2020-01-27 19:24:20 +09:00
Quentin Bazin
7ce3321cb8 [ClientPlayer] Now using AABB for collision checks. 2020-01-27 18:10:20 +09:00
Quentin Bazin
42232049e0 [PlayerBox] Small fix. 2020-01-27 16:11:27 +09:00
Quentin Bazin
2d417f6eaa [GameState|HUD|InterfaceState] Fullscreen and resize handling added. 2020-01-27 15:33:06 +09:00
Quentin Bazin
54493e3d58 [BlockCursor] Now reset breaking timer when switching item or activating a block. Thanks to obiwac who found these issues. 2020-01-27 12:43:16 +09:00
Quentin Bazin
2251bc0b89 [client/main] Added missing header for Windows. 2020-01-26 16:21:35 +09:00
Quentin Bazin
8922f53e2a [Config] Tweaked mouse sensivity and added menu option for it. 2020-01-26 16:03:43 +09:00
Quentin Bazin
4e9f6500d0 [client/main] Added some code to use dedicated GPU on Windows (thanks to Hopson). 2020-01-26 15:54:59 +09:00
Quentin Bazin
c2e70e28b9 [ClientPlayer] Slightly reduce velocity in X/Z while jumping/falling. 2020-01-26 15:38:25 +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
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
b9ec32ec71 [GameState] Now using a 70° FOV. 2020-01-25 15:29:37 +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
83dd38afd7 [LuaGUIState] Memory error fixed by using std::deque instead of std::vector. 2020-01-23 03:28:23 +09:00
Quentin Bazin
415a6c6d9b [CMakeLists.txt] Small fix for MinGW compilation. 2020-01-23 01:49:57 +09:00
Quentin Bazin
19ff91c0c0 [CMakeLists.txt] Small fix. 2020-01-22 22:25:50 +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
7017ccd3e2 [ClientWorld] Now deleting chunks that are too far. 2020-01-22 09:22:47 +09:00
Quentin Bazin
a2c49a2b4e [DebugOverlay] Now showing loaded chunks count. 2020-01-22 09:22:47 +09:00
Quentin Bazin
3a2024d120 Last lighting issue almost fixed. 2020-01-22 09:22:47 +09:00
Quentin Bazin
60b44511da [World] Furnace crash fixed. [ClientWorld] Small fix. 2020-01-22 09:22:47 +09:00
Quentin Bazin
6e0f7ddda5 Multiplayer infinite world: OK using 'ChunkRequest' packet. 2020-01-22 09:22:47 +09:00
Quentin Bazin
b43e539742 [BlockInfoWidget] Removed coordinates display. 2020-01-22 09:22:47 +09:00
Quentin Bazin
978a989ecf Lighting issues finally fixed. Yay. 2020-01-22 09:22:47 +09:00
Quentin Bazin
4bda292fa4 Almost fixed the lighting issue, found the problem. 2020-01-22 09:22:47 +09:00
Quentin Bazin
a651e37c6a Small tweaks. 2020-01-22 09:22:47 +09:00
Quentin Bazin
6315216e66 Removed useless code. 2020-01-22 09:22:47 +09:00
Quentin Bazin
fc9c60e2b9 [ClientWorld] Now waiting all neighbours of a chunk before updating/displaying it. 2020-01-22 09:22:47 +09:00