From f3232ef32462b738929f77ba1d4521e0a4272561 Mon Sep 17 00:00:00 2001 From: DepressedTWM Date: Fri, 14 Aug 2026 21:54:00 +0400 Subject: [PATCH] a --- PEOPLES.md | 1 + changelogs/0.1.2.txt | 4 +++- src/meow.cpp | 2 +- src/shader.cpp | 6 +++--- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/PEOPLES.md b/PEOPLES.md index 0d6dd20..84e93c3 100644 --- a/PEOPLES.md +++ b/PEOPLES.md @@ -22,6 +22,7 @@ # Donators: | Donator | | ----------- | +| The name sold | | Kodu | ## Special thanks to diff --git a/changelogs/0.1.2.txt b/changelogs/0.1.2.txt index 849bbd3..42a4028 100644 --- a/changelogs/0.1.2.txt +++ b/changelogs/0.1.2.txt @@ -57,4 +57,6 @@ Added In-Memory Log buffer Added setting "Use Old Self Contained Universe(Reprise) version" Rewrited audio system from SDL3_sound and OpenAL to SDL_mixer Added Master Volume setting -Added viewports scaling \ No newline at end of file +Added viewports scaling +Build script for Windows MinGW + diff --git a/src/meow.cpp b/src/meow.cpp index ae27013..c0a4915 100644 --- a/src/meow.cpp +++ b/src/meow.cpp @@ -185,9 +185,9 @@ void crash_screen(SDL_Window* win){ const static int sdlcompiled = SDL_VERSION; const static int sdllinked = SDL_GetVersion(); o << "SDL(compiled) version: " << SDL_VERSIONNUM_MAJOR(sdlcompiled) << "." << SDL_VERSIONNUM_MINOR(sdlcompiled) << "." << SDL_VERSIONNUM_MICRO(sdlcompiled) << endl; - o << "SDL(linked) version: " << SDL_VERSIONNUM_MAJOR(sdllinked) << "." << SDL_VERSIONNUM_MINOR(sdllinked) << "." << SDL_VERSIONNUM_MICRO(sdllinked) << endl; o << "SDL_image(compiled) version: " << SDL_IMAGE_MAJOR_VERSION << "." << SDL_IMAGE_MINOR_VERSION << "." << SDL_IMAGE_MICRO_VERSION << endl; o << "SDL_TTF(compiled) version: " << SDL_TTF_MAJOR_VERSION << "." << SDL_TTF_MINOR_VERSION << "." << SDL_TTF_MICRO_VERSION << endl; + 0 << "SDL_mixer version: " << MIX_Version() << endl; o << "Ruby version: " << RUBY_API_VERSION_CODE << endl; o << "ZLib version: " << ZLIB_VERSION << endl; o << "Boost versino: " << BOOST_VERSION / 100000 << "." << BOOST_VERSION / 100 % 1000 << "." << BOOST_VERSION % 100 << endl; diff --git a/src/shader.cpp b/src/shader.cpp index ac1a110..d0e9218 100644 --- a/src/shader.cpp +++ b/src/shader.cpp @@ -153,7 +153,7 @@ void Shader::init(const unsigned char *vert, int vertSize, const unsigned char * if (!success){ printShaderLog(vertShader); - crash(Exception::ShaderError, "GLSL: An error occured while compiling vertex shader '%s' in program '%s'", vertName, programName); + ErrorMsg(Exception::ShaderError, "GLSL: An error occured while compiling vertex shader '%s' in program '%s'", vertName, programName); } /* Compile fragment shader */ @@ -164,7 +164,7 @@ void Shader::init(const unsigned char *vert, int vertSize, const unsigned char * if (!success){ printShaderLog(fragShader); - crash(Exception::ShaderError, "GLSL: An error occured while compiling fragment shader '%s' in program '%s'", fragName, programName); + ErrorMsg(Exception::ShaderError, "GLSL: An error occured while compiling fragment shader '%s' in program '%s'", fragName, programName); } /* Link shader program */ @@ -181,7 +181,7 @@ void Shader::init(const unsigned char *vert, int vertSize, const unsigned char * if (!success){ printProgramLog(program); - crash(Exception::ShaderError, "GLSL: An error occured while linking program '%s' (vertex '%s', fragment '%s')", programName, vertName, fragName); + ErrorMsg(Exception::ShaderError, "GLSL: An error occured while linking program '%s' (vertex '%s', fragment '%s')", programName, vertName, fragName); } }