/dports/games/scummvm/scummvm-2.5.1/engines/wintermute/ |
H A D | wintermute.cpp | 81 delete _game; in ~WintermuteEngine() 193 if (!_game) { in init() 215 delete _game; in init() 225 delete _game; in init() 235 delete _game; in init() 253 delete _game; in init() 285 if (!_game) { in messageLoop() 294 if (_game && _game->_renderer->_active && _game->_renderer->isReady()) { in messageLoop() 311 _game->loadGame(_game->_scheduledLoadSlot); in messageLoop() 318 if (_game && _game->_quitting) { in messageLoop() [all …]
|
/dports/games/openxcom/OpenXcom-1.0/src/Basescape/ |
H A D | BasescapeState.cpp | 289 _game->pushState(new SoldiersState(_game, _base)); in btnSoldiersClick() 298 _game->pushState(new CraftsState(_game, _base)); in btnCraftsClick() 316 _game->pushState(new ResearchState(_game, _base)); in btnResearchClick() 325 _game->pushState(new ManufactureState(_game, _base)); in btnManufactureClick() 334 _game->pushState(new PurchaseState(_game, _base)); in btnPurchaseClick() 343 _game->pushState(new SellState(_game, _base)); in btnSellClick() 352 _game->pushState(new TransferBaseState(_game, _base)); in btnTransferClick() 405 _game->pushState(new CraftsState(_game, _base)); in viewRightClick() 419 _game->pushState(new SellState(_game, _base)); in viewRightClick() 423 _game->pushState(new SoldiersState(_game, _base)); in viewRightClick() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/wintermute/ |
H A D | wintermute.cpp | 92 delete _game; in ~WintermuteEngine() 176 if (!_game) { in init() 192 delete _game; in init() 206 delete _game; in init() 224 delete _game; in init() 256 if (!_game) { in messageLoop() 271 if (_game && _game->_renderer->_active && _game->_renderer->isReady()) { in messageLoop() 288 _game->loadGame(_game->_scheduledLoadSlot); in messageLoop() 295 if (_game && _game->_quitting) { in messageLoop() 300 if (_game) { in messageLoop() [all …]
|
/dports/games/openxcom/OpenXcom-1.0/src/Geoscape/ |
H A D | GeoscapeState.cpp | 747 popup(new UfoLostState(_game, (*i)->getName(_game->getLanguage()))); in time5Seconds() 1108 Game &_game; member in OpenXcom::callThink 1755 …Action act(&ev, _game->getScreen()->getXScale(), _game->getScreen()->getYScale(), _game->getScreen… in timerReset() 1797 _game->pushState(new MultipleTargetsState(_game, v, 0, this)); in globeClick() 1819 _game->pushState(new InterceptState(_game, _globe)); in btnInterceptClick() 1831 _game->pushState(new BasescapeState(_game, _game->getSavedGame()->getSelectedBase(), _globe)); in btnBasesClick() 1835 _game->pushState(new BasescapeState(_game, 0, _globe)); in btnBasesClick() 1845 _game->pushState(new GraphsState(_game)); in btnGraphsClick() 1863 _game->pushState(new PauseState(_game, OPT_GEOSCAPE)); in btnOptionsClick() 1872 _game->pushState(new FundingState(_game)); in btnFundingClick() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/mads/nebular/ |
H A D | nebular_scenes4.cpp | 138 if (_game._trigger == 70) { in step() 143 if (_game._trigger == 80) { in step() 144 _game._player._priorTimer = _scene->_frameStartTime - _game._player._ticksAmount; in step() 651 if (_game._trigger == 0) { in handleDialogs() 948 if (_game._trigger == 48) in step() 990 if (_game._trigger == 28) in step() 993 switch (_game._trigger) { in step() 1064 switch (_game._trigger) { in step() 1163 switch (_game._trigger) { in step() 2023 _game._player._needToWalk = _game._player._readyToWalk; in preActions() [all …]
|
H A D | nebular_scenes7.cpp | 209 switch(_game._trigger) { in step() 255 _game._player._priorTimer = _scene->_frameStartTime - _game._player._ticksAmount; in step() 284 switch (_game._trigger) { in actions() 310 switch (_game._trigger) { in actions() 394 switch (_game._trigger) { in actions() 764 if (_game._trigger == 70) in step() 787 if (_game._trigger == 70) in step() 1955 } else if (_game._trigger || !_game._objects.isInInventory(OBJ_VASE)) { in actions() 1966 if (!_game._objects.isInInventory(OBJ_VASE) || _game._trigger) { in actions() 1972 } else if (_game._objects.isInRoom(OBJ_VASE) || _game._trigger) { in actions() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/mads/nebular/ |
H A D | nebular_scenes4.cpp | 139 if (_game._trigger == 70) { in step() 144 if (_game._trigger == 80) { in step() 145 _game._player._priorTimer = _scene->_frameStartTime - _game._player._ticksAmount; in step() 652 if (_game._trigger == 0) { in handleDialogs() 949 if (_game._trigger == 48) in step() 991 if (_game._trigger == 28) in step() 994 switch (_game._trigger) { in step() 1068 switch (_game._trigger) { in step() 1170 switch (_game._trigger) { in step() 2039 _game._player._needToWalk = _game._player._readyToWalk; in preActions() [all …]
|
H A D | nebular_scenes7.cpp | 209 switch(_game._trigger) { in step() 255 _game._player._priorTimer = _scene->_frameStartTime - _game._player._ticksAmount; in step() 284 switch (_game._trigger) { in actions() 310 switch (_game._trigger) { in actions() 394 switch (_game._trigger) { in actions() 764 if (_game._trigger == 70) in step() 787 if (_game._trigger == 70) in step() 1958 } else if (_game._trigger || !_game._objects.isInInventory(OBJ_VASE)) { in actions() 1969 if (!_game._objects.isInInventory(OBJ_VASE) || _game._trigger) { in actions() 1975 } else if (_game._objects.isInRoom(OBJ_VASE) || _game._trigger) { in actions() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/scumm/ |
H A D | scumm.cpp | 538 if (_game.platform == Common::kPlatformFMTowns && _game.id != GID_LOOM && _game.version == 3) in ScummEngine() 553 if (_game.version > 2 && _game.id != GID_MONKEY_EGA) in ScummEngine() 1489 if (_game.version >= 5 && _game.version <= 7) in init() 1765 if (_game.version >= 4 && _game.version <= 7) in resetScumm() 1792 if ((_game.version <= 1) || (_game.id == GID_MANIAC && (_game.features & GF_DEMO))) in resetScumm() 1796 if (_game.id == GID_MANIAC && _game.version <= 1) { in resetScumm() 1798 } else if (_game.id == GID_MANIAC && _game.version == 2 && (_game.features & GF_DEMO)) { in resetScumm() 2067 if ((_game.id == GID_MONKEY_EGA || (_game.id == GID_LOOM && _game.version == 3)) in setupMusic() 2819 if (_game.version >= 4 && _game.heversion <= 62) in scummLoop_handleEffects() 2839 if ((_game.id == GID_DIG || _game.id == GID_CMI) && !(_game.features & GF_DEMO)) in scummLoop_handleSound() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima1/u1gfx/ |
H A D | drawing_support.cpp | 32 _game = static_cast<Ultima1Game *>(g_vm->_game); in DrawingSupport() 43 _surface.vLine(7, 7, 192, _game->_edgeColor); in drawFrame() 44 _surface.vLine(312, 7, 192, _game->_edgeColor); in drawFrame() 45 _surface.hLine(7, 7, 312, _game->_edgeColor); in drawFrame() 46 _surface.hLine(7, 192, 312, _game->_edgeColor); in drawFrame() 58 _surface.vLine(7, 7, 152, _game->_edgeColor); in drawGameFrame() 59 _surface.vLine(312, 7, 152, _game->_edgeColor); in drawGameFrame() 60 _surface.hLine(7, 7, 312, _game->_edgeColor); in drawGameFrame() 61 _surface.hLine(7, 152, 312, _game->_edgeColor); in drawGameFrame() 65 _surface.hLine(0, 159, 240, _game->_edgeColor); in drawGameFrame() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima1/u1dialogs/ |
H A D | king.cpp | 129 _game->_quests[_kingIndex].start(); in setMode() 155 _game->endOfTurn(); in CharacterInputMsg() 184 addInfoMsg(_game->_res->KING_TEXT[1]); in neither() 185 _game->endOfTurn(); in neither() 190 addInfoMsg(_game->_res->NONE); in none() 191 _game->endOfTurn(); in none() 196 addInfoMsg(_game->_res->KING_TEXT[5]); in notThatMuch() 197 _game->endOfTurn(); in notThatMuch() 202 addInfoMsg(_game->_res->KING_TEXT[7]); in alreadyOnQuest() 203 _game->endOfTurn(); in alreadyOnQuest() [all …]
|
H A D | stats.cpp | 87 …_stats.push_back(StatEntry(formatStat(_game->_res->STAT_NAMES[7], c._coins % 10), _game->_textColo… in load() 91 …_stats.push_back(StatEntry(formatStat(_game->_res->STAT_NAMES[9], c._coins / 100), _game->_textCol… in load() 102 (int)idx == c._equippedArmour ? _game->_highlightColor : _game->_textColor)); in load() 107 (int)idx == c._equippedWeapon ? _game->_highlightColor : _game->_textColor)); in load() 112 (int)idx == c._equippedSpell ? _game->_highlightColor : _game->_textColor)); in load() 116 …countTransport<Widgets::Horse>(overworld, _stats, _game->_res->TRANSPORT_NAMES[1], _game->_textCol… in load() 117 …countTransport<Widgets::Cart>(overworld, _stats, _game->_res->TRANSPORT_NAMES[2], _game->_textColo… in load() 118 …countTransport<Widgets::Raft>(overworld, _stats, _game->_res->TRANSPORT_NAMES[3], _game->_textColo… in load() 125 addStats(_game->_res->GEM_NAMES, _game->_gems, 0, 3); in load() 149 drawFrame(_game->_res->INVENTORY); in draw() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/scumm/ |
H A D | scumm.cpp | 533 if (_game.version > 2 && _game.id != GID_MONKEY_EGA) in ScummEngine() 1190 assert(_game.version >= 5 && _game.heversion == 0); in init() 1332 if (_game.version >= 5 && _game.version <= 7) in init() 1569 if (_game.version >= 4 && _game.version <= 7) in resetScumm() 1596 if ((_game.version <= 1) || (_game.id == GID_MANIAC && (_game.features & GF_DEMO))) in resetScumm() 1600 if (_game.id == GID_MANIAC && _game.version <= 1) { in resetScumm() 1602 } else if (_game.id == GID_MANIAC && _game.version == 2 && (_game.features & GF_DEMO)) { in resetScumm() 1871 if ((_game.id == GID_MONKEY_EGA || (_game.id == GID_LOOM && _game.version == 3)) in setupMusic() 2580 if (_game.version >= 4 && _game.heversion <= 62) in scummLoop_handleEffects() 2600 if ((_game.id == GID_DIG || _game.id == GID_CMI) && !(_game.features & GF_DEMO)) in scummLoop_handleSound() [all …]
|
H A D | vars.cpp | 84 if (_game.id == GID_LOOM && _game.platform == Common::kPlatformPCEngine) { in setupScummVars() 88 if (_game.version >= 4) { in setupScummVars() 97 if (_game.version >= 5) { in setupScummVars() 173 if ((_game.id == GID_LOOM && _game.version == 4) || _game.version >= 5) { in setupScummVars() 582 if (_game.version >= 4 && _game.version <= 5) in resetScummVars() 723 if (_game.heversion >= 100 && (_game.features & GF_16BIT_COLOR)) { in resetScummVars() 732 …if (_game.id == GID_PUTTZOO && _game.heversion == 100 && _game.platform == Common::kPlatformWindow… in resetScummVars() 741 if (_game.heversion < 70 && _game.version <= 6) { in resetScummVars() 763 …if ((_game.id == GID_MONKEY_EGA || _game.id == GID_MONKEY_VGA || (_game.id == GID_LOOM && _game.ve… in resetScummVars() 793 if (_game.platform == Common::kPlatformDOS && _game.id == GID_LOOM && _game.version == 3) { in resetScummVars() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/access/amazon/ |
H A D | amazon_scripts.cpp | 281 } else if (_game->_jasMayaFlag != (_game->_currentCharFlag ? 1 : 0)) { in plotInactive() 283 _game->_jasMayaFlag = (_game->_currentCharFlag ? 1 : 0); in plotInactive() 285 _game->_currentCharFlag = (_game->_jasMayaFlag == 1); in plotInactive() 301 if (_game->_rawInactiveX >= 152 && _game->_rawInactiveX <= 167 && in plotInactive() 302 _game->_rawInactiveY >= 158 && _game->_rawInactiveY <= 173) { in plotInactive() 306 if (!_game->_jasMayaFlag && _game->_rawInactiveX >= 266 && _game->_rawInactiveX <= 290 in plotInactive() 307 && _game->_rawInactiveY >= 70 && _game->_rawInactiveY <= 87) { in plotInactive() 315 inactive._position.y = _game->_rawInactiveY - _game->_inactiveYOff; in plotInactive() 370 _game->_ant->doAnt(); in executeSpecial() 401 _game->_useItem = 0; in cmdHelp_v2() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/access/amazon/ |
H A D | amazon_scripts.cpp | 281 } else if (_game->_jasMayaFlag != (_game->_currentCharFlag ? 1 : 0)) { in plotInactive() 283 _game->_jasMayaFlag = (_game->_currentCharFlag ? 1 : 0); in plotInactive() 285 _game->_currentCharFlag = (_game->_jasMayaFlag == 1); in plotInactive() 301 if (_game->_rawInactiveX >= 152 && _game->_rawInactiveX <= 167 && in plotInactive() 302 _game->_rawInactiveY >= 158 && _game->_rawInactiveY <= 173) { in plotInactive() 306 if (!_game->_jasMayaFlag && _game->_rawInactiveX >= 266 && _game->_rawInactiveX <= 290 in plotInactive() 307 && _game->_rawInactiveY >= 70 && _game->_rawInactiveY <= 87) { in plotInactive() 315 inactive._position.y = _game->_rawInactiveY - _game->_inactiveYOff; in plotInactive() 370 _game->_ant->doAnt(); in executeSpecial() 401 _game->_useItem = 0; in cmdHelp_v2() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/draci/ |
H A D | script.cpp | 277 return _vm->_game->getCurrentItem() == _vm->_game->getItem(itemID); in funcIsIcoAct() 522 _vm->_game->setMusicTrack(0); in stopMusic() 544 _vm->_game->removeItem(item); in icoStat() 655 _vm->_game->stopWalking(); in stayOn() 672 _vm->_game->stopWalking(); in walkOn() 673 _vm->_game->walkHero(x, y, dir); in walkOn() 690 _vm->_game->stopWalking(); in walkOnPlay() 839 _vm->_game->loadWalkingMap(_vm->_game->getMapID()); in roomMap() 902 _vm->_game->setQuit(true); in quitGame() 906 _vm->_game->pushNewRoom(); in pushNewRoom() [all …]
|
H A D | draci.cpp | 86 _game = 0; in DraciEngine() 270 _game->scheduleEnteringRoomUsingGate(_game->nextRoomNum(), 0); in handleEvents() 285 const int escRoom = _game->getRoomNum() != _game->getMapRoom() in handleEvents() 286 ? _game->getEscRoom() : _game->getPreviousRoomNum(); in handleEvents() 313 ? _game->getMapRoom() : _game->getPreviousRoomNum(); in handleEvents() 323 _game->setWantQuickHero(!_game->getWantQuickHero()); in handleEvents() 326 if (_game->getRoomNum() == _game->getMapRoom() || in handleEvents() 347 _game->getRoomNum() != _game->getMapRoom()) { in handleEvents() 387 delete _game; in ~DraciEngine() 417 _game->init(); in run() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/draci/ |
H A D | script.cpp | 277 return _vm->_game->getCurrentItem() == _vm->_game->getItem(itemID); in funcIsIcoAct() 522 _vm->_game->setMusicTrack(0); in stopMusic() 544 _vm->_game->removeItem(item); in icoStat() 655 _vm->_game->stopWalking(); in stayOn() 672 _vm->_game->stopWalking(); in walkOn() 673 _vm->_game->walkHero(x, y, dir); in walkOn() 690 _vm->_game->stopWalking(); in walkOnPlay() 839 _vm->_game->loadWalkingMap(_vm->_game->getMapID()); in roomMap() 902 _vm->_game->setQuit(true); in quitGame() 906 _vm->_game->pushNewRoom(); in pushNewRoom() [all …]
|
H A D | draci.cpp | 79 _game = 0; in DraciEngine() 263 _game->scheduleEnteringRoomUsingGate(_game->nextRoomNum(), 0); in handleEvents() 278 const int escRoom = _game->getRoomNum() != _game->getMapRoom() in handleEvents() 279 ? _game->getEscRoom() : _game->getPreviousRoomNum(); in handleEvents() 306 ? _game->getMapRoom() : _game->getPreviousRoomNum(); in handleEvents() 316 _game->setWantQuickHero(!_game->getWantQuickHero()); in handleEvents() 319 if (_game->getRoomNum() == _game->getMapRoom() || in handleEvents() 340 _game->getRoomNum() != _game->getMapRoom()) { in handleEvents() 374 delete _game; in ~DraciEngine() 399 _game->init(); in run() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/cryo/ |
H A D | eden_graphics.cpp | 329 int16 x = _game->getCurPosX() + _game->getScrollPos() - 38; in glow() 408 _game->display(); in hideBars() 471 _game->display(); in hideBars() 635 if (_game->animationIsActive() && !_game->personIsTalking()) in displaySubtitles() 782 _game->useBank(_game->_globals->_roomImgBank); in displayRoom() 815 _game->_vm->setMousePosition(_game->getMouseCenterX(), _game->getMouseCenterY()); in openWindow() 835 _game->wait(1); in displayEffect1() 854 _game->wait(1); in displayEffect1() 905 _game->wait(1); in displayEffect3() 916 _game->wait(1); in displayEffect3() [all …]
|
/dports/games/openxcom/OpenXcom-1.0/src/Menu/ |
H A D | LoadGameState.cpp | 130 _game->popState(); in init() 136 _game->getScreen()->flip(); in init() 137 _game->popState(); in init() 144 _game->setSavedGame(s); in init() 148 _game->setState(new GeoscapeState(_game)); in init() 151 _game->getSavedGame()->getSavedBattle()->loadMapResources(_game); in init() 156 _game->pushState(bs); in init() 170 if (_game->getSavedGame() == s) in init() 171 _game->setSavedGame(0); in init() 185 if (_game->getSavedGame() == s) in init() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima1/maps/ |
H A D | map_city_castle.cpp | 217 _game->playFX(6); in cast() 238 _game->playFX(1); in steal() 243 _game->playFX(effectId); in attack() 274 _game->endOfTurn(); in attack() 311 _game->playFX(5); in dropCoins() 346 _game->playFX(1); in get() 360 _game->endOfTurn(); in talk() 367 _game->playFX(1); in unlock() 431 _game->playFX(1); in get() 443 _game->endOfTurn(); in talk() [all …]
|
/dports/games/scummvm/scummvm-2.5.1/engines/gob/ |
H A D | inter_v2.cpp | 190 _vm->_game->_script->skip(1); in checkSwitchTable() 194 _vm->_game->_script->skip(5); in checkSwitchTable() 226 _vm->_game->_script->skip(_vm->_game->_script->peekUint16(2) + 2); in checkSwitchTable() 233 _vm->_game->_script->skip(1); in checkSwitchTable() 237 _vm->_game->_script->skip(_vm->_game->_script->peekUint16(2) + 2); in checkSwitchTable() 550 _vm->_game->_script->skip(1); in o2_loadFontToSprite() 552 _vm->_game->_script->skip(1); in o2_loadFontToSprite() 554 _vm->_game->_script->skip(1); in o2_loadFontToSprite() 556 _vm->_game->_script->skip(1); in o2_loadFontToSprite() 911 _vm->_game->_preventScroll = !_vm->_game->_preventScroll; in o2_setScrollOffset() [all …]
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/gob/ |
H A D | inter_v2.cpp | 190 _vm->_game->_script->skip(1); in checkSwitchTable() 194 _vm->_game->_script->skip(5); in checkSwitchTable() 226 _vm->_game->_script->skip(_vm->_game->_script->peekUint16(2) + 2); in checkSwitchTable() 233 _vm->_game->_script->skip(1); in checkSwitchTable() 237 _vm->_game->_script->skip(_vm->_game->_script->peekUint16(2) + 2); in checkSwitchTable() 550 _vm->_game->_script->skip(1); in o2_loadFontToSprite() 552 _vm->_game->_script->skip(1); in o2_loadFontToSprite() 554 _vm->_game->_script->skip(1); in o2_loadFontToSprite() 556 _vm->_game->_script->skip(1); in o2_loadFontToSprite() 908 _vm->_game->_preventScroll = !_vm->_game->_preventScroll; in o2_setScrollOffset() [all …]
|