23 #ifndef TINSEL_SYSVAR_H // prevent multiple includes 24 #define TINSEL_SYSVAR_H 28 typedef enum { SV_DEFAULT_INV,
51 SV_SCROLL_YTRIGGERTOP,
52 SV_SCROLL_YTRIGGERBOT,
73 SYS_DefaultFxDimFactor,
80 ISV_DIVERT_ACTOR_T2 = 0x28,
81 ISV_NO_BLOCKING_T2 = 0x29,
82 ISV_GHOST_ACTOR_T2 = 0x2A,
83 ISV_GHOST_BASE_T2 = 0x2B,
84 ISV_GHOST_COLOR_T2 = 0x2C,
86 SV_TOPVALID_T2 = 0x2D,
88 SV_SPRITER_SCENE_ID = 0x2F,
89 ISV_DIVERT_ACTOR_T3 = 0x32,
90 ISV_NO_BLOCKING_T3 = 0x33,
91 ISV_GHOST_ACTOR_T3 = 0x34,
92 ISV_GHOST_BASE_T3 = 0x35,
93 ISV_GHOST_COLOR_T3 = 0x36,
94 SV_SPRITER_SCALE = 0x37,
95 SV_SPRITER_OVERLAY = 0x38,
97 SV_TOPVALID_T3 } SYSVARS;
99 #define ISV_DIVERT_ACTOR ((TinselVersion == 3) ? ISV_DIVERT_ACTOR_T3 : ISV_DIVERT_ACTOR_T2) 100 #define ISV_NO_BLOCKING ((TinselVersion == 3) ? ISV_NO_BLOCKING_T3 : ISV_NO_BLOCKING_T2) 101 #define ISV_GHOST_ACTOR ((TinselVersion == 3) ? ISV_GHOST_ACTOR_T3 : ISV_GHOST_ACTOR_T2) 102 #define ISV_GHOST_BASE ((TinselVersion == 3) ? ISV_GHOST_BASE_T3 : ISV_GHOST_BASE_T2) 103 #define ISV_GHOST_COLOR ((TinselVersion == 3) ? ISV_GHOST_COLOR_T3 : ISV_GHOST_COLOR_T2) 104 #define SV_TOPVALID ((TinselVersion == 3) ? SV_TOPVALID_T3 : SV_TOPVALID_T2) 151 void SetSysVar(
int varId,
int newValue);
153 int SysVar(
int varId);
155 void SaveSysVars(
int *pSv);
156 void RestoreSysVars(
int *pSv);
158 void SetSysString(
int number,
SCNHANDLE hString);
162 bool GetNoBlocking();
164 void SetNoBlocking(
bool flag);
uint32 SCNHANDLE
Definition: dw.h:31