[Crossfire-wiki] [Crossfire DokuWiki] page added: dev:object_fields

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Wed Jan 3 07:00:11 CST 2007


A page in your DokuWiki was added or changed. Here are the details:

Date        : 2007/01/03 07:00
User        : ryo
Edit Summary: list of fields, much information missing

This is the description of fields of the object structure, and what they are used to.

See also [[dev:objects]]

FIXME fill in the blanks :)

==== contr ====
Type: pl *

Meaning:

==== next ====
Type: obj *

Meaning:

==== prev ====
Type: obj *

Meaning:

==== active_next ====
Type: obj *

Meaning:

==== active_prev ====
Type: obj *

Meaning:

==== below ====
Type: obj *

Meaning:

==== above ====
Type: obj *

Meaning:

==== inv ====
Type: obj *

Meaning:

==== container ====
Type: obj *

Meaning:

==== env ====
Type: obj *

Meaning:

==== more ====
Type: obj *

Meaning:

==== head ====
Type: obj *

Meaning:

==== map ====
Type: mapdef *

Meaning:

==== count ====
Type: tag_t

Meaning:

==== refcount ====
Type: uint16

Meaning:

==== name ====
Type: const char *

Meaning:

==== name_pl ====
Type: const char *

Meaning:

==== title ====
Type: const char *

Meaning:

==== race ====
Type: const char *

Meaning:

==== slaying ====
Type: const char *

Meaning:

==== skill ====
Type: const char *

Meaning:

==== msg ====
Type: const char *

Meaning:

==== lore ====
Type: const char *

Meaning:

==== x ====
Type: sint16

Meaning:

==== y ====
Type: sint16

Meaning:

==== ox ====
Type: sint16

Meaning:

==== oy ====
Type: sint16

Meaning:

==== speed ====
Type: float

Meaning:

==== speed_left ====
Type: float

Meaning:

==== nrof ====
Type: uint32

Meaning:

==== face ====
Type: New_Face *

Meaning:

==== direction ====
Type: sint8

Meaning:

==== facing ====
Type: sint8

Meaning:

==== type ====
Type: uint8

Meaning:

==== subtype ====
Type: uint8

Meaning:

==== client_type ====
Type: uint16

Meaning:

==== resist ====
Type: sint16[NROFATTACKS]

Meaning:

==== attacktype ====
Type: uint32

Meaning:

==== path_attuned ====
Type: uint32

Meaning:

==== path_repelled ====
Type: uint32

Meaning:

==== path_denied ====
Type: uint32

Meaning:

==== material ====
Type: uint16

Meaning:

==== materialname ====
Type: const char *

Meaning:

==== magic ====
Type: sint8

Meaning:

==== state ====
Type: uint8

Meaning:

==== value ====
Type: sint32

Meaning:

==== level ====
Type: sint16

Meaning:

==== last_heal ====
Type: sint32

Meaning:

==== last_sp ====
Type: sint32

Meaning:

==== last_grace ====
Type: sint16

Meaning:

==== last_eat ====
Type: sint16

Meaning:

==== invisible ====
Type: sint16

Meaning:

==== pick_up ====
Type: uint8

Meaning:

==== item_power ====
Type: sint8

Meaning:

==== gen_sp_armour ====
Type: sint8

Meaning:

==== weight ====
Type: sint32

Meaning:

==== weight_limit ====
Type: sint32

Meaning:

==== carrying ====
Type: sint32

Meaning:

==== glow_radius ====
Type: sint8

Meaning:

==== stats ====
Type: living

Meaning:

==== perm_exp ====
Type: sint64

Meaning:

==== current_weapon_script ====
Type: const char *

Meaning:

==== current_weapon ====
Type: obj *

Meaning:

==== weapontype ====
Type: uint32

Meaning:

==== tooltype ====
Type: uint32

Meaning:

==== body_info ====
Type: sint8[NUM_BODY_LOCATIONS]

Meaning:

==== body_used ====
Type: sint8[NUM_BODY_LOCATIONS]

Meaning:

==== owner ====
Type: obj *

Meaning:

==== ownercount ====
Type: tag_t

Meaning:

==== enemy ====
Type: obj *

Meaning:

==== attacked_by ====
Type: obj *

Meaning:

==== attacked_by_count ====
Type: tag_t

Meaning:

==== randomitems ====
Type: treasureliststruct *

Meaning:

==== run_away ====
Type: uint16

Meaning:

==== chosen_skill ====
Type: obj *

Meaning:

==== hide ====
Type: uint32

Meaning:

==== move_status ====
Type: sint32

Meaning:

==== attack_movement ====
Type: uint16

Meaning:

==== will_apply ====
Type: uint8

Meaning:

==== spellitem ====
Type: obj *

Meaning:

==== expmul ====
Type: double

Meaning:

==== duration ====
Type: sint16

Meaning:

==== duration_modifier ====
Type: uint8

Meaning:

==== casting_time ====
Type: sint16

Meaning:

==== spell ====
Type: obj *

Meaning:

==== start_holding ====
Type: uint16

Meaning:

==== spellarg ====
Type: char *

Meaning:

==== dam_modifier ====
Type: uint8

Meaning:

==== range ====
Type: sint8

Meaning:

==== range_modifier ====
Type: uint8

Meaning:

==== arch ====
Type: archt *

Meaning:

==== other_arch ====
Type: archt *

Meaning:

==== flags ====
Type: uint32[4]

Meaning:

==== animation_id ====
Type: uint16

Meaning:

==== anim_speed ====
Type: uint8

Meaning:

==== last_anim ====
Type: uint8

Meaning:

==== elevation ====
Type: sint32

Meaning:

==== smoothlevel ====
Type: uint8

Meaning:

==== map_layer ====
Type: uint8

Meaning:

==== move_type ====
Type: MoveType

Meaning:

==== move_block ====
Type: MoveType

Meaning:

==== move_allow ====
Type: MoveType

Meaning:

==== move_on ====
Type: MoveType

Meaning:

==== move_off ====
Type: MoveType

Meaning:

==== move_slow ====
Type: MoveType

Meaning:

==== move_slow_penalty ====
Type: float

Meaning:

==== custom_name ====
Type: const char *

Meaning:

==== key_values ====
Type: key_value *

Meaning:

==== no_save ====
Type: uint8

Meaning:


IP-Address  : 62.23.167.225
Old Revision: none
New Revision: http://wiki.metalforge.net/doku.php/dev:object_fields

-- 
This mail was generated by DokuWiki at
http://wiki.metalforge.net/




More information about the crossfire-wiki mailing list