96 Commits

Author SHA1 Message Date
Quentin Bazin
2f827df14b [Network] 'ChatMessage' packet added. 2020-02-21 17:25:56 +09:00
Quentin Bazin
676f0937ec [ChatState] TextInput is now positionned correctly. 2020-02-21 16:33:52 +09:00
Quentin Bazin
8b906d1685 [TextInput] Fixed background. [InterfaceState] Added setting to be able to not display the background. 2020-02-21 16:33:52 +09:00
Quentin Bazin
2ecbdec6bb [ChatState|TextInput] Added. 2020-02-21 16:33:52 +09:00
Pedro Gimeno
9a1b193be9 Use Z for up (Part 3)
Fix camera, player movement, and bounding boxes.
2020-02-21 03:00:27 +01:00
Quentin Bazin
949cc463cb [TerrainGenerator] Tall Grass added. 2020-02-19 20:08:46 +09:00
Quentin Bazin
80e2fac8ee [ClientApplication] Pressing 'F11' now switch to/from fullscreen mode. 2020-02-18 18:59:40 +09:00
Quentin Bazin
78e46f71c6 [ClientPlayer] Moved hitbox to Player. 2020-02-18 18:37:51 +09:00
Quentin Bazin
c3a9eadcea [BlockCursor] No longer possible to place a block inside the player. Fixes #32. 2020-02-18 17:37:59 +09:00
Quentin Bazin
d47d5d39e4 [BlockCursor] 'selectedBlock' now uses 'glm::ivec4' instead of 'glm::vec4'. 2020-02-17 19:03:36 +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
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
457140b06a Fixed Clang warnings. 2020-02-15 20:22:10 +09:00
Quentin Bazin
7cc31096c1 [Cube] Renamed to InventoryCube. 2020-02-10 14:16:24 +09:00
Quentin Bazin
b7bb8f1d52 Replaced my custom headers by LGPL license headers. 2020-02-08 18:34:26 +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
a10c037670 [BlockType] Removed everywhere. 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
a351ca862a [CraftingWidget] Small improvement. [ServerBlock] Preparing future block features. 2020-02-03 14:11:18 +09:00
Quentin Bazin
a3b85e1d5c Grass, logs, workbench and furnace: OK. 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
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
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
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
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
4bda292fa4 Almost fixed the lighting issue, found the problem. 2020-01-22 09:22:47 +09:00
Quentin Bazin
6315216e66 Removed useless code. 2020-01-22 09:22:47 +09:00
Quentin Bazin
1dc66fd9e2 [ServerWorld] New function added to send spawn data to connecting clients. 2020-01-22 09:22:47 +09:00
Quentin Bazin
12dcb38ebd Infinite world: First attempt. 2020-01-22 09:22:47 +09:00
Quentin Bazin
f45050ba59 [ServerLoadingState] Now used before login when using 'ServerWorld::sendWorldData'. 2020-01-10 16:08:57 +09:00
Quentin Bazin
d45f7d88aa [ChunkLightmap] Lighting propagation improved. This fix slowed chunk generation though. 2020-01-02 16:06:20 +09:00
Quentin Bazin
e2348baa37 [Text] Small optimization. 2019-12-30 21:46:06 +09:00
Quentin Bazin
3d126bd9bf [SettingsMenuState] 'Esc' key issue fixed. 2019-12-30 21:08:25 +09:00
Quentin Bazin
182f9d7af0 [ChunkBuilder|ChunkLightmap] Fixed torchlight issues. Related to #21. 2019-12-30 06:59:10 +09:00
Quentin Bazin
0cc6cbb873 Updated for new GameKit version. 2019-04-13 15:06:52 +02:00