diff options
author | ehaupt <ehaupt@FreeBSD.org> | 2006-09-16 18:00:59 +0800 |
---|---|---|
committer | ehaupt <ehaupt@FreeBSD.org> | 2006-09-16 18:00:59 +0800 |
commit | 0abd279573c02a73a23e70f26cfb58a2cc7355b6 (patch) | |
tree | fb2bcc71a3236ec1b6150af749245bd1426b1c3a /games/untahris/files | |
parent | 96f94beb1eff9097e4c23f4d5274a856a781b47c (diff) | |
download | freebsd-ports-gnome-0abd279573c02a73a23e70f26cfb58a2cc7355b6.tar.gz freebsd-ports-gnome-0abd279573c02a73a23e70f26cfb58a2cc7355b6.tar.zst freebsd-ports-gnome-0abd279573c02a73a23e70f26cfb58a2cc7355b6.zip |
Add untahris, play several classic fun, simple arcade games in
multiplayer mode.
PR: 103012
Submitted by: Dmitry Marakasov <amdmi3 at mail.ru>
Diffstat (limited to 'games/untahris/files')
-rw-r--r-- | games/untahris/files/patch-intface.cpp | 11 | ||||
-rw-r--r-- | games/untahris/files/patch-untahris.cpp | 19 |
2 files changed, 30 insertions, 0 deletions
diff --git a/games/untahris/files/patch-intface.cpp b/games/untahris/files/patch-intface.cpp new file mode 100644 index 000000000000..e6dab8a29897 --- /dev/null +++ b/games/untahris/files/patch-intface.cpp @@ -0,0 +1,11 @@ +--- intface.cpp.orig Mon Sep 4 19:16:15 2006 ++++ intface.cpp Fri Sep 8 06:57:45 2006 +@@ -517,7 +517,7 @@ + thruster.pixel[y][x] = 'P'; + } + +- char buf[64]; ++ char buf[1024]; + sprintf(buf, "graph%d.unt", d.Res); + FILE *f = fopen(buf, "rt"); + if(f) { diff --git a/games/untahris/files/patch-untahris.cpp b/games/untahris/files/patch-untahris.cpp new file mode 100644 index 000000000000..01b2da071e96 --- /dev/null +++ b/games/untahris/files/patch-untahris.cpp @@ -0,0 +1,19 @@ +--- untahris.cpp.orig Tue Sep 5 16:50:04 2006 ++++ untahris.cpp Fri Sep 8 06:54:50 2006 +@@ -6,7 +6,7 @@ + + #include "untahris.h" + +-char *configfile = "config.unt"; ++char *configfile = ".untahris.config"; + + #include "tools.cpp" + #include "intface.cpp" +@@ -117,6 +117,7 @@ + } + + int main(int argc, char **argv) { ++ chdir(getenv("HOME")); + g.sizeX = 0; + g.sizeY = 0; + d.ofsX = 0; |