tie / oneko

(unofficial) oneko-sakura sources Git mirror
http://www.daidouji.com/oneko/
129 stars 30 forks source link

Feature Request: increase image size #8

Open mwittchen opened 4 years ago

mwittchen commented 4 years ago

As display resolutions are much higher these days, neko is quite small on FullHD displays. Is it possible to increase the size of the displayed neko? I am not a programmer so I increased the sizes of the bitmaps and bitmasks from 32x32 to 64x64 with GIMP and recompiled the code. Nevertheless it only lead to display glitches. Next I tried to change some values in the code:

AnimalDefaultsData AnimalDefaultsDataTable[] = { { "neko", 13, 6, 32, 32, 125000L, 0, 0, mouse_cursor_bits,mouse_cursor_mask_bits, mouse_cursor_width,mouse_cursor_height, mouse_cursor_x_hot,mouse_cursor_y_hot },

I changed the 32, 32 to 64,64 but this had not effect on the size of neko.

with9 commented 2 years ago

As display resolutions are much higher these days, neko is quite small on FullHD displays. Is it possible to increase the size of the displayed neko? I am not a programmer so I increased the sizes of the bitmaps and bitmasks from 32x32 to 64x64 with GIMP and recompiled the code. Nevertheless it only lead to display glitches. Next I tried to change some values in the code:

AnimalDefaultsData AnimalDefaultsDataTable[] = { { "neko", 13, 6, 32, 32, 125000L, 0, 0, mouse_cursor_bits,mouse_cursor_mask_bits, mouse_cursor_width,mouse_cursor_height, mouse_cursor_x_hot,mouse_cursor_y_hot },

I changed the 32, 32 to 64,64 but this had not effect on the size of neko.

After increasing the size of bitmap ,you may need to modify this line of oneko.h

#define BITMAP_WIDTH        32//64

#define BITMAP_HEIGHT       32//64