From 6c6269794062f346a80aa15f36be4d46ae1d912e Mon Sep 17 00:00:00 2001 From: Patrik Kraif Date: Wed, 3 Jul 2024 21:39:55 +0200 Subject: [PATCH] Clear dev changelog --- ChangelogDev.md | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/ChangelogDev.md b/ChangelogDev.md index 36d4cf53c..15430d386 100644 --- a/ChangelogDev.md +++ b/ChangelogDev.md @@ -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.