22 #ifndef NUVIE_FILES_U6_SHAPE_H 23 #define NUVIE_FILES_U6_SHAPE_H 30 #include "ultima/shared/std/string.h" 59 bool init(uint16 w, uint16 h, uint16 hx = 0, uint16 hy = 0);
61 bool load(
U6Lib_n *file, uint32 index);
62 virtual bool load(
unsigned char *buf);
63 bool load_from_lzc(
const Common::Path &filename, uint32 idx, uint32 sub_idx);
64 bool load_WoU_background(
const Configuration *config, nuvie_game_t game_type);
66 const unsigned char *get_data()
const;
67 unsigned char *get_data();
69 bool get_hot_point(uint16 *x, uint16 *y);
70 bool get_size(uint16 *w, uint16 *h);
72 void draw_line(uint16 sx, uint16 sy, uint16 ex, uint16 ey, uint8 color);
73 bool blit(
U6Shape *shp, uint16 x, uint16 y);
74 void fill(uint8 color);
Definition: managed_surface.h:51
Definition: configuration.h:61
Definition: u6_shape.h:47
Definition: detection.h:27
Definition: u6_lib_n.h:46