ScummVM API documentation
Ultima::Nuvie::U6Shape Class Reference
Inheritance diagram for Ultima::Nuvie::U6Shape:
Ultima::Nuvie::U6Bmp

Public Member Functions

bool init (uint16 w, uint16 h, uint16 hx=0, uint16 hy=0)
 
virtual bool load (const Common::Path &filename)
 
bool load (U6Lib_n *file, uint32 index)
 
virtual bool load (unsigned char *buf)
 
bool load_from_lzc (const Common::Path &filename, uint32 idx, uint32 sub_idx)
 
bool load_WoU_background (const Configuration *config, nuvie_game_t game_type)
 
const unsigned char * get_data () const
 
unsigned char * get_data ()
 
Graphics::ManagedSurfaceget_shape_surface ()
 
bool get_hot_point (uint16 *x, uint16 *y)
 
bool get_size (uint16 *w, uint16 *h)
 
void draw_line (uint16 sx, uint16 sy, uint16 ex, uint16 ey, uint8 color)
 
bool blit (U6Shape *shp, uint16 x, uint16 y)
 
void fill (uint8 color)
 

Protected Attributes

unsigned char * raw
 
uint16 width
 
uint16 height
 

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