From 0abd279573c02a73a23e70f26cfb58a2cc7355b6 Mon Sep 17 00:00:00 2001 From: ehaupt Date: Sat, 16 Sep 2006 10:00:59 +0000 Subject: Add untahris, play several classic fun, simple arcade games in multiplayer mode. PR: 103012 Submitted by: Dmitry Marakasov --- games/untahris/files/patch-intface.cpp | 11 +++++++++++ games/untahris/files/patch-untahris.cpp | 19 +++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 games/untahris/files/patch-intface.cpp create mode 100644 games/untahris/files/patch-untahris.cpp (limited to 'games/untahris/files') 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; -- cgit