Paper Mario DX
Paper Mario (N64) modding
 
Loading...
Searching...
No Matches
MonitorPlayerOrbiting.h
Go to the documentation of this file.
1#ifndef _PLAYER_ORBITING_H_
2#define _PLAYER_ORBITING_H_
3
4#include "common.h"
5
21
22// these should be defined in map data and supplied to MonitorPlayerOrbiting when it is called
23typedef struct {
25 s32 startRadius; // orbiting begins when the player enters this radius
26 s32 orbitRadius; // orbiting continues while the player is within this radius
29
30// events which are dispatched to the event handler
31enum {
37};
38
39// states of this function
40enum {
46};
47
48#endif
@ PLAYER_ORBIT_COMPLETE_ROTATION
@ PLAYER_ORBIT_CHANGE_DIRECTION
@ PLAYER_ORBIT_BEGIN
@ PLAYER_ORBIT_LEFT_REGION
@ PLAYER_ORBIT_CONTINUE_ORBIT
@ ORBIT_STATE_STARTING_ORBIT
@ ORBIT_STATE_FIRST_FRAME
@ ORBIT_STATE_SECOND_FRAME
@ ORBIT_STATE_MAINTAIN_ORBIT
@ ORBIT_STATE_BREAK_ORBIT
void(* eventListener)(struct PlayerOrbitState *, s32)