mirror of
https://github.com/zeldaret/oot.git
synced 2024-12-27 07:07:09 +00:00
bd0941405d
* create some enums * gonna try struct instead of array * struct works. add docs too * inline function comments * fix function comment * name faces, move enums * rename textures * outnames * remove comments * change comment slightly * fixup face comments * review * offset comments * add and use PLAYER_FACE_MAX * typo * more comment on blinkDuration * another change to the comment
12 lines
396 B
C
12 lines
396 B
C
#ifndef FACE_CHANGE_H
|
|
#define FACE_CHANGE_H
|
|
|
|
typedef struct {
|
|
/* 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
|