23 #ifndef TINSEL_OBJECT_H // prevent multiple includes 24 #define TINSEL_OBJECT_H 26 #include "tinsel/dw.h" 27 #include "common/frac.h" 28 #include "common/rect.h" 139 void KillAllObjects();
141 void FreeObjectList();
152 bool isValidObject(
OBJECT *obj);
183 void AnimateObjectFlags(
201 OBJECT *TranslucentObject(
207 #endif // TINSEL_OBJECT_H translucent rectangle object
Definition: object.h:47
SCNHANDLE hShape
objects current animation frame
Definition: object.h:93
3D objects for TinselV3
Definition: object.h:52
flip object horizontally
Definition: object.h:44
SCNHANDLE hImgBits
image bitmap handle
Definition: object.h:64
short anioffY
image y animation offset
Definition: object.h:63
short colorFlags
type of blending (Tinsel V3)
Definition: object.h:67
uint32 SCNHANDLE
Definition: dw.h:31
short anioffX
image x animation offset
Definition: object.h:62
write non-zero data
Definition: object.h:39
frac_t yPos
y position of object
Definition: object.h:81
int16 right
Definition: rect.h:146
Common::Rect rcPrev
previous screen coordinates of object bounding rectangle
Definition: object.h:83
SCNHANDLE hImg
handle to object image definition
Definition: object.h:92
OBJECT * pSlave
pointer to slave object (multi-part objects)
Definition: object.h:76
short isRLE
TinselVersion == 3, if image is using run-length encoding.
Definition: object.h:86
int oid
object identifier
Definition: object.h:95
OBJECT * pNext
pointer to next object in list
Definition: object.h:75
TenselV2+ run-length write all.
Definition: object.h:41
write all data
Definition: object.h:43
frac_t xPos
x position of object
Definition: object.h:80
int width
width of object
Definition: object.h:89
unsigned short imgHeight
image height
Definition: object.h:61
object has changed in some way since the last frame
Definition: object.h:49
clip object
Definition: object.h:46
uint32 FRAME
Definition: object.h:71
int zPos
z position of object
Definition: object.h:82
flip object vertically
Definition: object.h:45
int16 left
Definition: rect.h:145
int height
height of object
Definition: object.h:90
user defined flags start here
Definition: object.h:50
int constant
TinselV3, type of color blending.
Definition: object.h:88
position of object is absolute
Definition: object.h:48
write constant on both zero & non-zero data
Definition: object.h:42
short imgWidth
image width
Definition: object.h:60
PALQ * pPal
objects palette Q position
Definition: object.h:85
SCNHANDLE hImgPal
image palette handle (Tinsel V1/V2)
Definition: object.h:65
SCNHANDLE hBits
image bitmap handle
Definition: object.h:91
int32 frac_t
Definition: frac.h:52
short isRLE
if image is using run-length encoding (Tinsel V3)
Definition: object.h:66
SCNHANDLE hMirror
objects previous animation frame
Definition: object.h:94
int flags
object flags - see above for list
Definition: object.h:84
TinselV1 write constant on non-zero data.
Definition: object.h:40