39 Commits

Author SHA1 Message Date
Quentin Bazin
0a88bec7fb [SettingsMenuState] Added menu option to change camera FOV. [Minimap] Now updating blue triangle when FOV or render distance changes. 2020-07-28 09:48:50 +02:00
Quentin Bazin
ee1efccca5 [Config] 'isChunkMinimapEnabled' added, along with its menu option in SettingsMenuState. 2020-07-28 09:35:27 +02:00
Quentin Bazin
a1366e162e [Minimap] Now showing player fov/render distance using a blue triangle. 2020-07-28 09:29:31 +02:00
Quentin Bazin
59b8650001 [Minimap] Now showing rendered chunks. 2020-07-28 09:12:36 +02:00
Quentin Bazin
82f170d654 [Minimap] Added. 2020-07-28 09:12:36 +02:00
Quentin Bazin
f99729d827 Block placement constraints implemented. Closed #137. 2020-07-27 18:12:30 +02:00
Quentin Bazin
c52b831552 [BlockCursor] Fixed a bug allowing to mine without pressing left-click. See #163. 2020-07-24 23:36:48 +02:00
Pedro Gimeno
b8d3a36f19 Fix the degenerate case of the camera being between blocks
It got broken by mistake with the addition of block states, in commit 7750154b22d8b3cfaa564174187b81c1be914b05
2020-07-18 16:19:26 +02:00
Quentin Bazin
7eaac50d48 Now saving last hotbar slot. 2020-07-17 23:32:50 +02:00
Quentin Bazin
30e3ae2054 [ChatCommandHandler] '/time <add|set>' command added.
[CelestialObject|Skybox] Moon changes its phase everyday.
2020-07-17 19:58:45 +02:00
Quentin Bazin
0f015ee75d [DebugInfoWidget] Added 'Ticks' and 'Game time'.
[GameTime] The day now starts at 6 AM.
2020-07-17 19:58:45 +02:00
Quentin Bazin
07f86b9e10 [GameTime] 'getCurrentTime' now uses the new tick system.
[DebugOverlay] Added client TPS info.
[Network] Packet 'ServerTick' added. Sent at the beginning of every tick.
2020-07-17 19:58:45 +02:00
Quentin Bazin
b47fbc9d18 [Skybox] Now uses its own shader. 2020-07-17 19:58:45 +02:00
Quentin Bazin
1485c15808 [Lua API] Added item definition property 'effective_on'. Fixed #143. 2020-07-13 06:54:05 +02:00
Quentin Bazin
dc0517bff9 [Config] Added option for max block reach distance. 2020-07-11 15:17:56 +02:00
Quentin Bazin
7750154b22 [BlockState] Added. First stop of block states. 2020-07-10 22:43:50 +02:00
Quentin Bazin
4421f8258d [GameState] Now possible to take a screenshot by pressing F2 in-game. 2020-07-08 04:04:29 +02:00
Quentin Bazin
c9b7990c3c First step of SDL2 migration. 2020-07-08 00:12:22 +02:00
Quentin Bazin
5a98a1d387 [DebugOverlay] Added chunk updates per sec. 2020-07-06 02:56:03 +02:00
Quentin Bazin
7497b6b2a8 Added 'Farmland' block, which is possible to create with any hoe. 2020-07-05 20:55:23 +02:00
Quentin Bazin
957ef307c3 [DebugOverlay] Now using positive modulo from GameKit. 2020-07-02 20:37:20 +02:00
Quentin Bazin
92fa009e9d [DebugOverlay] Fixed relative position. 2020-07-02 16:40:20 +02:00
Quentin Bazin
b0aa1ad7a8 Fixed BlockCursor display. 2020-06-30 01:51:01 +02:00
Quentin Bazin
21edf6816c [TitleScreenState] Now displaying version. 2020-06-26 19:06:51 +02:00
Quentin Bazin
93a396e926 [ServerConnectState] Text input added to select an username. 2020-06-26 06:14:46 +02:00
Quentin Bazin
1f7d83bebc [Text|TextInput] 'm_text' renamed to 'm_string'. 2020-06-20 01:24:06 +02:00
Quentin Bazin
00d1cb84d5 Mod-defined server config options. Fixes #105.
[Chat] History system with up/down arrow keys.
[ChatCommandHandler] '/option' command added.
2020-06-20 01:07:28 +02:00
Quentin Bazin
0542b8de66 [HUD] Chat position updated on screen resize. Fixed #112. 2020-06-17 16:03:11 +02:00
Quentin Bazin
301d33fa5d Server is now aware of each player's held item. Closed #110. 2020-06-02 05:51:10 +02:00
Quentin Bazin
81e3326dc8 [ClientApplication] Now centering the window on the screen. 2020-05-15 00:27:12 +02:00
Quentin Bazin
333222e2a7 First step of SFML migration. 2020-05-15 00:27:12 +02:00
Quentin Bazin
91b3792a20 [ServerConfig] Added for option 'useItemDrops'. 2020-04-29 21:17:28 +02:00
Quentin Bazin
580789deee [NetworkComponent|NetworkController] Added. 2020-04-29 21:17:28 +02:00
Quentin Bazin
2d3f1efd58 [SceneSerializer] Now using entt::continuous_loader. 2020-04-29 21:17:28 +02:00
Quentin Bazin
d090e6903d [Scene] Splitted into Controllers. [Config] New 'useItemDrop' option. 2020-04-29 21:17:28 +02:00
Quentin Bazin
5815549f7d [Scene] Added. [external/entt] Added. 2020-04-29 21:17:28 +02:00
Quentin Bazin
15218e2214 Adapted to dynamic attributes commit in GameKit. 2020-04-03 04:04:19 +02:00
Quentin Bazin
2ecef2ded9 Door block added. 2020-03-29 19:25:40 +02:00
Quentin Bazin
bc3226eedc Folders reorganized. 2020-03-17 22:22:22 +01:00