ghost2_flags.zh#
Variables#
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
|
const int |
Functions#
void |
Ghost_SetFlag(int flag) |
void |
Ghost_UnsetFlag(int flag) |
bool |
Ghost_FlagIsSet(int flag) |
void |
Variable descriptions#
const int GHF_KNOCKBACK = 1
🔗 Source
ghost.zh Version 2.8.15 Old flags - 16 bits, can be ORed together
const int GHF_KNOCKBACK_4WAY = 3
🔗 Source
const int GHF_REDUCED_KNOCKBACK = 5
🔗 Source
const int GHF_STUN = 8
🔗 Source
const int GHF_CLOCK = 16
🔗 Source
const int GHF_NO_FALL = 32
🔗 Source
const int GHF_SET_DIRECTION = 64
🔗 Source
const int GHF_SET_OVERLAY = 128
🔗 Source
const int GHF_4WAY = 256
🔗 Source
const int GHF_8WAY = 512
🔗 Source
const int GHF_IGNORE_SOLIDITY = 1024
🔗 Source
const int GHF_IGNORE_WATER = 2048
🔗 Source
const int GHF_IGNORE_PITS = 4096
🔗 Source
const int GHF_MOVE_OFFSCREEN = 8192
🔗 Source
const int GHF_FAKE_Z = 16384
🔗 Source
const int GHF_FULL_TILE_MOVEMENT = 32768
🔗 Source
const int GHF_NORMAL = 89
🔗 Source
Combined old flags
const int GHF_IGNORE_ALL_TERRAIN = 7168
🔗 Source
const int GHF_FLYING_ENEMY = 65536
🔗 Source
New flags - Set individually, identified as new by 17th bit
const int GHF_IGNORE_NO_ENEMY = 65537
🔗 Source
const int GHF_WATER_ONLY = 65538
🔗 Source
const int GHF_DEEP_WATER_ONLY = 65539
🔗 Source
const int GHF_STATIC_SHADOW = 65540
🔗 Source
const int __GHFI_GOT_HIT = 1
🔗 Source
Internal enemy flags
const int __GHFI_WAS_FROZEN = 2
🔗 Source
const int __GHFI_DIR_FORCED = 4
🔗 Source
const int __GHFI_CSET_FORCED = 8
🔗 Source
const int __GHFI_KNOCKBACK_INTERRUPTED = 16
🔗 Source
const int __GHFI_HIT_LINK = 32
🔗 Source
const int __GH_UNSET_FLAGS = 32
🔗 Source
AND to unset flags that last one frame
Function descriptions#
void Ghost_SetFlag(int flag) 🔗 Source
void Ghost_UnsetFlag(int flag) 🔗 Source
bool Ghost_FlagIsSet(int flag) 🔗 Source