Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MorsGames
GitHub Repository: MorsGames/sm64plus
Path: blob/master/src/game/mario_actions_cutscene.h
7858 views
1
#ifndef MARIO_ACTIONS_CUTSCENE_H
2
#define MARIO_ACTIONS_CUTSCENE_H
3
4
#include <PR/ultratypes.h>
5
6
#include "macros.h"
7
#include "types.h"
8
9
// set_mario_npc_dialog
10
// actionArg
11
#define MARIO_DIALOG_STOP 0
12
#define MARIO_DIALOG_LOOK_FRONT 1 // no head turn
13
#define MARIO_DIALOG_LOOK_UP 2
14
#define MARIO_DIALOG_LOOK_DOWN 3
15
// dialogState
16
#define MARIO_DIALOG_STATUS_NONE 0
17
#define MARIO_DIALOG_STATUS_START 1
18
#define MARIO_DIALOG_STATUS_SPEAK 2
19
20
void print_displaying_credits_entry(void);
21
void bhv_end_peach_loop(void);
22
void bhv_end_toad_loop(void);
23
s32 geo_switch_peach_eyes(s32 run, struct GraphNode *node, UNUSED s32 a2);
24
s32 mario_ready_to_speak(void);
25
s32 set_mario_npc_dialog(s32 actionArg);
26
s32 mario_execute_cutscene_action(struct MarioState *m);
27
28
#endif // MARIO_ACTIONS_CUTSCENE_H
29
30