mirror of
https://github.com/zeldaret/mm.git
synced 2024-11-27 06:40:36 +00:00
6d20839ab0
* Decompile padmgr.c * Format * Enum names * Update namefixer * Suggested changes Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> * Suggested changes, improve motor.c Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> * Further suggested changes * Format * Fix `controller.h` comment Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com> --------- Co-authored-by: Anghelo Carvajal <angheloalf95@gmail.com> Co-authored-by: Derek Hensley <hensley.derek58@gmail.com> Co-authored-by: engineer124 <47598039+engineer124@users.noreply.github.com>
16 lines
341 B
C
16 lines
341 B
C
#ifndef Z64FRAMEADVANCE_H
|
|
#define Z64FRAMEADVANCE_H
|
|
|
|
#include "padmgr.h"
|
|
|
|
typedef struct FrameAdvanceContext {
|
|
/* 0x0 */ s32 enabled;
|
|
/* 0x4 */ s32 timer;
|
|
} FrameAdvanceContext; // size = 0x8
|
|
|
|
|
|
void FrameAdvance_Init(FrameAdvanceContext* frameAdvCtx);
|
|
s32 FrameAdvance_Update(FrameAdvanceContext* frameAdvCtx, Input* input);
|
|
|
|
#endif
|