Crossfire Server, Trunk  1.75.0
Movement types and related macros.

Those flags are all possible movement types. More...

Macros

#define MOVE_ALL   0x1f
 Mask of all movement types. More...
 
#define MOVE_BOAT   0x10
 Boats/sailing. More...
 
#define MOVE_FLY_HIGH   0x4
 High flying object. More...
 
#define MOVE_FLY_LOW   0x2
 Low flying object. More...
 
#define MOVE_FLYING   0x6
 Combo of fly_low and fly_high. More...
 
#define MOVE_SWIM   0x8
 Swimming object. More...
 
#define MOVE_WALK   0x1
 Object walks. More...
 

Detailed Description

Those flags are all possible movement types.

If you add new movement types, you may need to update describe_item() so properly describe those types. change_abil() probably should be updated also.

Macro Definition Documentation

◆ MOVE_ALL

#define MOVE_ALL   0x1f

Mask of all movement types.

Definition at line 389 of file define.h.

◆ MOVE_BOAT

#define MOVE_BOAT   0x10

Boats/sailing.

Definition at line 388 of file define.h.

◆ MOVE_FLY_HIGH

#define MOVE_FLY_HIGH   0x4

High flying object.

Definition at line 385 of file define.h.

◆ MOVE_FLY_LOW

#define MOVE_FLY_LOW   0x2

Low flying object.

Definition at line 384 of file define.h.

◆ MOVE_FLYING

#define MOVE_FLYING   0x6

Combo of fly_low and fly_high.

Definition at line 386 of file define.h.

◆ MOVE_SWIM

#define MOVE_SWIM   0x8

Swimming object.

Definition at line 387 of file define.h.

◆ MOVE_WALK

#define MOVE_WALK   0x1

Object walks.

Definition at line 383 of file define.h.