File: mon-clone.h

package info (click to toggle)
crawl 2%3A0.7.1-3
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 30,420 kB
  • ctags: 23,018
  • sloc: cpp: 244,317; ansic: 16,144; perl: 2,214; makefile: 984; python: 488; objc: 250; ruby: 200; sh: 140
file content (14 lines) | stat: -rw-r--r-- 461 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef MON_CLONE_H
#define MON_CLONE_H

// Formerly in mon-stuff:
bool mons_clonable(const monsters* orig, bool needs_adjacent = true);
int  clone_mons(const monsters* orig, bool quiet = false,
                bool* obvious = NULL, coord_def pos = coord_def(0, 0) );

void mons_summon_illusion_from(monsters *monster, actor *foe,
                               spell_type spell_cast = SPELL_NO_SPELL);

bool actor_is_illusion_cloneable(actor *target);

#endif