| 246 | } |
| 247 | |
| 248 | std::shared_ptr<cResources> sGameVersion::GetResources() const { |
| 249 | if (isPC()) { |
| 250 | if(isPCFormat()) |
| 251 | return std::make_shared<cResource_PC_CD>("CFCOVER.DAT"); |
| 252 | else |
| 253 | return std::make_shared<cResource_PC_CD>("CF_ENG.DAT"); |
| 254 | |
| 255 | } else if (isAmiga()) { |
| 256 | return std::make_shared<cResources>(); |
| 257 | } |
| 258 | return 0; |
| 259 | } |
| 260 | |
| 261 | std::shared_ptr<cGraphics> sGameVersion::GetGraphics() const { |
| 262 | if (isPC()) { |