mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
BLADERUNNER: Debugger output x,y 2d co-ordinate for mouse click info
This commit is contained in:
@@ -1427,7 +1427,7 @@ void BladeRunnerEngine::handleMouseAction(int x, int y, bool mainButton, bool bu
|
||||
|
||||
if (_debugger->_showMouseClickInfo) {
|
||||
// Region has highest priority when overlapping
|
||||
debug("Mouse: %02.2f, %02.2f, %02.2f", scenePosition.x, scenePosition.y, scenePosition.z);
|
||||
debug("Mouse: %02.2f, %02.2f, %02.2f at ScreenX: %d ScreenY: %d", scenePosition.x, scenePosition.y, scenePosition.z, x, y);
|
||||
if ((sceneObjectId < kSceneObjectOffsetActors || sceneObjectId >= kSceneObjectOffsetItems) && exitIndex >= 0) {
|
||||
debug("Clicked on Region-Exit=%d", exitIndex);
|
||||
} else if (regionIndex >= 0) {
|
||||
|
||||
Reference in New Issue
Block a user