QTfrontend/hwconsts.cpp.in
changeset 5200 7440fe992e73
parent 5049 96e51a62fb7f
child 5201 7b9aa7aac336
equal deleted inserted replaced
5199:5eae5da831e1 5200:7440fe992e73
    32 QStringList * scriptList;
    32 QStringList * scriptList;
    33 
    33 
    34 bool custom_config = false;
    34 bool custom_config = false;
    35 bool custom_data = false;
    35 bool custom_data = false;
    36 
    36 
    37 int cMaxTeams = 6;
    37 int cMaxTeams = 8;
    38 int cMinServerVersion = 0;
    38 int cMinServerVersion = 0;
    39 
    39 
    40 QString * cDefaultAmmoStore = new QString(
    40 QString * cDefaultAmmoStore = new QString( AMMOLINE_DEFAULT_QT AMMOLINE_DEFAULT_PROB
    41         "939192942219912103223511100120100000021111010101111991"
    41                                            AMMOLINE_DEFAULT_DELAY AMMOLINE_DEFAULT_CRATE );
    42         "040504054160065554655446477657666666615551010111541111"
       
    43         "000000000000020550000004000700400000000022000000060000"
       
    44         "131111031211111112311411111111111111121111110111111111"
       
    45         );
       
    46 int cAmmoNumber = cDefaultAmmoStore->size() / 4;
    42 int cAmmoNumber = cDefaultAmmoStore->size() / 4;
    47 
    43 
    48 QList< QPair<QString, QString> > cDefaultAmmos =
    44 QList< QPair<QString, QString> > cDefaultAmmos =
    49         QList< QPair<QString, QString> >()
    45         QList< QPair<QString, QString> >()
    50         << qMakePair(QString("Default"), *cDefaultAmmoStore)
    46         << qMakePair(QString("Default"), *cDefaultAmmoStore)
    51         << qMakePair(QString("Crazy"),     QString(
    47         << qMakePair(QString("Crazy"),       QString(
    52         // TODO: Remove Piano's unlimited uses!
    48             AMMOLINE_CRAZY_QT AMMOLINE_CRAZY_PROB
    53         "999999999999999999299999999999999929999999990999999229"
    49             AMMOLINE_CRAZY_DELAY AMMOLINE_CRAZY_CRATE ))
    54         "111111011111111111111111111111111111111111110111111111"
    50         << qMakePair(QString("Pro Mode"),    QString(
    55         "000000000000000000000000000000000000000000000000000000"
    51             AMMOLINE_PROMODE_QT AMMOLINE_PROMODE_PROB
    56         "131111031211111112311411111111111111121111010111111111"
    52             AMMOLINE_PROMODE_DELAY AMMOLINE_PROMODE_CRATE ))
    57         ))
    53         << qMakePair(QString("Shoppa"),      QString(
    58         << qMakePair(QString("Pro Mode"),  QString(
    54             AMMOLINE_SHOPPA_QT AMMOLINE_SHOPPA_PROB
    59         "909000900000000000000900000000000000000000000000000000"
    55             AMMOLINE_SHOPPA_DELAY AMMOLINE_SHOPPA_CRATE ))
    60         "000000000000000000000000000000000000000000000000000000"
    56         << qMakePair(QString("Clean Slate"), QString(
    61         "000000000000020550000004000700400000000020000000000000"
    57             AMMOLINE_CLEAN_QT AMMOLINE_CLEAN_PROB
    62         "111111111111111111111111111111111111111110010111111111"
    58             AMMOLINE_CLEAN_DELAY AMMOLINE_CLEAN_CRATE ))
    63         ))
    59         << qMakePair(QString("Minefield"),   QString(
    64         << qMakePair(QString("Shoppa"),    QString(
    60             AMMOLINE_MINES_QT AMMOLINE_MINES_PROB
    65         "000000990000000000000000000000000000000000000000000000"
    61             AMMOLINE_MINES_DELAY AMMOLINE_MINES_CRATE ))
    66         "444441004424440221011212122242200000000200040001001111"
       
    67         "000000000000000000000000000000000000000000000000000000"
       
    68         "111111111111111111111111111111111111111110110111111111"
       
    69         ))
       
    70         << qMakePair(QString("Clean Slate"),QString(
       
    71         "101000900001000001100000000000000000000000000000100000"
       
    72         "040504054160065554655446477657666666615551010111541111"
       
    73         "000000000000000000000000000000000000000000000000000000"
       
    74         "131111031211111112311411111111111111121111110111111111"
       
    75         ))
       
    76         << qMakePair(QString("Minefield"), QString(
       
    77         "000000990009000000030000000000000000000000000000000000"
       
    78         "000000000000000000000000000000000000000000000000000000"
       
    79         "000000000000020550000004000700400000000020000000060000"
       
    80         "111111111111111111111111111111111111111111110111111111"
       
    81         ))
       
    82         << qMakePair(QString("Thinking with Portals"), QString(
    62         << qMakePair(QString("Thinking with Portals"), QString(
    83         "900000900200000000210000000000000011000009000000000000"
    63             AMMOLINE_PORTALS_QT AMMOLINE_PORTALS_PROB
    84         "040504054160065554655446477657666666615551010111541111"
    64             AMMOLINE_PORTALS_DELAY AMMOLINE_PORTALS_CRATE ))
    85         "000000000000020550000004000700400000000020000000060000"
    65         ;
    86         "131111031211111112311411111111111111121111110111111111"
       
    87         ));
       
    88 
    66 
    89 QColor *colors[] = {
    67 QColor *colors[] = {
    90                     new QColor(221,   0,   0), // classic red
    68                     new QColor(221,   0,   0), // classic red
    91                     new QColor( 51, 102, 217), // dark blue
    69                     new QColor( 51, 102, 217), // dark blue
    92                     new QColor( 62, 147,  33), // classic green
    70                     new QColor( 62, 147,  33), // classic green