mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-10 12:55:24 +00:00
FULLPIPE: Added temp trace output
This commit is contained in:
parent
14757b1d17
commit
6cb9429b12
@ -425,6 +425,7 @@ int global_messageHandler3(ExCommand *cmd) {
|
||||
if (g_fp->_msgX != cmd->_sceneClickX || g_fp->_msgY != cmd->_sceneClickY) {
|
||||
ani = g_fp->_currentScene->getStaticANIObject1ById(g_fp->_gameLoader->_field_FA, -1);
|
||||
if (!ani || (ani->isIdle() && !(ani->_flags & 0x80) && !(ani->_flags & 0x100))) {
|
||||
warning("WWW 1");
|
||||
result = startWalkTo(g_fp->_gameLoader->_field_FA, -1, cmd->_sceneClickX, cmd->_sceneClickY, 0);
|
||||
if (result) {
|
||||
ExCommand *ex = new ExCommand(g_fp->_gameLoader->_field_FA, 17, 64, 0, 0, 0, 1, 0, 0, 0);
|
||||
|
@ -155,6 +155,7 @@ void MGM::rebuildTables(int objId) {
|
||||
if (!obj)
|
||||
return;
|
||||
|
||||
warning("WWW rebuild. idx: %d, size: %d", idx, obj->_staticsList.size() * obj->_staticsList.size());
|
||||
for (uint i = 0; i < obj->_staticsList.size(); i++) {
|
||||
_items[idx]->statics.push_back((Statics *)obj->_staticsList[i]);
|
||||
|
||||
@ -577,6 +578,7 @@ int MGM::refreshOffsets(int objectId, int idx1, int idx2) {
|
||||
int from = getStaticsIndexById(idx, idx1);
|
||||
int to = getStaticsIndexById(idx, idx2);
|
||||
|
||||
warning("WWW 6, want idx: %d, off: %d", idx, from + to * _items[idx]->statics.size());
|
||||
MGMSubItem *sub = _items[idx]->subItems[from + to * _items[idx]->statics.size()];
|
||||
|
||||
if (sub->movement) {
|
||||
|
@ -186,6 +186,7 @@ MessageQueue *MctlCompound::startMove(StaticANIObject *ani, int sourceX, int sou
|
||||
if (sourceIdx == -1)
|
||||
return 0;
|
||||
|
||||
warning("WWW 2");
|
||||
if (idx == sourceIdx)
|
||||
return _motionControllers[idx]->_motionControllerObj->startMove(ani, sourceX, sourceY, fuzzyMatch, staticsId);
|
||||
|
||||
@ -1633,6 +1634,7 @@ int MovGraph2::getItemSubIndexByMGM(int index, StaticANIObject *ani) {
|
||||
int min = 0;
|
||||
|
||||
for (int i = 0; i < 4; i++) {
|
||||
warning("WWW 5");
|
||||
int tmp = _mgm.refreshOffsets(ani->_id, ani->_statics->_staticsId, _items2[index]->_subItems[i]._staticsId1);
|
||||
|
||||
if (tmp >= 0 && (minidx == -1 || tmp < min)) {
|
||||
@ -2050,6 +2052,7 @@ MessageQueue *MovGraph2::startMove(StaticANIObject *ani, int xpos, int ypos, int
|
||||
if (ani->_flags & 0x100)
|
||||
return 0;
|
||||
|
||||
warning("WWW 3");
|
||||
MessageQueue *mq = doWalkTo(ani, xpos, ypos, fuzzyMatch, staticsId);
|
||||
|
||||
if (!mq)
|
||||
@ -2118,6 +2121,7 @@ MessageQueue *MovGraph2::doWalkTo(StaticANIObject *obj, int xpos, int ypos, int
|
||||
bool subMgm = false;
|
||||
|
||||
if (idxsub == -1) {
|
||||
warning("WWW 4");
|
||||
idxsub = getItemSubIndexByMGM(idx, obj);
|
||||
subMgm = true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user