SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
30
games/spatial/patches/patch-spatial_rots_c
Normal file
30
games/spatial/patches/patch-spatial_rots_c
Normal file
|
@ -0,0 +1,30 @@
|
|||
--- spatial/rots.c.orig Mon Aug 23 20:45:55 1993
|
||||
+++ spatial/rots.c Wed Dec 5 15:03:28 2007
|
||||
@@ -3,6 +3,7 @@
|
||||
notice is retained. */
|
||||
|
||||
#include <stdio.h>
|
||||
+#include <stdlib.h>
|
||||
#include <math.h>
|
||||
#include <X11/Xlib.h>
|
||||
#include "spatial.h"
|
||||
@@ -24,9 +25,6 @@ int colors[11] = {1, 3, 4, 7, 9, 10, 11, 12, 13, 14, 1
|
||||
|
||||
extern GC gcblack, gcwhite, gcinv, gccopy, gcline, gccubes[];
|
||||
|
||||
-extern void updatepiece(), setup_fieldpm();
|
||||
-extern void add_one_cubie(), update_meter();
|
||||
-
|
||||
void startpiece()
|
||||
{
|
||||
piecelist *p;
|
||||
@@ -129,8 +127,7 @@ void updatepiece() /* create traplist from plist+offse
|
||||
};
|
||||
}
|
||||
|
||||
-void updatetemp_tra(xa, ya, za, taxi, tdir)
|
||||
-short xa, ya, za, taxi, tdir;
|
||||
+void updatetemp_tra(short xa, short ya, short za, short taxi, short tdir)
|
||||
{
|
||||
register int ix;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue