summaryrefslogtreecommitdiffstats
path: root/trunk/source/fight.h
diff options
context:
space:
mode:
authorpeterb12 <peterb12@c06c8d41-db1a-0410-9941-cceddc491573>2005-07-21 02:34:44 +0000
committerpeterb12 <peterb12@c06c8d41-db1a-0410-9941-cceddc491573>2005-07-21 02:34:44 +0000
commit673bdae75485d14f759af597c3c62b99601f9a43 (patch)
tree368103f29fe0ce5dcf98060d9b5faa04590085fb /trunk/source/fight.h
parent7e900be770db24b0405fd2162491c405a425873e (diff)
downloadcrawl-ref-673bdae75485d14f759af597c3c62b99601f9a43.tar.gz
crawl-ref-673bdae75485d14f759af597c3c62b99601f9a43.zip
Initial revision
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'trunk/source/fight.h')
-rw-r--r--trunk/source/fight.h52
1 files changed, 52 insertions, 0 deletions
diff --git a/trunk/source/fight.h b/trunk/source/fight.h
new file mode 100644
index 0000000000..10515868c6
--- /dev/null
+++ b/trunk/source/fight.h
@@ -0,0 +1,52 @@
+/*
+ * File: fight.cc
+ * Summary: Functions used during combat.
+ * Written by: Linley Henzell
+ *
+ * Change History (most recent first):
+ *
+ * <1> -/--/-- LRH Created
+ */
+
+
+#ifndef FIGHT_H
+#define FIGHT_H
+
+
+#include "externs.h"
+
+// added Sept 18, 2000 -- bwr
+/* ***********************************************************************
+ * called from: item_use.cc
+ * *********************************************************************** */
+int effective_stat_bonus( int wepType = -1 );
+
+// added Sept 18, 2000 -- bwr
+/* ***********************************************************************
+ * called from: describe.cc
+ * *********************************************************************** */
+int weapon_str_weight( int wpn_class, int wpn_type );
+
+
+// last updated: 08jun2000 {dlb}
+/* ***********************************************************************
+ * called from: acr - it_use3
+ * *********************************************************************** */
+void you_attack(int monster_attacked, bool unarmed_attacks);
+
+
+// last updated: 08jun2000 {dlb}
+/* ***********************************************************************
+ * called from: monstuff
+ * *********************************************************************** */
+void monster_attack(int monster_attacking);
+
+
+// last updated: 08jun2000 {dlb}
+/* ***********************************************************************
+ * called from: monstuff
+ * *********************************************************************** */
+bool monsters_fight(int monster_attacking, int monster_attacked);
+
+
+#endif