24 lines
1.1 KiB
C
24 lines
1.1 KiB
C
// Generic sprite "planes" op defaults. The chunky software sprite blit lives in
|
|
// core/sprite.c (spriteDrawInterpreted) and the per-platform sprite codegen does
|
|
// the fast path; jlpSprite*Planes is the PLANAR mirror/interpreter, which has no
|
|
// work to do on a chunky target -- so the generic default is a no-op. Planar
|
|
// machines (Amiga/ST) override it; every chunky port (IIgs/DOS/blank) elides
|
|
// the hooks to ((void)0) macros in port.h (PERF-AUDIT #42), so these bodies
|
|
// link only for a new planar port that has not implemented its hooks yet.
|
|
|
|
#include "port.h"
|
|
|
|
|
|
void jlpGenericSpriteDrawPlanes(jlSurfaceT *s, const jlSpriteT *sp, int16_t x, int16_t y) {
|
|
(void)s; (void)sp; (void)x; (void)y;
|
|
}
|
|
|
|
|
|
void jlpGenericSpriteSavePlanes(const jlSurfaceT *s, int16_t x, int16_t y, uint16_t w, uint16_t h, uint8_t *dstPlaneBytes) {
|
|
(void)s; (void)x; (void)y; (void)w; (void)h; (void)dstPlaneBytes;
|
|
}
|
|
|
|
|
|
void jlpGenericSpriteRestorePlanes(jlSurfaceT *s, int16_t x, int16_t y, uint16_t w, uint16_t h, const uint8_t *srcPlaneBytes) {
|
|
(void)s; (void)x; (void)y; (void)w; (void)h; (void)srcPlaneBytes;
|
|
}
|