Created
February 7, 2016 20:22
-
-
Save joshgoebel/56e6f289117e76f5d608 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// MASKED | |
void drawExternalMask(int16_t x, int16_t y, const uint8_t *bitmap, | |
const uint8_t *mask, uint8_t frame, uint8_t mask_frame); | |
// = sprite UNMASKED | |
void drawOverwrite(int16_t x, int16_t y, const uint8_t *bitmap, uint8_t frame); | |
// AND (~sprite) SPRITE_IS_MASK_ERASE | |
void drawErase(int16_t x, int16_t y, const uint8_t *bitmap, uint8_t frame); | |
// OR (sprite) SPRITE_IS_MASK | |
void drawSelfMasked(int16_t x, int16_t y, const uint8_t *bitmap, uint8_t frame); | |
// internal masking SPRITE_PLUS_MASK | |
void drawPlusMask(int16_t x, int16_t y, const uint8_t *bitmap, uint8_t frame); |
ghost
commented
Feb 8, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment