equal
deleted
inserted
replaced
108 } |
108 } |
109 } |
109 } |
110 |
110 |
111 void HWEngine::getPreview() |
111 void HWEngine::getPreview() |
112 { |
112 { |
113 GameConfig cfg; |
113 m_gameConfig.cmdSeed(QUuid::createUuid().toByteArray()); |
114 cfg.cmdSeed(QUuid::createUuid().toByteArray()); |
114 m_gameConfig.setPreview(true); |
115 |
115 |
116 m_runQueue->queue(cfg); |
116 m_runQueue->queue(m_gameConfig); |
117 } |
117 } |
118 |
118 |
119 void HWEngine::runQuickGame() |
119 void HWEngine::runQuickGame() |
120 { |
120 { |
|
121 m_gameConfig.cmdTheme("Bamboo"); |
|
122 Team team1; |
|
123 team1.name = "team1"; |
|
124 Team team2; |
|
125 team2.name = "team2"; |
|
126 team2.color = "7654321"; |
|
127 m_gameConfig.cmdTeam(team1); |
|
128 m_gameConfig.cmdTeam(team2); |
|
129 m_gameConfig.setPreview(false); |
|
130 |
|
131 m_runQueue->queue(m_gameConfig); |
121 } |
132 } |