1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 09:14:58 +01:00

Move some game actions logic from header to source (#13571)

* Moving all definitions from B...Actions to source

* Moving all definitions from C...Actions to source

* Moving all definitions from F...Actions to source

* Moving all definitions from G...Actions to source

* Moving all definitions from L...Actions to source

* Moving all definitions from M...Actions to source

* Moving all definitions from N...Actions to source

* Moving all definitions from P...Actions to source
This commit is contained in:
Tulio Leao
2020-12-13 12:10:26 -03:00
committed by GitHub
parent 04b26631c0
commit 8fc167afc3
84 changed files with 666 additions and 482 deletions

View File

@@ -9,6 +9,16 @@
#include "PauseToggleAction.h"
uint16_t PauseToggleAction::GetActionFlags() const
{
return GameAction::GetActionFlags() | GameActions::Flags::AllowWhilePaused;
}
GameActions::Result::Ptr PauseToggleAction::Query() const
{
return std::make_unique<GameActions::Result>();
}
GameActions::Result::Ptr PauseToggleAction::Execute() const
{
pause_toggle();