diff options
author | Marijn van der Werf <marijn.vanderwerf@gmail.com> | 2016-12-01 03:51:24 +0100 |
---|---|---|
committer | YamaArashi <YamaArashi@users.noreply.github.com> | 2016-11-30 18:51:24 -0800 |
commit | 4258e60771aa9fdabd678930eca534423bd371b8 (patch) | |
tree | ecca2ee7641abc0562f39b6c7dd907af2184e102 /include/field_player_avatar.h | |
parent | 831f8cd4fd94613d6b52d87df1b4903bedfaa717 (diff) |
Declare more non-static functions in header files (#111)
* Declare more non-static functions in header files
* Use `(void)` for functions without arguments.
* Move global-included data to seperate headers
* Don't import types or global in header
* Fix fieldmap imports
* Revert in-code changes
* Add missing newlines
Diffstat (limited to 'include/field_player_avatar.h')
-rw-r--r-- | include/field_player_avatar.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/include/field_player_avatar.h b/include/field_player_avatar.h new file mode 100644 index 000000000..0c9e78a2a --- /dev/null +++ b/include/field_player_avatar.h @@ -0,0 +1,17 @@ +#ifndef GUARD_FIELD_PLAYER_AVATAR_H +#define GUARD_FIELD_PLAYER_AVATAR_H + +void player_step(u8 a, u16 b, u16 c); +void SetPlayerAvatarTransitionFlags(u16 a); +void sub_8059204(void); +void sub_80594C0(void); +void GetXYCoordsOneStepInFrontOfPlayer(s16 *x, s16 *y); +void PlayerGetDestCoords(s16 *, s16 *); +u8 player_get_direction_lower_nybble(void); +u8 player_get_direction_upper_nybble(void); +u8 TestPlayerAvatarFlags(u8); +void sub_80597E8(void); +void sub_80597F4(void); +void InitPlayerAvatar(s16 a, s16 b, u8 c, u8 d); + +#endif |