No description
Find a file
Monster Iestyn 59109b6ef4 Write a new hack for getting sector->linecount from sector->lines in Lua, to put my mind at rest about it at last.
1) In sector_get, actually push the memory address of the lines array within sector_t, rather than push the value of "lines" itself (essentially, we we want a pointer to a double pointer, or rather a TRIPLE pointer haha)
2) In the sectorlines_* functions, use offsetof to shift the memory address so we can obtain the value of linecount within the sector_t struct, and dereference the result to obtain the value of linecount itself
3) ??? profit

Untested and uncompiled atm, but I have some confidence this might work
2019-09-25 20:27:41 +01:00
.circleci
android
assets
bin
cmake/Modules
debian-template
deployer
doc
extras
libs Read user chunks 2019-09-11 20:18:04 -03:00
objs
src Write a new hack for getting sector->linecount from sector->lines in Lua, to put my mind at rest about it at last. 2019-09-25 20:27:41 +01:00
tools
.gitattributes avoid the source code from getting the wrong EOL 2019-09-20 12:32:18 -04:00
.gitignore
.travis.yml
Android.mk
appveyor.yml Update version to 2.1.25 2019-08-16 20:14:01 +01:00
CMakeLists.txt Update version to 2.1.25 2019-08-16 20:14:01 +01:00
comptime.bat
comptime.mk
comptime.props
comptime.sh
cpdebug.mk
debian_template.sh
Doxyfile
LICENSE
README.md
srb2-vc9.sln
srb2-vc10.sln
SRB2.cbp
Srb2.dev
srb2.png More icon stuff 2019-07-27 01:13:54 -04:00
SRB2_common.props
SRB2_Debug.props
SRB2_Release.props
srb2banner.png

Sonic Robo Blast 2

Build status Build status CircleCI

Sonic Robo Blast 2 is a 3D Sonic the Hedgehog fangame 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

Disclaimer

Sonic Team Junior 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.