mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-28 15:56:51 +00:00
e6bc4bd8cb
* Add names to all typedef'd structs, unions, and enums * wtf vs code * Use a better regex
12 lines
407 B
C
12 lines
407 B
C
#ifndef FACE_CHANGE_H
|
|
#define FACE_CHANGE_H
|
|
|
|
typedef struct FaceChange {
|
|
/* 0x00 */ s16 face;
|
|
/* 0x02 */ s16 timer;
|
|
} FaceChange; // size = 0x4
|
|
|
|
s16 FaceChange_UpdateBlinking(FaceChange* faceChange, s16 blinkIntervalBase, s16 blinkIntervalRandRange, s16 blinkDuration);
|
|
s16 FaceChange_UpdateRandomSet(FaceChange* faceChange, s16 changeTimerBase, s16 changeTimerRandRange, s16 faceSetRange);
|
|
|
|
#endif
|