7 #include "baseinterface.h" 26 virtual void FrameMove(
float fElapsedTime) = 0;
32 virtual void SetGameLoop(
const char* scriptName) = 0;
42 virtual void AddNPLCommand(
const char* sCommand,
int nLength=0) = 0;
80 virtual int activate(
const char * sNPLFilename,
const char* sCode,
int nCodeLength = 0) = 0;
NPL root interface It can be used by plug-in dlls to access the NPL interface.
Definition: INPL.h:17
define this to enable debugging of NPL code in visual studio
Definition: INPL.h:9
The base class for interfaces in ParaEngine.
Definition: baseinterface.h:29
virtual void SetGameLoopInterval(float fInterval)=0
set the game loop activation interval.
virtual void AddNPLCommand(const char *sCommand, int nLength=0)=0
add an NPL command code to the (main state's) pending list to be processed in the next frame move cyc...
virtual void SetGameLoop(const char *scriptName)=0
reset the game loop script.
virtual INPLRuntime * GetNPLRuntime()=0
the core NPL runtime interface.
virtual int activate(const char *sNPLFilename, const char *sCode, int nCodeLength=0)=0
[thread safe] activate the specified file.
virtual void FrameMove(float fElapsedTime)=0
if one wants to Run NPL runtime in the main thread.
virtual int StartService(const char *pCommandLine)=0
start the NPL service.
NPL Runtime Environment interface.
Definition: INPLRuntime.h:30
virtual void StopService()=0
stop the NPL service.