My Project
IParaEngineCore.h
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2004 - 2010 ParaEngine Corporation, All Rights Reserved.
3 // Date: 2005.4
4 // Description: API for ParaEngine core interface
5 //-----------------------------------------------------------------------------
6 
7 #pragma once
8 
9 #include "baseinterface.h"
10 namespace ParaEngine
11 {
12  class IParaEngineApp;
13 
18  {
19  public:
20  virtual DWORD GetVersion()=0;
21  virtual HWND GetParaEngineHWnd()=0;
24  virtual bool ForceRender()=0;
26  virtual bool Sleep(float fSeconds)=0;
27 
29  virtual IParaEngineApp* GetAppInterface()=0;
30 
34  virtual IParaEngineApp* CreateApp()=0;
35 
37  virtual void Destroy() {};
38  };
39 }
virtual IParaEngineApp * GetAppInterface()=0
get the ParaEngine app interface.
The base class for interfaces in ParaEngine.
Definition: baseinterface.h:29
different physics engine has different winding order.
Definition: EventBinding.h:32
virtual bool Sleep(float fSeconds)=0
cause the main thread to sleep for the specified seconds.
a table of virtual functions which are used by plug-ins to access the game engine ...
Definition: IParaEngineCore.h:17
virtual void Destroy()
one should call this when you no longer need this application, usually as the last line of your code...
Definition: IParaEngineCore.h:37
virtual IParaEngineApp * CreateApp()=0
create an ParaEngine application.
virtual bool ForceRender()=0
render the current frame and does not return until everything is presented to screen.
a table of virtual functions which are used by plug-ins to access the game engine ...
Definition: IParaEngineApp.h:98