1101 Commits

Author SHA1 Message Date
DeatHunter
5ba2699c4b
Add random walk as an alternative to flood fill for oregen (#148)
* Improved oregen
* [Lua API] Added biome ore definition property 'gen_type'.

Co-authored-by: Quentin Bazin <quent42340@gmail.com>
2020-07-08 02:28:11 +02:00
Quentin Bazin
95233b78ad [SettingsMenuState] Increased max mouse sensitivity. 2020-07-08 00:45:28 +02:00
Quentin Bazin
43c28b4e68 [mods/default] Fixed some textures. 2020-07-08 00:40:27 +02:00
Quentin Bazin
283eff0f64 [Config] Now displaying an error when 'config' folder can't be created. 2020-07-08 00:20:12 +02:00
Quentin Bazin
0e10bd0c4e [Config] Changed default mipmap level. 2020-07-08 00:12:22 +02:00
Quentin Bazin
bb234ac4d8 [ClientWorld] Removed SFML-specific fix. 2020-07-08 00:12:22 +02:00
Quentin Bazin
5bb5b44ff4 [main] DPI awareness code added back to the project. 2020-07-08 00:12:22 +02:00
Quentin Bazin
1a4227a580 [gamekit] Updated. Menu background fixed. [Config] Now creating 'config' folder if it doesn't exist yet. 2020-07-08 00:12:22 +02:00
Quentin Bazin
b6f531af12 [TextureAtlas] Updated for SDL. 2020-07-08 00:12:22 +02:00
Quentin Bazin
c9b7990c3c First step of SDL2 migration. 2020-07-08 00:12:22 +02:00
Quentin Bazin
89f913bb90 [docs/lua-api-mod.md] Small layout improvement. 2020-07-07 03:33:11 +02:00
Quentin Bazin
c6ba9c74db [LuaBiomeLoader] Fixed a typo in ore definition table name. 2020-07-07 02:59:11 +02:00
Quentin Bazin
5a98a1d387 [DebugOverlay] Added chunk updates per sec. 2020-07-06 02:56:03 +02:00
Quentin Bazin
d51e4b32b8 [mods/creative_inventory] Fixed a bug causing some items to not be displayed. 2020-07-05 23:44:55 +02:00
Quentin Bazin
14e23dc83d Added seeds and wheat. You can grow wheat but it's quite clunky atm. 2020-07-05 23:32:24 +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
531b7badab Added 'Grass Path' block, which is possible to create with any shovel. 2020-07-05 21:02:52 +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
3a325c74ff Added '-l/--log-level' to set log level. 2020-07-05 18:03:13 +02:00
Quentin Bazin
8fa3ba40dc [docs/lua-api-mod.md] Added documentation about 'config.lua'. 2020-07-05 02:23:26 +02:00
Quentin Bazin
1fd89998e4 [ServerModLoader] Optional dependencies: OK. 2020-07-05 02:16:49 +02:00
Quentin Bazin
8bcc472f69 [ServerModLoader] Dependencies: OK. 2020-07-05 01:56:14 +02:00
Quentin Bazin
e0d842359e [ServerModLoader] Now checking cyclic dependencies. 2020-07-04 23:03:49 +02:00
Quentin Bazin
a3d5180f2d [ServerModLoader] Now checking if the same mod is being loaded multiple times. 2020-07-03 11:34:32 +02:00
Quentin Bazin
38fc713b69 [README.md] 'Project status' section updated. 2020-07-03 10:00:24 +02:00
Quentin Bazin
c159626c04 [TerrainGenerator] Fixed #134. 2020-07-02 23:05:37 +02:00
Quentin Bazin
957ef307c3 [DebugOverlay] Now using positive modulo from GameKit. 2020-07-02 20:37:20 +02:00
Quentin Bazin
fdeb6a1085 [GameState] Increased mouse sensitivity for macOS. 2020-07-02 19:59:49 +02:00
Quentin Bazin
92fa009e9d [DebugOverlay] Fixed relative position. 2020-07-02 16:40:20 +02:00
Quentin Bazin
ff1d34cd8d [GameState] Now using render distance as projection far plane. 2020-07-02 02:33:11 +02:00
Quentin Bazin
439eb2124b [mods/creative_inventory] Fixed a bug causing textures to appear black. 2020-07-01 22:33:10 +02:00
Quentin Bazin
a586609d41 Fixed some warnings. 2020-07-01 21:41:40 +02:00
Quentin Bazin
f2ab97105b [EngineConfig] Chunks are now cubic (16 blocks tall instead of 32 blocks tall). 2020-07-01 21:18: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
db6f775ae7 [ChunkBuilder] Now disabling fallback AO when smooth lighting is enabled. 2020-06-30 19:15:42 +02:00
Quentin Bazin
b0aa1ad7a8 Fixed BlockCursor display. 2020-06-30 01:51:01 +02:00
Quentin Bazin
e919cbb8f7 [Lua API] Added properties 'fog_color' and 'fog_depth'. 2020-06-30 01:45:30 +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
e085664581 [misc/deploy.sh] Now including LICENSE and .md files. 2020-06-27 04:13:07 +02:00
Quentin Bazin
613487936e [ClientAppliction] Fixed #114. Will be backported to 0.0.9. 2020-06-26 21:48:14 +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
29e2ccc91c [TextButton] Small fix. 2020-06-26 18:22:35 +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