summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/wiz-fsim.h
diff options
context:
space:
mode:
authorRaphael Langella <raphael.langella@gmail.com>2012-04-07 15:45:14 +0200
committerRaphael Langella <raphael.langella@gmail.com>2012-04-09 22:56:46 +0200
commitbdfcae8ccbc54a33fcfe654711079a3c61f1fdef (patch)
treecffc42b86cbd8f70aec62cf4b6b97c20175da56b /crawl-ref/source/wiz-fsim.h
parent4a27246088416b35ccad01e53a38c1d9dcd714d0 (diff)
downloadcrawl-ref-bdfcae8ccbc54a33fcfe654711079a3c61f1fdef.tar.gz
crawl-ref-bdfcae8ccbc54a33fcfe654711079a3c61f1fdef.zip
New fight simulator (nfogravity).
Diffstat (limited to 'crawl-ref/source/wiz-fsim.h')
-rw-r--r--crawl-ref/source/wiz-fsim.h19
1 files changed, 17 insertions, 2 deletions
diff --git a/crawl-ref/source/wiz-fsim.h b/crawl-ref/source/wiz-fsim.h
index 1422feb9d3..1a8372f699 100644
--- a/crawl-ref/source/wiz-fsim.h
+++ b/crawl-ref/source/wiz-fsim.h
@@ -1,11 +1,26 @@
/**
* @file
- * @brief Fight simualtion wizard functions.
+ * @brief Fight simulation wizard functions.
**/
#ifndef WIZFSIM_H
#define WIZFSIM_H
-void debug_fight_statistics(bool use_init_defaults, bool defence = false);
+struct fight_data {
+double av_hit_dam;
+int max_dam;
+int accuracy;
+double av_dam;
+double av_time;
+double av_eff_dam;
+};
+
+void wiz_run_fight_sim(monster_type mtype = MONS_WORM,
+ int iter_limit = 5000);
+void wiz_fight_sim_file(bool defend = false,
+ monster_type mtype = MONS_WORM,
+ int iter_limit = 5000,
+ const char * fightstat = "fight.stat");
+void skill_vs_fighting(int iter_limit = 5000);
#endif