Skip to content

Commit

Permalink
Improve docs on sprite coordinates.
Browse files Browse the repository at this point in the history
  • Loading branch information
tec27 committed Nov 1, 2023
1 parent 366096b commit da4755f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions broodmap/src/chk/sprites.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ bitflags! {
pub struct Sprite {
/// The unit/sprite ID. Note that this is not guaranteed to refer to a valid unit.
pub id: u16,
/// The x coordinate of the sprite.
/// The x coordinate of the sprite. This is a pixel value, assuming that each tile is 32x32.
pub x: u16,
/// The y coordinate of the sprite.
/// The y coordinate of the sprite. This is a pixel value, assuming that each tile is 32x32.
pub y: u16,
pub owner: u8,
pub flags: SpriteFlags,
Expand Down

0 comments on commit da4755f

Please sign in to comment.