Skip to content

Commit

Permalink
Clear dev changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
kraifpatrik committed Jul 3, 2024
1 parent 99dea34 commit 6c62697
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions ChangelogDev.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,2 @@
# Changelog dev
> This file is used to accumulate changes before a changelog for a release is created.
* Shaders `BBMOD_SHADER_DEFAULT_DEPTH` and `BBMOD_SHADER_GBUFFER` are now compatible with vertex format `BBMOD_VFORMAT_DEFAULT_SPRITE`.
* Added new macro `BBMOD_U_SUBSURFACE_UV`, which is the name of a fragment shader uniform of type `vec4` that holds top left and bottom right coordinates of the subsurface texture on its texture page.
* Added new function `bbmod_shader_set_subsurface_uv`, which sets the `BBMOD_U_SUBSURFACE_UV` uniform to given values.
* Added new macro `BBMOD_U_EMISSIVE_UV`, which is the name of a fragment shader uniform of type `vec4` that holds top left and bottom right coordinates of the emissive texture on its texture page.
* Added new function `bbmod_shader_set_emissive_uv`, which sets the `BBMOD_U_EMISSIVE_UV` uniform to given values.
* Added new macro `BBMOD_U_TWO_SIDED`, which is the name of a fragment shader uniform of type `float` that equals 1 when the material is two-sided or 0 when it is not. If a material is two-sided, normal vectors of backfaces are flipped before shading.
* Added new function `bbmod_shader_set_two_sided`, which sets the `BBMOD_U_TWO_SIDED` uniform.
* Added new property `TwoSided` to `BBMOD_BaseMaterial`, which tells whether the material is two-sided. If the material is two-sided, normal vectors of backfaces are flipped before shading. Default value is `true`.
* Fixed property `RenderScale` of renderers affecting the size of the final surface on screen.
* Methods `DrawSprite`, `DrawSpriteExt`, `DrawSpriteGeneral`, `DrawSpritePart`, `DrawSpritePartExt`, `DrawSpritePos`, `DrawSpriteStretched`, `DrawSpriteStretchedExt`, `DrawSpriteTiled`, `DrawSpriteTiledExt` of `BBMOD_RenderQueue` now set uniform `BBMOD_U_BASE_OPACITY_UV` automatically and you do not need to assign the `BaseOpacity` property of used material to the sprite drawn.
* Method `set_material` of `BBMOD_DefaultShader` now automatically sets uniforms `BBMOD_U_BASE_OPACITY_UV`, `BBMOD_U_NORMAL_W_UV`, `BBMOD_U_MATERIAL_UV`, `BBMOD_U_SUBSURFACE_UV` and `BBMOD_U_EMISSIVE_UV`.
* Struct `BBMOD_DefaultSpriteShader` is now **deprecated**! Please use `BBMOD_DefaultShader` instead.
* Macro `BBMOD_SHADER_DEFAULT_SPRITE` is now **deprecated**! Please use `BBMOD_SHADER_DEFAULT` instead.
* Macro `BBMOD_MATERIAL_DEFAULT_SPRITE` is now **deprecated**! Please use `BBMOD_MATERIAL_DEFAULT` instead.
* Added new member `SetGpuDepth` to enum `BBMOD_ERenderCommand`, which is a render command that changes the z coordinate at which sprites and text are drawn.
* Added new method `SetGpuDepth` to `BBMOD_RenderQueue`, which adds a `SetGpuDepth` command to the render queue.
* Added new member `CallFunction` to enum `BBMOD_ERenderCommand`, which is a render command that executes a custom function with given arguments.
* Added new method `CallFunction` to `BBMOD_RenderQueue`, which adds a `CallFunction` command to the render queue.
* Added more ready-to-use models of basic shapes.
* Fixed method `clear` of `BBMOD_ResourceManager` not always removing destroyed resources, which could cause crashes for example when restarting rooms.
* Fixed strength of lens flares exceeding 1 when property `Range` is not `infinity`.
* Fixed macro `BBMOD_RELEASE_PATCH`, which we forgot to increase the last release.
* Fixed macro `BBMOD_RELEASE_STRING`, which used invalid syntax.

0 comments on commit 6c62697

Please sign in to comment.