]>
git.lizzy.rs Git - dragonblocks_alpha.git/log
Elias Fleckenstein [Mon, 23 Aug 2021 16:06:57 +0000 (18:06 +0200)]
Improve batch rendering: Use multiple OpenGL texture units
- Instead of creating a seperate mesh for every texture, each mesh now uses multiple texture bound to different units to reduce the total number of meshes.
- Use OpenGL version to 4.6
- Use OpenGL alpha testing instead of manual discard in fragment shader
Elias Fleckenstein [Mon, 23 Aug 2021 12:38:50 +0000 (14:38 +0200)]
Rename wetness to humidity
Elias Fleckenstein [Mon, 23 Aug 2021 11:47:58 +0000 (13:47 +0200)]
Add vulcano generation
Elias Fleckenstein [Fri, 20 Aug 2021 19:42:57 +0000 (21:42 +0200)]
Add oceans and toggle keys for flight & collision
Elias Fleckenstein [Thu, 19 Aug 2021 16:24:17 +0000 (18:24 +0200)]
Add wood
Elias Fleckenstein [Thu, 19 Aug 2021 15:28:25 +0000 (17:28 +0200)]
Add octaves to terrain shape
Elias Fleckenstein [Thu, 19 Aug 2021 13:55:28 +0000 (15:55 +0200)]
Add temperature factor that determines snow coverage and partly grass color
Elias Fleckenstein [Thu, 19 Aug 2021 01:23:12 +0000 (03:23 +0200)]
Random texture offset for stone
Elias Fleckenstein [Thu, 19 Aug 2021 01:12:15 +0000 (03:12 +0200)]
Calculate grass color client side
Elias Fleckenstein [Thu, 19 Aug 2021 00:39:36 +0000 (02:39 +0200)]
Nerf boulder generation rate
Elias Fleckenstein [Thu, 19 Aug 2021 00:32:22 +0000 (02:32 +0200)]
Remove block metadata
Elias Fleckenstein [Thu, 19 Aug 2021 00:29:57 +0000 (02:29 +0200)]
Rework mapblock loading system and add mapgen stage buffer, 64bit floats for player position
Elias Fleckenstein [Fri, 16 Jul 2021 17:37:30 +0000 (19:37 +0200)]
Add position display
Elias Fleckenstein [Fri, 16 Jul 2021 16:02:05 +0000 (18:02 +0200)]
Use find_package for glew and glfw
Elias Fleckenstein [Fri, 16 Jul 2021 15:35:34 +0000 (17:35 +0200)]
Use find_package for OpenGL
Elias Fleckenstein [Fri, 16 Jul 2021 15:29:49 +0000 (17:29 +0200)]
Use find_package for freetype rather than a submodule
Elias Fleckenstein [Fri, 16 Jul 2021 15:02:15 +0000 (17:02 +0200)]
Set simulation distance to 16
Elias Fleckenstein [Fri, 16 Jul 2021 14:47:19 +0000 (16:47 +0200)]
Add more info to README file
Elias Fleckenstein [Fri, 16 Jul 2021 13:58:33 +0000 (15:58 +0200)]
Fix snapshot builds
Elias Fleckenstein [Fri, 16 Jul 2021 13:28:48 +0000 (15:28 +0200)]
Add freetype as submodule
Elias Fleckenstein [Fri, 16 Jul 2021 12:17:00 +0000 (14:17 +0200)]
Update building notice
Elias Fleckenstein [Fri, 16 Jul 2021 12:16:24 +0000 (14:16 +0200)]
Use out of source build in the snapshot script
Elias Fleckenstein [Fri, 16 Jul 2021 11:56:11 +0000 (13:56 +0200)]
Update workflow scripts to CMake
Elias Fleckenstein [Fri, 16 Jul 2021 11:55:02 +0000 (13:55 +0200)]
Update snapshot script to use CMake
Elias Fleckenstein [Fri, 16 Jul 2021 11:45:24 +0000 (13:45 +0200)]
Use CMake for building
Elias Fleckenstein [Thu, 15 Jul 2021 20:33:32 +0000 (22:33 +0200)]
Remove old grass texture
Elias Fleckenstein [Thu, 15 Jul 2021 20:32:30 +0000 (22:32 +0200)]
Replace Ubuntu font by Minecraftia
Elias Fleckenstein [Thu, 15 Jul 2021 20:16:33 +0000 (22:16 +0200)]
Allocate exactly the needed space for fps display
Elias Fleckenstein [Thu, 15 Jul 2021 20:12:05 +0000 (22:12 +0200)]
Add FPS counter
Elias Fleckenstein [Thu, 15 Jul 2021 19:41:59 +0000 (21:41 +0200)]
Redesign file structure and graphics pipeline; add font rendering
Elias Fleckenstein [Tue, 13 Jul 2021 09:03:31 +0000 (11:03 +0200)]
Add biomes that determine grass color
Elias Fleckenstein [Tue, 13 Jul 2021 06:52:09 +0000 (08:52 +0200)]
Add color to vertices
Elias Fleckenstein [Mon, 12 Jul 2021 18:57:54 +0000 (20:57 +0200)]
Add mountain generation
Elias Fleckenstein [Mon, 12 Jul 2021 18:14:54 +0000 (20:14 +0200)]
Set simulation distance to 10
Elias Fleckenstein [Mon, 12 Jul 2021 17:52:30 +0000 (19:52 +0200)]
Add snow
Elias Fleckenstein [Mon, 12 Jul 2021 17:43:11 +0000 (19:43 +0200)]
Cleanup GLFW callbacks and add fullscreen key
Elias Fleckenstein [Mon, 12 Jul 2021 16:57:10 +0000 (18:57 +0200)]
KeyListener abstraction
Elias Fleckenstein [Mon, 12 Jul 2021 16:32:00 +0000 (18:32 +0200)]
Fix rescaling of HUD; Add Z-Index to HUD Elements; Add pause layer
Elias Fleckenstein [Mon, 12 Jul 2021 16:04:05 +0000 (18:04 +0200)]
Enable blending and fix HUD screen scaling
Elias Fleckenstein [Mon, 12 Jul 2021 15:54:50 +0000 (17:54 +0200)]
Add HUD scale type
Elias Fleckenstein [Mon, 12 Jul 2021 15:43:08 +0000 (17:43 +0200)]
Add HUD and crosshair
Elias Fleckenstein [Mon, 12 Jul 2021 15:41:07 +0000 (17:41 +0200)]
Minor code style fixes and allow MeshObject creation without adding to a scene
Elias Fleckenstein [Mon, 12 Jul 2021 15:39:21 +0000 (17:39 +0200)]
Support transparent textures
Elias Fleckenstein [Mon, 12 Jul 2021 09:38:11 +0000 (11:38 +0200)]
Remove old block mesh after new one is fully added
Elias Fleckenstein [Mon, 12 Jul 2021 09:33:51 +0000 (11:33 +0200)]
Add texture type that includes id, width and height instead of just ID
Elias Fleckenstein [Mon, 12 Jul 2021 09:18:59 +0000 (11:18 +0200)]
Use minecraft constants for physics
Elias Fleckenstein [Mon, 12 Jul 2021 08:56:16 +0000 (10:56 +0200)]
Don't pass callback argument to map_delete function in client destructor
Elias Fleckenstein [Mon, 12 Jul 2021 08:43:58 +0000 (10:43 +0200)]
Use Binary trees for MapSector and MapBlock sorting
This fixes various issues with the map (since the binsearch algorithm was broken), like flickering of blocks and the issue with colliding inside loaded blocks because the binsearch function didn't return the block properly.
It also speeds up the insertion of new blocks and sectors by a lot.
Elias Fleckenstein [Sun, 11 Jul 2021 19:03:21 +0000 (21:03 +0200)]
Add per object wireframe mode
Elias Fleckenstein [Sat, 10 Jul 2021 21:24:47 +0000 (23:24 +0200)]
Disable wireframe
Elias Fleckenstein [Sat, 10 Jul 2021 21:17:18 +0000 (23:17 +0200)]
Update controls documentation
Elias Fleckenstein [Sat, 10 Jul 2021 21:16:12 +0000 (23:16 +0200)]
Proper collision; add jumping
Elias Fleckenstein [Sat, 10 Jul 2021 13:11:14 +0000 (15:11 +0200)]
Correct acceleration calculation
Elias Fleckenstein [Sat, 10 Jul 2021 13:05:52 +0000 (15:05 +0200)]
Physics and collision
Elias Fleckenstein [Sat, 10 Jul 2021 13:05:26 +0000 (15:05 +0200)]
Fix pitch limitation
Elias Fleckenstein [Sat, 10 Jul 2021 13:04:30 +0000 (15:04 +0200)]
Add aabboxes
Elias Fleckenstein [Sat, 10 Jul 2021 13:04:13 +0000 (15:04 +0200)]
Protect map cache by rwlock
Elias Fleckenstein [Sat, 10 Jul 2021 12:21:43 +0000 (14:21 +0200)]
Cache last accessed MapBlock
Elias Fleckenstein [Sat, 10 Jul 2021 11:43:52 +0000 (13:43 +0200)]
Add falling
Elias Fleckenstein [Sat, 10 Jul 2021 11:39:33 +0000 (13:39 +0200)]
dtime independent movement
Elias Fleckenstein [Sat, 10 Jul 2021 11:25:55 +0000 (13:25 +0200)]
Move player code to its own file
Elias Fleckenstein [Fri, 9 Jul 2021 17:45:20 +0000 (19:45 +0200)]
Add GPLv3 License
Elias Fleckenstein [Fri, 9 Jul 2021 18:43:35 +0000 (20:43 +0200)]
Optimize MapBlock meshes
Elias Fleckenstein [Fri, 9 Jul 2021 17:49:31 +0000 (19:49 +0200)]
Move input handling code to separate file and implement FPS camera
Elias Fleckenstein [Fri, 9 Jul 2021 15:49:03 +0000 (17:49 +0200)]
Move camera code to own file, allow changing the window size
Elias Fleckenstein [Wed, 23 Jun 2021 15:06:59 +0000 (17:06 +0200)]
Add info about space and shift keys
Elias Fleckenstein [Tue, 22 Jun 2021 16:52:43 +0000 (18:52 +0200)]
Fix some mistakes in BUILDING.md
Why tf did I write that g++ is required? The project has always been and will always be pure C, and there are no C++ dependencies. xD why am I stupid
Elias Fleckenstein [Tue, 22 Jun 2021 16:50:26 +0000 (18:50 +0200)]
Update README.md notice about the map file
Elias Fleckenstein [Tue, 22 Jun 2021 16:36:59 +0000 (18:36 +0200)]
Add textures
Elias Fleckenstein [Thu, 1 Apr 2021 17:40:22 +0000 (19:40 +0200)]
Fix typo
Elias Fleckenstein [Thu, 1 Apr 2021 17:26:00 +0000 (19:26 +0200)]
Add missing header file
Elias Fleckenstein [Thu, 1 Apr 2021 17:22:27 +0000 (19:22 +0200)]
Fix #14
Elias Fleckenstein [Thu, 1 Apr 2021 15:37:35 +0000 (17:37 +0200)]
Make the snapshot script fail when building fails (to avoid broken snapshots)
Elias Fleckenstein [Thu, 1 Apr 2021 15:29:49 +0000 (17:29 +0200)]
Make MapBlockHeader u16
Elias Fleckenstein [Thu, 1 Apr 2021 15:22:53 +0000 (17:22 +0200)]
ZLib compression
Elias Fleckenstein [Thu, 1 Apr 2021 14:07:41 +0000 (16:07 +0200)]
Save MapBlocks in SQLite3 database; Redesign MapBlock loading & sending code
Elias Fleckenstein [Wed, 31 Mar 2021 16:03:37 +0000 (18:03 +0200)]
Update building instructions to new script name
Elias Fleckenstein [Wed, 31 Mar 2021 16:02:07 +0000 (18:02 +0200)]
Rename job in CD file to snapshot
Elias Fleckenstein [Wed, 31 Mar 2021 16:00:09 +0000 (18:00 +0200)]
Add CD script
Elias Fleckenstein [Wed, 31 Mar 2021 13:59:21 +0000 (15:59 +0200)]
Make server thread-safe
Elias Fleckenstein [Wed, 31 Mar 2021 10:42:57 +0000 (12:42 +0200)]
Protect map by rwlocks
Elias Fleckenstein [Wed, 31 Mar 2021 09:39:18 +0000 (11:39 +0200)]
map.h has to include stdio for FILE type
Elias Fleckenstein [Wed, 31 Mar 2021 09:37:28 +0000 (11:37 +0200)]
CI: pull submodules
Elias Fleckenstein [Wed, 31 Mar 2021 09:34:41 +0000 (11:34 +0200)]
Fix dependencies installation in CI file
Elias Fleckenstein [Wed, 31 Mar 2021 09:30:16 +0000 (11:30 +0200)]
Fix syntax error in CI file
Elias Fleckenstein [Wed, 31 Mar 2021 09:29:01 +0000 (11:29 +0200)]
Add controls to README.md
Elias Fleckenstein [Wed, 31 Mar 2021 09:27:26 +0000 (11:27 +0200)]
Add experimental CI
Elias Fleckenstein [Wed, 31 Mar 2021 09:21:41 +0000 (11:21 +0200)]
Big endian encoding for bulk block (de-)serialisation
Elias Fleckenstein [Mon, 29 Mar 2021 20:36:04 +0000 (22:36 +0200)]
Add MapBlock serialisation buffer
Elias Fleckenstein [Mon, 29 Mar 2021 19:09:10 +0000 (21:09 +0200)]
Bulk MapBlock (de-)serialisation
Elias Fleckenstein [Mon, 29 Mar 2021 17:18:07 +0000 (19:18 +0200)]
Redesign map handling
Elias Fleckenstein [Mon, 29 Mar 2021 14:15:07 +0000 (16:15 +0200)]
Proper mapgen
Elias Fleckenstein [Mon, 29 Mar 2021 13:49:08 +0000 (15:49 +0200)]
Append .zip to ZIP files generated by release script
Elias Fleckenstein [Mon, 29 Mar 2021 13:45:30 +0000 (15:45 +0200)]
Update release script to use tags if present
Elias Fleckenstein [Mon, 29 Mar 2021 13:37:31 +0000 (15:37 +0200)]
Implement position sending
Elias Fleckenstein [Mon, 29 Mar 2021 13:17:12 +0000 (15:17 +0200)]
Redesign MapBlock sending
Elias Fleckenstein [Mon, 29 Mar 2021 12:13:51 +0000 (14:13 +0200)]
Add perlin submodule
Elias Fleckenstein [Sun, 28 Mar 2021 11:52:38 +0000 (13:52 +0200)]
Send entire map to clients
Elias Fleckenstein [Sun, 28 Mar 2021 11:18:59 +0000 (13:18 +0200)]
Fix MapBlock mesh neighbor face culling
Elias Fleckenstein [Sun, 28 Mar 2021 11:11:39 +0000 (13:11 +0200)]
Fix glBufferData size