Adding crack-attack

(patch sent by Piotr Pietraszkiewicz)

svn path=/nixpkgs/trunk/; revision=23987
This commit is contained in:
Lluís Batlle i Rossell
2010-09-28 22:37:27 +00:00
parent fea2d56f09
commit cecffb9df5
4 changed files with 49 additions and 0 deletions
@@ -0,0 +1,10 @@
--- crack-attack-1.1.14/src/Attack.cxx
+++ crack-attack-1.1.14/src/Attack.cxx
@@ -83,6 +83,7 @@
int height = -1, width = -1;
player_name[0] = '\0';
+ glutInit(&argc, argv);
parseCommandLine(argc, argv, mode, port, host_name, player_name, height, width);
run_crack_attack(mode, port, host_name, player_name, height, width);