| 103 | } |
| 104 | |
| 105 | std::string skillTypeToPlayerVisibleString(SkillType type) |
| 106 | { |
| 107 | switch(type) |
| 108 | { |
| 109 | case SkillType::nullSkillType: |
| 110 | return "No Skill type"; |
| 111 | case SkillType::roomArena: |
| 112 | return "The Arena Room"; |
| 113 | case SkillType::roomBridgeStone: |
| 114 | return "The Stone Bridge Room"; |
| 115 | case SkillType::roomBridgeWooden: |
| 116 | return "The Wooden Bridge Room"; |
| 117 | case SkillType::roomCasino: |
| 118 | return "The Casino Room"; |
| 119 | case SkillType::roomCrypt: |
| 120 | return "The Crypt Room"; |
| 121 | case SkillType::roomDormitory: |
| 122 | return "The Dormitory Room"; |
| 123 | case SkillType::roomWorkshop: |
| 124 | return "The Workshop Room"; |
| 125 | case SkillType::roomHatchery: |
| 126 | return "The Hatchery Room"; |
| 127 | case SkillType::roomLibrary: |
| 128 | return "The Library Room"; |
| 129 | case SkillType::roomTrainingHall: |
| 130 | return "The TrainingHall Room"; |
| 131 | case SkillType::roomTreasury: |
| 132 | return "The Treasury Room"; |
| 133 | case SkillType::roomPrison: |
| 134 | return "The Prison Room"; |
| 135 | case SkillType::roomTorture: |
| 136 | return "The Torture Room"; |
| 137 | case SkillType::spellCallToWar: |
| 138 | return "The 'Call to War' Spell"; |
| 139 | case SkillType::spellSummonWorker: |
| 140 | return "The 'Summon Worker' Spell"; |
| 141 | case SkillType::spellCreatureHeal: |
| 142 | return "The 'Heal' Spell"; |
| 143 | case SkillType::spellCreatureDefense: |
| 144 | return "The 'Defense' Spell"; |
| 145 | case SkillType::spellCreatureExplosion: |
| 146 | return "The 'Explosion' Spell"; |
| 147 | case SkillType::spellCreatureHaste: |
| 148 | return "The 'Haste' Spell"; |
| 149 | case SkillType::spellCreatureSlow: |
| 150 | return "The 'Slow' Spell"; |
| 151 | case SkillType::spellCreatureStrength: |
| 152 | return "The 'Strength' Spell"; |
| 153 | case SkillType::spellCreatureWeak: |
| 154 | return "The 'Weak' Spell"; |
| 155 | case SkillType::trapBoulder: |
| 156 | return "The Boulder Trap"; |
| 157 | case SkillType::trapCannon: |
| 158 | return "The Cannon Trap"; |
| 159 | case SkillType::trapSpike: |
| 160 | return "The Spike Trap"; |
| 161 | case SkillType::trapDoorWooden: |
| 162 | return "The Wooden Door"; |