Home
last modified time | relevance | path

Searched refs:_scriptResource (Results 1 – 25 of 32) sorted by relevance

12

/dports/games/scummvm/scummvm-2.5.1/engines/illusions/bbdou/
H A Dbbdou_foodctl.cpp59 _vm->_scriptResource->_properties.set(propertyId, true); in requestNextFood()
122 if (_vm->_scriptResource->_properties.get(0x000E014A)) in getFoodSequenceId()
124 if (_vm->_scriptResource->_properties.get(0x000E014B)) in getFoodSequenceId()
126 if (_vm->_scriptResource->_properties.get(0x000E014C)) in getFoodSequenceId()
128 if (_vm->_scriptResource->_properties.get(0x000E014D)) in getFoodSequenceId()
130 if (_vm->_scriptResource->_properties.get(0x000E014E)) in getFoodSequenceId()
132 if (_vm->_scriptResource->_properties.get(0x000E014F)) in getFoodSequenceId()
138 if (_vm->_scriptResource->_properties.get(0x000E0146)) in getCurrentStudentObjectId()
140 if (_vm->_scriptResource->_properties.get(0x000E0147)) in getCurrentStudentObjectId()
142 if (_vm->_scriptResource->_properties.get(0x000E0148)) in getCurrentStudentObjectId()
[all …]
H A Dgamestate_bbdou.cpp36 _vm->_scriptResource->_properties.getSize() + in calcWriteBufferSizeInternal()
37 _vm->_scriptResource->_blockCounters.getSize(); in calcWriteBufferSizeInternal()
43 _vm->_scriptResource->_properties.readFromStream(in) && in readStateInternal()
44 _vm->_scriptResource->_blockCounters.readFromStream(in); in readStateInternal()
49 _vm->_scriptResource->_properties.writeToStream(out); in writeStateInternal()
50 _vm->_scriptResource->_blockCounters.writeToStream(out); in writeStateInternal()
H A Dillusions_bbdou.cpp334 causeThreadId = startTempScriptThread(_scriptResource->getCode(codeOffs), in causeTrigger()
480 byte *scriptCodeIp = _scriptResource->getThreadCode(threadId); in startScriptThread()
488 byte *scriptCodeIp = _scriptResource->getThreadCode(threadId); in startAnonScriptThread()
489 scriptCodeIp = _scriptResource->getThreadCode(threadId); in startAnonScriptThread()
554 uint32 threadId = _nextTempThreadId + 2 * _scriptResource->_codeCount; in newTempThreadId()
557 threadId = 2 * _scriptResource->_codeCount; in newTempThreadId()
564 SceneInfo *sceneInfo = _scriptResource->getSceneInfo(sceneId & 0xFFFF); in enterScene()
657 SceneInfo *sceneInfo = _scriptResource->getSceneInfo(sceneId & 0xFFFF); in findTriggerCause()
664 _scriptResource->_blockCounters.clear(); in reset()
665 _scriptResource->_properties.clear(); in reset()
H A Dscriptopcodes_bbdou.cpp445 byte value = _vm->_scriptResource->_blockCounters.get(index) + 1; in opIncBlockCounter()
447 _vm->_scriptResource->_blockCounters.set(index, value); in opIncBlockCounter()
452 _vm->_scriptResource->_blockCounters.set(index, 0); in opClearBlockCounter()
458 _vm->_scriptResource->_properties.set(propertyId, value != 0); in opSetProperty()
817 bool value = _vm->_scriptResource->_properties.get(propertyId); in opGetProperty()
825 int16 lvalue = _vm->_scriptResource->_blockCounters.get(index); in opCompareBlockCounter()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/illusions/bbdou/
H A Dbbdou_foodctl.cpp59 _vm->_scriptResource->_properties.set(propertyId, true); in requestNextFood()
122 if (_vm->_scriptResource->_properties.get(0x000E014A)) in getFoodSequenceId()
124 if (_vm->_scriptResource->_properties.get(0x000E014B)) in getFoodSequenceId()
126 if (_vm->_scriptResource->_properties.get(0x000E014C)) in getFoodSequenceId()
128 if (_vm->_scriptResource->_properties.get(0x000E014D)) in getFoodSequenceId()
130 if (_vm->_scriptResource->_properties.get(0x000E014E)) in getFoodSequenceId()
132 if (_vm->_scriptResource->_properties.get(0x000E014F)) in getFoodSequenceId()
138 if (_vm->_scriptResource->_properties.get(0x000E0146)) in getCurrentStudentObjectId()
140 if (_vm->_scriptResource->_properties.get(0x000E0147)) in getCurrentStudentObjectId()
142 if (_vm->_scriptResource->_properties.get(0x000E0148)) in getCurrentStudentObjectId()
[all …]
H A Dgamestate_bbdou.cpp36 _vm->_scriptResource->_properties.getSize() + in calcWriteBufferSizeInternal()
37 _vm->_scriptResource->_blockCounters.getSize(); in calcWriteBufferSizeInternal()
43 _vm->_scriptResource->_properties.readFromStream(in) && in readStateInternal()
44 _vm->_scriptResource->_blockCounters.readFromStream(in); in readStateInternal()
49 _vm->_scriptResource->_properties.writeToStream(out); in writeStateInternal()
50 _vm->_scriptResource->_blockCounters.writeToStream(out); in writeStateInternal()
H A Dillusions_bbdou.cpp334 causeThreadId = startTempScriptThread(_scriptResource->getCode(codeOffs), in causeTrigger()
476 byte *scriptCodeIp = _scriptResource->getThreadCode(threadId); in startScriptThread()
484 byte *scriptCodeIp = _scriptResource->getThreadCode(threadId); in startAnonScriptThread()
485 scriptCodeIp = _scriptResource->getThreadCode(threadId); in startAnonScriptThread()
550 uint32 threadId = _nextTempThreadId + 2 * _scriptResource->_codeCount; in newTempThreadId()
553 threadId = 2 * _scriptResource->_codeCount; in newTempThreadId()
560 SceneInfo *sceneInfo = _scriptResource->getSceneInfo(sceneId & 0xFFFF); in enterScene()
653 SceneInfo *sceneInfo = _scriptResource->getSceneInfo(sceneId & 0xFFFF); in findTriggerCause()
660 _scriptResource->_blockCounters.clear(); in reset()
661 _scriptResource->_properties.clear(); in reset()
/dports/games/scummvm/scummvm-2.5.1/engines/illusions/duckman/
H A Dgamestate_duckman.cpp35 _vm->_scriptResource->_properties.getSize() + in calcWriteBufferSizeInternal()
36 _vm->_scriptResource->_blockCounters.getSize(); in calcWriteBufferSizeInternal()
41 _vm->_scriptResource->_properties.readFromStream(in) && in readStateInternal()
42 _vm->_scriptResource->_blockCounters.readFromStream(in); in readStateInternal()
46 _vm->_scriptResource->_properties.writeToStream(out); in writeStateInternal()
47 _vm->_scriptResource->_blockCounters.writeToStream(out); in writeStateInternal()
H A Dduckman_specialcode.cpp128 _vm->_scriptResource->_properties.set(0x000E0018, false); in spcResetChinesePuzzle()
129 _vm->_scriptResource->_properties.set(0x000E0019, false); in spcResetChinesePuzzle()
138 _vm->_scriptResource->_properties.set(0x000E0018, true); in spcAddChinesePuzzleAnswer()
141 _vm->_scriptResource->_properties.set(0x000E0019, true); in spcAddChinesePuzzleAnswer()
144 _vm->_scriptResource->_properties.set(0x000E00A0, true); in spcAddChinesePuzzleAnswer()
188 _vm->_scriptResource->_properties.set(0x000E007A, false); in spcInitTeleporterPosition()
233 _vm->_scriptResource->_properties.set(0x000E007A, false); in spcUpdateTeleporterPosition()
257 _vm->_scriptResource->_properties.set(0x000E0088, false); in spcIncrCounter()
271 if (_vm->_scriptResource->_properties.get(0x000E0085)) in spcUpdateObject272Sequence()
273 if (_vm->_scriptResource->_properties.get(0x000E0083)) in spcUpdateObject272Sequence()
[all …]
H A Dillusions_duckman.cpp168 _scriptResource->_properties.set(0x000E003A, true); in run()
169 _scriptResource->_properties.set(0x000E0020, true); in run()
170 _scriptResource->_properties.set(0x000E003A, true); in run()
171 _scriptResource->_properties.set(0x000E003B, true); in run()
172 _scriptResource->_properties.set(0x000E0009, true); in run()
179 _scriptResource->_blockCounters.set(238, 1); in run()
884 threadId = 2 * _scriptResource->_codeCount; in newTempThreadId()
1009 _scriptResource->_blockCounters.clear(); in reset()
1010 _scriptResource->_properties.clear(); in reset()
1142 uint32 *soundIds = _scriptResource->_soundIds; in playSoundEffect()
[all …]
H A Dpropertytimers.cpp60 _vm->_scriptResource->_properties.set(propertyId, false); in setPropertyTimer()
72 _vm->_scriptResource->_properties.set(propertyId, true); in removePropertyTimer()
107 if (!_vm->_scriptResource->_properties.get(propertyTimer._propertyId) && in updatePropertyTimers()
109 _vm->_scriptResource->_properties.set(propertyTimer._propertyId, true); in updatePropertyTimers()
H A Dscriptopcodes_duckman.cpp301 if (_vm->_scriptResource->_properties.get(31)) { in opChangeScene()
325 if (_vm->_scriptResource->_properties.get(0x000E0027)) { in opExitModalScene()
435 _vm->_scriptResource->_properties.set(propertyId, value != 0); in opSetProperty()
721 _vm->_scriptResource->_blockCounters.set(index, value); in opIncBlockCounter()
726 _vm->_scriptResource->_blockCounters.set(index, 0); in opClearBlockCounter()
834 if (_vm->_scriptResource->_blockCounters.getC0(index) & 0x80) in opSetBlockCounter115()
835 _vm->_scriptResource->_blockCounters.set(index, 0); in opSetBlockCounter115()
836 _vm->_scriptResource->_blockCounters.setC0(index, 0x40); in opSetBlockCounter115()
842 _vm->_scriptResource->_blockCounters.setC0(index, 0x40); in opSetBlockCounter116()
847 _vm->_scriptResource->_blockCounters.setC0(index, 0); in opSetBlockCounter117()
[all …]
H A Dduckman_credits.cpp76 _vm->_scriptResource->_properties.set(0x000E0096, true); in update()
134 _vm->_scriptResource->_properties.set(0x000E0096, true); in update()
H A Dduckman_inventory.cpp85 if (!_vm->_scriptResource->_properties.get(inventoryItem->_propertyId)) in openInventory()
92 if (_vm->_scriptResource->_properties.get(inventoryItem->_propertyId)) { in openInventory()
H A Dmenusystem_duckman.cpp393 if (_vm->_scriptResource->_properties.get(kDebugInventoryItems[_choiceIndex].propertyId)) { in execute()
397 _vm->_scriptResource->_properties.set(kDebugInventoryItems[_choiceIndex].propertyId, false); in execute()
401 _vm->_scriptResource->_properties.set(kDebugInventoryItems[_choiceIndex].propertyId, true); in execute()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/illusions/duckman/
H A Dgamestate_duckman.cpp35 _vm->_scriptResource->_properties.getSize() + in calcWriteBufferSizeInternal()
36 _vm->_scriptResource->_blockCounters.getSize(); in calcWriteBufferSizeInternal()
41 _vm->_scriptResource->_properties.readFromStream(in) && in readStateInternal()
42 _vm->_scriptResource->_blockCounters.readFromStream(in); in readStateInternal()
46 _vm->_scriptResource->_properties.writeToStream(out); in writeStateInternal()
47 _vm->_scriptResource->_blockCounters.writeToStream(out); in writeStateInternal()
H A Dduckman_specialcode.cpp124 _vm->_scriptResource->_properties.set(0x000E0018, false); in spcResetChinesePuzzle()
125 _vm->_scriptResource->_properties.set(0x000E0019, false); in spcResetChinesePuzzle()
134 _vm->_scriptResource->_properties.set(0x000E0018, true); in spcAddChinesePuzzleAnswer()
137 _vm->_scriptResource->_properties.set(0x000E0019, true); in spcAddChinesePuzzleAnswer()
140 _vm->_scriptResource->_properties.set(0x000E00A0, true); in spcAddChinesePuzzleAnswer()
184 _vm->_scriptResource->_properties.set(0x000E007A, false); in spcInitTeleporterPosition()
229 _vm->_scriptResource->_properties.set(0x000E007A, false); in spcUpdateTeleporterPosition()
253 _vm->_scriptResource->_properties.set(0x000E0088, false); in spcIncrCounter()
267 if (_vm->_scriptResource->_properties.get(0x000E0085)) in spcUpdateObject272Sequence()
269 if (_vm->_scriptResource->_properties.get(0x000E0083)) in spcUpdateObject272Sequence()
[all …]
H A Dillusions_duckman.cpp168 _scriptResource->_properties.set(0x000E003A, true); in run()
169 _scriptResource->_properties.set(0x000E0020, true); in run()
170 _scriptResource->_properties.set(0x000E003A, true); in run()
171 _scriptResource->_properties.set(0x000E003B, true); in run()
172 _scriptResource->_properties.set(0x000E0009, true); in run()
179 _scriptResource->_blockCounters.set(238, 1); in run()
877 threadId = 2 * _scriptResource->_codeCount; in newTempThreadId()
1002 _scriptResource->_blockCounters.clear(); in reset()
1003 _scriptResource->_properties.clear(); in reset()
1135 uint32 *soundIds = _scriptResource->_soundIds; in playSoundEffect()
[all …]
H A Dpropertytimers.cpp60 _vm->_scriptResource->_properties.set(propertyId, false); in setPropertyTimer()
72 _vm->_scriptResource->_properties.set(propertyId, true); in removePropertyTimer()
107 if (!_vm->_scriptResource->_properties.get(propertyTimer._propertyId) && in updatePropertyTimers()
109 _vm->_scriptResource->_properties.set(propertyTimer._propertyId, true); in updatePropertyTimers()
H A Dscriptopcodes_duckman.cpp301 if (_vm->_scriptResource->_properties.get(31)) { in opChangeScene()
325 if (_vm->_scriptResource->_properties.get(0x000E0027)) { in opExitModalScene()
435 _vm->_scriptResource->_properties.set(propertyId, value != 0); in opSetProperty()
721 _vm->_scriptResource->_blockCounters.set(index, value); in opIncBlockCounter()
726 _vm->_scriptResource->_blockCounters.set(index, 0); in opClearBlockCounter()
832 if (_vm->_scriptResource->_blockCounters.getC0(index) & 0x80) in opSetBlockCounter115()
833 _vm->_scriptResource->_blockCounters.set(index, 0); in opSetBlockCounter115()
834 _vm->_scriptResource->_blockCounters.setC0(index, 0x40); in opSetBlockCounter115()
840 _vm->_scriptResource->_blockCounters.setC0(index, 0x40); in opSetBlockCounter116()
845 _vm->_scriptResource->_blockCounters.setC0(index, 0); in opSetBlockCounter117()
[all …]
H A Dduckman_credits.cpp76 _vm->_scriptResource->_properties.set(0x000E0096, true); in update()
134 _vm->_scriptResource->_properties.set(0x000E0096, true); in update()
H A Dduckman_inventory.cpp85 if (!_vm->_scriptResource->_properties.get(inventoryItem->_propertyId)) in openInventory()
92 if (_vm->_scriptResource->_properties.get(inventoryItem->_propertyId)) { in openInventory()
H A Dmenusystem_duckman.cpp327 if (_vm->_scriptResource->_properties.get(kDebugInventoryItems[_choiceIndex].propertyId)) { in execute()
331 _vm->_scriptResource->_properties.set(kDebugInventoryItems[_choiceIndex].propertyId, false); in execute()
335 _vm->_scriptResource->_properties.set(kDebugInventoryItems[_choiceIndex].propertyId, true); in execute()
/dports/games/scummvm/scummvm-2.5.1/engines/illusions/resources/
H A Dscriptresource.cpp404 _vm->_scriptResource = new ScriptResource(); in load()
405 _vm->_scriptResource->load(resource); in load()
409 delete _vm->_scriptResource; in unload()
410 _vm->_scriptResource = 0; in unload()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/illusions/resources/
H A Dscriptresource.cpp403 _vm->_scriptResource = new ScriptResource(); in load()
404 _vm->_scriptResource->load(resource); in load()
408 delete _vm->_scriptResource; in unload()
409 _vm->_scriptResource = 0; in unload()

12