| 3373 | } |
| 3374 | |
| 3375 | void cFodder::Mouse_ButtonCheck() { |
| 3376 | |
| 3377 | mButtonPressLeft = 0; |
| 3378 | if (mMouseButtonStatus & 1) { |
| 3379 | mButtonPressLeft -= 1; |
| 3380 | if (mMouse_Button_Left_Toggle == 0) { |
| 3381 | mMouse_Button_Left_Toggle = -1; |
| 3382 | mMouse_Exit_Loop = true; |
| 3383 | |
| 3384 | if (mButtonPressRight) { |
| 3385 | mMouse_Button_LeftRight_Toggle = true; |
| 3386 | mMouse_Button_LeftRight_Toggle2 = true; |
| 3387 | } |
| 3388 | } |
| 3389 | |
| 3390 | } |
| 3391 | else { |
| 3392 | mMouse_Button_LeftRight_Toggle2 = false; |
| 3393 | mMouse_Button_Left_Toggle = 0; |
| 3394 | } |
| 3395 | |
| 3396 | mButtonPressRight = 0; |
| 3397 | if (mMouseButtonStatus & 2) { |
| 3398 | mButtonPressRight -= 1; |
| 3399 | if (mMouse_Button_Right_Toggle == 0) { |
| 3400 | mSquad_Member_Fire_CoolDown_Override = true; |
| 3401 | mMouse_Button_Right_Toggle = -1; |
| 3402 | } |
| 3403 | } |
| 3404 | else { |
| 3405 | mMouse_Button_Right_Toggle = 0; |
| 3406 | } |
| 3407 | |
| 3408 | } |
| 3409 | |
| 3410 | void cFodder::WindowTitleSet(bool pInMission) { |
| 3411 | std::stringstream Title; |
nothing calls this directly
no outgoing calls
no test coverage detected