From 204607ad3e8aecb32e01f303b1e86545d3d57f62 Mon Sep 17 00:00:00 2001 From: Matthew Cline Date: Sun, 1 Nov 2009 01:55:04 -0700 Subject: 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. --- crawl-ref/source/mon-act.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 crawl-ref/source/mon-act.h (limited to 'crawl-ref/source/mon-act.h') 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 -- cgit v1.2.3-54-g00ecf