mirror of
https://git.shylie.info/shylie/glerminal.git
synced 2025-11-30 12:40:07 +00:00
Per-layer tinting and scaling
This commit is contained in:
@@ -58,6 +58,19 @@ unsigned char glerminal_get(unsigned char x, unsigned char y, unsigned char laye
|
||||
*/
|
||||
void glerminal_offset(unsigned char x, unsigned char y, unsigned char layer, float x_offset, float y_offset);
|
||||
|
||||
/**
|
||||
* @brief Set a layer's color
|
||||
* @param layer The layer to modify
|
||||
* @param color The new color
|
||||
*/
|
||||
void glerminal_layer_color(unsigned char layer, unsigned int color);
|
||||
/**
|
||||
* @brief Set a layer's scale
|
||||
* @param layer The layer to modify
|
||||
* @param scale The new scale
|
||||
*/
|
||||
void glerminal_layer_scale(unsigned char layer, float scale);
|
||||
|
||||
/**
|
||||
* @brief Upload sprite to the given sprite ID
|
||||
* @param id The ID of the sprite to change
|
||||
|
||||
Reference in New Issue
Block a user