QTfrontend/ammoSchemeModel.cpp
changeset 1895 7ba647a88b2f
parent 1890 de5cfe3beb22
child 1897 e9dcb47013c7
equal deleted inserted replaced
1894:ba54441631da 1895:7ba647a88b2f
    22 
    22 
    23 AmmoSchemeModel::AmmoSchemeModel(QObject* parent) :
    23 AmmoSchemeModel::AmmoSchemeModel(QObject* parent) :
    24   QAbstractTableModel(parent)
    24   QAbstractTableModel(parent)
    25 {
    25 {
    26 	defaultScheme
    26 	defaultScheme
    27 		<< QVariant(tr("Default")) // name         0
    27 		<< QVariant(tr("Default")) // name           0
    28 		<< QVariant(false)         // fortsmode    1
    28 		<< QVariant(false)         // fortsmode      1
    29 		<< QVariant(false)         // team divide  2
    29 		<< QVariant(false)         // team divide    2
    30 		<< QVariant(false)         // solid land   3
    30 		<< QVariant(false)         // solid land     3
    31 		<< QVariant(false)         // border       4
    31 		<< QVariant(false)         // border         4
    32 		<< QVariant(45)            // turn time    5
    32 		<< QVariant(false)         // low gravity    5
    33 		<< QVariant(100)           // init health  6
    33 		<< QVariant(false)         // laser sight    6
    34 		<< QVariant(15)            // sudden death 7
    34 		<< QVariant(false)         // invulnerable   7
    35 		<< QVariant(5)             // case prob    8
    35 		<< QVariant(true)          // add mines      8
       
    36 		<< QVariant(100)           // damage modfier 9
       
    37 		<< QVariant(45)            // turn time      10
       
    38 		<< QVariant(100)           // init health    11
       
    39 		<< QVariant(15)            // sudden death   12
       
    40 		<< QVariant(5)             // case prob      13
    36 		;
    41 		;
    37 
    42 
    38 	schemes.append(defaultScheme);
    43 	schemes.append(defaultScheme);
    39 }
    44 }
    40 
    45