1 /*
2 Copyright (C) 2009-2021 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, 51 Franklin Street, Suite 500, Boston, MA 02110-1335, USA.
18 */
19 
20 Entity *loadPlayer(int, int, char *);
21 void setPlayerLocation(int, int);
22 void doPlayer(void);
23 void drawPlayer(void);
24 void setPlayerShield(int);
25 void setPlayerWeapon(int);
26 void autoSetPlayerWeapon(Entity *);
27 void autoSetPlayerShield(Entity *);
28 int getDistanceFromPlayer(Entity *);
29 void writePlayerToFile(FILE *);
30 void setPlayerWeaponName(char *);
31 void setPlayerShieldName(char *);
32 void playerWaitForDialog(void);
33 void playerResumeNormal(void);
34 void writePlayerMapStartToFile(FILE *);
35 void increasePlayerMaxHealth(void);
36 void syncWeaponShieldToPlayer(void);
37 void freePlayer(void);
38 EntityList *playerGib(void);
39 void facePlayer(void);
40 void setPlayerSlimed(int);
41 void setBowAmmo(int);
42 void setPlayerStunned(int);
43 void doStunned(void);
44 void becomeJumpingSlime(int);
45 void becomeEdgar(void);
46 void setPlayerLocked(int);
47 Entity *removePlayerWeapon(void);
48 Entity *removePlayerShield(void);
49 void setPlayerFrozen(int);
50 void setPlayerWrapped(int);
51 int isAttacking(void);
52 void playerStand(void);
53 void addChargesToWeapon(void);
54 int isPlayerLocked(void);
55 void playerWaitForConfirm(void);
56 void setWeaponFromScript(char *);
57 void scriptAttack(void);
58 void setShieldFromScript(char *);
59 void unsetWeapon(void);
60 void unsetShield(void);
61 void setPlayerConfused(int);
62 void setPlayerPetrified(void);
63 void setPlayerAsh(void);
64