Alchemy
Loading...
Searching...
No Matches

script_motion.h File Reference

ScriptMotionObject, an object moved by a field script. More...

Go to the source code of this file.

Data Structures

struct  ScriptMotionWords
 The words of an object's script, as its script pointer reads them. More...
struct  ScriptMotionObject
 A field object as the motion code sees it: its script, position, motion toward a target, bounce and gravity, motion flags and wait, and its hook. More...

Typedefs

typedef struct ScriptMotionWords ScriptMotionWords

Functions

 STATIC_ASSERT (sizeof(struct ScriptMotionObject)==0x70)
 STATIC_ASSERT (offsetof(struct ScriptMotionObject, script)==0x00)
 STATIC_ASSERT (offsetof(struct ScriptMotionObject, scriptCursor)==0x04)
 STATIC_ASSERT (offsetof(struct ScriptMotionObject, facing)==0x06)
 STATIC_ASSERT (offsetof(struct ScriptMotionObject, vertical)==0x44)
 STATIC_ASSERT (offsetof(struct ScriptMotionObject, arrivalAxis)==0x56)
 STATIC_ASSERT (offsetof(struct ScriptMotionObject, wait)==0x5e)
 STATIC_ASSERT (offsetof(struct ScriptMotionObject, frozen)==0x61)
 STATIC_ASSERT (offsetof(struct ScriptMotionObject, hook)==0x6c)

Detailed Description

ScriptMotionObject, an object moved by a field script.

Definition in file script_motion.h.

Typedef Documentation

◆ ScriptMotionWords

typedef struct ScriptMotionWords ScriptMotionWords

Definition at line 22 of file script_motion.h.

Function Documentation

◆ STATIC_ASSERT() [1/9]

STATIC_ASSERT ( sizeof(struct ScriptMotionObject) = =0x70)

◆ STATIC_ASSERT() [2/9]

STATIC_ASSERT ( offsetof(struct ScriptMotionObject, script) = =0x00)

◆ STATIC_ASSERT() [3/9]

STATIC_ASSERT ( offsetof(struct ScriptMotionObject, scriptCursor) = =0x04)

◆ STATIC_ASSERT() [4/9]

STATIC_ASSERT ( offsetof(struct ScriptMotionObject, facing) = =0x06)

◆ STATIC_ASSERT() [5/9]

STATIC_ASSERT ( offsetof(struct ScriptMotionObject, vertical) = =0x44)

◆ STATIC_ASSERT() [6/9]

STATIC_ASSERT ( offsetof(struct ScriptMotionObject, arrivalAxis) = =0x56)

◆ STATIC_ASSERT() [7/9]

STATIC_ASSERT ( offsetof(struct ScriptMotionObject, wait) = =0x5e)

◆ STATIC_ASSERT() [8/9]

STATIC_ASSERT ( offsetof(struct ScriptMotionObject, frozen) = =0x61)

◆ STATIC_ASSERT() [9/9]

STATIC_ASSERT ( offsetof(struct ScriptMotionObject, hook) = =0x6c)