update CHANGELOG.md to 0.23

This commit is contained in:
MihailRis 2024-10-17 10:37:27 +03:00
parent 4844997c6a
commit 053190e4fe

View File

@ -1,136 +1,85 @@
# 0.22 - 2024.08.01 # 0.23 - 2024.10.19
[Documentation](https://github.com/MihailRis/VoxelEngine-Cpp/tree/release-0.22/doc/en/main-page.md) for 0.22 [Documentation](https://github.com/MihailRis/VoxelEngine-Cpp/tree/release-0.23/doc/en/main-page.md) for 0.23
Table of contents: Table of contents:
- [Added](#added) - [Added](#added)
- [Libraries](#libraries)
- [Functions](#functions) - [Functions](#functions)
- [Changes](#changes) - [Changes](#changes)
- [Fixes](#fixes) - [Fixes](#fixes)
## Added ## Added
- entities, components - world generation engine instead of hardcoded generator
- base:drop - dropped item - world generators
- base:falling_block - falling block - core:default
- base:player - player - base:demo
- extended blocks - block fields (metadata)
- resources (resources.json) - resource aliases (resource-aliases.json)
- cameras - cameras
- libraries - libraries
- cameras - cameras - generation
- entities - entities - bjson
- vec2, vec3, vec4 - vectors - commands:
- mat4 - 4x4 matrices - fragment.save
- quat - quaternions - fragment.crop
- skeletons (see doc/\*/rigging.md) - blocks:
- models (only .obj is supported) - core:obstacle
- block: base:door - core:struct_air
- use of textures from atlases (atlas_name:texture_name) in image, entity models - base:coal_ore
- lists added to preload.json: atlas, model - settings:
- shadeless and ambient-occlusion properties for blocks - graphics.chunk-max-vertices
- setting: camera inertia - graphics.chunk-max-renderers
- event on_hud_render - block properties:
- content pack menu - surface-replacement
- "Display" section in settings - fields
- framerate setting - 'parent' property for blocks, items and entities
- new documentation sections: - filesystem entry points:
- rigging - config
- resources - export
- entity-properties - lua usertypes:
- scripting/ - Heightmap
- ecs - VoxelFragment
- events - raycast filter
- libcameras - (project) add unit tests framework (gtest)
- libentities - (project) change project title to VoxelCore
- libmat4
- libquat
- libvecn
- new sounds
- *change-on-release* and *sub-supplier* trackbar properties
- window icon
### Functions ### Functions
- debug.log - debug.print
- debug.warning - pack.shared_file
- debug.error - block.get_field
- input.is_pressed - block.set_field
- input.is_active - item.caption
- hud.is_paused - file.read_combined_list
- hud.is_inventory_open - cameras.get(int)
- player.get_spawnpoint - bjson.tobytes
- player.set_spawnpoint - bjson.frombytes
- player.get_selected_block - generation.create_fragment
- player.get_selected_entity - generation.load_fragment
- player.get_entity - generation.save_fragment
- player.get_camera - generation.get_default_generator
- player.set_camera - generation.get_generators
- block.place - uinode:getContentOffset
- block.destruct
- block.get_picking_item
- block.raycast
- block.get_rotation_profile
- block.get_textures
- block.get_model
- block.get_hitbox
- block.is_extended
- block.get_size
- block.is_segment
- block.seek_origin
- block.compose_sate
- block.decompose_state
- math.clamp
- math.rand
- table.copy
- table.count_pairs
- table.random
- string.pattern_safe
- string.explode
- string.split
- string.formatted_time
- string.replace
- string.trim
- string.trim_right
- string.trim_left
- string.starts_with
- string.ends_with
### Commands
- clear
- player.respawn
- entity.despawn
- time.uptime
## Changes ## Changes
- content folder is now created automatically - upgrade world regions format
- content error messages are now more detailed - upgrade toml parser to 1.0.0 support
- lua error messages now contain a call stack traceback - json.tostring now accepts any supported value
- updated documentation structure - json.parse now accepts any supported value as root element
- legacy functions (load_script, dofile) now generate warnings in the console with the call stack displayed
- some sounds of footsteps, destruction/installation of blocks
- removed v-sync checkbox (replaced with framerate setting)
- added 'normal' argument to on_use_on_block
- increased debug-panel width
## Fixes ## Fixes
- the randomness factor of the generation seed when creating a world - [fix: extended block always main segment passed to on_iteract](https://github.com/MihailRis/VoxelEngine-Cpp/commit/fbca439b2da5a236a122c29488dc8809044ae919)
- behavior of blocks with a pipe rotation profile in combination with the grounded property - [fix: backlight setting not applying on change](https://github.com/MihailRis/VoxelEngine-Cpp/commit/d59fac61bb5ae5949b49f10ac71c22b595dcdff7 "fix: backlight setting not applying on change")
- behavior of the u_timer uniform variable when paused - [fix: backlight not applied to entities](https://github.com/MihailRis/VoxelEngine-Cpp/commit/45a1e1df82967141dfb6d4b9b298deb4dfbf44c0 "fix: backlight not applied to entities")
- torch material - [fix: extended block always main segment passed to on_iteract](https://github.com/MihailRis/VoxelEngine-Cpp/commit/fbca439b2da5a236a122c29488dc8809044ae919 "fix: extended block always main segment passed to on_iteract")
- Lua stack leaks - [fix block.get_hitbox with non rotatable blocks](https://github.com/MihailRis/VoxelEngine-Cpp/commit/b9074ebe4788d0016a9fd7563b59816b6300c06d "fix block.get_hitbox with non rotatable blocks")
- behavior of Lua functions in coroutines - [fix: entity shading is incorrect when it is upper than max height](https://github.com/MihailRis/VoxelEngine-Cpp/commit/45a793d6475b4d5b7c59e9c18492aa45767e2236 "fix: entity shading is incorrect when it is upper than max height")
- support for wav sounds - [fix: toggle fullscreen GLFW invalid enum error](https://github.com/MihailRis/VoxelEngine-Cpp/commit/85bea6f17dc7815569a28e70423b704c476ed410 "fix: toggle fullscreen GLFW invalid enum error")
- [issue #239](https://github.com/MihailRis/VoxelEngine-Cpp/issues/239) - [fix: flight can stop on noclip enabled](https://github.com/MihailRis/VoxelEngine-Cpp/commit/f63ab345eaaf7885cfd0298a99cea58a423741fb "fix: flight can stop on noclip enabled")
- errors when rebooting the world - [fix: block model "x" preview](https://github.com/MihailRis/VoxelEngine-Cpp/pull/300)
- incorrect lighting of AABB blocks - [Batch3D::point() buffer overflow](https://github.com/MihailRis/VoxelEngine-Cpp/pull/302)
- camera height limitation - fix fatal animator error
- incorrect timing of the mouseRelease event
- 'gravity' does not work on hud overlays
- overlay 'on_close' not called on window close
- delta time plotter is interactive