ScummVM API documentation
Ultima::Ultima8::SortItem Struct Reference

#include <sort_item.h>

Classes

struct  DependsList
 

Public Member Functions

void setBoxBounds (const Box &box, int32 sx, int32 sy)
 
Box getBoxBounds () const
 
bool contains (int32 sx, int32 sy) const
 
bool overlap (const SortItem &si2) const
 
bool occludes (const SortItem &si2) const
 
bool below (const SortItem &si2) const
 
bool listLessThan (const SortItem &si2) const
 
Common::String dumpInfo () const
 

Public Attributes

SortItem_next
 
SortItem_prev
 
uint16 _itemNum
 
const Shape_shape
 
uint32 _shapeNum
 
uint32 _frame
 
uint32 _flags
 
uint32 _extFlags
 
Rect _sr
 
int32 _x
 
int32 _xLeft
 
int32 _y
 
int32 _yFar
 
int32 _z
 
int32 _zTop
 
int32 _sxLeft
 
int32 _sxRight
 
int32 _sxTop
 
int32 _syTop
 
int32 _sxBot
 
int32 _syBot
 
bool _fbigsq: 1
 
bool _flat: 1
 
bool _occl: 1
 
bool _solid: 1
 
bool _draw: 1
 
bool _roof: 1
 
bool _noisy: 1
 
bool _anim: 1
 
bool _trans: 1
 
bool _fixed: 1
 
bool _land: 1
 
bool _sprite: 1
 
bool _invitem: 1
 
bool _occluded: 1
 
int32 _order
 
DependsList _depends
 

Detailed Description

This class is basically private to ItemSorter, but is in a separate header to enable unit testing.

Other code should have no reason to include it.


The documentation for this struct was generated from the following file: