X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=c6065db65b47f797c9498a5dd85bb78b77cbdb1e;hb=ef8c5a2593702e86fb1566cfc25dda5f35df2ea0;hp=3577e35913b1831af8ad1c5f006d2d137b170a4d;hpb=14089dac2cbe56e563863e1e5adb8847944fd262;p=rocksndiamonds.git diff --git a/src/libgame/system.h b/src/libgame/system.h index 3577e359..c6065db6 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -71,7 +71,7 @@ #define MV_BIT_RIGHT 1 #define MV_BIT_UP 2 #define MV_BIT_DOWN 3 -#define NUM_MV_DIRECTIONS 4 +#define NUM_DIRECTIONS 4 #define MV_NO_MOVING 0 #define MV_LEFT (1 << MV_BIT_LEFT) @@ -296,9 +296,11 @@ struct GfxInfo int vx, vy; int vxsize, vysize; - boolean draw_deactivation_mask; + int draw_deactivation_mask; + int draw_background_mask; Bitmap *background_bitmap; + int background_bitmap_mask; }; struct FontInfo @@ -477,6 +479,7 @@ struct ConfigInfo { char *token; char *value; + int type; }; struct FileInfo @@ -490,6 +493,14 @@ struct FileInfo int *parameter; /* array of file parameters */ }; +struct SetupFileList +{ + char *token; + char *value; + + struct SetupFileList *next; +}; + struct ListNodeInfo { char *source_filename; /* primary key for node list */ @@ -505,6 +516,7 @@ struct ArtworkListInfo struct FileInfo *file_list; /* static artwork file array */ struct ConfigInfo *suffix_list; /* parameter suffixes array */ + struct SetupFileList *custom_setup_list; /* additional definitions */ struct ListNodeInfo **artwork_list; /* static artwork node array */ @@ -565,8 +577,10 @@ void InitGfxFieldInfo(int, int, int, int, int, int, int, int); void InitGfxDoor1Info(int, int, int, int); void InitGfxDoor2Info(int, int, int, int); void InitGfxScrollbufferInfo(int, int); -void SetDrawDeactivationMask(int ); -void SetBackgroundBitmap(Bitmap *); +void SetDrawDeactivationMask(int); +void SetDrawBackgroundMask(int); +void SetMainBackgroundBitmap(Bitmap *); +void SetDoorBackgroundBitmap(Bitmap *); inline void InitVideoDisplay(void); inline void CloseVideoDisplay(void);