X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=src%2Flibgame%2Fsystem.h;h=f3da4ad15bf6d0b5a771638b78b0785a88578c86;hp=a2226a78d8228e9b5229a43618122060eb734a7b;hb=7d85a53b341ca7a3dca87b6f2ccebf45ddf96c92;hpb=c9308ba3e7ddea2d7e44b4d98f0dfbb19e18f04f diff --git a/src/libgame/system.h b/src/libgame/system.h index a2226a78..f3da4ad1 100644 --- a/src/libgame/system.h +++ b/src/libgame/system.h @@ -958,10 +958,13 @@ struct TileCursorInfo { boolean enabled; /* tile cursor generally enabled or disabled */ boolean active; /* tile cursor activated (depending on game) */ + boolean moving; /* tile cursor moving to target position */ int xpos, ypos; /* tile cursor level playfield position */ int x, y; /* tile cursor current screen position */ int target_x, target_y; /* tile cursor target screen position */ + + int sx, sy; /* tile cursor screen start position */ }; struct OverlayInfo @@ -1450,6 +1453,7 @@ struct MouseActionInfo { int lx, ly; int button; + int button_hint; }; struct LevelStats @@ -1532,6 +1536,7 @@ void SetTileCursorEnabled(boolean); void SetTileCursorActive(boolean); void SetTileCursorTargetXY(int, int); void SetTileCursorXY(int, int); +void SetTileCursorSXSY(int, int); void SetOverlayEnabled(boolean); void SetOverlayActive(boolean); boolean GetOverlayActive();