diff options
author | edwin <edwin@FreeBSD.org> | 2005-10-09 07:04:05 +0800 |
---|---|---|
committer | edwin <edwin@FreeBSD.org> | 2005-10-09 07:04:05 +0800 |
commit | 75143156c4162a2f0e67a12b7014c3e23dd82126 (patch) | |
tree | 751a7f5e3169524ba6bea37b37ab9e540fb2d491 /games | |
parent | 094737ada3e691ec8744904d83d123a943d06ad1 (diff) | |
download | freebsd-ports-gnome-75143156c4162a2f0e67a12b7014c3e23dd82126.tar.gz freebsd-ports-gnome-75143156c4162a2f0e67a12b7014c3e23dd82126.tar.zst freebsd-ports-gnome-75143156c4162a2f0e67a12b7014c3e23dd82126.zip |
Don't forget the patches!
Diffstat (limited to 'games')
-rw-r--r-- | games/grande/files/patch-src__extern.h | 11 | ||||
-rw-r--r-- | games/grande/files/patch-src__main.c | 26 | ||||
-rw-r--r-- | games/grande/files/patch-src__opening.c | 18 |
3 files changed, 55 insertions, 0 deletions
diff --git a/games/grande/files/patch-src__extern.h b/games/grande/files/patch-src__extern.h new file mode 100644 index 000000000000..874a1c57cde2 --- /dev/null +++ b/games/grande/files/patch-src__extern.h @@ -0,0 +1,11 @@ +--- src/extern.h.orig Sun Oct 9 08:53:49 2005 ++++ src/extern.h Sun Oct 9 08:53:52 2005 +@@ -74,7 +74,7 @@ + EXTERN KXL_Image *PixChargeBack; // チャージ枠 + EXTERN KXL_Image *PixCharge; // チャージエネルギー + // ジョイスティックボタン +-EXTERN KXL_Joystick JoyConfig; ++//EXTERN KXL_Joystick JoyConfig; + EXTERN Uint32 JoyMainShot; + EXTERN Uint32 JoySubShot; + EXTERN Uint32 JoyChargeShot; diff --git a/games/grande/files/patch-src__main.c b/games/grande/files/patch-src__main.c new file mode 100644 index 000000000000..0948fdd90189 --- /dev/null +++ b/games/grande/files/patch-src__main.c @@ -0,0 +1,26 @@ +--- src/main.c.orig Sun Oct 9 08:43:56 2005 ++++ src/main.c Sun Oct 9 08:53:37 2005 +@@ -77,13 +77,14 @@ + void MainLoop(void) + { + MainEnum bak = -1; +- KXL_Joystick jsev, jsbak; ++// KXL_Joystick jsev, jsbak; + + while (1) { + // タイマ割込み待ち + while (KXL_GetTimer() == False); + // タイマ割込みリスタート + KXL_ResetTimer(); ++/* + // joystick + if (gJoyok == True) { + if (KXL_ReadJoystick(&jsev) == False) +@@ -120,6 +121,7 @@ + } + } + } ++*/ + + // イベントチェック + while (KXL_CheckEvents()) { diff --git a/games/grande/files/patch-src__opening.c b/games/grande/files/patch-src__opening.c new file mode 100644 index 000000000000..ea9a3a1ee73b --- /dev/null +++ b/games/grande/files/patch-src__opening.c @@ -0,0 +1,18 @@ +--- src/opening.c.orig Sun Oct 9 08:54:01 2005 ++++ src/opening.c Sun Oct 9 08:54:12 2005 +@@ -190,6 +190,7 @@ + KXL_PutText(CENTER(menubuff[i]), UP_TOP + 140 + i * 16, menubuff[i]); + } + ++/* + if (JoyConfig.buttons) { + if (sel == 0) + JoyMainShot = JoyConfig.buttons; +@@ -202,6 +203,7 @@ + else if (sel == 4) + JoyExit = JoyConfig.buttons; + } ++*/ + // キー判定 + if (OldKey != Root->Key) { + if (OldKey == KNone && Root->Key) { |