]> git.mxchange.org Git - quix0rs-blobwars.git/blob - src/player.h
Fix #includes for SDL_mutex and SDL_thread.
[quix0rs-blobwars.git] / src / player.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 #include <SDL/SDL_thread.h>
23
24 extern void throwAndDamageEntity(Entity *ent, int damage, int minDX, int maxDX, int DY);
25 extern void moveEntity(Entity *ent);
26 extern void addBullet(Entity *owner, float dx, float dy);
27 extern void addEffect(float x, float y, float dx, float dy, int flags);
28 extern void addBlood(Entity *ent, float dx, float dy, int amount);
29 extern void addTeleportParticles(float x, float y, int amount, int soundToPlay);
30 extern void addFireTrailParticle(float x, float y);
31 extern void addBubble(float x, float y);
32 extern void addColoredEffect(float x, float y, float dx, float dy, int color, int flags);
33
34 extern Audio audio;
35 extern Config config;
36 extern Engine engine;
37 extern Game game;
38 extern Graphics graphics;
39 extern Map map;
40 extern MedalServer medalServer;
41
42 extern Entity player;
43 extern Weapon weapon[MAX_WEAPONS];