diff options
author | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-01 01:55:04 -0700 |
---|---|---|
committer | Matthew Cline <zelgadis@sourceforge.net> | 2009-11-01 01:55:04 -0700 |
commit | 204607ad3e8aecb32e01f303b1e86545d3d57f62 (patch) | |
tree | 02cbad03b0e787e266cf650414d56022d34d5f6a /crawl-ref/source/mon-act.h | |
parent | 82ab217c80b03d6e85cf0547c84e919535eb6827 (diff) | |
download | crawl-ref-204607ad3e8aecb32e01f303b1e86545d3d57f62.tar.gz crawl-ref-204607ad3e8aecb32e01f303b1e86545d3d57f62.zip |
Split up monstuff.cc
A lot of monstuff.cc was moved into mon-abil.cc (monster abilities),
mon-act.cc (the main monster loop), mon-behv.cc (monster behaviour) and
mon-cast.cc (monster spells). mstuff2.cc was completely merged into
other files.
Diffstat (limited to 'crawl-ref/source/mon-act.h')
-rw-r--r-- | crawl-ref/source/mon-act.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/crawl-ref/source/mon-act.h b/crawl-ref/source/mon-act.h new file mode 100644 index 0000000000..026d8a2f4b --- /dev/null +++ b/crawl-ref/source/mon-act.h @@ -0,0 +1,14 @@ +/* + * File: mon-act.h + * Summary: Monsters doing stuff (monsters acting). + * Written by: Linley Henzell + */ + +#ifndef MONACT_H +#define MONACT_H + +void handle_monsters(void); + +#define ENERGY_SUBMERGE(entry) (std::max(entry->energy_usage.swim / 2, 1)) + +#endif |