2 * nInvaders - a space invaders clone for ncurses
3 * Copyright (C) 2002-2003 Dettus
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.
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.
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
19 * homepage: http://ninvaders.sourceforge.net
20 * mailto: ninvaders-devel@lists.sourceforge.net
34 #define SCREENHEIGHT 24
35 #define SCREENWIDTH 80
38 #define PLAYERPOSY (SCREENHEIGHT-2)
40 #define BUNKERWIDTH 80
41 #define BUNKERHEIGHT 4
43 #define BUNKERY (SCREENHEIGHT-8)
45 #define ALIENS_MAX_NUMBER_X 10
46 #define ALIENS_MAX_NUMBER_Y 5
52 void graphicEngineInit();
54 void aliensClear(int x
, int y
, int wid
, int hgt
);
55 void aliensDisplay(int x
, int y
, int wid
, int hgt
);
56 void aliensMissileClear(int x
, int y
);
57 void aliensMissileDisplay(int x
, int y
);
58 void aliensRefresh(int level
, int *pAliens
);
59 void battleFieldClear();
61 void bunkersClearElement(int x
, int y
);
62 void bunkersDisplay(int *pBunker
);
63 void gameOverDisplay();
64 void playerClear(int x
, int y
);
65 void playerDisplay(int x
, int y
);
66 void playerExplosionDisplay(int x
, int y
);
67 void playerMissileClear(int x
, int y
);
68 void playerMissileDisplay(int x
, int y
);
69 void titleScreenClear();
70 void titleScreenDisplay();
71 void ufoClear(int x
, int y
);
72 void ufoDisplay(int x
, int y
);
75 void statusDisplay(int level
, int score
, int lives
);
This page took 1.11038 seconds and 4 git commands to generate.