No description
Find a file
James R 93ff380730 Clear g_dc each frame
I was running into a memcpy of overlapping memory regions
in R_RenderMaskedSegRange.

- This is because of the reallocation of lightlists, which
  uses Z_Frame_Alloc.
- The memory pool that Z_Frame_Alloc draws from is cleared
  each frame.
- g_dc was not cleared though, so when the lightlists were
  reallocated, it'd try to copy from invalidated pointers.
- Access to invalid pointers within the memory pool does
  not cause a segfault directly (because the memory pool
  is allocated once). However, a memcpy involving such an
  invalid pointer leads to overlap, which may cause memory
  corruption.
2024-02-05 19:04:23 -08:00
.circleci
android
assets Read staff ghosts from pk3 directory 2024-01-02 21:05:43 -06:00
cmake Switch from CPM to vcpkg 2023-12-15 02:49:15 +00:00
debian-template
deployer
doc
extras
libs Delete some libgme files that was missed 2024-01-31 21:33:25 -05:00
src Clear g_dc each frame 2024-02-05 19:04:23 -08:00
thirdparty Remove GME VGM music emulation 2024-01-29 15:54:20 -06:00
tools
.clang-format
.editorconfig
.gitattributes
.gitignore
.travis.yml
alias-bootstrap.sh
Android.mk
appveyor.yml
CMakeLists.txt Remove GME VGM music emulation 2024-01-29 15:54:20 -06:00
CMakePresets.json CMakePresets.json: define CMAKE_COLOR_DIAGNOSTICS for Ninja presets 2023-12-21 21:53:00 -08:00
comptime.bat
comptime.mk
comptime.props
comptime.sh
cpdebug.mk
debian_template.sh
Doxyfile
LICENSE
LICENSE-3RD-PARTY.txt LICENSE-3RD-PARTY.txt: Delete libgme 2024-01-30 02:10:19 -05:00
README.md
srb2-vc9.sln
srb2-vc10.sln
SRB2.cbp
Srb2.dev
srb2.png
SRB2_common.props
SRB2_Debug.props
SRB2_Release.props
srb2banner.png
vcpkg-configuration.json Switch from CPM to vcpkg 2023-12-15 02:49:15 +00:00
vcpkg.json Remove GME VGM music emulation 2024-01-29 15:54:20 -06: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.