diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 2000-01-09 09:53:13 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 2000-01-09 09:53:13 +0000 |
commit | 674e46d35e2ec003d32af0f58a4afde5f546db83 (patch) | |
tree | 7272c8c5041808aad0d9684c8cc1f200bbad587f /games/xpacman | |
parent | f3bb51fe149eb4dcba2ba68188f04ab091eeaaf3 (diff) | |
download | ports-674e46d35e2ec003d32af0f58a4afde5f546db83.tar.gz ports-674e46d35e2ec003d32af0f58a4afde5f546db83.zip |
Notes
Diffstat (limited to 'games/xpacman')
-rw-r--r-- | games/xpacman/files/patch-c | 7 | ||||
-rw-r--r-- | games/xpacman/files/patch-d | 11 | ||||
-rw-r--r-- | games/xpacman/files/patch-e | 11 | ||||
-rw-r--r-- | games/xpacman/files/patch-f | 12 |
4 files changed, 41 insertions, 0 deletions
diff --git a/games/xpacman/files/patch-c b/games/xpacman/files/patch-c new file mode 100644 index 000000000000..6470ce3e9c33 --- /dev/null +++ b/games/xpacman/files/patch-c @@ -0,0 +1,7 @@ +--- gamedata.cc.orig Sun Jan 9 01:47:52 2000 ++++ gamedata.cc Sun Jan 9 01:48:11 2000 +@@ -1,3 +1,4 @@ ++#include <stdlib.h> + #include"gamedata.h" + #include"board.h" + #include"pac.h" diff --git a/games/xpacman/files/patch-d b/games/xpacman/files/patch-d new file mode 100644 index 000000000000..0344538fbcd8 --- /dev/null +++ b/games/xpacman/files/patch-d @@ -0,0 +1,11 @@ +--- ghost.h.orig Sun Jan 9 01:49:42 2000 ++++ ghost.h Sun Jan 9 01:50:05 2000 +@@ -31,7 +31,7 @@ + Ghost(COLOURTYPE,int,int); //constructor with coordinates + ~Ghost(); //destructor + void draw(void); //draw the ghost +-go(Pacman*); //go for pacman: do ghost code ++int go(Pacman*); //go for pacman: do ghost code + typ is_a(void) {return classGhost;} + void eat(void); //when pacman eats ghost + void getxy(int*,int*); diff --git a/games/xpacman/files/patch-e b/games/xpacman/files/patch-e new file mode 100644 index 000000000000..59ffd1f491d2 --- /dev/null +++ b/games/xpacman/files/patch-e @@ -0,0 +1,11 @@ +--- ghost.cc.orig Sun Jan 9 01:50:15 2000 ++++ ghost.cc Sun Jan 9 01:50:37 2000 +@@ -165,7 +165,7 @@ + } + } + +-Ghost::go(Pacman *pac) { //go for pacman: do ghost code ++int Ghost::go(Pacman *pac) { //go for pacman: do ghost code + typ w; //what type is at next coordinates + int i=1; //moved or not? + int xx,yy; //coordinates diff --git a/games/xpacman/files/patch-f b/games/xpacman/files/patch-f new file mode 100644 index 000000000000..1a207e366f03 --- /dev/null +++ b/games/xpacman/files/patch-f @@ -0,0 +1,12 @@ +--- point.cc.orig Sun Jan 9 01:51:12 2000 ++++ point.cc Sun Jan 9 01:51:34 2000 +@@ -1,7 +1,7 @@ + #include"point.h" + Point::Point(int xx=0,int yy=0) { x=xx; y=yy; }; +-Point::val_x() { return x; }; +-Point::val_y() { return y; }; ++int Point::val_x() { return x; }; ++int Point::val_y() { return y; }; + void Point::set_x(int xx) { x=xx; }; + void Point::set_y(int yy) { y=yy; }; + void Point::set_xy(int xx,int yy) { x=xx; y=yy; }; |