Preprocessor Definitions

ASSERT

Expands to

assert
BG_CIRCLE

Expands to

0
BG_CLOUD

Expands to

2
BG_NONE

Expands to

3
BG_QUAD

Expands to

1
BHV_MAX_NAME_LENGTH

Maximum Length of “Names” in animations.

Expands to

256
BHV_MAX_TYPE_LENGTH

Maximum Length of Animation Type string.

Expands to

4096
BHV_MAX_VENDOR_LENGTH

Maximum Length of “Vendor” string.

Expands to

4096
BHV_MAX_VERSION_LENGTH

Maximum Length of “Version” string.

Expands to

256
BOOLEAN_TYPE_INTERSECT

Expands to

1
BOOLEAN_TYPE_NONE

Expands to

0
BOOLEAN_TYPE_SUBTRACT

Expands to

2
BOOLEAN_TYPE_UNION

Expands to

3
CURVE_ARRAY(pos)

Expands to

((HKeyframeChannelCurve*)GetAt(pos))
EPSILON

Expands to

0.00001F
HFileInputResult

Expands to

HFileIOResult
HFileOutputResult

Expands to

HFileIOResult
HImRegisterCallback(callback_name, callback_function)

This method associates a name with a function pointer.

Expands to

do {                                                                                                                 \
        (HImManager::GetCurrentHImManager())->RegisterOneCallback((const char*)callback_name, (void*)callback_function); \
    } while (0);
HImSetCallback(callback_type, callback_name)

This method associates a callback type with a registered callback function name in the currently open segment.

Expands to

do {                                                                                                           \
        (HImManager::GetCurrentHImManager())->SetCallback((const char*)callback_type, (const char*)callback_name); \
    } while (0);
HImSetCallbackByKey(segment_key, callback_type, callback_name)

This method associates a callback type with a registered callback function name in the segment specified by segment_key.

Expands to

do {                                                                                                                        \
        (HImManager::GetCurrentHImManager())->SetCallback(segment_key, (const char*)callback_type, (const char*)callback_name); \
    } while (0);
HImShowCallback(callback_name, callback_type)

This method writes the name of the callback_type assocation into the callback_name in the currently open segment.

Expands to

do {                                                                                                      \
        (HImManager::GetCurrentHImManager())->ShowCallback((const char*)callback_name, (char*)callback_type); \
    } while (0);
HImUnSetOneCallback(callback_type)

This method removes a callback assocation in the currently open segment.

Expands to

do {                                                                       \
        (HImManager::GetCurrentHImManager())->UnSetOneCallback(callback_type); \
    } while (0);
HImUnSetOneCallbackByKey(segment_key, callback_type)

This method removes the callback assocation in a segment specified by segment_key.

Expands to

do {                                                                                                 \
        (HImManager::GetCurrentHImManager())->UnSetOneCallback(segment_key, (const char*)callback_type); \
    } while (0);
HLISTENER_CONSUME_EVENT

Expands to

999
HLISTENER_PASS_EVENT

Expands to

0
HLISTENER_PRIORITY_HIGH

Expands to

10
HLISTENER_PRIORITY_LOW

Expands to

0
HLISTENER_PRIORITY_NORMAL

Expands to

5
HPOINT_EPSILON

HPOINT_EPSILON.

Expands to

(1e-5f)
HSTREAMER_CONDITION_COMPLETE_READ_DICTIONARY

The streamer has read the dictionary from the hsf file.

Expands to

6
HSTREAMER_CONDITION_COMPLETE_READ_PAUSES

The streamer has read all the pauses from the hsf file.

Expands to

0
HSTREAMER_CONDITION_COMPLETE_SWEETENING

The streamer has completed the previous request for sweetening.

Expands to

2
HSTREAMER_CONDITION_NO_DICTIONARY

No dictionary was found when expected will continue reading normally.

Expands to

4
HSTREAMER_CONDITION_VERSION_MISMATCH

File hsf version is newer than readers version will try to read anyway.

Expands to

5
HSTREAMER_CONDITION_VIEW_UPDATE

The application should update the view.

Expands to

3
HSUBENTITY_EDGES

Expands to

0x04
HSUBENTITY_FACES

Expands to

0x01
HSUBENTITY_VERTICES

Expands to

0x02
InputBadFileName

Expands to

HIO_BadFileName
InputBadLicense

Expands to

HIO_BadLicense
InputBadOptions

Expands to

HIO_BadOptions
InputFail

Expands to

HIO_Fail
InputLibraryNotFound

Expands to

HIO_LibraryNotFound
InputNotHandled

Expands to

HIO_NotHandled
InputOK

Expands to

HIO_OK
InputVersionMismatch

Expands to

HIO_VersionMismatch
LAST_HFileInputResult

Specifies last file output type.

Expands to

InputBadOptions
LAST_HFileOutputResult

Specifies last file output type.

Expands to

OutputBadOptions
LAST_HShadowMode

Specifies last shadow mode type.

Expands to

HShadowHard
LAST_HSignal

Specifies last object signal.

Expands to

HSignalClash
MAX_SI_INDEX

Expands to

((0x1 << (31 - VI_BITS)) - 1)
MVO_ALT

Expands to

1 << 3
MVO_CONTROL

Expands to

1 << 1
MVO_DOWN_ARROW

Expands to

1 << 16
MVO_JOYSTICK_BUTTON_1

Expands to

1 << 17
MVO_JOYSTICK_BUTTON_2

Expands to

1 << 18
MVO_JOYSTICK_BUTTON_3

Expands to

1 << 19
MVO_JOYSTICK_BUTTON_4

Expands to

1 << 20
MVO_JOYSTICK_BUTTON_5

Expands to

1 << 21
MVO_JOYSTICK_BUTTON_6

Expands to

1 << 22
MVO_JOYSTICK_BUTTON_7

Expands to

1 << 23
MVO_JOYSTICK_BUTTON_8

Expands to

1 << 24
MVO_LBUTTON

Expands to

1 << 4
MVO_LEFT_ALT

Expands to

1 << 12
MVO_LEFT_ARROW

Expands to

1 << 13
MVO_LEFT_CONTROL

Expands to

1 << 10
MVO_LEFT_SHIFT

Expands to

1 << 11
MVO_MBUTTON

Expands to

1 << 5
MVO_RBUTTON

Expands to

1 << 6
MVO_RIGHT_ALT

Expands to

1 << 9
MVO_RIGHT_ARROW

Expands to

1 << 15
MVO_RIGHT_CONTROL

Expands to

1 << 7
MVO_RIGHT_SHIFT

Expands to

1 << 8
MVO_SHIFT

Expands to

1 << 2
MVO_UP_ARROW

Expands to

1 << 14
MakeSegment(key)

provides backwards compatibility for apps that were relying on MakeSegment, the old name for GrabSegment. MakeSegment was a poor choice for a name since it wasn’t actually making anything

Expands to

GrabSegment(key)
ONEMATBUFSIZE

Expands to

512
OVERLOAD_EXECUTE(base_class___name__abc)

Expands to

TK_Status Execute(BStreamFileToolkit& tk)                   \
    {                                                           \
        TK_Status status = base_class___name__abc::Execute(tk); \
        m_pPersIdent->AssociateKey(last_key(tk));               \
        return status;                                          \
    }
OVERLOAD_EXECUTE_POLY(base_class___name__abc)

Expands to

TK_Status Execute(BStreamFileToolkit& tk)                   \
    {                                                           \
        TK_Status status = base_class___name__abc::Execute(tk); \
        for (int i = 0; i < m_primitive_count; i++)             \
            m_pPersIdent->AssociateKey(m_keys[i]);              \
        return status;                                          \
    }
OVERLOAD_INTERPRET_CHAR(base_class__name__abc)

Expands to

TK_Status Interpret(BStreamFileToolkit& tk, HC_KEY key, char const* name) \
    {                                                                         \
        TK_Status status = base_class__name__abc::Interpret(tk, key, name);   \
        m_key = key;                                                          \
        return status;                                                        \
    }
OVERLOAD_INTERPRET_INT(base_class__name__abc)

Expands to

TK_Status Interpret(BStreamFileToolkit& tk, HC_KEY key, int variant = 0)   \
    {                                                                          \
        TK_Status status = base_class__name__abc::Interpret(tk, key, variant); \
        m_key = key;                                                           \
        return status;                                                         \
    }
OVERLOAD_WRITE(base_class__name__abc)

Expands to

TK_Status Write(BStreamFileToolkit& tk)                  \
    {                                                        \
        TK_Status status = base_class__name__abc::Write(tk); \
        m_pPersIdent->AssociateKey(m_key);                   \
        return status;                                       \
    }
OVERLOAD_WRITE_POLY(base_class__name__abc)

Expands to

TK_Status Write(BStreamFileToolkit& tk)                  \
    {                                                        \
        TK_Status status = base_class__name__abc::Write(tk); \
        for (int i = 0; i < m_primitive_count; i++)          \
            m_pPersIdent->AssociateKey(m_keys[i]);           \
        return status;                                       \
    }
OVERRIDE

Expands to

override
OutputBadFileName

Expands to

HIO_BadFileName
OutputBadLicense

Expands to

HIO_BadLicense
OutputBadOptions

Expands to

HIO_BadOptions
OutputFail

Expands to

HIO_Fail
OutputLibraryNotFound

Expands to

HIO_LibraryNotFound
OutputNotHandled

Expands to

HIO_NotHandled
OutputOK

Expands to

HIO_OK
OutputVersionMismatch

Expands to

HIO_VersionMismatch
PSHOW_CACHE_CAMERA

Expands to

0x00010000
PSHOW_CACHE_CLIP_REGION

Expands to

0x00400000
PSHOW_CACHE_COLOR

Expands to

0x00002000
PSHOW_CACHE_COLORMAP

Expands to

0x00200000
PSHOW_CACHE_CONDITIONS

Expands to

0x00800000
PSHOW_CACHE_EDGE_PATTERN

Expands to

0x00008000
PSHOW_CACHE_EDGE_WEIGHT

Expands to

0x00004000
PSHOW_CACHE_HANDEDNESS

Expands to

0x00000008
PSHOW_CACHE_HEURISTICS

Expands to

0x00000010
PSHOW_CACHE_HIDDEN_LINE_HSRA

Expands to

0x00040000
PSHOW_CACHE_IMAGE_SCALE

Expands to

0x00020000
PSHOW_CACHE_LINE_PATTERN

Expands to

0x00001000
PSHOW_CACHE_LINE_WEIGHT

Expands to

0x00000800
PSHOW_CACHE_MARKER_SIZE

Expands to

0x00000200
PSHOW_CACHE_MARKER_SYMBOL

Expands to

0x00000400
PSHOW_CACHE_MODELLING_MATRIX

Expands to

0x00000001
PSHOW_CACHE_POLYGON_HANDEDNESS

Expands to

0x00080000
PSHOW_CACHE_RENDERING_OPTIONS

Expands to

0x00000004
PSHOW_CACHE_TEXT_ALIGNMENT

Expands to

0x00000040
PSHOW_CACHE_TEXT_FONT

Expands to

0x00000020
PSHOW_CACHE_TEXT_PATH

Expands to

0x00000080
PSHOW_CACHE_TEXT_SPACING

Expands to

0x00000100
PSHOW_CACHE_TRANS_COLOR

Expands to

0x00100000
PSHOW_CACHE_VISIBILITY

Expands to

0x00000002
REMOVE_VARRAY(pos)

Expands to

{                                    \
        HKeyframe* temp = m_pArray[pos]; \
        delete temp;                     \
        m_pArray.RemoveAt(pos);          \
    }
REPLACE_VARRAY(c, pos)

Expands to

{                                        \
        if ((int)m_pArray.Count() > pos) {   \
            HKeyframe* temp = m_pArray[pos]; \
            delete temp;                     \
        }                                    \
        m_pArray.ReplaceAt(c, pos);          \
    }
SUBWINDOW_MAGNIFIER

The subwindow acts as a magnifying glass.

Expands to

1
SUBWINDOW_NOTYPE

The basic window type.

Expands to

0
SUBWINDOW_POINTER

The subwindow acts as a view into the scene where the directiona and extent can be controlled by a pointer.

Expands to

3
SUBWINDOW_SNAPSHOT

The subwindow can take snapshots of the scene.

Expands to

2
SW_ACTION_DRAGGING

Subwindow action is dragging the scene inside the subwindow.

Expands to

5
SW_ACTION_MAGNIFYING

Subwindow action is manifying.

Expands to

3
SW_ACTION_MOVE

Subwindow action is move.

Expands to

1
SW_ACTION_NOACTION

There is no subwindow action.

Expands to

0
SW_ACTION_POINTERMOVE

Subwindow action is moving the pointer.

Expands to

4
SW_ACTION_SCROLLING

Subwindow action is dragging the scene inside the subwindow.

Expands to

6
SW_ACTION_SIZING

Subwindow action is resizing.

Expands to

2
SW_BACKGROUND_BOX

Subwindow has a shadow.

Expands to

64
SW_BORDER

Subwindow has borders.

Expands to

1
SW_DELETE_FIELD

Subwindow has a close button.

Expands to

16
SW_DRAG_FIELD

Subwindow allows the scene to be moved inside the window.

Expands to

8
SW_MAGNIFIER_FIELD

Subwindow has a magnifier slider.

Expands to

32
SW_MOVE_FIELD

Subwindow can be moved.

Expands to

4
SW_SCROLL_FIELD

Subwindow has a close button.

Expands to

32
SW_SIZE_FIELD

Subwindow has a resize area.

Expands to

2
UNUSED_INDEX_TO_PAIR

Expands to

0xffffffff
VI_BITS

Expands to

(16)
VI_MASK

Expands to

((1 << VI_BITS) - 1)
_HNET_MESSAGE_REGISTRAR
_PI

Expands to

3.14159265358979323