From ee2bc85fe7eecbf912fbdb56e46ad1181749026c Mon Sep 17 00:00:00 2001 From: Alug Date: Tue, 31 Oct 2023 11:02:12 +0100 Subject: [PATCH 1/3] v4 --- src/doomdef.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/doomdef.h b/src/doomdef.h index b7b3d44bc..f41a02782 100644 --- a/src/doomdef.h +++ b/src/doomdef.h @@ -127,8 +127,8 @@ extern char logfilename[1024]; #else #define VERSION 1 // Game version #define SUBVERSION 6 // more precise version number -#define VERSIONSTRING "Saturn v3 " -#define VERSIONSTRINGW L"Saturn v3" +#define VERSIONSTRING "Saturn v4 " +#define VERSIONSTRINGW L"Saturn v4" // Hey! If you change this, add 1 to the MODVERSION below! Otherwise we can't force updates! // And change CMakeLists.txt (not src/, but in root), for CMake users! // AND appveyor.yml, for the build bots! From 3ccf44a0be4de5b35cf5518286e4cd0716803d33 Mon Sep 17 00:00:00 2001 From: Alug Date: Thu, 2 Nov 2023 15:02:26 +0100 Subject: [PATCH 2/3] fixuer localskin stuff Fixes the Apply to all players and displaying player not working (thx haya c: ) Fixes the Vibrating? player animation speeding up when uncapped in localskinmenu Make so that the char spin speed respects the setting from saturn options (and add pain support ) --- src/m_menu.c | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/src/m_menu.c b/src/m_menu.c index d47c78796..b95bb4806 100644 --- a/src/m_menu.c +++ b/src/m_menu.c @@ -12182,10 +12182,10 @@ static void M_LocalSkinChange(INT32 choice) switch (itemOn) { case 3: - COM_BufAddText(va("localskin -a %s", cv_fakelocalskin.string)); + COM_BufAddText(va("localskin %s -a", cv_fakelocalskin.string)); break; case 4: - COM_BufAddText(va("localskin -d 0 %s", cv_fakelocalskin.string)); + COM_BufAddText(va("localskin %s -d 0", cv_fakelocalskin.string)); break; case 5: COM_BufAddText(va("localskin %s", cv_fakelocalskin.string)); @@ -12216,16 +12216,19 @@ static void M_DrawLocalSkinMenu(void) #define charw 72 // anim the player in the box - if (--multi_tics <= 0) + multi_tics -= renderdeltatics; + while (multi_tics <= 0) { - st = multi_state->nextstate; + st = cv_skinselectspin.value == SKINSELECTSPIN_PAIN ? S_KART_PAIN : multi_state->nextstate; if (st != S_NULL) multi_state = &states[st]; - multi_tics = multi_state->tics; - if (multi_tics == -1) - multi_tics = 15; - } + if (multi_state->tics <= -1) + multi_tics += 15*FRACUNIT; + else + multi_tics += multi_state->tics * FRACUNIT; + } + // skin 0 is default player sprite if (R_AnySkinAvailable(cv_fakelocalskin.string) != -1) { @@ -12256,7 +12259,7 @@ static void M_DrawLocalSkinMenu(void) //minenice's speen css, it's a piece of shit but hey //patch = W_CachePatchNum(sprframe->lumppat[1], PU_CACHE); - speenframe = (I_GetTime()*4/TICRATE + 1)%8; + speenframe = (I_GetTime()*cv_skinselectspin.value/TICRATE + 1)%8; //this is a very shitty solution for checking if a sprite needs flipping //but it works From bf2eecf9a4536c2dc4e956d26c90c4c1dd45c388 Mon Sep 17 00:00:00 2001 From: Alug <136046486+alufolie91@users.noreply.github.com> Date: Sat, 4 Nov 2023 20:39:19 +0100 Subject: [PATCH 3/3] Update README.md i most likely forgor smth but the most important thing was libbacktrace dependency for building the gam,e --- README.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/README.md b/README.md index 9bf915be8..c21b843de 100644 --- a/README.md +++ b/README.md @@ -7,9 +7,11 @@ - Sprites player rotation on slopes; going on hills, levitate, going down, and so on alters your sprites (configurable) - You can alter all the base kart HUD element offsets on the fly in the Saturn Options settings menu - `addfilelocal` Command, for those who want to use things like their custom hud in netgames (Same as addfile but completely client sided) +- Palette rendering, make the OpenGL renderer (almost) look like software mode! - OpenMPT for Tracker module playback instead of GME - Fixes looping and sounds better - Allows filter configuration +- Colourize your Kart HUD, to either your player color or whichever colour you like! (optional / requieres extra2.kart file) - The minimal brightness with Shaders can be configured, now you can seeeee in dark areas (0-255 , uses Sector brightness values) - Lua HUD hooks for Intermission (ex: You can make hostmod votes still visible during intermission!) - Lua HUD hooks for Vote Screen (ex: You can make hostmod votes still visible during map vote screen!) @@ -17,9 +19,12 @@ - Smaller Speedometer (optional / requieres extra.kart file) - Record Attack input display can now be used everywhere - Smaller minimap icons and also show player names on the minimap (toggable) +- Support for animated votescreens! - `showmusiccredit` command, shows you the current music track again - `listskins` show a list of all skins currently loaded - Visual Portals from Haya's HEP Client +- Horizonline effect in OpenGL (watch the endless bricks on SNES Bowsers Castle!) +- Localskins! use whatever skin you like! - Toggable lowercase menu's also from Haya's HEP client - Everything that Galaxy has @@ -39,6 +44,9 @@ - Toggable Lap animation - Main menu shows the current renderer being used - MSAA and A2C Antialiasing support (Configurable in renderer.txt file) +- A simple button to rejoin your last visited server +- Ability to show ALL maps in the mapselect screen, this includes hidden or hellmaps "showallmaps yes/no" +- Ability to toggle the Stagetitlecard "maptitles on/off" ## Performance / Debugging @@ -57,6 +65,11 @@ - The annoying depraction messages for `P_TeleportMove` and `P_AproxDistance` have been silenced - Silenced the annoying "cant find next map..." messages as theyre super useless and annoying anyways - Added a small cooldown on `map` command due to spamming causing a SIGSEGV +- Many bugfixes to the Software renderer, so its much less prone to crashing +- Many bugfixes to the OpenGL renderer (too many too list all of them here; check the changelogs for more information) +- Bugfixes to the soundsystem, mainly regarding Sound muting +- Refactored Zone Memory Allocations (helps a bit with large maps) +- Many many more crash fixes and other bugfixes to the basegame (too many too list all of them here; check the changelogs for more information) ## MISC - Bird's Camara Tilting feature is no longer turned on by default @@ -67,12 +80,16 @@ - A2C antialiasing makes transparent surfaces even more transparent - You tell us! c: +## Note +Check the LUASTUFF file for more information on all the lua things Saturn has. + ## Dependencies - SDL2 (Linux/OS X only) - SDL2-Mixer (Linux/OS X only) - libupnp (Linux/OS X only) - libgme (Linux/OS X only) - libopenmpt (Linux/OS X only) +- libbacktrace (Linux/OS X only) ## Compiling