No description
Find a file
James R bced5ecbc5 Render precip through blockmap instead of during BSP
There can be very many precipmobjs in a sector. During BSP
rendering, for each sector reached by BSP (the entire
visible level at least), all the precipmobjs would be
iterated and their distance from the camera calculated, to
determine whether they are within draw distance.

The issue with the old approach is that there really are
too many precipmobjs in each sector. By iterating the
blockmap within a certain range instead, precipmobjs
out of view are not iterated at all, saving some time.

Caveat: drawdist_precip is no longer respected as an
exact value, since it must round to the precision of the
blockmap.

List of potentially scary changes:

- Removes snext/sprev for precipmobj_t
- Removes preciplist for sector_t

- Adds bnext/bprev for precipmobj_t
  - mobj_t and precipmobj_t field offsets are symmetrical

- Modified P_SetPrecipitationThingPosition and P_SetThingPosition
  - The syntax in these functions is kind of wacky
2023-04-06 05:41:06 -07:00
.circleci Let stop building a NONET build of Kart 2022-09-24 15:56:42 +00:00
android SRB2 2.1 release 2014-03-15 13:11:35 -04:00
assets cmake: Remove asset hashing, CMAKE_ASSETS_DIR 2022-11-27 02:44:10 -08:00
cmake cmake/Comptime.cmake: exclude remote refs HEAD from current branch search 2023-03-22 15:23:44 -07:00
debian-template Fix Debian (.deb) build from making (Project_root)/bin/Linux 2022-03-18 19:36:45 +00:00
deployer Fix deployer defaults 2020-08-15 11:29:53 -04:00
doc SRB2 2.1.12 release 2014-11-11 19:55:07 -05:00
extras Delete map configs 2023-01-01 18:11:22 -05:00
libs Remove unnecessary ACSVM files from libs 2022-12-27 08:32:13 -05:00
src Render precip through blockmap instead of during BSP 2023-04-06 05:41:06 -07:00
thirdparty cmake: always build libgme, even if SRB2_CONFIG_SYSTEM_LIBRARIES 2023-03-30 23:44:53 -07:00
tools Remove FMOD files 2022-07-23 12:57:46 -05:00
.clang-format clang-format: really avoid return type alone on line 2023-02-10 07:17:38 -08:00
.editorconfig Add srb2::io streams abstraction 2022-12-30 21:15:44 -06:00
.gitattributes avoid the source code from getting the wrong EOL 2019-09-20 12:32:18 -04:00
.gitignore .gitignore: add CMakeUserPresets.json 2022-12-17 21:23:07 -08:00
.travis.yml Merge branch 'master' into the-scary-22-merge 2020-08-12 20:59:09 -04:00
alias-bootstrap.sh alias-bootstrap.sh: use i686-w64-mingw32-cmake-static 2023-02-21 21:56:55 -08:00
Android.mk SRB2 2.1 release 2014-03-15 13:11:35 -04:00
appveyor.yml Backport 2021 SRB2 makefile overhaul 2021-11-25 03:56:23 -08:00
CMakeLists.txt cmake: always build libgme, even if SRB2_CONFIG_SYSTEM_LIBRARIES 2023-03-30 23:44:53 -07:00
CMakePresets.json CMakePresets.json: add testers and host-testers presets 2023-02-16 16:13:47 -08:00
comptime.bat comptime.bat: Put @echo off back in 2016-03-14 20:36:37 -05:00
comptime.mk SRB2 2.1 release 2014-03-15 13:11:35 -04:00
comptime.props MSVC: fixed up MSVC project 2016-05-21 23:53:04 -04:00
comptime.sh build: this script needs bash, not ash 2016-05-18 18:16:57 -04:00
cpdebug.mk Compile Win32 EXE with -gdwarf-2 2014-04-07 10:03:14 -04:00
debian_template.sh Implement deployer scripts for Travis -- OSX and Linux package building [Kart merge] 2018-12-30 15:41:58 -05:00
Doxyfile Remove some more DOS related stuff 2020-07-25 19:15:54 -04:00
LICENSE SRB2 2.1 release 2014-03-15 13:11:35 -04:00
LICENSE-3RD-PARTY.txt Update more third-party licenses 2023-03-29 23:59:31 -07:00
README.md The start of the scary 2.2 merge 2020-05-29 13:43:38 -04:00
srb2-vc9.sln SRB2 2.1 release 2014-03-15 13:11:35 -04:00
srb2-vc10.sln Added ARM/ARM64 to whole vc10 sln 2018-12-21 16:47:10 -05:00
SRB2.cbp Add k_kart files to CB project 2019-01-04 23:09:25 -06:00
Srb2.dev change SDL into HAVE_SDL 2014-07-25 19:10:24 -04:00
srb2.png Icons + other tweaks to rebranding 2022-05-20 19:42:34 -04:00
SRB2_common.props More work to cleanup the ARM builds 2018-12-22 19:50:32 -05:00
SRB2_Debug.props More work to cleanup the ARM builds 2018-12-22 19:50:32 -05:00
SRB2_Release.props More work to cleanup the ARM builds 2018-12-22 19:50:32 -05:00
srb2banner.png Icons + other tweaks to rebranding 2022-05-20 19:42:34 -04:00

SRB2Kart

SRB2Kart is a kart racing mod based on the 3D Sonic the Hedgehog fangame Sonic Robo Blast 2, based on a modified version of Doom Legacy.

Dependencies

  • NASM (x86 builds only)
  • 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)

Compiling

See SRB2 Wiki/Source code compiling. The compiling process for SRB2Kart is largely identical to SRB2.

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.