blob: 89fbf4b21e8f482e64be5d3172f2916b270d95b3 (
plain)
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
|
#ifndef HERO_H
#define HERO_H
#include "PHL.h"
#include "collision.h"
double herox, heroy;
double herohp, maxhp;
int heroAmmo, maxAmmo;
int heroWeapon;
Mask heroMask;
Mask shieldMask;
void heroSetup();
void heroCleanup();
int heroStep();
void heroDraw();
int heroHit(int damage, int centerx);
void heroPoison();
void heroStone();
Mask getHeroMask();
int getHeroState();
void setHeroState(int s);
int getHeroInvincible();
int getHeroDirection();
void setHeroDirection(int d);
double getHeroImageIndex();
void setHeroImageIndex(double index);
double getHeroVsp();
double getHeroHsp();
void setHeroHsp(double newHsp);
void setHeroVsp(double newVsp);
int getHeroOnground();
void setHeroOnground(int val);
void setHeroTimer(int t);
int getHeroPoisoned();
void heroStun();
void setHeroCanjump(int set);
#endif
|