MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / setResourcePack

Method setResourcePack

src/Engine/Game.cpp:491–495  ·  view source on GitHub ↗

* Sets a new resource pack for the game to use. * @param res Pointer to the resource pack. */

Source from the content-addressed store, hash-verified

489 * @param res Pointer to the resource pack.
490 */
491void Game::setResourcePack(ResourcePack *res)
492{
493 delete _res;
494 _res = res;
495}
496
497/**
498 * Returns the saved game currently in use by the game.

Callers 2

initMethod · 0.80
loadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected