| 98 | } |
| 99 | |
| 100 | void CGameWindow::EmulateOnLeftMouseButtonDown() |
| 101 | { |
| 102 | if (g_CurrentScreen != nullptr && g_ScreenEffectManager.Mode == SEM_NONE) |
| 103 | { |
| 104 | g_CurrentScreen->SelectObject(); |
| 105 | g_PressedObject.InitLeft(g_SelectedObject); |
| 106 | if (g_SelectedObject.Object != nullptr || g_GameState == GS_GAME) |
| 107 | { |
| 108 | Wisp::g_WispMouse->LeftDropPosition = Wisp::g_WispMouse->Position; |
| 109 | g_CurrentScreen->OnLeftMouseButtonDown(); |
| 110 | } |
| 111 | } |
| 112 | } |
| 113 | |
| 114 | int CGameWindow::GetRenderDelay() |
| 115 | { |
no test coverage detected