MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / GetResources

Method GetResources

Source/Versions.cpp:248–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248std::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
261std::shared_ptr<cGraphics> sGameVersion::GetGraphics() const {
262 if (isPC()) {

Callers 1

VersionSwitchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected