X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Ftools.h;h=538793099e875d1ebfcf970b42130e4b226c08cb;hb=0c2b6a7610933f9098ec233f7b4c2b52eac3535c;hp=40430781d1b53311dc5358b24cb7003fda59ee11;hpb=b454c38f3381978b6813eb06c736adaa38c55b89;p=rocksndiamonds.git diff --git a/src/tools.h b/src/tools.h index 40430781..53879309 100644 --- a/src/tools.h +++ b/src/tools.h @@ -38,8 +38,8 @@ #define DOOR_OPEN_2 (1 << 1) #define DOOR_CLOSE_1 (1 << 2) #define DOOR_CLOSE_2 (1 << 3) -#define DOOR_OPEN_BOTH (DOOR_OPEN_1 | DOOR_OPEN_2) -#define DOOR_CLOSE_BOTH (DOOR_CLOSE_1 | DOOR_CLOSE_2) +#define DOOR_OPEN_ALL (DOOR_OPEN_1 | DOOR_OPEN_2) +#define DOOR_CLOSE_ALL (DOOR_CLOSE_1 | DOOR_CLOSE_2) #define DOOR_ACTION_1 (DOOR_OPEN_1 | DOOR_CLOSE_1) #define DOOR_ACTION_2 (DOOR_OPEN_2 | DOOR_CLOSE_2) #define DOOR_ACTION (DOOR_ACTION_1 | DOOR_ACTION_2) @@ -62,6 +62,8 @@ void SetDrawtoField(int); void BackToFront(); void FadeToFront(); void ClearWindow(); +void DrawTextF(int, int, int, char *, ...); +void DrawTextFCentered(int, int, char *, ...); void DrawText(int, int, char *, int, int); void DrawTextExt(Drawable, GC, int, int, char *, int, int); void DrawAllPlayers(void); @@ -96,7 +98,7 @@ void DrawMicroElement(int, int, int); void DrawLevel(void); void DrawMiniLevel(int, int); void DrawMicroLevel(int, int); -BOOL Request(char *, unsigned int); +boolean Request(char *, unsigned int); unsigned int OpenDoor(unsigned int); unsigned int CloseDoor(unsigned int); unsigned int GetDoorState(void);