SMG-Decomp
A decompilation of Super Mario Galaxy 1
Loading...
Searching...
No Matches
NerveUtil.hpp
1#pragma once
2
3#include <revolution.h>
4#include "Game/System/NerveExecutor.hpp"
5#include "Inline.hpp"
6
7namespace MR {
8 bool isStep(const NerveExecutor *pExecutor, s32 step) NO_INLINE;
9 bool isFirstStep(const NerveExecutor *);
10 bool isLessStep(const NerveExecutor *, s32);
11 bool isLessEqualStep(const NerveExecutor *, s32);
12 bool isGreaterStep(const NerveExecutor *, s32);
13 bool isGreaterEqualStep(const NerveExecutor *, s32);
14 bool isIntervalStep(const NerveExecutor *, s32);
15 bool isNewNerve(const NerveExecutor *);
16 f32 calcNerveRate(const NerveExecutor *, s32);
17 f32 calcNerveEaseInRate(const NerveExecutor *, s32);
18 f32 calcNerveEaseOutRate(const NerveExecutor *, s32);
19 f32 calcNerveValue(const NerveExecutor *, s32, f32, f32);
20 f32 calcNerveEaseInOutValue(const NerveExecutor *, s32, f32, f32);
21 f32 calcNerveEaseInOutValue(const NerveExecutor *, s32, s32, f32, f32);
22 void setNerveAtStep(NerveExecutor *, const Nerve *, s32);
23};
Used for executing states of a LiveActor.
Definition Nerve.hpp:6