QTfrontend/game.cpp
changeset 9249 7b8c82785145
parent 9124 955a90b88865
child 9466 8b48c27201af
equal deleted inserted replaced
9247:68bbe56badcc 9249:7b8c82785145
    15  * along with this program; if not, write to the Free Software
    15  * along with this program; if not, write to the Free Software
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
    17  */
    17  */
    18 
    18 
    19 #include <QString>
    19 #include <QString>
       
    20 #include <QCheckBox>
    20 #include <QByteArray>
    21 #include <QByteArray>
    21 #include <QUuid>
    22 #include <QUuid>
    22 #include <QColor>
    23 #include <QColor>
    23 #include <QStringListModel>
    24 #include <QStringListModel>
    24 #include <QTextStream>
    25 #include <QTextStream>
   413     if (!nick.isEmpty()) {
   414     if (!nick.isEmpty()) {
   414         arguments << "--nick";
   415         arguments << "--nick";
   415         arguments << nick;
   416         arguments << nick;
   416     }
   417     }
   417 
   418 
       
   419     if (!config->Form->ui.pageOptions->CBTeamTag->isChecked())
       
   420         arguments << "--no-teamtag";
       
   421     if (!config->Form->ui.pageOptions->CBHogTag->isChecked())
       
   422         arguments << "--no-hogtag";
       
   423     if (!config->Form->ui.pageOptions->CBHealthTag->isChecked())
       
   424         arguments << "--no-healthtag";
       
   425     if (config->Form->ui.pageOptions->CBTagOpacity->isChecked())
       
   426         arguments << "--translucent-tags";
       
   427 
   418     return arguments;
   428     return arguments;
   419 }
   429 }
   420 
   430 
   421 void HWGame::PlayDemo(const QString & demofilename, bool isSave)
   431 void HWGame::PlayDemo(const QString & demofilename, bool isSave)
   422 {
   432 {