diff options
author | Raphael Langella <raphael.langella@gmail.com> | 2012-04-08 15:59:19 +0200 |
---|---|---|
committer | Raphael Langella <raphael.langella@gmail.com> | 2012-04-09 22:56:47 +0200 |
commit | 208f71645d7742fb9f5e85aab7e91898ebdc85c4 (patch) | |
tree | cb86a6d653c4f4795fd04ef5a5074539989d42b4 /crawl-ref/source/wiz-fsim.h | |
parent | ba1f42009afae6ff350b2219472961fa28d4c62d (diff) | |
download | crawl-ref-208f71645d7742fb9f5e85aab7e91898ebdc85c4.tar.gz crawl-ref-208f71645d7742fb9f5e85aab7e91898ebdc85c4.zip |
fsim: fix a lot of code duplication.
Also allows cancelling double scale simulation.
Diffstat (limited to 'crawl-ref/source/wiz-fsim.h')
-rw-r--r-- | crawl-ref/source/wiz-fsim.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/crawl-ref/source/wiz-fsim.h b/crawl-ref/source/wiz-fsim.h index 1a8372f699..1f2d6837dd 100644 --- a/crawl-ref/source/wiz-fsim.h +++ b/crawl-ref/source/wiz-fsim.h @@ -15,12 +15,7 @@ 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); +void wizard_quick_fsim(); +void wizard_fight_sim(bool double_scale); #endif |