]> git.mxchange.org Git - quix0rs-blobwars.git/blob - src/bosses.h
Import of version 1.14 minus music and sounds.
[quix0rs-blobwars.git] / src / bosses.h
1 /*
2 Copyright (C) 2004 Parallel Realities
3
4 This program is free software; you can redistribute it and/or
5 modify it under the terms of the GNU General Public License
6 as published by the Free Software Foundation; either version 2
7 of the License, or (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12
13 See the 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 */
20
21 #include "headers.h"
22
23 extern void addItem(int itemType, const char *name, int x, int y, const char *spriteName, int health, int value, int flags, bool randomMovement);
24 extern void addTeleportParticles(float x, float y, int amount, int soundToPlay);
25 extern void addColorParticles(float x, float y, int amount, int color);
26 extern bool okayToSpawnEnemy(const char *name, int x, int y);
27 extern void addEnemy(const char *name, int x, int y, int flags);
28 extern void moveEntity(Entity *entity);
29 extern void addFireTrailParticle(float x, float y);
30 extern void checkObjectives(const char *name, bool alwaysInform);
31
32 extern Entity *getEnemy(const char *name);
33 extern Weapon *getRandomAimedWeapon();
34 extern Weapon *getRandomStraightWeapon();
35 extern Weapon *getRandomGaldovWeapon();
36
37 extern void tankBossMGInit();
38 extern void tankBossGLInit();
39 extern void aquaBossInit();
40 extern void droidBossInit();
41 extern void galdovInit();
42 extern void galdovFinalInit();
43
44 extern Audio audio;
45 extern Engine engine;
46 extern Game game;
47 extern Graphics graphics;
48 extern Map map;
49
50 extern Entity player;
51 extern Entity defItem[MAX_ITEMS];
52
53 // this is used exclusively by the bosses
54 Boss *self;