| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
- //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
- #pragma once
- #include "BsPrerequisites.h"
- #include "BsIReflectable.h"
- namespace BansheeEngine
- {
- /** @addtogroup Utility-Engine-Internal
- * @{
- */
- /**
- * Contains settings used for controlling game start-up, as well as persisting various other properties through game
- * sessions.
- */
- class BS_EXPORT GameSettings : public IReflectable
- {
- public:
- GameSettings() { }
- String mainSceneUUID; /**< Resource UUID of the default scene that is loaded when the application is started. */
- bool fullscreen = true; /**< If true the application will be started in fullscreen using user's desktop resolution. */
- bool useDesktopResolution = true; /**< If running in fullscreen should the user's desktop resolution be used instead of the specified resolution. */
- UINT32 resolutionWidth = 1280; /**< Width of the window. */
- UINT32 resolutionHeight = 720; /**< Height of the window. */
- WString titleBarText; /**< Text displayed in window's titlebar. */
- /************************************************************************/
- /* RTTI */
- /************************************************************************/
- public:
- friend class GameSettingsRTTI;
- static RTTITypeBase* getRTTIStatic();
- virtual RTTITypeBase* getRTTI() const override;
- };
- /** @} */
- }
|