| 279 | } |
| 280 | |
| 281 | QString createMapMenu() // TODO: compileMonorailMenu() as well |
| 282 | { |
| 283 | QString msg_body = "<linkhoverbg #118866aa><link white><linkhover white><table>"; |
| 284 | for (auto &map_data : getAllMapData()) |
| 285 | { |
| 286 | uint32_t map_idx = map_data.m_map_idx; |
| 287 | QString map_name = getDisplayMapName(map_idx); |
| 288 | msg_body.append(QString("<a href=\"cmd:enterdoorvolume %1\"><tr><td>%2</td></tr></a>").arg(map_idx).arg(map_name)); |
| 289 | } |
| 290 | msg_body.append("</table>"); |
| 291 | |
| 292 | return msg_body; |
| 293 | } |
| 294 | |
| 295 | QString createKioskMessage(Entity* player) |
| 296 | { |
no test coverage detected