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