| 673 | |
| 674 | bool InputSubsystem::GetCheat2ToDo(SDL_Scancode sc, bool reset) |
| 675 | { |
| 676 | int dik = static_cast<int>(sc); |
| 677 | if (GInput.keyboard.cheat1 || !GInput.keyboard.cheat2 || dik < 0) |
| 678 | return false; |
| 679 | bool ret = GInput.keyboard.keysToDo[dik]; |
| 680 | if (reset) |
| 681 | GInput.keyboard.keysToDo[dik] = false; |
| 682 | return ret; |
| 683 | } |
| 684 | #endif |
| 685 | |
| 686 | bool InputSubsystem::IsMouseButtonDown(int button) const |
| 687 | { |
no outgoing calls
no test coverage detected