2 #include "util/mutex.h" 33 float m_fGameloopInterval;
46 void AddNPLCommand(
const string& sCommand);
56 void FrameMove(
float fElapsedTime = 0);
63 int NPLActivate(
const char* filepath,
const char*
code = NULL,
int nLength=0);
71 void NPLLoadFile(
const char* filename,
bool bReload=
false);
78 void NPLDoString(
const char* strCode,
int nLength = 0);
84 void SetGameLoop(
const string& scriptName);
86 void SetGameLoopInterval(
float fInterval);
define this to enable debugging of NPL code in visual studio
Definition: INPL.h:9
different physics engine has different winding order.
Definition: EventBinding.h:32
CNPLRuntime is a wrapper of the NPL application programming interface (NPL API).
Definition: NPLRuntime.h:64
AI and AI scripts handlers.
Definition: AISimulator.h:28
NPL::CNPLRuntime * GetNPLRuntime()
get the current NPL runtime environment.
Definition: AISimulator.h:49
Definition: inftrees.h:24
cross platform mutex
Definition: mutex.h:95