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

Method getResourcePack

src/Engine/Game.cpp:482–485  ·  view source on GitHub ↗

* Returns the resource pack currently in use by the game. * @return Pointer to the resource pack. */

Source from the content-addressed store, hash-verified

480 * @return Pointer to the resource pack.
481 */
482ResourcePack *Game::getResourcePack() const
483{
484 return _res;
485}
486
487/**
488 * Sets a new resource pack for the game to use.

Callers 15

addMethod · 0.45
initMethod · 0.45
applyBattlescapeThemeMethod · 0.45
setPaletteMethod · 0.45
loadMapResourcesMethod · 0.45
slrSoundVolumeReleaseMethod · 0.45
slrUiVolumeReleaseMethod · 0.45
OptionsDefaultsStateMethod · 0.45
ListGamesStateMethod · 0.45
PauseStateMethod · 0.45
createMethod · 0.45
DeleteGameStateMethod · 0.45

Calls

no outgoing calls

Tested by 3

TestStateMethod · 0.36
ResearchCompleteStateMethod · 0.36