23 lines
722 B
C
23 lines
722 B
C
// chunk5's viewport painting: page flipping, the sky/ground fill under
|
|
// the projected horizon, the artificial horizon instrument and the
|
|
// turn coordinator (src/chunk5.s FlipPagesFillViewport ..
|
|
// DrawTurnCoordinatorAtAngle).
|
|
|
|
#ifndef CHUNK5_SCREEN_H
|
|
#define CHUNK5_SCREEN_H
|
|
|
|
#include <stdbool.h>
|
|
#include <stdint.h>
|
|
|
|
// FlipPagesFillViewport: `skipFlip` is the X register on entry (non-zero
|
|
// keeps the current page).
|
|
void chunk5FlipPagesFillViewport(bool skipFlip);
|
|
|
|
// DrawTurnCoordinatorAndSnapshot (L84F4): draw at `angle` and record it
|
|
// for the current page.
|
|
void chunk5DrawTurnCoordinatorAndSnapshot(uint8_t angle);
|
|
|
|
void chunk5UpdateArtificialHorizon(void);
|
|
void chunk5UpdateTurnCoordinator(void);
|
|
|
|
#endif
|