|
|
@@ -1,11 +1,14 @@ |
|
|
|
/* |
|
|
|
* ttyvaders - a tty based shoot'em'up |
|
|
|
* Copyright (C) 2002 Sam Hocevar <sam@zoy.org> |
|
|
|
* ttyvaders Textmode shoot'em up |
|
|
|
* Copyright (c) 2002 Sam Hocevar <sam@zoy.org> |
|
|
|
* All Rights Reserved |
|
|
|
* |
|
|
|
* $Id tarass |
|
|
|
* |
|
|
|
* This program is free software; you can redistribute it and/or modify |
|
|
|
* it under the terms of the GNU General Public License as published by |
|
|
|
* the Free Software Foundation; either version 1, or (at your option) |
|
|
|
* any later version. |
|
|
|
* the Free Software Foundation; either version 2 of the License, or |
|
|
|
* (at your option) any later version. |
|
|
|
* |
|
|
|
* This program is distributed in the hope that it will be useful, |
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
|
@@ -15,7 +18,6 @@ |
|
|
|
* You should have received a copy of the GNU General Public License |
|
|
|
* along with this program; if not, write to the Free Software |
|
|
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. |
|
|
|
* |
|
|
|
*/ |
|
|
|
|
|
|
|
#include <stdio.h> |
|
|
@@ -94,6 +96,10 @@ static void start_game (game *g) |
|
|
|
case 'p': |
|
|
|
poz = !poz; |
|
|
|
break; |
|
|
|
case '\t': |
|
|
|
ceo_alert(); |
|
|
|
poz = 1; |
|
|
|
break; |
|
|
|
case 's': |
|
|
|
skip = 1; |
|
|
|
break; |
|
|
|