86 |
87 |
87 BtnNet = addButton(":/res/NetworkPlay.png", pageLayout, 2, 2, 1, 2, true); |
88 BtnNet = addButton(":/res/NetworkPlay.png", pageLayout, 2, 2, 1, 2, true); |
88 BtnNet->setToolTip(tr("Network Game (Play a game across a network)")); |
89 BtnNet->setToolTip(tr("Network Game (Play a game across a network)")); |
89 pageLayout->setAlignment(BtnNet, Qt::AlignHCenter); |
90 pageLayout->setAlignment(BtnNet, Qt::AlignHCenter); |
90 |
91 |
|
92 mainNote = new QLabel(this); |
|
93 mainNote->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter); |
|
94 mainNote->setWordWrap(true); |
|
95 |
|
96 QStringList Tips; |
|
97 Tips << tr("Tips", "Simply pick the same color as a friend to play together as a team. Each of you will still control his or her own hedgehogs but they'll win together."); |
|
98 Tips << tr("Tips", "Some weapons might do only low damage but they can be a lot more devastating in the right situation. Try to use the Desert Eagle to knock multiple hedgehogs into the water."); |
|
99 Tips << tr("Tips", "If you're unsure what to do and don't want to waste ammo, skip one round. But don't let too much time pass as there will be Sudden Death!"); |
|
100 Tips << tr("Tips", "Want to save ropse? Release the rope in mid air and then shoot again. As long as you don't touch the ground you'll reuse your rope without wasting ammo!"); |
|
101 Tips << tr("Tips", "If you'd like to keep others from using your preferred nickname on the official server, register an account at http://www.hedgewars.org/."); |
|
102 Tips << tr("Tips", "You're bored of default gameplay? Try one of the missions - they'll offer different gameplay depending on the one you picked."); |
|
103 |
91 if(isDevBuild) |
104 if(isDevBuild) |
92 { |
105 mainNote->setText(QLabel::tr("This SVN build is 'work in progress' and may not be compatible with other versions of the game. Some features might be broken or incomplete. Use at your own risk!")); |
93 QLabel* devNote = new QLabel(this); |
106 else |
94 devNote->setText(QLabel::tr("This SVN build is 'work in progress' and may not be compatible with other versions of the game.\nSome features might be broken or incomplete. Use at your own risk!")); |
107 mainNote->setText(QLabel::tr("Tip: ") + Tips[QTime(0, 0, 0).secsTo(QTime::currentTime()) % Tips.length()]); |
95 devNote->setAlignment(Qt::AlignHCenter | Qt::AlignVCenter); |
108 |
96 pageLayout->addWidget(devNote, 4, 1, 1, 2); |
109 pageLayout->addWidget(mainNote, 4, 1, 1, 2); |
97 } |
|
98 |
110 |
99 BtnSetup = addButton(":/res/Settings.png", pageLayout, 4, 3, true); |
111 BtnSetup = addButton(":/res/Settings.png", pageLayout, 4, 3, true); |
100 |
112 |
101 //BtnInfo = addButton(":/res/About.png", pageLayout, 3, 1, 1, 2, true); |
113 //BtnInfo = addButton(":/res/About.png", pageLayout, 3, 1, 1, 2, true); |
102 BtnInfo = addButton(":/res/HedgewarsTitle.png", pageLayout, 0, 0, 1, 4, true); |
114 BtnInfo = addButton(":/res/HedgewarsTitle.png", pageLayout, 0, 0, 1, 4, true); |