Quentin Bazin
7e38907854
[SettingsMenuState] It's now possible to disable VSync.
2020-02-24 23:16:51 +09:00
Quentin Bazin
7c9b72b137
[Config|SettingsMenuState] Added option to disable BlockInfoWidget.
2020-02-24 22:43:31 +09:00
Pedro Gimeno
6e3c2e066f
Precision improvements (Part 2)
...
Improve player precision, especially location, but also rotation.
2020-02-24 11:59:53 +01:00
Pedro Gimeno
4bb12c872f
Precision improvements (Part 1)
...
Improve rendering precision by subtracting the camera position from the models' position, then temporarily setting the camera to (0, 0, 0) for rendering. This keeps GL coordinates in a low range.
2020-02-24 11:16:19 +01:00
Quentin Bazin
75f9bc6dbd
[ClientWorld] Teleportation and fast movement won't stop the world from loading. Fixes #50 .
2020-02-24 18:53:21 +09:00
Quentin Bazin
879dc28eb2
[FurnaceWidget] Removed. Now completely implemented in Lua.
2020-02-23 22:38:51 +09:00
Quentin Bazin
4eb3e3738f
[ProgressBarWidget] Added.
2020-02-23 20:42:32 +09:00
Quentin Bazin
47b7e3d849
[PlayerCraftingWidget] Removed, implemented completely using Lua.
2020-02-23 18:24:19 +09:00
Quentin Bazin
904152e1aa
[PlayerInventoryWidget] Removed, only PlayerCraftingWidget isn't coded in Lua.
2020-02-22 22:50:27 +09:00
Quentin Bazin
3cffbc9547
[ChatState] Can now be opened with a slash by using numpad slash.
2020-02-22 03:44:12 +09:00
Quentin Bazin
884562cb36
[Client] Handles disconnection correctly now.
2020-02-22 02:56:55 +09:00
Quentin Bazin
bb0c8e8d49
[ServerCommandHandler] Now supports teleportation command.
2020-02-22 01:44:00 +09:00
Quentin Bazin
3c4fae07f5
[Text] Added the possibility to cut a line in the middle if it's too long.
2020-02-22 01:00:42 +09:00
Quentin Bazin
ec15fec087
[ChatMessage] Added. Messages now have timeout.
2020-02-22 00:31:11 +09:00
Quentin Bazin
087d430acb
[TextInput] Moved background and padding to Text.
2020-02-21 23:58:15 +09:00
Quentin Bazin
e08af87563
[Chat] Added to render messages sent from server.
2020-02-21 17:50:45 +09:00
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