16 lines
600 B
C
16 lines
600 B
C
// chunk5 TransformVertex7EBC (xform-B: X/Z from the stream, Y from the
|
|
// 24-bit section base at $4A..$52) and TransformVertex80C5 (xform-A:
|
|
// full X/Y/Z from the stream). Both read the scenery cursor at $8B and
|
|
// advance it past the vertex bytes, charge the frame work counter and
|
|
// write the transformed vertex to the zero-page slot in Y ($CB or $D4).
|
|
|
|
#ifndef CHUNK5_TRANSFORM_H
|
|
#define CHUNK5_TRANSFORM_H
|
|
|
|
#include <stdint.h>
|
|
|
|
// Vertex slot for the output (the Y register of the 6502 call).
|
|
void chunk5TransformVertex7EBC(uint8_t slot);
|
|
void chunk5TransformVertex80C5(uint8_t slot);
|
|
|
|
#endif
|