(20111215) 12:00

This commit is contained in:
2011-12-15 12:00:00 +01:00
parent a80dda1a85
commit 0855d72749
38 changed files with 875 additions and 202 deletions

20
Draw.h
View File

@@ -40,6 +40,22 @@ typedef void *DrawImg;
DrawImg Draw_LoadImage(char *filename);
/////////////////////////////
// Draw_GetSize
//
// Gets the image size.
void Draw_GetSize(DrawImg img,int *w,int *h);
/////////////////////////////
// Draw_SetOffset
// Draw_GetOffset
//
// Sets and Gets the image offset.
void Draw_SetOffset(DrawImg img,int x,int y);
void Draw_GetOffset(DrawImg img,int *x,int *y);
/////////////////////////////
// Draw_ImgSetKeyCol
//
@@ -59,11 +75,9 @@ void Draw_ImgSetAlpha(DrawImg img, unsigned char a);
/////////////////////////////
// Draw_DrawImg
// Draw_DrawImgCenter
//
// Draws an image. And a centered variant
// Draws an image.
void Draw_DrawImg(DrawImg img,int x,int y);
void Draw_DrawImgCenter(DrawImg img,int x,int y);
////////////////////////////////////////////////