diff --git a/README.md b/README.md index 5c4935d9b..07fc8d83f 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,33 @@ -# SRB2Kart +# BlanKart -[SRB2Kart](https://srb2.org/mods/) is a kart racing mod based on the 3D Sonic the Hedgehog fangame [Sonic Robo Blast 2](https://srb2.org/), based on a modified version of [Doom Legacy](http://doomlegacy.sourceforge.net/). +BlanKart is a modification of SRB2Kart v2 Indev to make it closer to SRB2Kart gameplay while adding new features, and techincal improvements. + +# Notice + +This is still in active development and things are going to change. If you find any bugs besure to report to the [issue tracker](https://codeberg.org/NepDisk/blankart/issues)! + +## Techincal Features +- Full Support for UDMF, Terrain, Bots, ACS, New Waypoints and many other technical features backported from Ring Racers. Also includes some extensions to these features such as bot drifting, new terrain effects and map header toggles. +- Ring Racers' software renderer and its multithreading. +- Backwards compatiblity with most SRB2Kart maps, assets* and scripts\*. +- A map patching system to allow custom map things to be patched onto maps. Useful for adding rings, waypoints and other objects to existing maps. +- Support for many SRB2Kart v1 custom client extensions from Saturn and other clients such as vote themes. +- A hardcoded Lua library for adding custom boosts and boost chains to the game. + +*Art assets are remapped from the SRB2Kart v1 palette to the SRB2 2.2 palette automatically based on addon file name. This also affects scripts as well making them run as they would in SRB2Kart v1. Having the K prefix or the .kart extension triggers this. You can also do addfile -c to enable it or addfile -n to disable it. + +## Optional Features +- Colorized player hud +- Minimap Angle display +- Many features ported from Saturn + +## Optional Gameplay Features +- Rings (Based on how they were in v2 Indev) +- New items (Such as the Flame Shield and the Bubble Shield) +- 4 tier drifts (Blue, Red, Purple, Rainbow) +- Boost Stacking +- Boost Chaining +- Slipdashing ## Dependencies - SDL2 (Linux/OS X only) @@ -33,5 +60,13 @@ cmake -G "MSYS Makefiles" ..ƒƒ make -j$(nproc) ``` -## Disclaimer -Kart Krew is in no way affiliated with SEGA or Sonic Team. We do not claim ownership of any of SEGA's intellectual property used in SRB2. +## How to install +- Obtain an executable +- Grab the assets from the [blankart-assets repo](https://codeberg.org/NepDisk/blankart-assets) +- Compile the pk3 by running buildmainpk3.bat on windows or buildmainpk3.sh on *nix. +- Copy the generated pk3 into the folder `out/` and your compiled executable into a folder with the [SRB2Kart 1.6 assets](https://github.com/STJr/Kart-Public/releases/download/v1.6/AssetsLinuxOnly.zip) (such as an existing install). + +# Disclaimer +BlanKart is in no way affiliated with Kart Krew Dev or Sonic Team Jr. This is just a project meant for fun. If you have any issues report to us not them. + +We also do not claim ownership of any of SEGA's intellectual property used in BlanKart. diff --git a/src/k_hud.c b/src/k_hud.c index f56c96467..3f179e861 100644 --- a/src/k_hud.c +++ b/src/k_hud.c @@ -88,6 +88,7 @@ consvar_t cv_showinput = CVAR_INIT ("showinput", "Off", CV_SAVE, inputdisplay_co consvar_t cv_colorizedhud = CVAR_INIT ("colorizedhud", "On", CV_SAVE, CV_OnOff, NULL); consvar_t cv_colorizeditembox = CVAR_INIT ("colorizeditembox", "On", CV_SAVE, CV_OnOff, NULL); consvar_t cv_darkitembox = CVAR_INIT ("darkitembox", "On", CV_SAVE, CV_OnOff, NULL); +consvar_t cv_showfinishedplayers = CVAR_INIT ("showfinishedplayers", "On", CV_SAVE, CV_OnOff, NULL); static CV_PossibleValue_t HudColor_cons_t[MAXSKINCOLORS+1]; consvar_t cv_colorizedhudcolor = CVAR_INIT ("colorizedhudcolor", "Skin Color", CV_SAVE, HudColor_cons_t, NULL); @@ -238,6 +239,8 @@ void K_RegisterKartHUDStuff(void) CV_RegisterVar(&cv_colorizedhud); CV_RegisterVar(&cv_colorizedhudcolor); CV_RegisterVar(&cv_colorizeditembox); + CV_RegisterVar(&cv_darkitembox); + CV_RegisterVar(&cv_showfinishedplayers); } void K_LoadKartHUDGraphics(void) @@ -3551,7 +3554,7 @@ static void K_drawKartMinimap(void) g = g->next; } - if (!stplyr->mo || stplyr->spectator || stplyr->exiting) + if (!stplyr->mo || stplyr->spectator || (!cv_showfinishedplayers.value && stplyr->exiting)) return; localplayers[numlocalplayers++] = stplyr-players; @@ -3563,7 +3566,7 @@ static void K_drawKartMinimap(void) if (!playeringame[i]) continue; - if (!players[i].mo || players[i].spectator || !players[i].mo->skin || players[i].exiting) + if (!players[i].mo || players[i].spectator || !players[i].mo->skin || (!cv_showfinishedplayers.value && stplyr->exiting)) continue; if (i == displayplayers[0] || i == displayplayers[1] || i == displayplayers[2] || i == displayplayers[3])