openbsd-ports/games/xinvaders/patches/patch-ab
1998-09-25 22:49:19 +00:00

51 lines
787 B
Plaintext

--- base.c.orig Sun Jul 5 20:01:35 1998
+++ base.c Sun Jul 5 18:54:53 1998
@@ -48,11 +48,6 @@
int ReadBaseImage()
{
- unsigned int width, height;
- int x_hot, y_hot;
- char *data, filename[255];
- int status;
-
base->width = (scale == 1) ? base1_width : base2_width;
base->height = (scale == 1) ? base1_height : base2_height;
@@ -105,7 +100,7 @@
}
-ShowBase(i, gc)
+void ShowBase(i, gc)
int i;
GC gc;
{
@@ -114,7 +109,7 @@
base->width, base->height);
}
-PaintBasesLeft()
+void PaintBasesLeft()
{
int i;
XDrawString(dpy, labelwindow, scoregc,
@@ -156,7 +151,7 @@
return FALSE;
}
-ResetGame()
+void ResetGame()
{
static Arg args[1];
@@ -314,7 +309,7 @@
return FALSE;
}
-InitBuildings()
+void InitBuildings()
{
int i, j, k;