-
Notifications
You must be signed in to change notification settings - Fork 36
/
player.fdh
111 lines (75 loc) · 2.82 KB
/
player.fdh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
//hash:ff06af60
//automatically generated by Makegen
/* located in ObjManager.cpp */
//--------------------[referenced from player.cpp]-------------------//
Object *CreateObject(int x, int y, int type);
/* located in map.cpp */
//--------------------[referenced from player.cpp]-------------------//
void map_scroll_jump(int x, int y);
/* located in caret.cpp */
//--------------------[referenced from player.cpp]-------------------//
Caret *effect(int x, int y, int effectno);
/* located in player.cpp */
//--------------------[referenced from player.cpp]-------------------//
void PInitFirstTime();
static void InitWeapon(int wpn, int l1, int l2, int l3, int maxammo);
void InitPlayer(void);
void HandlePlayer(void);
void HandlePlayer_am(void);
void PDoPhysics(void);
void PUpdateInput(void);
void PHandleAttributes(void);
void DoWaterCurrents(void);
void PDoWalking(void);
void PDoFalling(void);
void PDoJumping(void);
void PDoLooking(void);
void PStartBooster(void);
void PDoBooster(void);
void PDoBoosterEnd();
void PBoosterSmokePuff();
void PHandleSolidBrickObjects(void);
void PHandleSolidMushyObjects(void);
void PRunSolidMushy(Object *o);
void hurtplayer(int damage);
void killplayer(int script);
void PHandleZeroG(void);
void PInitRepel(void);
void PDoRepel(void);
void PTryActivateScript();
static bool RunScriptAtX(int x);
static bool RunScriptAtLocation(int x, int y);
void PDoHurtFlash(void);
void PSelectFrame(void);
void PSelectSprite(void);
void GetSpriteForGun(int wpn, int look, int *spr, int *frame);
void GetPlayerShootPoint(int *x_out, int *y_out);
void DrawPlayer(void);
/* located in playerstats.cpp */
//--------------------[referenced from player.cpp]-------------------//
void SubXP(int xp, bool quiet);
/* located in p_arms.cpp */
//--------------------[referenced from player.cpp]-------------------//
void PResetWeapons();
void PDoWeapons(void);
/* located in tsc.cpp */
//--------------------[referenced from player.cpp]-------------------//
int GetCurrentScript(void);
ScriptInstance *StartScript(int scriptno, int pageno);
/* located in input.cpp */
//--------------------[referenced from player.cpp]-------------------//
bool justpushed(int k);
/* located in ai/weapons/whimstar.cpp */
//--------------------[referenced from player.cpp]-------------------//
void remove_whimstar(WhimsicalStar *wh);
void draw_whimstars(WhimsicalStar *wh);
/* located in ai/sym/smoke.cpp */
//--------------------[referenced from player.cpp]-------------------//
void SmokeClouds(Object *o, int nclouds, int rangex, int rangey, Object *push_behind);
/* located in sound/sound.cpp */
//--------------------[referenced from player.cpp]-------------------//
void sound(int snd);
void StopLoopSounds(void);
/* located in common/misc.cpp */
//--------------------[referenced from player.cpp]-------------------//
int random(int min, int max);