nyni funguje i v shellu s aktivnim set -u
[mirrors/Programs.git] / c / ninvaders-0.1.1 / nInvaders.h
CommitLineData
21c4e167
H
1/**
2 * nInvaders - a space invaders clone for ncurses
3 * Copyright (C) 2002-2003 Dettus
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2 of the License, or
8 * (at your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 *
19 * homepage: http://ninvaders.sourceforge.net
20 * mailto: ninvaders-devel@lists.sourceforge.net
21 *
22 */
23
24
25#include <stdio.h>
26#include <stdlib.h>
27#include "view.h"
28#include "globals.h"
29
30
31#ifndef NINVADERS
32#define NINVADERS
33
34#define UFO_ALIEN_TYPE 0
35#define RED_ALIEN_TYPE 1
36#define GREEN_ALIEN_TYPE 2
37#define BLUE_ALIEN_TYPE 3
38
39int main(int argv, char **argc); // hey! it has to start somewhere!
40
41extern void render(void);
42
43void game_over(int a);
44void drawscore();
45
46void doScoring(int alienType);
47
48// todo: let's try to not having to declare these "public"
49int weite;
50int level;
51int skill_level;
52
53// included from globals.h
54extern void doSleep();
55extern void showUsage();
56extern void showVersion();
57extern void showGplShort();
58extern void showGpl();
59
60#endif
This page took 0.233881 seconds and 4 git commands to generate.