X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=d3f518ed3b17c2f1e31ef4293f6ae500a00775d8;hb=8b685a52cd9bdf6ad20d1fb6e4c8f8d70c99603e;hp=f7259356ee8eb5932f8d76d43605975a4eccaf59;hpb=f7165d318c089b77d0a91a77afc44cb8866dc1cc;p=rocksndiamonds.git diff --git a/src/libgame/system.h b/src/libgame/system.h index f7259356..d3f518ed 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -439,6 +439,9 @@ #define ERROR_BASENAME "stderr.txt" +#define STRING_PARENT_DIRECTORY ".." +#define STRING_TOP_DIRECTORY "/" + #define CHAR_PATH_SEPARATOR_UNIX '/' #define CHAR_PATH_SEPARATOR_DOS '\\' @@ -729,6 +732,8 @@ struct VideoSystemInfo boolean window_scaling_available; int window_scaling_percent; char *window_scaling_quality; + + boolean initialized; }; struct AudioSystemInfo @@ -813,6 +818,8 @@ struct GfxInfo int anim_random_frame; void (*draw_busy_anim_function)(void); + + int cursor_mode; }; struct JoystickInfo @@ -1204,13 +1211,15 @@ struct DoorPartPosInfo struct TextPosInfo { int x, y; + int xoffset; /* special case for tape date and time */ + int xoffset2; /* special case for tape date */ int width, height; int align, valign; - int size; + int size; /* also used for suffix ".digits" */ int font, font_alt; boolean draw_masked; boolean draw_player; /* special case for network player buttons */ - int sort_priority; + int sort_priority; /* also used for suffix ".draw_order" */ int id; }; @@ -1281,6 +1290,7 @@ void InitGfxScrollbufferInfo(int, int); void InitGfxClipRegion(boolean, int, int, int, int); void InitGfxDrawBusyAnimFunction(void (*draw_busy_anim_function)(void)); void InitGfxCustomArtworkInfo(); +void InitGfxOtherSettings(); void SetDrawDeactivationMask(int); void SetDrawBackgroundMask(int); void SetWindowBackgroundBitmap(Bitmap *);