X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=2a888667737e51d03611383a6a0e8510663c70ad;hb=4d2959f18f3461fc788d6775753d871e8dc53db1;hp=2ca0021fb6d224ad9bbe5a7466fef9d1304daea2;hpb=4a1cf573aae3a92b4ca910482d425e8b789b32eb;p=rocksndiamonds.git diff --git a/src/libgame/system.h b/src/libgame/system.h index 2ca0021f..2a888667 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -871,8 +871,8 @@ struct FontBitmapInfo { Bitmap *bitmap; - int src_x, src_y; /* start position of animation frames */ - int width, height; /* width/height of each animation frame */ + int src_x, src_y; /* start position of font characters */ + int width, height; /* width / height of font characters */ int draw_xoffset; /* offset for drawing font characters */ int draw_yoffset; /* offset for drawing font characters */ @@ -1422,6 +1422,12 @@ struct TextPosInfo int style; /* needed for panel time/health graphics */ }; +struct MouseActionInfo +{ + int lx, ly; + int button; +}; + struct LevelStats { int played; @@ -1508,6 +1514,7 @@ void SetRedrawMaskFromArea(int, int, int, int); void LimitScreenUpdates(boolean); +void InitVideoDefaults(void); void InitVideoDisplay(void); void CloseVideoDisplay(void); void InitVideoBuffer(int, int, int, boolean);