Some Window$ specific edits.
[dbw.git] / src / bullets.h
blob3fb14ea92606df3195e0bd2a8a3ae49b584ae8c3
1 /*
2 Copyright (C) 2004 Parallel Realities
3 Copyright (C) 2007 Kővágó Zoltán
5 This program is free software; you can redistribute it and/or
6 modify it under the terms of the GNU General Public License
7 as published by the Free Software Foundation; either version 2
8 of the License, or (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.
14 See the GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 #include "headers.h"
24 extern bool checkTrainContact(Entity *ent, int dir);
25 extern bool checkObstacleContact(Entity *ent, int dir);
26 extern void enemyBulletCollisions(Entity *bullet);
27 extern void checkPlayerBulletCollisions(Entity *bullet);
28 extern void checkBossBulletCollisions(Entity *bullet);
29 extern void addFireTrailParticle(float x, float y);
30 extern void addColorParticles(float x, float y, int amount, int color);
31 extern void addExplosion(float x, float y, int radius, Entity *owner);
32 extern void addFireParticles(float x, float y, int amount);
33 extern void checkSwitchContact(Entity *ent);
34 extern void throwBrickParticles(float x, float y);
35 extern void throwStalagParticles(float x, float y);
37 extern Audio audio;
38 extern Engine engine;
39 extern Game game;
40 extern Graphics graphics;
41 extern Map map;
43 extern Entity player;
44 extern Weapon weapon[MAX_WEAPONS];