]> ruin.nu Git - hbs.git/blobdiff - bs/ui/bsappbase.ui.h
adding, removing and chaning fleets now works.
[hbs.git] / bs / ui / bsappbase.ui.h
index e7257447f284070aea24529ba78c00b8e8f2ed8f..da293f2786f9c3bbae29da3024db3847ca05953f 100644 (file)
@@ -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