BITMAP *mouse_bitmap = NULL;
char *filename;
- filename = getPath3(options.base_directory, GRAPHICS_DIRECTORY,
+ filename = getPath3(options.ro_base_directory, GRAPHICS_DIRECTORY,
MOUSE_FILENAME);
mouse_bitmap = Read_PCX_to_AllegroBitmap(filename);
display->screens[display->default_screen].height = YRES;
set_mouse_sprite(display->mouse_ptr);
+
+#if 0
+ set_mouse_sprite_focus(1, 1);
+#endif
+
set_mouse_speed(1, 1);
set_mouse_range(display->screens[display->default_screen].x + 1,
display->screens[display->default_screen].y + 1,
/* allocate new allegro bitmap structure */
if ((bitmap = create_bitmap_ex(depth, image->width, image->height)) == NULL)
+ {
+ errno_pcx = PCX_NoMemory;
return NULL;
+ }
clear(bitmap);
BITMAP *bitmap;
if ((bitmap = Read_PCX_to_AllegroBitmap(filename)) == NULL)
- return PCX_FileInvalid;
+ return errno_pcx;
*pixmap = (Pixmap)bitmap;
*pixmap_mask = (Pixmap)bitmap;