| 259 | } |
| 260 | |
| 261 | std::shared_ptr<cGraphics> sGameVersion::GetGraphics() const { |
| 262 | if (isPC()) { |
| 263 | return std::make_shared<cGraphics_PC>(); |
| 264 | } |
| 265 | else if (isAmiga()) { |
| 266 | |
| 267 | if (isCannonFodder2()) |
| 268 | return std::make_shared<cGraphics_Amiga2>(); |
| 269 | |
| 270 | return std::make_shared<cGraphics_Amiga>(); |
| 271 | } |
| 272 | return 0; |
| 273 | } |
| 274 | |
| 275 | bool sGameVersion::CanUseAmigaSound() const { |
| 276 | if (g_ResourceMan->FileExists(getDataPath() + "JON.INS")) |