Update example, lower cell scale

This commit is contained in:
Shylie
2024-05-14 22:03:45 -05:00
parent 8318011cf2
commit 615ea631e2
3 changed files with 12 additions and 12 deletions

View File

@@ -33,24 +33,24 @@ void glerminal_flush();
/**
* @brief Set a cell's sprite
* @param x position of the cell in the range [0, 32)
* @param y position of the cell in the range [0, 20)
* @param x position of the cell in the range [0, 40)
* @param y position of the cell in the range [0, 25)
* @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);
/**
* @brief Get a cell's sprite
* @param x position of the cell in the range [0, 32)
* @param y position of the cell in the range [0, 20)
* @param x position of the cell in the range [0, 40)
* @param y position of the cell in the range [0, 25)
* @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);
/**
* @brief Set a cell's offset
* @param x position of the cell in the range [0, 32)
* @param y position of the cell in the range [0, 20)
* @param x position of the cell in the range [0, 40)
* @param y position of the cell in the range [0, 25)
* @param layer layer of the cell in the range [0, 8)
* @param x_offset offset of the cell on the x axis in the range [-128, 127], where 0 is no offset
* @param y_offset offset of the cell on the y axis in the range [-128, 127], where 0 is no offset