23#ifndef TINSEL_CURSOR_H
24#define TINSEL_CURSOR_H
26#include "common/frac.h"
27#include "tinsel/anim.h"
38#define MAX_TRAILERS 10
44 void AdjustCursorXY(
int deltaX,
int deltaY);
45 void SetCursorXY(
int x,
int y);
46 void SetCursorScreenXY(
int newx,
int newy);
47 void GetCursorXY(
int *x,
int *y,
bool absolute);
48 bool GetCursorXYNoWait(
int *x,
int *y,
bool absolute);
51 void RestoreMainCursor();
55 void HideCursorProcess();
56 void AnimateProcess();
58 void DoFreezeCursor(
bool bFreeze);
59 void HideCursorTrails();
60 void UnHideCursorTrails();
67 void StartCursorFollowed();
68 void EndCursorFollowed();
73 bool CursorIsFrozen() {
return _frozenCursor; }
74 int NumTrails() {
return _numTrails; }
75 bool IsHidden() {
return _hiddenCursor; }
76 bool ShouldBeHidden() {
return _hiddenCursor || _tempHiddenCursor; }
77 bool HasReelData() {
return _cursorFilm != 0; }
79 bool _cursorProcessesStopped;
83 bool _cursorProcessesRestarted;
88 void InitCurTrailObj(
int i,
int x,
int y);
89 bool GetDriverPosition(
int *x,
int *y);
99 bool _tempHiddenCursor;
111 short _auxCursorOffsetX;
112 short _auxCursorOffsetY;
117 } _trailData[MAX_TRAILERS];
119 int _lastCursorX, _lastCursorY;
int32 frac_t
Definition: frac.h:52
uint32 SCNHANDLE
Definition: dw.h:31