| 4100 | } |
| 4101 | |
| 4102 | bool Game_Interpreter::CommandToggleFullscreen(lcf::rpg::EventCommand const& /* com */) { |
| 4103 | if (!Player::IsRPG2k3ECommands()) { |
| 4104 | return true; |
| 4105 | } |
| 4106 | |
| 4107 | auto cfg = DisplayUi->GetConfig(); |
| 4108 | if (!cfg.fullscreen.IsOptionVisible() || cfg.fullscreen.IsLocked()) { |
| 4109 | Output::Debug("ToggleFullscreen: Not supported on this platform"); |
| 4110 | return true; |
| 4111 | } |
| 4112 | |
| 4113 | DisplayUi->ToggleFullscreen(); |
| 4114 | return true; |
| 4115 | } |
| 4116 | |
| 4117 | bool Game_Interpreter::CommandOpenVideoOptions(lcf::rpg::EventCommand const& /* com */) { |
| 4118 | if (!Player::IsRPG2k3ECommands()) { |
nothing calls this directly
no test coverage detected