構造体定義書 仕様書作成ツール【A HotDocument】

monst

構文構文

struct monst

ファイル名ファイル名

def.monst.h

構造体情報構造体情報

No. 名称 属性説明
1
monst   
  nmon monst *  
  data permonst *  
  m_id unsigned  
  mx,my xchar  
  mdx,mdy xchar if mdispl then pos where last displayed
  mtrack[MTSZ]   monster track
  mhp,mhpmax schar  
  mappearance char nonzero for undetected 'M's and for '1's
  Bitfield(mimic,1)   undetected mimic
  Bitfield(mdispl,1)   mdx,mdy valid
  Bitfield(minvis,1)   invisible
  Bitfield(cham,1)   shape-changer
  Bitfield(mhide,1)   hides beneath objects
  Bitfield(mundetected,1)   not seen in present hiding place
  Bitfield(mspeed,2)    
  Bitfield(msleep,1)    
  Bitfield(mfroz,1)    
  Bitfield(mconf,1)    
  Bitfield(mflee,1)   fleeing
  Bitfield(mfleetim,7)   timeout for mflee
  Bitfield(mcan,1)   has been cancelled
  Bitfield(mtame,1)   implies peaceful
  Bitfield(mpeaceful,1)   does not attack unprovoked
  Bitfield(isshk,1)   is shopkeeper
  Bitfield(isgd,1)   is guard
  Bitfield(mcansee,1)   cansee 1, temp.blinded 0, blind 0
  Bitfield(mblinded,7)   cansee 0, temp.blinded n, blind 0
  Bitfield(mtrapped,1)   trapped in a pit or bear trap
  Bitfield(mnamelth,6)   length of name (following mxlth)
  Bitfield(wormno,5)   at most 31 worms on any level
  mtrapseen unsigned bitmap of traps we've been trapped in
  mlstmv long prevent two moves at once
  minvent obj *  
  mgold long  
  mxlth unsigned length of following data
  mextra[1] long monster dependent info

See Also

目次 | ファイル一覧 | 関数一覧 | ネームスペース一覧 | クラス一覧 | #define一覧 | マクロ一覧 | 外部変数一覧 | 構造体一覧 | 共用体一覧 | 列挙体一覧 | Const一覧 | 索引 | サイドメニュー