649 Commits

Author SHA1 Message Date
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
070a689208 [FastNoise] Warnings fixed. 2020-02-07 23:27:46 +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
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
aebe996397 [README.md] Updated. 2020-01-31 17:49:31 +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
6d8d8ef623 Unused textures removed. 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
8d6074e1b6 Fixed texture files. 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
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
b9ec32ec71 [GameState] Now using a 70° FOV. 2020-01-25 15:29:37 +09:00
Quentin Bazin
758f55647e [CMakeLists.txt] Small fix for MSVC. 2020-01-24 15:16:54 +09:00
Quentin Bazin
2ea669156d [fog.f.glsl] Fixed water transparency. 2020-01-24 13:14:20 +09:00
Quentin Bazin
e4f760fc57 [Config] Changed DIST_NEAR to 0.1f. 2020-01-23 22:38:44 +09:00