* Gets the width of the given sprite. * * @param sprite The sprite. * @return The width. */
| 152 | * @return The width. |
| 153 | */ |
| 154 | uint8 Sprite_GetWidth(uint8 *sprite) |
| 155 | { |
| 156 | if (sprite == NULL) return 0; |
| 157 | |
| 158 | return sprite[3]; |
| 159 | } |
| 160 | |
| 161 | /** |
| 162 | * Gets the height of the given sprite. |
no outgoing calls
no test coverage detected