86 Commits

Author SHA1 Message Date
Quentin Bazin
7f8f732dbe [TexturePackSelectionState] Added. 2020-07-14 23:30:40 +02:00
Quentin Bazin
69e4dbba17 Fixed Windows build. 2020-07-13 23:25:04 +02:00
Quentin Bazin
dc0517bff9 [Config] Added option for max block reach distance. 2020-07-11 15:17:56 +02:00
Quentin Bazin
70f58e7b5b [LuaGUI] Now allows defining a closing key. 2020-07-09 00:11:54 +02:00
Quentin Bazin
256700ecec [ClientCommandHandler|LuaGUIState] Make sure only one GUI is active at the same time. 2020-07-08 12:02:48 +02:00
Quentin Bazin
18d0fa8cb1 [SettingsMenuState] Now using sliders for some settings. 2020-07-08 11:59:25 +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
95233b78ad [SettingsMenuState] Increased max mouse sensitivity. 2020-07-08 00:45:28 +02:00
Quentin Bazin
c9b7990c3c First step of SDL2 migration. 2020-07-08 00:12:22 +02:00
Quentin Bazin
084a002a6d [EngineConfig] Chunks are back to their old 16x16x32 state until superchunks are implemented. 2020-07-05 22:26:41 +02:00
Quentin Bazin
3a325c74ff Added '-l/--log-level' to set log level. 2020-07-05 18:03:13 +02:00
Quentin Bazin
fdeb6a1085 [GameState] Increased mouse sensitivity for macOS. 2020-07-02 19:59:49 +02:00
Quentin Bazin
ff1d34cd8d [GameState] Now using render distance as projection far plane. 2020-07-02 02:33:11 +02:00
Quentin Bazin
337d4b44c7 [GameConfig] Added to store values that were in Client and Config. 2020-07-01 18:22:31 +02:00
Quentin Bazin
b0aa1ad7a8 Fixed BlockCursor display. 2020-06-30 01:51:01 +02:00
Quentin Bazin
bd7fa53f3f [GameState] Framebuffer-related code has been moved. [Framebuffer] Now able to store depth data into a texture. [screen.f.glsl] Added a pseudo-underwater event. 2020-06-30 00:29:23 +02:00
Quentin Bazin
f0df5815c0 [GameState] Framebuffer is now resized when window size changes. [Framebuffer] Small fixes. 2020-06-29 23:39:02 +02:00
Quentin Bazin
608b53730e [Framebuffer] Added. [GameState] Now using a framebuffer to render the scene and apply effects. 2020-06-29 23:18:24 +02:00
Quentin Bazin
abbf55fd21 Merged smooth lighting config options. 2020-06-29 14:46:40 +02:00
Quentin Bazin
466c0cff67 Fixed #130. 2020-06-28 21:23:12 +02:00
Quentin Bazin
cc2e0fb4f0 [ServerConnectState|TitleScreenState] Small fixes for low resolution. 2020-06-26 19:24:41 +02:00
Quentin Bazin
1f905927cc [TitleScreenState] Now displaying title. 2020-06-26 19:17:21 +02:00
Quentin Bazin
21edf6816c [TitleScreenState] Now displaying version. 2020-06-26 19:06:51 +02:00
Quentin Bazin
a494ce5d03 [ServerLoadingState|WorldSavingState] Now using 'texture-menu_background'. 2020-06-26 18:02:03 +02:00
Quentin Bazin
8f73a77bc9 [SettingsMenuState] Improved widget layout. 2020-06-26 17:51:36 +02:00
Quentin Bazin
76a7e60ad6 [ConnectionErrorState|ServerConnectState] Improved. 2020-06-26 17:37:25 +02:00
Quentin Bazin
10bcbabdee [WorldCreationState|WorldDeletionState] Improved. Fixed #128. 2020-06-26 17:07:32 +02:00
Quentin Bazin
4e7e294527 [WorldSelectionState] Improved button position. 2020-06-26 16:16:41 +02:00
Quentin Bazin
d71bc9e947 [WorldCreationState] Added placeholder for text input. 2020-06-26 15:28:41 +02:00
Quentin Bazin
377ff452e2 [WorldMenuState] Removed. Buttons moved to WorldSelectionState. 2020-06-26 15:23:05 +02:00
Quentin Bazin
b35a70fce8 [ScrollableList] Fixed cursor and element spacing. [TitleScreenState] Update widget position when GUI scale is changed. 2020-06-26 14:20:11 +02:00
Quentin Bazin
4850b68379 [MenuWidget] No longer centered by default. [WorldSelectionState] Improved button rendering. 2020-06-26 14:11:27 +02:00
Quentin Bazin
31e0747eb4 [ScrollableList] Added. [WorldSelectionState] Now using ScrollableList. 2020-06-26 13:47:45 +02:00
Quentin Bazin
adfa4c6eec [InterfaceState] Uniformized widget update on window resize. 2020-06-26 12:09:13 +02:00
Quentin Bazin
a434727216 [WorldSelectionState] Background and title added (see #128) 2020-06-26 07:13:48 +02:00
Quentin Bazin
5aa2a22a23 [GameState] Now using 'Player' as a default username if empty. [ServerCommandHandler] Now checking username on connection. 2020-06-26 06:14:46 +02:00
Quentin Bazin
00e0d76bbc [ClientApplication] Added '-u/--username' to change default username. [TitleScreenState] Now using default username with '-m/--multiplayer' and '-s/--singleplayer'. 2020-06-26 06:14:46 +02:00
Quentin Bazin
e23603cf6e [PlayerList] Now refusing players that are already online. 2020-06-26 06:14:46 +02:00
Quentin Bazin
3c957d9889 [Config] Now storing default username and server address. 2020-06-26 06:14:46 +02:00
Quentin Bazin
a3eea107f5 [ServerConnectState] Added simple regex check for username. 2020-06-26 06:14:46 +02:00
Quentin Bazin
93a396e926 [ServerConnectState] Text input added to select an username. 2020-06-26 06:14:46 +02:00
Quentin Bazin
977ebf6b4d [ServerApplication] Now using a default save file named '_server'. 2020-06-23 19:12:15 +02:00
Quentin Bazin
f858b1f8a2 [WorldMenuState] Added to replace WorldInfoState. Now using WorldCreationState to rename worlds. 2020-06-23 19:12:15 +02:00
Quentin Bazin
219cd5c3e6 [WorldSavingState] Added. 2020-06-23 19:12:15 +02:00
Quentin Bazin
15fa7aef59 [WorldInfoState|WorldDeletionState] Added. 2020-06-23 19:12:15 +02:00
Quentin Bazin
163e991b15 [WorldSelectionState] Now sorting save files. 2020-06-23 19:12:15 +02:00
Quentin Bazin
21bafc046e [ChatCommandHandler] '/save' and '/load' commands removed. '/help' command added. 2020-06-23 19:12:15 +02:00
Quentin Bazin
785be03847 [WorldCreationState] Added. 2020-06-23 19:12:15 +02:00
Quentin Bazin
bfed2aa30b [WorldSelectionState] Now displaying save file size. 2020-06-23 19:12:15 +02:00
Quentin Bazin
12b719e043 [WorldSelectionState] Added. 2020-06-23 19:12:15 +02:00