(20111225) 04:20

This commit is contained in:
2011-12-25 04:20:00 +01:00
parent f1b89a72b5
commit 3aa422ce69
16 changed files with 726 additions and 159 deletions

26
Draw.h
View File

@@ -15,7 +15,7 @@ int Draw_Init(int width,int height,char *title,int fps);
// Draw_Loop
//
// Loops updating the game window.
void Draw_Loop(int (*proc)());
void Draw_Loop(int (*proc)(),void (*draw)());
/////////////////////////////
@@ -58,23 +58,6 @@ void Draw_SetOffset(DrawImg img,int x,int y);
void Draw_GetOffset(DrawImg img,int *x,int *y);
/////////////////////////////
// Draw_ImgSetKeyCol
//
// Setting the image color key.
void Draw_ImgSetKeyCol(DrawImg img,
unsigned char r,
unsigned char g,
unsigned char b);
/////////////////////////////
// Draw_ImgSetAlpha
//
// Setting the image alpha.
void Draw_ImgSetAlpha(DrawImg img, unsigned char a);
/////////////////////////////
// Draw_DrawImg
//
@@ -89,13 +72,6 @@ void Draw_DrawImg(DrawImg img,int x,int y);
void Draw_DrawImgPart(DrawImg img,int x,int y,int w,int i);
/////////////////////////////
// Draw_DrawImgTrans
//
// Draws an image transformed.
void Draw_DrawImgTrans(DrawImg img,int x,int y,float angle);
////////////////////////////////////////////////
// DrawFnt //
/////////////