mirror of
https://git.shylie.info/shylie/glerminal.git
synced 2025-10-01 20:50:10 +00:00
Properly fixed texture bleeding
This commit is contained in:
@@ -35,7 +35,7 @@ void glerminal_flush();
|
||||
* @param layer layer of the cell in the range [0, 8)
|
||||
* @param sprite sprite's index in the range [0, 256)
|
||||
*/
|
||||
void glerminal_set(unsigned char x, unsigned char y, unsigned char layer, unsigned char sprite);
|
||||
void glerminal_set(unsigned char x, unsigned char y, unsigned char layer, unsigned short sprite);
|
||||
/**
|
||||
* @brief Get a cell's sprite
|
||||
* @param x position of the cell in the range [0, 40)
|
||||
@@ -43,7 +43,7 @@ void glerminal_set(unsigned char x, unsigned char y, unsigned char layer, unsign
|
||||
* @param layer layer of the cell in the range [0, 8)
|
||||
* @return sprite index currently assigned to the cell
|
||||
*/
|
||||
unsigned char glerminal_get(unsigned char x, unsigned char y, unsigned char layer);
|
||||
unsigned char glerminal_get(unsigned char x, unsigned char y, unsigned short layer);
|
||||
/**
|
||||
* @brief Set a cell's offset
|
||||
* @param x position of the cell in the range [0, 40)
|
||||
|
Reference in New Issue
Block a user