NXEngine v1.0.0.4
[NXEngine.git] / player.fdh
blob2ac7036821f7737c34cbf7079b32926ea432a1f8
1 //hash:ff06af60
2 //automatically generated by Makegen
4 /* located in ObjManager.cpp */
6 //--------------------[referenced from player.cpp]-------------------//
7 Object *CreateObject(int x, int y, int type);
10 /* located in map.cpp */
12 //--------------------[referenced from player.cpp]-------------------//
13 void map_scroll_jump(int x, int y);
16 /* located in caret.cpp */
18 //--------------------[referenced from player.cpp]-------------------//
19 Caret *effect(int x, int y, int effectno);
22 /* located in player.cpp */
24 //--------------------[referenced from player.cpp]-------------------//
25 void PInitFirstTime();
26 static void InitWeapon(int wpn, int l1, int l2, int l3, int maxammo);
27 void InitPlayer(void);
28 void HandlePlayer(void);
29 void HandlePlayer_am(void);
30 void PDoPhysics(void);
31 void PUpdateInput(void);
32 void PHandleAttributes(void);
33 void DoWaterCurrents(void);
34 void PDoWalking(void);
35 void PDoFalling(void);
36 void PDoJumping(void);
37 void PDoLooking(void);
38 void PStartBooster(void);
39 void PDoBooster(void);
40 void PDoBoosterEnd();
41 void PBoosterSmokePuff();
42 void PHandleSolidBrickObjects(void);
43 void PHandleSolidMushyObjects(void);
44 void PRunSolidMushy(Object *o);
45 void hurtplayer(int damage);
46 void killplayer(int script);
47 void PHandleZeroG(void);
48 void PInitRepel(void);
49 void PDoRepel(void);
50 void PTryActivateScript();
51 static bool RunScriptAtX(int x);
52 static bool RunScriptAtLocation(int x, int y);
53 void PDoHurtFlash(void);
54 void PSelectFrame(void);
55 void PSelectSprite(void);
56 void GetSpriteForGun(int wpn, int look, int *spr, int *frame);
57 void GetPlayerShootPoint(int *x_out, int *y_out);
58 void DrawPlayer(void);
61 /* located in playerstats.cpp */
63 //--------------------[referenced from player.cpp]-------------------//
64 void SubXP(int xp, bool quiet);
67 /* located in p_arms.cpp */
69 //--------------------[referenced from player.cpp]-------------------//
70 void PResetWeapons();
71 void PDoWeapons(void);
74 /* located in tsc.cpp */
76 //--------------------[referenced from player.cpp]-------------------//
77 int GetCurrentScript(void);
78 ScriptInstance *StartScript(int scriptno, int pageno);
81 /* located in input.cpp */
83 //--------------------[referenced from player.cpp]-------------------//
84 bool justpushed(int k);
87 /* located in ai/weapons/whimstar.cpp */
89 //--------------------[referenced from player.cpp]-------------------//
90 void remove_whimstar(WhimsicalStar *wh);
91 void draw_whimstars(WhimsicalStar *wh);
94 /* located in ai/sym/smoke.cpp */
96 //--------------------[referenced from player.cpp]-------------------//
97 void SmokeClouds(Object *o, int nclouds, int rangex, int rangey, Object *push_behind);
100 /* located in sound/sound.cpp */
102 //--------------------[referenced from player.cpp]-------------------//
103 void sound(int snd);
104 void StopLoopSounds(void);
107 /* located in common/misc.cpp */
109 //--------------------[referenced from player.cpp]-------------------//
110 int random(int min, int max);