bb4a2ef1d3
- regen patches while here no pkg change
32 lines
859 B
Plaintext
32 lines
859 B
Plaintext
$OpenBSD: patch-spatial_rots_c,v 1.2 2007/12/05 14:08:36 ajacoutot Exp $
|
|
--- 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;
|
|
|