22 #ifndef NUVIE_CORE_CURSOR_H 23 #define NUVIE_CORE_CURSOR_H 25 #include "ultima/shared/std/string.h" 26 #include "ultima/shared/std/containers.h" 37 uint16 point_x, point_y;
38 unsigned char *shapedat;
54 unsigned char *cleanup;
60 uint16 screen_w, screen_h;
62 void add_update(uint16 x, uint16 y, uint16 w, uint16 h);
63 inline void fix_position(
MousePointer *ptr,
int &px,
int &py);
64 void save_backing(uint32 px, uint32 py, uint32 w, uint32 h);
72 uint32 load_all(
const Common::Path &filename, nuvie_game_t game_type);
74 bool set_pointer(uint8 ptr_num);
76 void reset_position() {
80 void move(uint32 px, uint32 py) {
93 void get_hotspot(uint16 &x, uint16 &y)
const {
94 x = cursors[cursor_id]->point_x;
95 y = cursors[cursor_id]->point_y;
98 return display(cur_x, cur_y);
100 bool display(
int px,
int py);
104 bool is_visible()
const {
Definition: configuration.h:61
Definition: atari-screen.h:60
Definition: detection.h:27
Out move(In first, In last, Out dst)
Definition: algorithm.h:109
Definition: containers.h:38