]> ruin.nu Git - hbs.git/blobdiff - bs/ui/bsappbase.ui.h
battle algorithms are getting more and more mature and stats.conf is updated.
[hbs.git] / bs / ui / bsappbase.ui.h
index 0787e81d3563357ca824bd91598b5e18894348a4..8d5da689d32821851a4ae957eb4f9feb92d8460a 100644 (file)
@@ -99,4 +99,12 @@ void BSAppBase::battleNew()
        {
       // user entered nothing or pressed Cancel
        }
+}
+
+void BSAppBase::battleSimulate()
+{
+     QApplication::setOverrideCursor( Qt::WaitCursor );
+     
+     doc->runBattleSimulation();
+     QApplication::restoreOverrideCursor();
 }
\ No newline at end of file