77 Commits

Author SHA1 Message Date
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
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
7e9d26b92b [GameState|Key] Fixed registry access for singleplayer games. 2020-06-19 16:20:35 +02:00
Quentin Bazin
6f59f9200f [KeyboardHandler] Fixed key loading. 2020-06-19 16:20:35 +02:00
Quentin Bazin
59b0a04576 [KeyboardHandler] Now saving custom keys. 2020-06-19 16:20:35 +02:00
Quentin Bazin
4a17579674 [SettingsMenuState] Mod-defined keys can now be remapped. 2020-06-19 16:20:35 +02:00
Quentin Bazin
fc3fafc1a8 [Lua API] Key definition: OK. Can't be remapped yet. 2020-06-19 16:20:35 +02:00
Quentin Bazin
c1176a438d [ChatCommandHandler] '/stop' command added. 2020-06-19 02:51:33 +02:00
Quentin Bazin
9f01a538cb [Network] 'PlayerRotUpdate' packet added. Fixed #86. 2020-06-04 17:36:09 +02:00