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

56 lines
1.4 KiB
Plaintext

--- vaders.h.orig Sun Jul 5 20:01:45 1998
+++ vaders.h Sun Jul 5 19:54:16 1998
@@ -130,11 +130,11 @@
ext Pixel spacerpixel;
ext XtIntervalId spacertimerid;
-ext int spacerwait; /* Number of milliseconds to wait between
- /* moving spacers. /*
+ext int spacerwait; /* Number of milliseconds to wait between */
+ /* moving spacers. */
ext int spacerappear; /* same, but for the interval between appearances */
-ext Boolean spacer_shown; /* Currnet_Spacer is something */
+ext Boolean spacer_shown; /* Current_Spacer is something */
ext int spacer_counter; /* number of cycles to create a spacer */
/* Shot info. */
@@ -168,7 +168,6 @@
/* From widget.c */
-extern Boolean TakeFocus();
extern void Quit();
extern void Pause();
extern int paused;
@@ -188,6 +187,10 @@
extern void InitBase();
extern void PaintBase();
extern void DrawBuildings();
+extern void InitBuildings();
+extern void PaintBasesLeft();
+extern void ShowBase();
+extern void ResetGame();
/* From vaders.c */
@@ -207,6 +210,10 @@
extern void InitSpacers();
extern void PaintSpacer();
+/* from score.c */
+extern void PaintScore();
+extern void InitScore();
+
/* From shot.c */
extern void AddLine();
@@ -216,6 +223,7 @@
extern void MoveVshots();
extern void PaintAllShots();
ext Pixel defaultfore, defaultback;
+extern void InitShot();
ext char *vaderfont;