Skip to Content
The Alchemy Project

src/scene/shared/camera_jitter.c

Included by staff_credit.c and world_map.c.

Functions

NameDescription
voidscWorldMapJitterTransitionCamera (void)Shakes the camera round the leader: every third tick it moves a pixel diagonally from him, one of the four ways at random.

Functions in detail

scWorldMapJitterTransitionCamera

void scWorldMapJitterTransitionCamera(void)

Shakes the camera round the leader: every third tick it moves a pixel diagonally from him, one of the four ways at random.

References fdActorGet(), fdCameraMoveToFX(), fdCameraMoveWithinMapBounds(), MainRoutineStateWork, Sint32 and TickCount.

Definition at line 3 of file camera_jitter.c.