1.1 diff -r 8d7bd2fa5db6 -r 41804cc569ab bitblt.h 1.2 --- a/bitblt.h Wed Jan 02 10:17:24 2002 +0000 1.3 +++ b/bitblt.h Wed Jan 02 10:17:48 2002 +0000 1.4 @@ -1,7 +1,7 @@ 1.5 typedef struct Point 1.6 { 1.7 - int x; 1.8 - int y; 1.9 + s32 x; 1.10 + s32 y; 1.11 } Point; 1.12 1.13 typedef struct Rect 1.14 @@ -13,8 +13,8 @@ 1.15 typedef struct Bitmap 1.16 { 1.17 u8 *bits; 1.18 - u32 width; 1.19 - u32 height; 1.20 + s32 width; 1.21 + s32 height; 1.22 u32 rowbytes; 1.23 } Bitmap; 1.24 1.25 @@ -35,7 +35,7 @@ 1.26 #define ROT_270 (TRANSPOSE + FLIP_V) 1.27 1.28 1.29 -Bitmap *create_bitmap (u32 width, u32 height); 1.30 +Bitmap *create_bitmap (s32 width, s32 height); 1.31 void free_bitmap (Bitmap *bitmap); 1.32 boolean get_pixel (Bitmap *bitmap, Point coord); 1.33 void set_pixel (Bitmap *bitmap, Point coord, boolean value);