X-Git-Url: https://ruin.nu/git/?p=hbs.git;a=blobdiff_plain;f=bs%2Fui%2Fbsappbase.ui.h;h=da293f2786f9c3bbae29da3024db3847ca05953f;hp=e7257447f284070aea24529ba78c00b8e8f2ed8f;hb=c2dd8856c3d97667953a0b73403b5e5cade5ce9b;hpb=e07f49323a1936c90605d06f6f63e4c39b4c4aca diff --git a/bs/ui/bsappbase.ui.h b/bs/ui/bsappbase.ui.h index e725744..da293f2 100644 --- a/bs/ui/bsappbase.ui.h +++ b/bs/ui/bsappbase.ui.h @@ -55,6 +55,7 @@ void BSAppBase::editCut() void BSAppBase::init() { + conf = new BSConf(); doc = new BSDoc(); view = new BSView(this,doc); setCentralWidget(view); @@ -98,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