Space Engineers
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
SpaceEngineers.Game.SpaceEngineersGame Class Reference
Inheritance diagram for SpaceEngineers.Game.SpaceEngineersGame:
Sandbox.MySandboxGame Sandbox.MySandboxGame Sandbox.Engine.Platform.Game Sandbox.Engine.Platform.Game

Public Member Functions

 SpaceEngineersGame (VRageGameServices services, string[] commandlineArgs)
 
- Public Member Functions inherited from Sandbox.MySandboxGame
 MySandboxGame (VRageGameServices services, string[] commandlineArgs)
 
void Run (bool customRenderLoop=false, Action disposeSplashScreen=null)
 
void EndLoop ()
 
virtual void SwitchSettings (MyRenderDeviceSettings settings)
 
void Invoke (Action action)
 Invokes the specified action on main thread. More...
 
void ClearInvokeQueue ()
 
void SetMouseVisible (bool visible)
 
void Dispose ()
 
- Public Member Functions inherited from Sandbox.Engine.Platform.Game
 Game ()
 Initializes a new instance of the Game class. More...
 
void SetNextFrameDelayDelta (int delta)
 
void Exit ()
 Exits the game. More...
 
void RunSingleFrame ()
 

Static Public Member Functions

static void SetupBasicGameInfo ()
 
static void SetupPerGameSettings ()
 
static void SetupRender ()
 
- Static Public Member Functions inherited from Sandbox.MySandboxGame
static void AfterLogos ()
 
static void UpdateScreenSize (int width, int height, MyViewport viewport)
 
static void ForceStaticCtor (Type[] types)
 
static void StartPreload ()
 
static void PausePush ()
 
static void PausePop ()
 
static void PauseToggle ()
 
static void AssertUpdateThread ()
 
static void ProcessRenderOutput ()
 Safe to anytime from update thread, synchronized internally More...
 
static void ExitThreadSafe ()
 
static void ReloadDedicatedServerSession ()
 

Protected Member Functions

override void InitInput ()
 
- Protected Member Functions inherited from Sandbox.MySandboxGame
virtual void InitSteamWorkshop ()
 
virtual IMyRenderWindow InitializeRenderThread ()
 
void RenderThread_SizeChanged (int width, int height, MyViewport viewport)
 
void RenderThread_BeforeDraw ()
 
void CheckGraphicsCard (MyRenderMessageVideoAdaptersResponse msgVideoAdapters)
 
virtual void Initialize ()
 
virtual void StartRenderComponent (MyRenderDeviceSettings?settingsToTry)
 
virtual void LoadGui ()
 
override void Update ()
 Reference page contains links to related conceptual articles. More...
 
override void LoadData_UpdateThread ()
 
override void UnloadData_UpdateThread ()
 
override void PrepareForDraw ()
 
- Protected Member Functions inherited from Sandbox.Engine.Platform.Game
void RunLoop ()
 Updates the game's clock and calls Update More...
 

Additional Inherited Members

- Public Attributes inherited from Sandbox.MySandboxGame
MyGameRenderComponent GameRenderComponent
 
MySessionCompatHelper SessionCompatHelper = null
 
- Public Attributes inherited from Sandbox.Engine.Platform.Game
long FrameTimeTicks
 
- Static Public Attributes inherited from Sandbox.MySandboxGame
static readonly MyStringId DirectX11RendererKey = MyStringId.GetOrCompute("DirectX 11")
 
static Version BuildVersion = Assembly.GetExecutingAssembly().GetName().Version
 
static DateTime BuildDateTime = new DateTime(2000, 1, 1).AddDays(BuildVersion.Build).AddSeconds(BuildVersion.Revision * 2)
 Build time of GameLib. Local time (without DST) of machine which build the assembly. More...
 
static MySandboxGame Static
 
static Vector2I ScreenSize
 
static Vector2I ScreenSizeHalf
 
static MyViewport ScreenViewport
 
static bool IsUpdateReady = true
 
static bool IsConsoleVisible = false
 
static bool IsReloading = false
 
static bool FatalErrorDuringInit = false
 
static readonly MyLog Log = new MyLog()
 
static int NumberOfCores
 
static bool ShowIsBetterGCAvailableNotification = false
 
static bool ShowGpuUnderMinimumNotification = false
 
static MyConfig Config
 
static IMyConfigDedicated ConfigDedicated
 
static IntPtr GameWindowHandle
 
- Static Public Attributes inherited from Sandbox.Engine.Platform.Game
static bool IsDedicated = false
 
static bool IsPirated = false
 
static bool IgnoreLastSession = false
 
static IPEndPoint ConnectToServer = null
 
static bool EnableSimSpeedLocking = false
 
- Static Protected Member Functions inherited from Sandbox.MySandboxGame
static void AddDefaultGameControl (Dictionary< MyStringId, MyControl > self, MyGuiControlTypeEnum controlTypeEnum, MyStringId controlId, MyMouseButtonsEnum?mouse=null, MyKeys?key=null, MyKeys?key2=null)
 
- Protected Attributes inherited from Sandbox.MySandboxGame
IMyBufferedInputSource m_bufferedInputSource
 
Action< bool > m_setMouseVisible
 
- Protected Attributes inherited from Sandbox.Engine.Platform.Game
readonly MyGameTimer m_gameTimer = new MyGameTimer()
 
- Static Protected Attributes inherited from Sandbox.MySandboxGame
static ManualResetEvent m_windowCreatedEvent = new ManualResetEvent(false)
 
- Properties inherited from Sandbox.MySandboxGame
static bool IsDirectX11 [get]
 
static bool IsGameReady [get]
 
static bool IsPreloading [get]
 
static bool AreClipmapsReady [get, set]
 
static VRageGameServices Services [get]
 
static int TotalGamePlayTimeInMilliseconds [get]
 
static int TotalTimeInMilliseconds [get]
 
static double SecondsSinceLastFrame [get]
 
IntPtr WindowHandle [get, protected set]
 
bool EnableDamageEffects [get, set]
 
static IGameCustomInitialization GameCustomInitialization [get, set]
 
static bool IsPaused [get]
 
static IErrorConsumer ErrorConsumer [get, set]
 
- Properties inherited from Sandbox.Engine.Platform.Game
MyTimeSpan DrawTime [get]
 
MyTimeSpan UpdateTime [get]
 
MyTimeSpan SimulationTime [get]
 
double TimerMultiplier [get, set]
 
Thread UpdateThread [get, protected set]
 
Thread DrawThread [get, protected set]
 
static float SimulationRatio [get]
 
bool IsActive [get]
 Gets a value indicating whether this instance is active. More...
 
bool IsRunning [get]
 Gets a value indicating whether is running. More...
 
bool IsFirstUpdateDone [get]
 
bool EnableMaxSpeed [get, set]
 
- Events inherited from Sandbox.MySandboxGame
EventHandler OnGameLoaded
 
EventHandler OnScreenshotTaken
 
- Events inherited from Sandbox.Engine.Platform.Game
Action OnGameExit
 

Detailed Description

Definition at line 30 of file SpaceEngineersGame.cs.

Constructor & Destructor Documentation

SpaceEngineers.Game.SpaceEngineersGame.SpaceEngineersGame ( VRageGameServices  services,
string[]  commandlineArgs 
)
inline

Definition at line 36 of file SpaceEngineersGame.cs.

Member Function Documentation

override void SpaceEngineers.Game.SpaceEngineersGame.InitInput ( )
inlineprotectedvirtual

Reimplemented from Sandbox.MySandboxGame.

Definition at line 432 of file SpaceEngineersGame.cs.

static void SpaceEngineers.Game.SpaceEngineersGame.SetupBasicGameInfo ( )
inlinestatic

Definition at line 43 of file SpaceEngineersGame.cs.

static void SpaceEngineers.Game.SpaceEngineersGame.SetupPerGameSettings ( )
inlinestatic

Definition at line 55 of file SpaceEngineersGame.cs.

static void SpaceEngineers.Game.SpaceEngineersGame.SetupRender ( )
inlinestatic

Definition at line 174 of file SpaceEngineersGame.cs.


The documentation for this class was generated from the following files: