diff options
author | Andreas Klemm <andreas@FreeBSD.org> | 1997-02-16 10:54:58 +0000 |
---|---|---|
committer | Andreas Klemm <andreas@FreeBSD.org> | 1997-02-16 10:54:58 +0000 |
commit | c2566b5f858930f2cbf064ffe732ee9d7a6fa2f5 (patch) | |
tree | 5c148ca81afab1fe3c694bf716d50072c1a7f1a1 /games/xsoldier/files | |
parent | Umm, "#" is not a comment character in C. ;) (diff) |
Added xsoldier port. Closes PR 2721.
This is a really nice _blaster_everything_away_ game under x11 ;-)
Notes
Notes:
svn path=/head/; revision=5641
Diffstat (limited to 'games/xsoldier/files')
-rw-r--r-- | games/xsoldier/files/patch-aa | 103 | ||||
-rw-r--r-- | games/xsoldier/files/patch-ab | 14 |
2 files changed, 117 insertions, 0 deletions
diff --git a/games/xsoldier/files/patch-aa b/games/xsoldier/files/patch-aa new file mode 100644 index 000000000000..09c1e7e9675a --- /dev/null +++ b/games/xsoldier/files/patch-aa @@ -0,0 +1,103 @@ +*** Makefile.orig Mon Jan 20 15:52:28 1997 +--- Makefile Wed Jan 22 06:24:30 1997 +*************** +*** 5,39 **** + # --------------------------------------------------------------------------- + + # +! # インストールディレクトリ +! # 書き込み権限が無いとインストール出来ません.=> 遊べない.(^^; + # +! PIXMAPDIR = /usr/local/games/lib/xsoldier +! SCOREDIR = /usr/local/games/lib/xsoldier +! BINDIR = /usr/local/games + + # +! # スコアファイル名.SCOREDIR 以下に置かれます. + # + SCOREFILE = .scorefile + + # +! # X のコンパイルにオプションが必要なら. +! # xpm ライブラリのパスもここで設定します. + # +! INCLUDE = /usr/X11/include +! LIBPATH = /usr/X11/lib + + # +! # ゲームのウエイト + # + WAIT = 35000 + + # +! # コンパイルオプション +! # -DDUPSCORE … 同一人物がハイスコアに複数エントリ出来る +! # -DDEBUG … デバッグモード +! # すみません.まだこれしかないです.(^^; + # + DEFINES = -DSCORE=\"$(SCOREDIR)\" -DPIXMAP=\"$(PIXMAPDIR)\" \ + -DSCOREFILE=\"$(SCOREFILE)\" \ +--- 5,39 ---- + # --------------------------------------------------------------------------- + + # +! # Install Directory +! # You cannot install without write permission. => You can't enjoy. (^^; + # +! PIXMAPDIR = /usr/X11R6/lib/X11/xsoldier +! SCOREDIR = /usr/X11R6/lib/X11/xsoldier +! BINDIR = /usr/X11R6/bin + + # +! # Score file name. These are under SCOREDIR. + # + SCOREFILE = .scorefile + + # +! # If you need options to compile X application, +! # please configure xpm library path here. + # +! INCLUDE = /usr/X11R6/include +! LIBPATH = /usr/X11R6/lib + + # +! # Game wait + # + WAIT = 35000 + + # +! # Compile option +! # -DDUPSCORE Multi entries of one person +! # -DDEBUG Debug mode +! # Sorry, only these are available. (^^; + # + DEFINES = -DSCORE=\"$(SCOREDIR)\" -DPIXMAP=\"$(PIXMAPDIR)\" \ + -DSCOREFILE=\"$(SCOREFILE)\" \ +*************** +*** 44,50 **** + INSTALL = install + + # --------------------------------------------------------------------------- +! # 基本的にここから下はいぢらなくて済むハズ. + + OBJ = main.o game.o opening.o ending.o manage.o player.o \ + common.o callback.o boss.o enemy.o enemyshot.o sin.o \ +--- 44,50 ---- + INSTALL = install + + # --------------------------------------------------------------------------- +! # Basically, you may not change the following. + + OBJ = main.o game.o opening.o ending.o manage.o player.o \ + common.o callback.o boss.o enemy.o enemyshot.o sin.o \ +*************** +*** 108,111 **** + star.o: image.h xsoldier.h extern.h star.h + score.o: image.h xsoldier.h extern.h + +! convert: convert.o +--- 108,111 ---- + star.o: image.h xsoldier.h extern.h star.h + score.o: image.h xsoldier.h extern.h + +! #convert: convert.o diff --git a/games/xsoldier/files/patch-ab b/games/xsoldier/files/patch-ab new file mode 100644 index 000000000000..8b9e1bd9d052 --- /dev/null +++ b/games/xsoldier/files/patch-ab @@ -0,0 +1,14 @@ +--- manage.c.orig Sun Feb 16 11:23:59 1997 ++++ manage.c Sun Feb 16 11:25:13 1997 +@@ -8,7 +8,11 @@ + + #include <stdio.h> + #include <stdlib.h> ++ ++#ifndef __FreeBSD__ + #include <malloc.h> ++#endif ++ + #include <X11/Xlib.h> + #include <X11/Xutil.h> + |