freebsd-ports/games/garden-of-coloured-lights/files/patch-src_stuff.c
Dmitry Marakasov 8678610565 Garden of coloured lights is an old school 2D vertical shoot-em-up
with some innovative elements. Innovative graphics, soundtrack and
game concept. The game itself is very challenging and as you progress,
you will understand that you are dealing with a true piece of art...

WWW: http://garden.sourceforge.net/
2016-09-19 11:24:49 +00:00

26 lines
589 B
C

--- src/stuff.c.orig 2015-01-19 21:17:42 UTC
+++ src/stuff.c
@@ -52,7 +52,7 @@ float decoy_table[ANGLE_1]; // not used
float cos_table[ANGLE_1];
float sin_table[ANGLE_1];
-inline int xpart (int angle, int length);
+int xpart (int angle, int length);
void init_trig (void)
{
@@ -67,12 +67,12 @@ void init_trig (void)
}
-inline int xpart (int angle, int length)
+int xpart (int angle, int length)
{
return (cos_table[angle & 1023] * length);
}
-inline int ypart (int angle, int length)
+int ypart (int angle, int length)
{
return (sin_table[angle & 1023] * length);
}