summaryrefslogtreecommitdiff
path: root/games/gtkpool/files/patch-gtkpool_game.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/gtkpool/files/patch-gtkpool_game.h')
-rw-r--r--games/gtkpool/files/patch-gtkpool_game.h28
1 files changed, 18 insertions, 10 deletions
diff --git a/games/gtkpool/files/patch-gtkpool_game.h b/games/gtkpool/files/patch-gtkpool_game.h
index 75e7ccefc3a9..335f48aa0972 100644
--- a/games/gtkpool/files/patch-gtkpool_game.h
+++ b/games/gtkpool/files/patch-gtkpool_game.h
@@ -1,6 +1,6 @@
---- gtkpool/game.h.orig Mon Aug 1 17:17:05 2005
-+++ gtkpool/game.h Mon Aug 1 17:17:41 2005
-@@ -19,10 +19,6 @@
+--- gtkpool/game.h.orig 2002-07-29 10:02:15.000000000 +0900
++++ gtkpool/game.h 2011-08-19 04:36:48.000000000 +0900
+@@ -19,10 +19,7 @@
#define GAME_H
#include <gtk/gtk.h>
#include <vector>
@@ -8,18 +8,26 @@
-#include "check_pocket.h"
-#include "move_balls.h"
-#include "moving.h"
++#include <cstring>
/**
*@author Brian Ashe
-@@ -34,6 +30,11 @@
- enum catagories { stripes, solids, other }; // What are they shooting at
+@@ -31,10 +28,12 @@
+ class check_pocket;
+
+ enum turns { tplayer1, tplayer2 }; // Tell whose turn it is on
+-enum catagories { stripes, solids, other }; // What are they shooting at
++enum categories { stripes, solids, other }; // What are they shooting at
enum player_types { human, computer, remote }; // What type of player (future use)
enum game_types { eight_ball, nine_ball, rotation, snooker, continuous14_1, no_rules };
-+
-+#include "ball.h"
-+#include "check_pocket.h"
-+#include "move_balls.h"
-+#include "moving.h"
++#include "ball.h"
++
struct player {
char player_name [30]; // Player's name
+ int category; // Stripes or solids
+@@ -74,3 +73,4 @@
+ };
+
+ #endif
++