Parralel integration
[mirrors/Programs.git] / c / ninvaders-0.1.1 / player.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#ifndef PLAYER
26#define PLAYER
27
28#include "view.h"
29
30
31void playerReset();
32
33void playerMoveLeft();
34void playerMoveRight();
35void playerTurboOn();
36void playerTurboOff();
37int playerHitCheck(int hostileShotX, int hostileShotY);
38void playerLaunchMissile();
39int playerMoveMissile();
40void playerExplode();
41
42// methods that handle graphic display, from view.c
43extern void playerInit();
44extern void playerDisplay(int x, int y);
45extern void playerClear(int x, int y);
46extern void playerMissileInit();
47extern void playerMissileDisplay(int x, int y);
48extern void playerMissileClear(int x, int y);
49extern void playerExplosionDisplay(int x, int y);
50extern void bunkersClearElement(int x, int y);
51
52extern void doScoring(int alienType);
53
54#endif
55
This page took 0.645208 seconds and 4 git commands to generate.