libws libws
WSwan hardware library for the Wonderful toolchain
Loading...
Searching...
No Matches
ws_sprite_t Struct Reference

#include <display.h>

Data Fields

union { 
 
   struct { 
 
      uint16_t   tile: 9 
 
      uint8_t   palette: 3 
 
      bool   inside: 1 
 
      bool   priority: 1 
 
      bool   flip_h: 1 
 
      bool   flip_v: 1 
 
   }  
 
   uint16_t   attr 
 
};  
 
uint8_t y
 
uint8_t x
 

Detailed Description

Definition at line 85 of file display.h.

Field Documentation

◆ [union]

union { ... }

◆ attr

uint16_t attr

Definition at line 95 of file display.h.

◆ flip_h

bool flip_h

Definition at line 92 of file display.h.

◆ flip_v

bool flip_v

Definition at line 93 of file display.h.

◆ inside

bool inside

Definition at line 90 of file display.h.

◆ palette

uint8_t palette

Definition at line 89 of file display.h.

◆ priority

bool priority

Definition at line 91 of file display.h.

◆ tile

uint16_t tile

Definition at line 88 of file display.h.

◆ x

uint8_t x

Definition at line 98 of file display.h.

◆ y

uint8_t y

Definition at line 97 of file display.h.


The documentation for this struct was generated from the following file: