Home
last modified time | relevance | path

Searched refs:getResourcePack (Results 1 – 25 of 129) sorted by relevance

123456

/dports/games/openxcom/OpenXcom-1.0/src/Engine/
H A DState.cpp81 if (_game->getLanguage() && _game->getResourcePack()) in add()
82 …surface->initText(_game->getResourcePack()->getFont("FONT_BIG"), _game->getResourcePack()->getFont… in add()
125 if (_game->getResourcePack() != 0) in init()
127 _game->getResourcePack()->setPalette(_palette); in init()
266 window->setBackground(_game->getResourcePack()->getSurface("TAC00.SCR")); in applyBattlescapeTheme()
363 if (_game->getResourcePack() != 0) in setPalette()
365 _game->getResourcePack()->setPalette(_palette); in setPalette()
377 setPalette(_game->getResourcePack()->getPalette(palette)->getColors(), 0, 256, false); in setPalette()
379 …setPalette(_game->getResourcePack()->getPalette("BACKPALS.DAT")->getColors(Palette::blockOffset(ba… in setPalette()
/dports/games/openxcom/OpenXcom-1.0/src/Battlescape/
H A DBriefingState.cpp67 _game->getResourcePack()->playMusic("GMENBASE"); in BriefingState()
72 _game->getResourcePack()->playMusic("GMNEWMAR"); in BriefingState()
77 _game->getResourcePack()->playMusic("GMDEFEND"); in BriefingState()
138 _window->setBackground(_game->getResourcePack()->getSurface("BACK01.SCR")); in BriefingState()
142 _window->setBackground(_game->getResourcePack()->getSurface("BACK16.SCR")); in BriefingState()
H A DInventory.cpp63 …_warning->initText(_game->getResourcePack()->getFont("FONT_BIG"), _game->getResourcePack()->getFon… in Inventory()
135 …text.initText(_game->getResourcePack()->getFont("FONT_BIG"), _game->getResourcePack()->getFont("FO… in drawGrid()
211 SurfaceSet *texture = _game->getResourcePack()->getSurfaceSet("BIGOBS.PCK"); in drawItems()
411 …_selItem->getRules()->drawHandSprite(_game->getResourcePack()->getSurfaceSet("BIGOBS.PCK"), _selec… in setSelectedItem()
537 _game->getResourcePack()->getSound("BATTLE.CAT", 38)->play(); in mouseClick()
591 _game->getResourcePack()->getSound("BATTLE.CAT", 38)->play(); in mouseClick()
605 _game->getResourcePack()->getSound("BATTLE.CAT", 38)->play(); in mouseClick()
641 _game->getResourcePack()->getSound("BATTLE.CAT", 17)->play(); in mouseClick()
672 _game->getResourcePack()->getSound("BATTLE.CAT", 38)->play(); in mouseClick()
908 _game->getResourcePack()->getSound("BATTLE.CAT", 38)->play(); in fitItem()
H A DProjectileFlyBState.cpp284 …Projectile *projectile = new Projectile(_parent->getResourcePack(), _parent->getSave(), _action, _… in createNewProjectile()
306 _parent->getResourcePack()->getSound("BATTLE.CAT", 39)->play(); in createNewProjectile()
332 _parent->getResourcePack()->getSound("BATTLE.CAT", _ammo->getRules()->getFireSound())->play(); in createNewProjectile()
336 …_parent->getResourcePack()->getSound("BATTLE.CAT", _action.weapon->getRules()->getFireSound())->pl… in createNewProjectile()
374 _parent->getResourcePack()->getSound("BATTLE.CAT", _ammo->getRules()->getFireSound())->play(); in createNewProjectile()
378 …_parent->getResourcePack()->getSound("BATTLE.CAT", _action.weapon->getRules()->getFireSound())->pl… in createNewProjectile()
476 _parent->getResourcePack()->getSound("BATTLE.CAT", 38)->play(); in think()
532 …Projectile *proj = new Projectile(_parent->getResourcePack(), _parent->getSave(), _action, _origin… in think()
694 …_parent->getResourcePack()->getSound("BATTLE.CAT", _ammo->getRules()->getMeleeAttackSound())->play… in performMeleeAttack()
698 …_parent->getResourcePack()->getSound("BATTLE.CAT", _action.weapon->getRules()->getMeleeAttackSound… in performMeleeAttack()
H A DUnitWalkBState.cpp351 _parent->getResourcePack()->getSound("BATTLE.CAT", 3)->play(); // normal door in think()
355 _parent->getResourcePack()->getSound("BATTLE.CAT", 20)->play(); // ufo door in think()
555 _parent->getResourcePack()->getSound("BATTLE.CAT", _unit->getMoveSound())->play(); in playMovementSound()
569 …_parent->getResourcePack()->getSound("BATTLE.CAT", 22 + (tile->getFootstepSound(tileBelow)*2))->pl… in playMovementSound()
577 …_parent->getResourcePack()->getSound("BATTLE.CAT", 23 + (tile->getFootstepSound(tileBelow)*2))->pl… in playMovementSound()
586 _parent->getResourcePack()->getSound("BATTLE.CAT", 15)->play(); in playMovementSound()
H A DInventoryState.cpp124 _game->getResourcePack()->getSurface("TAC01.SCR")->blit(_bg); in InventoryState()
261 SurfaceSet *texture = _game->getResourcePack()->getSurfaceSet("BASEBITS.PCK"); in init()
280 …ileExists(CrossPlatform::getDataFile("UFOGRAPH/" + look)) && !_game->getResourcePack()->getSurface… in init()
284 _game->getResourcePack()->getSurface(look)->blit(_soldier); in init()
288 …Surface *armorSurface = _game->getResourcePack()->getSurface(unit->getArmor()->getSpriteInventory(… in init()
524 …item->getAmmoItem()->getRules()->drawHandSprite(_game->getResourcePack()->getSurfaceSet("BIGOBS.PC… in invClick()
H A DScannerState.cpp72 _game->getResourcePack()->getSurface("DETBORD.PCK")->blit(_bg); in ScannerState()
73 _game->getResourcePack()->getSurface("DETBORD2.PCK")->blit(_scan); in ScannerState()
H A DExplosionBState.cpp131 _parent->getResourcePack()->getSound("BATTLE.CAT", 2)->play(); in init()
133 _parent->getResourcePack()->getSound("BATTLE.CAT", 5)->play(); in init()
156 _parent->getResourcePack()->getSound("BATTLE.CAT", sound)->play(); in init()
232 … _parent->getResourcePack()->getSound("BATTLE.CAT", _item->getRules()->getMeleeHitSound())->play(); in explode()
H A DUnitTurnBState.cpp78 _parent->getResourcePack()->getSound("BATTLE.CAT", 3)->play(); // normal door in init()
82 _parent->getResourcePack()->getSound("BATTLE.CAT", RNG::generate(20,21))->play(); // ufo door in init()
H A DMedikitView.cpp67 SurfaceSet *set = _game->getResourcePack()->getSurfaceSet("MEDIBITS.DAT"); in draw()
100 SurfaceSet *set = _game->getResourcePack()->getSurfaceSet("MEDIBITS.DAT"); in mouseClick()
H A DActionMenuItem.cpp38 …Font *big = game->getResourcePack()->getFont("FONT_BIG"), *small = game->getResourcePack()->getFon… in ActionMenuItem()
H A DUnitDieBState.cpp299 _parent->getResourcePack()->getSound("BATTLE.CAT", RNG::generate(41,43))->play(); in playDeathSound()
303 _parent->getResourcePack()->getSound("BATTLE.CAT", RNG::generate(44,46))->play(); in playDeathSound()
307 _parent->getResourcePack()->getSound("BATTLE.CAT", _unit->getDeathSound())->play(); in playDeathSound()
/dports/games/openxcom/OpenXcom-1.0/src/Geoscape/
H A DBaseDefenseState.cpp84 _window->setBackground(_game->getResourcePack()->getSurface("BACK04.SCR")); in BaseDefenseState()
141 _game->getResourcePack()->getSound("GEO.CAT", 11)->play(); in nextStep()
178 _game->getResourcePack()->getSound("GEO.CAT", (def)->getRules()->getFireSound())->play(); in nextStep()
189 _game->getResourcePack()->getSound("GEO.CAT", (def)->getRules()->getHitSound())->play(); in nextStep()
H A DGeoscapeState.cpp244 …_btnBases->initText(_game->getResourcePack()->getFont("FONT_GEO_BIG"), _game->getResourcePack()->g… in GeoscapeState()
251 …_btnGraphs->initText(_game->getResourcePack()->getFont("FONT_GEO_BIG"), _game->getResourcePack()->… in GeoscapeState()
279 …_btn5Secs->initText(_game->getResourcePack()->getFont("FONT_GEO_BIG"), _game->getResourcePack()->g… in GeoscapeState()
287 …_btn1Min->initText(_game->getResourcePack()->getFont("FONT_GEO_BIG"), _game->getResourcePack()->ge… in GeoscapeState()
295 …_btn5Mins->initText(_game->getResourcePack()->getFont("FONT_GEO_BIG"), _game->getResourcePack()->g… in GeoscapeState()
303 …_btn30Mins->initText(_game->getResourcePack()->getFont("FONT_GEO_BIG"), _game->getResourcePack()->… in GeoscapeState()
311 …_btn1Hour->initText(_game->getResourcePack()->getFont("FONT_GEO_BIG"), _game->getResourcePack()->g… in GeoscapeState()
319 …_btn1Day->initText(_game->getResourcePack()->getFont("FONT_GEO_BIG"), _game->getResourcePack()->ge… in GeoscapeState()
526 _game->getResourcePack()->playMusic("GMGEO1"); in init()
530 _game->getResourcePack()->playMusic("GMGEO", true); in init()
[all …]
H A DDefeatState.cpp56 Surface *screen = _game->getResourcePack()->getSurface(files[i]); in DefeatState()
76 _game->getResourcePack()->playMusic("GMLOSE"); in DefeatState()
H A DVictoryState.cpp59 Surface *screen = _game->getResourcePack()->getSurface(files[i]); in VictoryState()
79 _game->getResourcePack()->playMusic("GMWIN"); in VictoryState()
H A DDogfightState.cpp304 graphic = _game->getResourcePack()->getSurface("INTERWIN.DAT"); in DogfightState()
330 graphic = _game->getResourcePack()->getSurface(ufo->getRules()->getModSprite()); in DogfightState()
379 SurfaceSet *set = _game->getResourcePack()->getSurfaceSet("INTICON.PCK"); in DogfightState()
844 _game->getResourcePack()->getSound("GEO.CAT", 12)->play(); //12 in move()
887 _game->getResourcePack()->getSound("GEO.CAT", 10)->play(); //10 in move()
1001 _game->getResourcePack()->getSound("GEO.CAT", 13)->play(); in move()
1065 _game->getResourcePack()->getSound("GEO.CAT", 10)->play(); //11 in move()
1074 _game->getResourcePack()->getSound("GEO.CAT", 10)->play(); //10 in move()
1153 _game->getResourcePack()->getSound("GEO.CAT", w1->getRules()->getSound())->play(); in fireWeapon1()
1179 _game->getResourcePack()->getSound("GEO.CAT", w2->getRules()->getSound())->play(); in fireWeapon2()
[all …]
/dports/games/openxcom/OpenXcom-1.0/src/Ufopaedia/
H A DArticleStateUfo.cpp55 _game->getResourcePack()->getSurface("BACK11.SCR")->blit(_bg); in ArticleStateUfo()
68 Surface *graphic = _game->getResourcePack()->getSurface("INTERWIN.DAT"); in ArticleStateUfo()
92 graphic = _game->getResourcePack()->getSurface(ufo->getModSprite()); in ArticleStateUfo()
H A DArticleStateItem.cpp56 _game->getResourcePack()->getSurface("BACK08.SCR")->blit(_bg); in ArticleStateItem()
70 item->drawHandSprite(_game->getResourcePack()->getSurfaceSet("BIGOBS.PCK"), _image); in ArticleStateItem()
231 … ammo_rule->drawHandSprite(_game->getResourcePack()->getSurfaceSet("BIGOBS.PCK"), _imageAmmo[i]); in ArticleStateItem()
H A DArticleStateArmor.cpp69 …ileExists(CrossPlatform::getDataFile("UFOGRAPH/" + look)) && !_game->getResourcePack()->getSurface… in ArticleStateArmor()
73 _game->getResourcePack()->getSurface(look)->blit(_image); in ArticleStateArmor()
/dports/games/openxcom/OpenXcom-1.0/src/Basescape/
H A DSoldierMemorialState.cpp62 _game->getResourcePack()->playMusic("GMLOSE"); in SoldierMemorialState()
78 _window->setBackground(_game->getResourcePack()->getSurface("BACK02.SCR")); in SoldierMemorialState()
149 _game->getResourcePack()->playMusic("GMGEO", true); in btnOkClick()
/dports/games/openxcom/OpenXcom-1.0/src/Menu/
H A DErrorMessageState.cpp89 …setPalette(_game->getResourcePack()->getPalette("BACKPALS.DAT")->getColors(Palette::blockOffset(bg… in create()
99 _window->setBackground(_game->getResourcePack()->getSurface(bg)); in create()
H A DTestState.cpp55 _set = _game->getResourcePack()->getSurfaceSet("BASEBITS.PCK"); in TestState()
74 _window->setBackground(_game->getResourcePack()->getSurface("BACK04.SCR")); in TestState()
H A DOptionsModsState.cpp54 …text.initText(_game->getResourcePack()->getFont("FONT_BIG"), _game->getResourcePack()->getFont("FO… in OptionsModsState()
H A DMainMenuState.cpp71 _window->setBackground(_game->getResourcePack()->getSurface("BACK01.SCR")); in MainMenuState()
102 _game->getResourcePack()->playMusic("GMSTORY"); in MainMenuState()

123456