What every part of the field object shares: its includes and the few names more than one part uses. More...
Go to the source code of this file.
Macros | |
| #define | TARGET_UNSET ((s32)0x80000000) |
| A movement target coordinate that is not set. | |
Enumerations | |
| enum | AnimationCommand { ANIM_CMD_END = 239 , ANIM_CMD_SET_KIND = 240 , ANIM_CMD_HOLD = 241 , ANIM_CMD_WAIT = 245 , ANIM_CMD_JUMP = 253 , ANIM_CMD_PLAY = 254 , ANIM_CMD_BLANK = 255 } |
| Animation script commands. More... | |
| enum | { RESOURCE_SLOT_COUNT = 8 , FIELD_OBJECT_COUNT = 64 , ANIMATION_OBJECT_COUNT = 64 , ANIMATION_LAYER_COUNT = 4 , ANIMATION_NORMAL_STEP = 16 } |
| enum | { FIELD_VIEW_FOCUS_X = 120 * Q16_ONE , FIELD_VIEW_FOCUS_Y = 96 * Q16_ONE , FIELD_VIEW_WIDTH = 240 * Q16_ONE , FIELD_VIEW_HEIGHT = 160 * Q16_ONE } |
| Layered-map viewport distances in 16.16 pixels. More... | |
What every part of the field object shares: its includes and the few names more than one part uses.
field.c includes it before the parts, and each part includes it too, so that a part read on its own still resolves. It places no bytes.
Definition in file field_internal.h.
| #define TARGET_UNSET ((s32)0x80000000) |
A movement target coordinate that is not set.
Definition at line 111 of file field_internal.h.
Referenced by Camera_FollowLeaderInBounds(), FieldObject_UpdatePlayerControl(), Object_IsTargetUnset(), Object_MoveByKeys(), Object_MoveOnWorldMap(), Object_SetMoveTarget(), Object_SetPositionAndResetMotion(), Object_UpdateAll(), Object_UpdateAllMotion(), and Object_UpdateAllThumb().
| enum AnimationCommand |
Animation script commands.
A script is pairs of bytes, a command and its argument; a command below 239 shows that frame for arg frames at normal speed (the timer counts sixteenths, less AnimationEntry.step each frame).
Definition at line 83 of file field_internal.h.
| anonymous enum |
| Enumerator | |
|---|---|
| RESOURCE_SLOT_COUNT | |
| FIELD_OBJECT_COUNT | |
| ANIMATION_OBJECT_COUNT | |
| ANIMATION_LAYER_COUNT | |
| ANIMATION_NORMAL_STEP | |
Definition at line 93 of file field_internal.h.
| anonymous enum |
Layered-map viewport distances in 16.16 pixels.
The followed point is below the vertical centre; scroll bounds and camera following share this origin.
| Enumerator | |
|---|---|
| FIELD_VIEW_FOCUS_X | |
| FIELD_VIEW_FOCUS_Y | |
| FIELD_VIEW_WIDTH | |
| FIELD_VIEW_HEIGHT | |
Definition at line 103 of file field_internal.h.