chore(release): v0.20.0 — notificacions en case frase i renom de presets

This commit is contained in:
JailDesigner committed 2026-04-22 22:05:18 +02:00
1 parent 4dd2b6d2a9
commit 5312abc761
6 files changed
+42 -42

No files matched your search

+2 -2
View File
@@ -78,7 +78,7 @@ namespace GlobalInputs {
const std::string NEW_NAME = (Options::video().shader.current_shader == "crtpi") ? "postfx" : "crtpi";
Options::setActiveShaderName(NEW_NAME);
OptionsApply::reapplyShader();
Notification::notify(Locale::get().text("input.shader") + ": " + NEW_NAME);
Notification::notify(Locale::get().text("input.shader") + ' ' + NEW_NAME);
}
// Busca l'entrada actual al vector de presets i passa a la següent
@@ -106,7 +106,7 @@ namespace GlobalInputs {
Options::setPostFXPreset(new_preset);
}
OptionsApply::reapplyShader();
Notification::notify(Locale::get().text("input.preset") + ": " + new_preset);
Notification::notify(Locale::get().text("input.preset") + ' ' + new_preset);
}
void onNextScalingMode() {
+8 -8
View File
@@ -190,7 +190,7 @@ namespace {
.curvature = 0.0F,
.bleeding = 0.6F,
.flicker = 0.0F},
{.name = "CURVED",
{.name = "Curved",
.vignette = 0.5F,
.scanlines = 0.6F,
.chroma = 0.1F,
@@ -199,7 +199,7 @@ namespace {
.curvature = 0.8F,
.bleeding = 0.0F,
.flicker = 0.0F},
{.name = "SCANLINES",
{.name = "Scanlines",
.vignette = 0.0F,
.scanlines = 0.8F,
.chroma = 0.0F,
@@ -208,7 +208,7 @@ namespace {
.curvature = 0.0F,
.bleeding = 0.0F,
.flicker = 0.0F},
{.name = "SUBTLE",
{.name = "Subtle",
.vignette = 0.3F,
.scanlines = 0.4F,
.chroma = 0.05F,
@@ -217,7 +217,7 @@ namespace {
.curvature = 0.0F,
.bleeding = 0.0F,
.flicker = 0.0F},
{.name = "CRT LIVE",
{.name = "CRT Live",
.vignette = 0.5F,
.scanlines = 0.6F,
.chroma = 0.3F,
@@ -262,7 +262,7 @@ namespace {
// Presets per defecte del shader CRT-Pi, portats de projecte_2026.
auto defaultCrtPiPresets() -> std::vector<Options::CrtPiPreset> {
return {
{.name = "DEFAULT",
{.name = "Default",
.scanline_weight = 6.0F,
.scanline_gap_brightness = 0.12F,
.bloom_factor = 3.5F,
@@ -277,7 +277,7 @@ namespace {
.enable_gamma = true,
.enable_curvature = false,
.enable_sharper = false},
{.name = "CURVED",
{.name = "Curved",
.scanline_weight = 6.0F,
.scanline_gap_brightness = 0.12F,
.bloom_factor = 3.5F,
@@ -292,7 +292,7 @@ namespace {
.enable_gamma = true,
.enable_curvature = true,
.enable_sharper = false},
{.name = "SHARP",
{.name = "Sharp",
.scanline_weight = 6.0F,
.scanline_gap_brightness = 0.12F,
.bloom_factor = 3.5F,
@@ -307,7 +307,7 @@ namespace {
.enable_gamma = true,
.enable_curvature = false,
.enable_sharper = true},
{.name = "MINIMAL",
{.name = "Minimal",
.scanline_weight = 8.0F,
.scanline_gap_brightness = 0.05F,
.bloom_factor = 2.0F,
+1 -1
View File
@@ -51,7 +51,7 @@ namespace Defaults {
constexpr bool SHADER_ENABLED = true; // Aplica PostFX; si false, sempre passthrough.
constexpr const char* CURRENT_SHADER = "postfx"; // Shader actiu: "postfx" o "crtpi".
constexpr const char* POSTFX_DEFAULT_PRESET = "CRT"; // Preset inicial PostFX.
constexpr const char* CRTPI_DEFAULT_PRESET = "DEFAULT"; // Preset inicial CrtPi.
constexpr const char* CRTPI_DEFAULT_PRESET = "Default"; // Preset inicial CrtPi.
constexpr const char* POSTFX_FILE = "shaders/postfx.yaml"; // Relatiu a la carpeta de sistema.
constexpr const char* CRTPI_FILE = "shaders/crtpi.yaml"; // Relatiu a la carpeta de sistema.
constexpr RenderInfoPosition RENDER_INFO_POSITION = RenderInfoPosition::OFF; // Overlay de debug amagat per defecte.
+1 -1
View File
@@ -3,7 +3,7 @@
namespace Texts {
constexpr const char* WINDOW_TITLE = "© 2026 Aventures en Egipte — JailDesigner";
constexpr const char* COPYRIGHT = "© 2026 JailDesigner";
constexpr const char* VERSION = "0.19.0"; // Single source of truth — Makefile el grep
constexpr const char* VERSION = "0.20.0"; // Single source of truth — Makefile el grep
} // namespace Texts
namespace GameCanvas {