Home
last modified time | relevance | path

Searched refs:hotspotIndex (Results 1 – 25 of 28) sorted by relevance

12

/dports/games/libretro-scummvm/scummvm-7b1e929/engines/voyeur/
H A Ddata.h91 for (int hotspotIndex = 0; hotspotIndex < 20; ++hotspotIndex) { in synchronize() local
92 s.syncAsSint16LE(_min[slotIndex][hotspotIndex]); in synchronize()
93 s.syncAsSint16LE(_max[slotIndex][hotspotIndex]); in synchronize()
102 bool isInRange(int slotIndex, int hotspotIndex, int v) const { in isInRange() argument
103 return _min[slotIndex][hotspotIndex] <= v && in isInRange()
104 v < _max[slotIndex][hotspotIndex]; in isInRange()
/dports/games/scummvm/scummvm-2.5.1/engines/voyeur/
H A Ddata.h91 for (int hotspotIndex = 0; hotspotIndex < 20; ++hotspotIndex) { in synchronize() local
92 s.syncAsSint16LE(_min[slotIndex][hotspotIndex]); in synchronize()
93 s.syncAsSint16LE(_max[slotIndex][hotspotIndex]); in synchronize()
102 bool isInRange(int slotIndex, int hotspotIndex, int v) const { in isInRange() argument
103 return _min[slotIndex][hotspotIndex] <= v && in isInRange()
104 v < _max[slotIndex][hotspotIndex]; in isInRange()
/dports/games/residualvm/residualvm-0.3.1/engines/stark/services/
H A Dgameinterface.cpp141 int32 hotspotIndex = item->getHotspotIndexForPoint(position); in itemHasActionAt() local
143 return item->canPerformAction(action, hotspotIndex); in itemHasActionAt()
151 int32 hotspotIndex = item->getHotspotIndexForPoint(position); in itemGetDefaultActionAt() local
152 Resources::PATTable *table = item->findChildWithOrder<Resources::PATTable>(hotspotIndex); in itemGetDefaultActionAt()
165 int32 hotspotIndex = item->getHotspotIndexForPoint(position); in itemDoActionAt() local
166 item->doAction(action, hotspotIndex); in itemDoActionAt()
174 int32 hotspotIndex = item->getHotspotIndexForPoint(pos); in getItemTitleAt() local
175 return item->getHotspotTitle(hotspotIndex); in getItemTitleAt()
/dports/games/scummvm/scummvm-2.5.1/engines/stark/services/
H A Dgameinterface.cpp141 int32 hotspotIndex = item->getHotspotIndexForPoint(position); in itemHasActionAt() local
143 return item->canPerformAction(action, hotspotIndex); in itemHasActionAt()
151 int32 hotspotIndex = item->getHotspotIndexForPoint(position); in itemGetDefaultActionAt() local
152 Resources::PATTable *table = item->findChildWithOrder<Resources::PATTable>(hotspotIndex); in itemGetDefaultActionAt()
165 int32 hotspotIndex = item->getHotspotIndexForPoint(position); in itemDoActionAt() local
166 item->doAction(action, hotspotIndex); in itemDoActionAt()
174 int32 hotspotIndex = item->getHotspotIndexForPoint(pos); in getItemTitleAt() local
175 return item->getHotspotTitle(hotspotIndex); in getItemTitleAt()
/dports/games/scummvm/scummvm-2.5.1/engines/gnap/
H A Dgnap.cpp450 int hotspotIndex = getHotspotIndexAtPos(_mousePos); in updateCursorByHotspot() local
455 sprintf(t, "hotspot = %2d", hotspotIndex); in updateCursorByHotspot()
463 if (hotspotIndex < 0) in updateCursorByHotspot()
465 else if (_hotspots[hotspotIndex]._flags & SF_EXIT_L_CURSOR) in updateCursorByHotspot()
467 else if (_hotspots[hotspotIndex]._flags & SF_EXIT_R_CURSOR) in updateCursorByHotspot()
469 else if (_hotspots[hotspotIndex]._flags & SF_EXIT_U_CURSOR) in updateCursorByHotspot()
471 else if (_hotspots[hotspotIndex]._flags & SF_EXIT_D_CURSOR) in updateCursorByHotspot()
473 else if (_hotspots[hotspotIndex]._flags & SF_EXIT_NE_CURSOR) in updateCursorByHotspot()
475 else if (_hotspots[hotspotIndex]._flags & SF_EXIT_NW_CURSOR) in updateCursorByHotspot()
497 if (hotspotIndex >= 0) { in getClickedHotspotId()
[all …]
H A Dgnap.h364 void setDeviceHotspot(int hotspotIndex, int x1, int y1, int x2, int y2);
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/gnap/
H A Dgnap.cpp455 int hotspotIndex = getHotspotIndexAtPos(_mousePos); in updateCursorByHotspot() local
460 sprintf(t, "hotspot = %2d", hotspotIndex); in updateCursorByHotspot()
468 if (hotspotIndex < 0) in updateCursorByHotspot()
470 else if (_hotspots[hotspotIndex]._flags & SF_EXIT_L_CURSOR) in updateCursorByHotspot()
472 else if (_hotspots[hotspotIndex]._flags & SF_EXIT_R_CURSOR) in updateCursorByHotspot()
474 else if (_hotspots[hotspotIndex]._flags & SF_EXIT_U_CURSOR) in updateCursorByHotspot()
476 else if (_hotspots[hotspotIndex]._flags & SF_EXIT_D_CURSOR) in updateCursorByHotspot()
478 else if (_hotspots[hotspotIndex]._flags & SF_EXIT_NE_CURSOR) in updateCursorByHotspot()
480 else if (_hotspots[hotspotIndex]._flags & SF_EXIT_NW_CURSOR) in updateCursorByHotspot()
502 if (hotspotIndex >= 0) { in getClickedHotspotId()
[all …]
H A Dgnap.h364 void setDeviceHotspot(int hotspotIndex, int x1, int y1, int x2, int y2);
/dports/games/libretro-scummvm/scummvm-7b1e929/devtools/create_lure/
H A Dprocess_actions.cpp349 uint16 hotspotIndex; in read_action_sequence() local
469 hotspotIndex = 0; in read_action_sequence()
472 hotspotIndex * sizeof(HotspotHeaderEntry)); in read_action_sequence()
475 ++hotspotIndex; in read_action_sequence()
H A Dcreate_lure_dat.cpp463 uint16 hotspotIndex = 0; in read_hotspot_data() local
465 uint16 currentHotspotId = startId[tableNum] + hotspotIndex; in read_hotspot_data()
467 lureExe.seek(dataSegment + offsets[tableNum] + hotspotIndex * 9); in read_hotspot_data()
471 ++hotspotIndex; in read_hotspot_data()
476 r->hotspotId = TO_LE_16(startId[tableNum] + hotspotIndex); in read_hotspot_data()
523 startId[tableNum] + hotspotIndex, in read_hotspot_data()
611 ++hotspotIndex; in read_hotspot_data()
H A Dcreate_lure_dat.h326 uint8 hotspotIndex; member
/dports/games/scummvm/scummvm-2.5.1/devtools/create_lure/
H A Dprocess_actions.cpp351 uint16 hotspotIndex; in read_action_sequence() local
474 hotspotIndex = 0; in read_action_sequence()
477 hotspotIndex * sizeof(HotspotHeaderEntry)); in read_action_sequence()
480 ++hotspotIndex; in read_action_sequence()
H A Dcreate_lure_dat.cpp485 uint16 hotspotIndex = 0; in read_hotspot_data() local
487 uint16 currentHotspotId = startId[tableNum] + hotspotIndex; in read_hotspot_data()
489 lureExe.seek(dataSegment + offsets[tableNum] + hotspotIndex * 9); in read_hotspot_data()
493 ++hotspotIndex; in read_hotspot_data()
498 r->hotspotId = TO_LE_16(startId[tableNum] + hotspotIndex); in read_hotspot_data()
545 startId[tableNum] + hotspotIndex, in read_hotspot_data()
566 startId[tableNum] + hotspotIndex, in read_hotspot_data()
632 ++hotspotIndex; in read_hotspot_data()
H A Dcreate_lure_dat.h328 uint8 hotspotIndex; member
/dports/games/residualvm/residualvm-0.3.1/engines/stark/resources/
H A Ditem.cpp341 bool ItemVisual::canPerformAction(uint32 action, uint32 hotspotIndex) { in canPerformAction() argument
342 PATTable *table = findChildWithOrder<PATTable>(hotspotIndex); in canPerformAction()
346 bool ItemVisual::doAction(uint32 action, uint32 hotspotIndex) { in doAction() argument
347 PATTable *table = findChildWithOrder<PATTable>(hotspotIndex); in doAction()
381 Common::String ItemVisual::getHotspotTitle(uint32 hotspotIndex) { in getHotspotTitle() argument
382 PATTable *table = findChildWithIndex<PATTable>(hotspotIndex); in getHotspotTitle()
H A Ditem.h164 Common::String getHotspotTitle(uint32 hotspotIndex);
167 bool canPerformAction(uint32 action, uint32 hotspotIndex);
170 bool doAction(uint32 action, uint32 hotspotIndex);
/dports/games/scummvm/scummvm-2.5.1/engines/stark/resources/
H A Ditem.h167 Common::String getHotspotTitle(uint32 hotspotIndex);
170 bool canPerformAction(uint32 action, uint32 hotspotIndex);
173 bool doAction(uint32 action, uint32 hotspotIndex);
H A Ditem.cpp349 bool ItemVisual::canPerformAction(uint32 action, uint32 hotspotIndex) { in canPerformAction() argument
350 PATTable *table = findChildWithOrder<PATTable>(hotspotIndex); in canPerformAction()
354 bool ItemVisual::doAction(uint32 action, uint32 hotspotIndex) { in doAction() argument
355 PATTable *table = findChildWithOrder<PATTable>(hotspotIndex); in doAction()
389 Common::String ItemVisual::getHotspotTitle(uint32 hotspotIndex) { in getHotspotTitle() argument
390 PATTable *table = findChildWithOrder<PATTable>(hotspotIndex); in getHotspotTitle()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/mohawk/
H A Dconsole.cpp725 uint hotspotIndex = _vm->_rnd->getRandomNumberRng(0, hotspots.size() - 1); in Cmd_QuickTest() local
726 RivenHotspot *hotspot = hotspots[hotspotIndex]; in Cmd_QuickTest()
/dports/games/scummvm/scummvm-2.5.1/engines/mohawk/
H A Dconsole.cpp726 uint hotspotIndex = _vm->_rnd->getRandomNumberRng(0, hotspots.size() - 1); in Cmd_QuickTest() local
727 RivenHotspot *hotspot = hotspots[hotspotIndex]; in Cmd_QuickTest()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/lure/
H A Dres_struct.h233 uint8 hotspotIndex; member
697 uint8 hotspotIndex; variable
H A Dres_struct.cpp1043 hotspotIndex = rec->hotspotIndex; in RoomExitIndexedHotspotData()
1051 if ((entry.roomNumber == roomNumber) && (entry.hotspotIndex == hotspotIndexId)) in getHotspot()
/dports/games/scummvm/scummvm-2.5.1/engines/lure/
H A Dres_struct.h233 uint8 hotspotIndex; member
697 uint8 hotspotIndex; variable
H A Dres_struct.cpp1043 hotspotIndex = rec->hotspotIndex; in RoomExitIndexedHotspotData()
1051 if ((entry.roomNumber == roomNumber) && (entry.hotspotIndex == hotspotIndexId)) in getHotspot()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/gob/
H A Dhotspots.cpp1158 uint16 hotspotIndex = inputToHotspot(curInput); in handleInputs() local
1160 assert(hotspotIndex != 0xFFFF); in handleInputs()
1162 Hotspot inputSpot = _hotspots[hotspotIndex]; in handleInputs()

12