OSDN Git Service

Project: Starfighter 1.4 オリジナル
[starfighter-jp/starfighter-jp.git] / src / alien.h
1 /*
2 Copyright (C) 2003 Parallel Realities
3 Copyright (C) 2011 Guus Sliepen
4 Copyright (C) 2015 Julian Marchant
5
6 This program is free software; you can redistribute it and/or
7 modify it under the terms of the GNU General Public License
8 as published by the Free Software Foundation; either version 3
9 of the License, or (at your option) any later version.
10
11 This program is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14 GNU General Public License for more details.
15
16 You should have received a copy of the GNU General Public License
17 along with this program.  If not, see <http://www.gnu.org/licenses/>.
18 */
19
20 #ifndef ALIEN_H
21 #define ALIEN_H
22
23 extern object alien_defs[CD_MAX];
24 extern object aliens[ALIEN_MAX];
25
26 void alien_defs_init();
27 void aliens_init();
28 bool alien_add();
29 void alien_addDrone(object *hostAlien);
30 void alien_addSmallAsteroid(object *hostAlien);
31 void alien_addFriendly(int type);
32 bool alien_place(object *alien);
33 void alien_setAI(object *alien);
34 void alien_setKlineAttackMethod(object *alien);
35 void alien_setKlineAI(object *alien);
36 void alien_searchForTarget(object *alien);
37 int alien_checkTarget(object *alien);
38 int alien_enemiesInFront(object *alien);
39 void alien_move(object *alien);
40 void alien_destroy(object *alien, object *attacker);
41 void alien_hurt(object *alien, object *attacker, int damage, bool ion);
42
43 #endif