X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.h;h=2d31f211ff5a6026c43b2da824c1ac2c206d73f1;hb=0dd76aace99b32f0a9d11b908f40e9629785ade6;hp=ce4ab0f2781e76d8c951e31134bbf2d47f9ab829;hpb=a5a03e15b395ba1942c180d1cd0d3a4f43b87f56;p=rocksndiamonds.git diff --git a/src/tools.h b/src/tools.h index ce4ab0f2..2d31f211 100644 --- a/src/tools.h +++ b/src/tools.h @@ -19,9 +19,10 @@ #include -/* für DrawGraphicAnimation */ -#define ANIM_NORMAL 0 -#define ANIM_OSCILLATE 1 +/* für SetDrawtoField */ +#define DRAW_DIRECT 0 +#define DRAW_BUFFERED 1 +#define DRAW_BACKBUFFER 2 /* für DrawElementShifted */ #define CUT_NO_CUTTING 0 @@ -52,11 +53,13 @@ #define AYS_STAY_CLOSED 16 #define AYS_STAY_OPEN 32 +void SetDrawtoField(int); void BackToFront(); void FadeToFront(); void ClearWindow(); void DrawText(int, int, char *, int, int); void DrawTextExt(Drawable, GC, int, int, char *, int, int); +void DrawPlayerField(void); void DrawGraphicAnimation(int, int, int, int, int, int); void DrawGraphic(int, int, int); void DrawGraphicExt(Drawable, GC, int, int, int); @@ -68,6 +71,7 @@ void DrawMiniGraphicExt(Drawable, GC, int, int, int); void DrawMiniGraphicExtHiRes(Drawable, GC, int, int, int); void DrawGraphicShifted(int, int, int, int, int, int); void DrawElementShifted(int, int, int, int, int, int); +void DrawGraphicShiftedThruMask(int, int, int, int, int, int); void ErdreichAnbroeckeln(int, int); void DrawScreenElement(int, int, int); void DrawLevelElement(int, int, int); @@ -85,10 +89,6 @@ unsigned int CloseDoor(unsigned int); unsigned int GetDoorState(void); unsigned int MoveDoor(unsigned int); int ReadPixel(Drawable, int, int); -void CheckJoystickData(void); -int JoystickPosition(int, int, int); -int Joystick(void); -int JoystickButton(void); int el2gfx(int); #endif