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