- addSprite
void addSprite(ABitmap s, int n, Coordinate c, BitmapAttrib attr)
Undocumented in source. Be warned that the author may not have intended to support it.
- addSprite
void addSprite(ABitmap s, int n, int x, int y, BitmapAttrib attr)
Undocumented in source. Be warned that the author may not have intended to support it.
- editSpriteAttribute
void editSpriteAttribute(int n, T value)
Undocumented in source. Be warned that the author may not have intended to support it.
- getSpriteCoordinate
Coordinate getSpriteCoordinate(int n)
Undocumented in source. Be warned that the author may not have intended to support it.
- moveSprite
void moveSprite(int n, int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
- relMoveSprite
void relMoveSprite(int n, int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
- removeSprite
void removeSprite(int n)
Undocumented in source. Be warned that the author may not have intended to support it.
- replaceSprite
void replaceSprite(ABitmap s, int n)
Undocumented in source. Be warned that the author may not have intended to support it.
- replaceSprite
void replaceSprite(ABitmap s, int n, int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
- replaceSprite
void replaceSprite(ABitmap s, int n, Coordinate c)
Undocumented in source. Be warned that the author may not have intended to support it.
- replaceSpriteAttribute
void replaceSpriteAttribute(int n, BitmapAttrib attr)
Undocumented in source. Be warned that the author may not have intended to support it.
- setRasterizer
void setRasterizer(int rX, int rY)
Undocumented in source. Be warned that the author may not have intended to support it.
- updateRaster
void updateRaster(void* workpad, int pitch, Color* palette, int[] threads)
Undocumented in source. Be warned that the author may not have intended to support it.
- mainRenderingFunction
void function(uint* src, uint* dest, size_t length) mainRenderingFunction;
Used to get around some readability issues. (void* src, void* dest, int length)
- mainColorLookupFunction
void function(ushort* src, uint* dest, uint* palette, size_t length) mainColorLookupFunction;
Undocumented in source.
- main8BitColorLookupFunction
void function(ubyte* src, uint* dest, uint* palette, size_t length) main8BitColorLookupFunction;
Undocumented in source.
- main4BitColorLookupFunction
void function(ubyte* src, uint* dest, uint* palette, size_t length, int offset) main4BitColorLookupFunction;
Undocumented in source.
- renderMode
LayerRenderingMode renderMode;
Undocumented in source.
- sX
int sX;
- sY
int sY;
- rasterX
int rasterX;
- rasterY
int rasterY;
Undocumented in source.
- setRasterizer
void setRasterizer(int rX, int rY)
- setRenderingMode
void setRenderingMode(LayerRenderingMode mode)
- scroll
void scroll(int x, int y)
- relScroll
void relScroll(int x, int y)
Relative scrolling. Positive values scrolls the layer left and up, negative values scrolls the layer down and right.
- getSX
int getSX()
Getter for the X scroll position.
- getSY
int getSY()
Getter for the Y scroll position.
- updateRaster
void updateRaster(void* workpad, int pitch, Color* palette, int[] threads)
Override this to enable output to the raster
- flipHorizontal
void flipHorizontal(uint* src, int length)
Standard algorithm for horizontal mirroring
- removeSprite
void removeSprite(int n)
Removes the sprite with the given ID.
- moveSprite
void moveSprite(int n, int x, int y)
Moves the sprite to the given location.
- relMoveSprite
void relMoveSprite(int n, int x, int y)
Relatively moves the sprite by the given values.
- getSpriteCoordinate
Coordinate getSpriteCoordinate(int n)
Gets the coordinate of the sprite.
- addSprite
void addSprite(ABitmap s, int n, Coordinate c, BitmapAttrib attr)
Adds a sprite to the layer.
- addSprite
void addSprite(ABitmap s, int n, int x, int y, BitmapAttrib attr)
Adds a sprite to the layer.
- replaceSprite
void replaceSprite(ABitmap s, int n)
Replaces the sprite. If the new sprite has a different dimension, the old sprite's upper-left corner will be used.
- replaceSprite
void replaceSprite(ABitmap s, int n, int x, int y)
Replaces the sprite and moves to the given position.
- replaceSprite
void replaceSprite(ABitmap s, int n, Coordinate c)
Replaces the sprite and moves to the given position.
- editSpriteAttribute
void editSpriteAttribute(int n, T value)
Edits a sprite attribute.
- replaceSpriteAttribute
void replaceSpriteAttribute(int n, BitmapAttrib attr)
Replaces a sprite attribute.
General-purpose sprite controller and renderer.