struct FIELD_COORDINATE
A field coordinate, read whole or as its fraction and its whole pixels. More…
Declared in field_coordinate.h.
Fields
| Name | Description | |
|---|---|---|
struct { Uint16 | decimal, integer, part ; Sint16 integer; } part[0] | 1/65536 pixels |
FIXED | fixed | 16.16 fixed-point pixels |
Description
A field coordinate, read whole or as its fraction and its whole pixels. The halves are a zero-length array over the whole, not a union: a union member may alias anything, and the game's code reads coordinates as plain words.
struct FIELD_COORDINATE
Referenced by fdMapGridCheckCollision(), fdMapGridCheckCollisionAbove(), fdPsynergyRing(), fdRisingParticlesUpdate(), fdTryJumpForward(), offsetof, scCavernsJumpAcross() and scCavernsJumpEastAcrossGap().
Definition at line 13 of file field_coordinate.h.
Fields in detail
decimal, integer, part
struct { Uint16 decimal; Sint16 integer; } part[0]
1/65536 pixels
fixed
FIXED fixed
16.16 fixed-point pixels