7 #include "ParaScriptingGlobal.h" 8 #include "ParaScriptingScene.h" 12 class ParaAssetObject;
25 static int GetUnicodeCharNum(
const char* str);
33 static std::string UniSubString(
const char* str,
int nFrom,
int nTo);
40 static std::string UTF8ToUTF16(
const std::string& utf8);
47 static std::string UTF16ToUTF8(
const std::string& utf16);
53 static std::string SimpleEncode(
const std::string& source);
59 static std::string SimpleDecode(
const std::string& source);
62 static string md5(
const string& source);
63 static string md5_(
const string& source,
bool bBinary);
66 static string sha1(
const string& source);
67 static string sha1_(
const string& source,
bool bBinary);
70 static string base64(
const string& source);
72 static string unbase64(
const string& source);
78 static long RandomLong(
const object& seedTable);
80 static double RandomDouble(
const object& seedTable);
100 static const std::string& EncodingConvert(
const std::string& srcEncoding,
const std::string& dstEncoding,
const std::string& bytes);
103 static bool CopyTextToClipboard(
const char* text);
106 static const char* GetTextFromClipboard();
122 static string GetVersion();
126 static string GetCopyright();
127 static string GetAuthorTo();
128 static string GetWatermark();
136 static bool ForceRender();
138 static bool Sleep(
float fSeconds);
146 static bool SaveParaXMesh(
const char* filename,
ParaAssetObject& xmesh,
bool bBinaryEncoding);
160 static bool SetRenderTarget2(
int nIndex,
const char* render_targetname);
167 static bool DrawQuad();
184 static bool SetVertexDeclaration(
int nIndex);
Definition: PEtypes.h:507
it represents an attribute object associated with an object.
Definition: ParaScriptingGlobal.h:458
global game engine related functions, such as ParaEngineCore interface, copy right information...
Definition: ParaScriptingMisc.h:113
for luabind, The main drawback of this approach is that the compilation time will increase for the fi...
Definition: luaSQLite.cpp:1971
Contains miscellaneous functions.
Definition: ParaScriptingMisc.h:20
it represents an asset entity.
Definition: ParaScriptingCommon.h:85