aboutsummaryrefslogtreecommitdiff
path: root/games/grande
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2005-10-08 23:04:05 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2005-10-08 23:04:05 +0000
commit28794f9b2b1372b44d0d74ab69920522ac997d1e (patch)
treec6f98202980ac07b4507944fbb5cb017490e3869 /games/grande
parenta3fd58edffc1b7dc7ff6786056b81ab998501d56 (diff)
downloadports-28794f9b2b1372b44d0d74ab69920522ac997d1e.tar.gz
ports-28794f9b2b1372b44d0d74ab69920522ac997d1e.zip
Notes
Diffstat (limited to 'games/grande')
-rw-r--r--games/grande/files/patch-src__extern.h11
-rw-r--r--games/grande/files/patch-src__main.c26
-rw-r--r--games/grande/files/patch-src__opening.c18
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) {