mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-28 09:14:58 +01:00
* Put all of TitleSequenceManager into the same namespace * Move RideConstructionState into the OpenRCT2 namespace * Adopt existing namespaces into OpenRCT2 namespace This adds `using namespace OpenRCT2` to compilation units where appropriate, as a means to get the codebase to compile until these units have been placed in a namespace of their own.
29 lines
868 B
C++
29 lines
868 B
C++
/*****************************************************************************
|
|
* Copyright (c) 2014-2024 OpenRCT2 developers
|
|
*
|
|
* For a complete list of all authors, please refer to contributors.md
|
|
* Interested in contributing? Visit https://github.com/OpenRCT2/OpenRCT2
|
|
*
|
|
* OpenRCT2 is licensed under the GNU General Public License version 3.
|
|
*****************************************************************************/
|
|
|
|
#include "PauseToggleAction.h"
|
|
|
|
using namespace OpenRCT2;
|
|
|
|
uint16_t PauseToggleAction::GetActionFlags() const
|
|
{
|
|
return GameAction::GetActionFlags() | GameActions::Flags::AllowWhilePaused | GameActions::Flags::IgnoreForReplays;
|
|
}
|
|
|
|
GameActions::Result PauseToggleAction::Query() const
|
|
{
|
|
return GameActions::Result();
|
|
}
|
|
|
|
GameActions::Result PauseToggleAction::Execute() const
|
|
{
|
|
PauseToggle();
|
|
return GameActions::Result();
|
|
}
|