SRB2 Kart Public
Find a file
Alam Ed Arias 8f8fbf0ccf Merge branch 'spring-fixes' into 'next'
Spring fixes

Remember how a while back I fixed things like being stuck under a spring after jumping from below? Or how you could touch multiple springs at the same time and subsequently cause a loud racket? I accidentally broke something else in the process it turns out! (this sounds familiar...)

Namely, diagonal springs can't send you to their centers anymore, because of several changes I made to player-spring collision towards the other issues. This branch fixes that particular issue, while making sure none of the old bugs were broken again. Took a lot of testing to make sure of this.

As a bonus, the P_DoSpring function returns a boolean now, which can be used by Lua for whatever: true = you touched spring; false = you didn't

See merge request !20
2015-08-14 18:09:44 -04:00
android SRB2 2.1 release 2014-03-15 13:11:35 -04:00
assets Refactor CMake to allow source grouping and separation of interfaces. 2015-03-08 03:26:54 -05:00
bin SRB2 2.1 release 2014-03-15 13:11:35 -04:00
cmake/Modules Merge branch 'public_todo_next' into next 2015-04-01 12:32:34 -04:00
debian SRB2 2.1.2 release 2014-03-17 08:13:16 -04:00
doc SRB2 2.1.12 release 2014-11-11 19:55:07 -05:00
extras SRB2 2.1 release 2014-03-15 13:11:35 -04:00
libs come back to life 2014-07-23 18:29:36 -04:00
objs SRB2 2.1 release 2014-03-15 13:11:35 -04:00
src Fixed the issue where diagonal springs couldn't teleport you to their centers anymore (guess whose fault that was! =D ). Basically I just made P_DoSpring boolean, which probably could be useful to Lua peeps as well. (it returns true if you were sprung, false if not) 2015-07-28 19:28:51 +01:00
tools SRB2 2.1.10 release 2014-08-05 19:59:40 -04:00
.gitattributes SRB2 2.1 release 2014-03-15 13:11:35 -04:00
.gitignore SRB2 2.1 release 2014-03-15 13:11:35 -04:00
Android.mk SRB2 2.1 release 2014-03-15 13:11:35 -04:00
CMakeLists.txt Fix compilation and debugging on Windows. 2015-03-24 19:32:58 -05:00
comptime.bat SRB2 2.1 release 2014-03-15 13:11:35 -04:00
comptime.mk SRB2 2.1 release 2014-03-15 13:11:35 -04:00
comptime.sh use git describe to get the tag+version 2014-04-09 12:27:29 -04:00
cpdebug.mk Compile Win32 EXE with -gdwarf-2 2014-04-07 10:03:14 -04:00
Doxyfile SRB2 2.1 release 2014-03-15 13:11:35 -04:00
LICENSE SRB2 2.1 release 2014-03-15 13:11:35 -04:00
readme.txt SRB2 2.1.14 release 2015-01-01 14:50:31 -05:00
srb2-vc9.sln SRB2 2.1 release 2014-03-15 13:11:35 -04:00
srb2-vc10.sln SRB2 2.1 release 2014-03-15 13:11:35 -04:00
SRB2.cbp Prepared SRB2.cbp (Code::Blocks project) for SDL2 development on Windows as best I could. @_@; 2015-03-31 18:00:12 -04:00
Srb2.dev change SDL into HAVE_SDL 2014-07-25 19:10:24 -04:00

Here it is! SRB2 v2.1.14 source code!
(why do we keep the version number up to date
	when everything else in this file is hilariously old?
	- Inuyasha)


Win32 with Visual C (6SP6+Processor Pack OR 7)
~~~

2 VC++ 6.0 project files are included:

Win32/DirectX/FMOD
src\win32\wLegacy.dsw
You'll need FMOD to compile this version (www.fmod.org)
or
Win32/SDL/SDL_mixer
src\sdl\Win32SDL.dsp
You'll need SDL and SDL_mixer for this version (www.libsdl.org)

Both needs NASM (http://sourceforge.net/projects/nasm)
For PNG screenshot, libPNG, and Zlib (from http://gnuwin32.sourceforge.net/)

No warranty, support, etc. of any kind is offered,
just plain old as is.
Some bits of code are still really scary.
Go nuts!


Win32 with Dev-C++ (http://bloodshed.net/ free!)
~~~
2 Dev-C++ project files are included:

Win32/DirectX/FMOD
src\win32\SRB2.dev
or
Win32/SDL/SDL_mixer
src\sdl\Win32SDL.dev
You'll need SDL and SDL_mixer for this version (www.libsdl.org)
libPNG and Zlib (from http://gnuwin32.sourceforge.net/)
Note there are precompiled libpng.a and libz.a for Mingw

you will need NASM for both SDL/SDL_mixer and DirectX/FMOD
and you need DirectX 6 (or up) Dev-Paks to compile DirectX version

GNU/Linux
~~~

Dependencies:
  SDL 1.2.7 or better (from libsdl.org)
  SDL_Mixer 1.2.2(.7 for file-less music playback) (from libsdl.org)
  Nasm (use NOASM=1 if you don't have it or have an non-i386 system, I think)
  libPNG 1.2.7
  Zlib 1.2.3
  The Xiph.org libogg and libvorbis libraries
  The OpenGL headers (from Mesa, usually shipped with your X.org or XFree
    installation, so you needn't worry, most likely)
  GCC 3.x toolchain and binutils
  GNU Make

Build instructions:

make -C src LINUX=1

Build instructions (64 bit):

make -C src LINUX64=1

Build instructions to build for Wii Linux/SRB2Wii on a PowerPC system,
follow cross-compiling instructions for cross-compiling on a x86 system:

make -C src LINUX=1 WIILINUX=1

Build instructions to build for Pandora (Linux) on a ARM system,
follow cross-compiling instructions for cross-compiling on a x86 system:

make -C src PANDORA=1

Solaris
~~~

Dependencies:
  SDL 1.2.5 or better (from libsdl.org)
  SDL_Mixer 1.2.2(.7 for file-less music playback) (from libsdl.org)
  libPNG 1.2.7
  Zlib 1.2.3
  The Xiph.org libogg and libvorbis libraries
  The OpenGL headers (from Mesa, usually shipped with your X.org or XFree
    installation, so you needn't worry, most likely)
  GCC 3.x toolchain and binutils
  GNU Make

  You can get all these programs/libraries from the Companion CD (except SDL_mixer and OpenGL)

Build instructions:

gmake -C src SOLARIS=1

FreeBSD
~~~

Dependencies:
  SDL 1.2.7 or better (from libsdl.org)
  SDL_Mixer 1.2.2(.7 for file-less music playback) (from libsdl.org)
  Nasm (use NOASM=1 if you don't have it or have an non-i386 system, I think)
  libPNG 1.2.7
  Zlib 1.2.3
  The Xiph.org libogg and libvorbis libraries
  The OpenGL headers (from Mesa, usually shipped with your X.org or XFree
    installation, so you needn't worry, most likely)
  GCC 3.x toolchain and binutils
  GNU Make

Build instructions:

gmake -C src FREEBSD=1

DJGPP/DOS
~~~

Dependencies:
  Allegro 3.12 game programming library, (from
  http://alleg.sourceforge.net/index.html)
  Nasm (use NOASM=1 if you don't have it)
  libsocket (from http://homepages.nildram.co.uk/~phekda/richdawe/lsck/) or
  Watt-32 (from http://www.bgnett.no/~giva/)
  GCC 3.x toolchain and binutils
  GNU Make

Build instructions:

make -C src # to link with Watt-32, add WATTCP=1
      # for remote debugging over the COM port, add RDB=1

Notes:
 use tools\djgpp\all313.diff to update Allegro to a "more usable" version ;)
 Example: E:\djgpp\allegro>patch -p# < D:\SRB2Code\1.1\srb2\tools\djgpp\all313.diff

Windows CE
~~~

Dependencies:
  SDL 1.27

Build instructions:

use src\SDL\WinCE\SRB2CE.vcw

-------------------------------------------------------------------------------

binaries will turn in up in bin/

note: read the src/makefile for more options

- Sonic Team Junior
http://www.srb2.org