Files
RCBASIC4/rcbasic_build/rc_builtin.h
2026-03-04 00:52:27 -06:00

3845 lines
168 KiB
C
Executable File

#ifndef RC_BUILTIN_H_INCLUDED
#define RC_BUILTIN_H_INCLUDED
#include "identifier.h"
void init_embedded_functions()
{
embed_function("FPrint", ID_TYPE_SUB);
add_embedded_arg("txt$", ID_TYPE_STR);
embed_function("Input$", ID_TYPE_FN_STR);
add_embedded_arg("prompt$", ID_TYPE_STR);
embed_function("ArrayDim", ID_TYPE_FN_NUM);
add_embedded_arg("id", ID_TYPE_BYREF_NUM);
embed_function("StringArrayDim", ID_TYPE_FN_NUM);
add_embedded_arg("id$", ID_TYPE_BYREF_STR);
embed_function("NumberArrayDim", ID_TYPE_FN_NUM);
add_embedded_arg("id", ID_TYPE_BYREF_NUM);
embed_function("ArraySize", ID_TYPE_FN_NUM);
add_embedded_arg("id", ID_TYPE_BYREF_NUM);
add_embedded_arg("array_dim", ID_TYPE_NUM);
embed_function("StringArraySize", ID_TYPE_FN_NUM);
add_embedded_arg("id$", ID_TYPE_BYREF_STR);
add_embedded_arg("array_dim", ID_TYPE_NUM);
embed_function("NumberArraySize", ID_TYPE_FN_NUM);
add_embedded_arg("id", ID_TYPE_BYREF_NUM);
add_embedded_arg("array_dim", ID_TYPE_NUM);
embed_function("NumberArrayCopy", ID_TYPE_SUB);
add_embedded_arg("src", ID_TYPE_BYREF_NUM);
add_embedded_arg("dst", ID_TYPE_BYREF_NUM);
embed_function("StringArrayCopy", ID_TYPE_SUB);
add_embedded_arg("src$", ID_TYPE_BYREF_STR);
add_embedded_arg("dst$", ID_TYPE_BYREF_STR);
embed_function("ArrayCopy", ID_TYPE_SUB);
add_embedded_arg("src", ID_TYPE_BYREF_NUM);
add_embedded_arg("dst", ID_TYPE_BYREF_NUM);
embed_function("NumberArrayFill", ID_TYPE_SUB);
add_embedded_arg("src", ID_TYPE_BYREF_NUM);
add_embedded_arg("fdata", ID_TYPE_NUM);
embed_function("StringArrayFill", ID_TYPE_SUB);
add_embedded_arg("src$", ID_TYPE_BYREF_STR);
add_embedded_arg("fdata$", ID_TYPE_STR);
embed_function("ArrayFill", ID_TYPE_SUB);
add_embedded_arg("src", ID_TYPE_BYREF_NUM);
add_embedded_arg("fdata", ID_TYPE_NUM);
embed_function("TypeArrayDim", ID_TYPE_FN_NUM);
add_embedded_arg("id", ID_TYPE_BYREF_USER, 0);
embed_function("TypeArraySize", ID_TYPE_FN_NUM);
add_embedded_arg("id", ID_TYPE_BYREF_USER, 0);
add_embedded_arg("array_dim", ID_TYPE_NUM);
embed_function("TypeArrayCopy", ID_TYPE_SUB);
add_embedded_arg("src", ID_TYPE_BYREF_USER, 0);
add_embedded_arg("dst", ID_TYPE_BYREF_USER, 0);
embed_function("TypeArrayFill", ID_TYPE_SUB);
add_embedded_arg("src", ID_TYPE_BYREF_USER, 0);
add_embedded_arg("fdata", ID_TYPE_USER, 0);
embed_function("Abs", ID_TYPE_FN_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Acos", ID_TYPE_FN_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("AndBit", ID_TYPE_FN_NUM);
add_embedded_arg("a", ID_TYPE_NUM);
add_embedded_arg("b", ID_TYPE_NUM);
embed_function("Asin", ID_TYPE_FN_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Atan", ID_TYPE_FN_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Bin$", ID_TYPE_FN_STR);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("CInt32", ID_TYPE_FN_NUM);
add_embedded_arg("i", ID_TYPE_NUM);
embed_function("CInt64", ID_TYPE_FN_NUM);
add_embedded_arg("i", ID_TYPE_NUM);
embed_function("Cos", ID_TYPE_FN_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Degrees", ID_TYPE_FN_NUM);
add_embedded_arg("r", ID_TYPE_NUM);
embed_function("Exp", ID_TYPE_FN_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Frac", ID_TYPE_FN_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Hex$", ID_TYPE_FN_STR);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("HexVal", ID_TYPE_FN_NUM);
add_embedded_arg("n$", ID_TYPE_STR);
embed_function("Int", ID_TYPE_FN_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Log", ID_TYPE_FN_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Max", ID_TYPE_FN_NUM);
add_embedded_arg("a", ID_TYPE_NUM);
add_embedded_arg("b", ID_TYPE_NUM);
embed_function("Min", ID_TYPE_FN_NUM);
add_embedded_arg("a", ID_TYPE_NUM);
add_embedded_arg("b", ID_TYPE_NUM);
embed_function("OrBit", ID_TYPE_FN_NUM);
add_embedded_arg("a", ID_TYPE_NUM);
add_embedded_arg("b", ID_TYPE_NUM);
embed_function("Radians", ID_TYPE_FN_NUM);
add_embedded_arg("d", ID_TYPE_NUM);
embed_function("Randomize", ID_TYPE_FN_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Rand", ID_TYPE_FN_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Round", ID_TYPE_FN_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Sign", ID_TYPE_FN_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Sin", ID_TYPE_FN_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Sqrt", ID_TYPE_FN_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Tan", ID_TYPE_FN_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("XOrBit", ID_TYPE_FN_NUM);
add_embedded_arg("a", ID_TYPE_NUM);
add_embedded_arg("b", ID_TYPE_NUM);
embed_function("GetLineIntersection", ID_TYPE_FN_NUM);
add_embedded_arg("p0_x", ID_TYPE_NUM);
add_embedded_arg("p0_y", ID_TYPE_NUM);
add_embedded_arg("p1_x", ID_TYPE_NUM);
add_embedded_arg("p1_y", ID_TYPE_NUM);
add_embedded_arg("p2_x", ID_TYPE_NUM);
add_embedded_arg("p2_y", ID_TYPE_NUM);
add_embedded_arg("p3_x", ID_TYPE_NUM);
add_embedded_arg("p3_y", ID_TYPE_NUM);
add_embedded_arg("i_x", ID_TYPE_BYREF_NUM);
add_embedded_arg("i_y", ID_TYPE_BYREF_NUM);
embed_function("Interpolate", ID_TYPE_FN_NUM);
add_embedded_arg("min_a", ID_TYPE_NUM);
add_embedded_arg("max_a", ID_TYPE_NUM);
add_embedded_arg("mid_a", ID_TYPE_NUM);
add_embedded_arg("min_b", ID_TYPE_NUM);
add_embedded_arg("max_b", ID_TYPE_NUM);
embed_function("ATan2", ID_TYPE_FN_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
embed_function("PointInQuad", ID_TYPE_FN_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("x1", ID_TYPE_NUM);
add_embedded_arg("y1", ID_TYPE_NUM);
add_embedded_arg("x2", ID_TYPE_NUM);
add_embedded_arg("y2", ID_TYPE_NUM);
add_embedded_arg("x3", ID_TYPE_NUM);
add_embedded_arg("y3", ID_TYPE_NUM);
add_embedded_arg("x4", ID_TYPE_NUM);
add_embedded_arg("y4", ID_TYPE_NUM);
embed_function("PointInTri", ID_TYPE_FN_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("x1", ID_TYPE_NUM);
add_embedded_arg("y1", ID_TYPE_NUM);
add_embedded_arg("x2", ID_TYPE_NUM);
add_embedded_arg("y2", ID_TYPE_NUM);
add_embedded_arg("x3", ID_TYPE_NUM);
add_embedded_arg("y3", ID_TYPE_NUM);
embed_function("Distance2D", ID_TYPE_FN_NUM);
add_embedded_arg("x1", ID_TYPE_NUM);
add_embedded_arg("y1", ID_TYPE_NUM);
add_embedded_arg("x2", ID_TYPE_NUM);
add_embedded_arg("y2", ID_TYPE_NUM);
embed_function("Distance3D", ID_TYPE_FN_NUM);
add_embedded_arg("x1", ID_TYPE_NUM);
add_embedded_arg("y1", ID_TYPE_NUM);
add_embedded_arg("z1", ID_TYPE_NUM);
add_embedded_arg("x2", ID_TYPE_NUM);
add_embedded_arg("y2", ID_TYPE_NUM);
add_embedded_arg("z2", ID_TYPE_NUM);
embed_function("GetCircleLineIntersection", ID_TYPE_FN_NUM);
add_embedded_arg("circle_x", ID_TYPE_NUM);
add_embedded_arg("circle_y", ID_TYPE_NUM);
add_embedded_arg("radius", ID_TYPE_NUM);
add_embedded_arg("x1", ID_TYPE_NUM);
add_embedded_arg("y1", ID_TYPE_NUM);
add_embedded_arg("x2", ID_TYPE_NUM);
add_embedded_arg("y2", ID_TYPE_NUM);
add_embedded_arg("ix1", ID_TYPE_BYREF_NUM);
add_embedded_arg("iy1", ID_TYPE_BYREF_NUM);
add_embedded_arg("ix2", ID_TYPE_BYREF_NUM);
add_embedded_arg("iy2", ID_TYPE_BYREF_NUM);
embed_function("GetLinePlaneIntersection", ID_TYPE_FN_NUM);
add_embedded_arg("line_point", ID_TYPE_BYREF_NUM);
add_embedded_arg("line_direction", ID_TYPE_BYREF_NUM);
add_embedded_arg("plane_point_1", ID_TYPE_BYREF_NUM);
add_embedded_arg("plane_point_2", ID_TYPE_BYREF_NUM);
add_embedded_arg("plane_point_3", ID_TYPE_BYREF_NUM);
add_embedded_arg("intersection", ID_TYPE_BYREF_NUM);
embed_function("GetLineAngle", ID_TYPE_FN_NUM);
add_embedded_arg("x1", ID_TYPE_NUM);
add_embedded_arg("y1", ID_TYPE_NUM);
add_embedded_arg("x2", ID_TYPE_NUM);
add_embedded_arg("y2", ID_TYPE_NUM);
embed_function("DotProduct", ID_TYPE_FN_NUM);
add_embedded_arg("x1", ID_TYPE_NUM);
add_embedded_arg("y1", ID_TYPE_NUM);
add_embedded_arg("z1", ID_TYPE_NUM);
add_embedded_arg("x2", ID_TYPE_NUM);
add_embedded_arg("y2", ID_TYPE_NUM);
add_embedded_arg("z2", ID_TYPE_NUM);
embed_function("InterpolateVector", ID_TYPE_SUB);
add_embedded_arg("x1", ID_TYPE_NUM);
add_embedded_arg("y1", ID_TYPE_NUM);
add_embedded_arg("z1", ID_TYPE_NUM);
add_embedded_arg("x2", ID_TYPE_NUM);
add_embedded_arg("y2", ID_TYPE_NUM);
add_embedded_arg("z2", ID_TYPE_NUM);
add_embedded_arg("distance", ID_TYPE_NUM);
add_embedded_arg("ix", ID_TYPE_BYREF_NUM);
add_embedded_arg("iy", ID_TYPE_BYREF_NUM);
add_embedded_arg("iz", ID_TYPE_BYREF_NUM);
embed_function("InterpolateVectorQ", ID_TYPE_SUB);
add_embedded_arg("x1", ID_TYPE_NUM);
add_embedded_arg("y1", ID_TYPE_NUM);
add_embedded_arg("z1", ID_TYPE_NUM);
add_embedded_arg("x2", ID_TYPE_NUM);
add_embedded_arg("y2", ID_TYPE_NUM);
add_embedded_arg("z2", ID_TYPE_NUM);
add_embedded_arg("x3", ID_TYPE_NUM);
add_embedded_arg("y3", ID_TYPE_NUM);
add_embedded_arg("z3", ID_TYPE_NUM);
add_embedded_arg("distance", ID_TYPE_NUM);
add_embedded_arg("ix", ID_TYPE_BYREF_NUM);
add_embedded_arg("iy", ID_TYPE_BYREF_NUM);
add_embedded_arg("iz", ID_TYPE_BYREF_NUM);
embed_function("VectorIsBetweenPoints", ID_TYPE_FN_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
add_embedded_arg("start_x", ID_TYPE_NUM);
add_embedded_arg("start_y", ID_TYPE_NUM);
add_embedded_arg("start_z", ID_TYPE_NUM);
add_embedded_arg("end_x", ID_TYPE_NUM);
add_embedded_arg("end_y", ID_TYPE_NUM);
add_embedded_arg("end_z", ID_TYPE_NUM);
embed_function("NormalizeVector", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
add_embedded_arg("nx", ID_TYPE_BYREF_NUM);
add_embedded_arg("ny", ID_TYPE_BYREF_NUM);
add_embedded_arg("nz", ID_TYPE_BYREF_NUM);
embed_function("GetHorizontalAngle", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
add_embedded_arg("hx", ID_TYPE_BYREF_NUM);
add_embedded_arg("hy", ID_TYPE_BYREF_NUM);
add_embedded_arg("hz", ID_TYPE_BYREF_NUM);
embed_function("GetRotationToTarget", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
add_embedded_arg("tgt_x", ID_TYPE_NUM);
add_embedded_arg("tgt_y", ID_TYPE_NUM);
add_embedded_arg("tgt_z", ID_TYPE_NUM);
add_embedded_arg("rx", ID_TYPE_BYREF_NUM);
add_embedded_arg("ry", ID_TYPE_BYREF_NUM);
add_embedded_arg("rz", ID_TYPE_BYREF_NUM);
embed_function("Asc", ID_TYPE_FN_NUM);
add_embedded_arg("c$", ID_TYPE_STR);
embed_function("Chr$", ID_TYPE_FN_STR);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Insert$", ID_TYPE_FN_STR);
add_embedded_arg("src$", ID_TYPE_STR);
add_embedded_arg("tgt$", ID_TYPE_STR);
add_embedded_arg("pos", ID_TYPE_NUM);
embed_function("InStr", ID_TYPE_FN_NUM);
add_embedded_arg("src$", ID_TYPE_STR);
add_embedded_arg("substr$", ID_TYPE_STR);
embed_function("Lcase$", ID_TYPE_FN_STR);
add_embedded_arg("src$", ID_TYPE_STR);
embed_function("Left$", ID_TYPE_FN_STR);
add_embedded_arg("src$", ID_TYPE_STR);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Length", ID_TYPE_FN_NUM);
add_embedded_arg("src$", ID_TYPE_STR);
embed_function("Len", ID_TYPE_FN_NUM);
add_embedded_arg("src$", ID_TYPE_STR);
embed_function("Ltrim$", ID_TYPE_FN_STR);
add_embedded_arg("src$", ID_TYPE_STR);
embed_function("Mid$", ID_TYPE_FN_STR);
add_embedded_arg("src$", ID_TYPE_STR);
add_embedded_arg("start", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("ReplaceSubstr$", ID_TYPE_FN_STR);
add_embedded_arg("src$", ID_TYPE_STR);
add_embedded_arg("rpc$", ID_TYPE_STR);
add_embedded_arg("pos", ID_TYPE_NUM);
embed_function("Replace$", ID_TYPE_FN_STR);
add_embedded_arg("src$", ID_TYPE_STR);
add_embedded_arg("tgt$", ID_TYPE_STR);
add_embedded_arg("rpc$", ID_TYPE_STR);
embed_function("Reverse$", ID_TYPE_FN_STR);
add_embedded_arg("src$", ID_TYPE_STR);
embed_function("Right$", ID_TYPE_FN_STR);
add_embedded_arg("src$", ID_TYPE_STR);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Rtrim$", ID_TYPE_FN_STR);
add_embedded_arg("src$", ID_TYPE_STR);
embed_function("StringFill$", ID_TYPE_FN_STR);
add_embedded_arg("src$", ID_TYPE_STR);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Str$", ID_TYPE_FN_STR);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Str_F$", ID_TYPE_FN_STR);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Str_S$", ID_TYPE_FN_STR);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Tally", ID_TYPE_FN_NUM);
add_embedded_arg("src$", ID_TYPE_STR);
add_embedded_arg("substr$", ID_TYPE_STR);
embed_function("Trim$", ID_TYPE_FN_STR);
add_embedded_arg("src$", ID_TYPE_STR);
embed_function("Ucase$", ID_TYPE_FN_STR);
add_embedded_arg("src$", ID_TYPE_STR);
embed_function("Val", ID_TYPE_FN_NUM);
add_embedded_arg("n$", ID_TYPE_STR);
embed_function("Size", ID_TYPE_FN_NUM);
add_embedded_arg("s$", ID_TYPE_STR);
embed_function("BufferFromString", ID_TYPE_FN_NUM);
add_embedded_arg("s$", ID_TYPE_STR);
add_embedded_arg("buffer", ID_TYPE_BYREF_NUM);
embed_function("StringFromBuffer$", ID_TYPE_FN_STR);
add_embedded_arg("buffer", ID_TYPE_BYREF_NUM);
add_embedded_arg("buffer_size", ID_TYPE_NUM);
embed_function("CreateStack_N", ID_TYPE_FN_NUM);
embed_function("CreateStack_S", ID_TYPE_FN_NUM);
embed_function("ClearStack_N", ID_TYPE_SUB);
add_embedded_arg("num_stack", ID_TYPE_NUM);
embed_function("ClearStack_S", ID_TYPE_SUB);
add_embedded_arg("str_stack", ID_TYPE_NUM);
embed_function("DeleteStack_N", ID_TYPE_SUB);
add_embedded_arg("num_stack", ID_TYPE_NUM);
embed_function("DeleteStack_S", ID_TYPE_SUB);
add_embedded_arg("str_stack", ID_TYPE_NUM);
embed_function("Push_N", ID_TYPE_SUB);
add_embedded_arg("num_stack", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Pop_N", ID_TYPE_FN_NUM);
add_embedded_arg("num_stack", ID_TYPE_NUM);
embed_function("Push_S", ID_TYPE_SUB);
add_embedded_arg("str_stack", ID_TYPE_NUM);
add_embedded_arg("s$", ID_TYPE_STR);
embed_function("Pop_S$", ID_TYPE_FN_STR);
add_embedded_arg("str_stack", ID_TYPE_NUM);
embed_function("Stack_Size_N", ID_TYPE_FN_NUM);
add_embedded_arg("num_stack", ID_TYPE_NUM);
embed_function("Stack_Size_S", ID_TYPE_FN_NUM);
add_embedded_arg("str_stack", ID_TYPE_NUM);
embed_function("Stack_N_Exists", ID_TYPE_FN_NUM);
add_embedded_arg("num_stack", ID_TYPE_NUM);
embed_function("Stack_S_Exists", ID_TYPE_FN_NUM);
add_embedded_arg("str_stack", ID_TYPE_NUM);
embed_function("OpenFile", ID_TYPE_FN_NUM);
add_embedded_arg("fileName$", ID_TYPE_STR);
add_embedded_arg("mode", ID_TYPE_NUM);
embed_function("CloseFile", ID_TYPE_SUB);
add_embedded_arg("stream", ID_TYPE_NUM);
embed_function("ReadByte", ID_TYPE_FN_NUM);
add_embedded_arg("stream", ID_TYPE_NUM);
embed_function("WriteByte", ID_TYPE_SUB);
add_embedded_arg("stream", ID_TYPE_NUM);
add_embedded_arg("byte", ID_TYPE_NUM);
embed_function("ReadLine$", ID_TYPE_FN_STR);
add_embedded_arg("stream", ID_TYPE_NUM);
embed_function("Write", ID_TYPE_SUB);
add_embedded_arg("stream", ID_TYPE_NUM);
add_embedded_arg("txt$", ID_TYPE_STR);
embed_function("WriteLine", ID_TYPE_SUB);
add_embedded_arg("stream", ID_TYPE_NUM);
add_embedded_arg("txt$", ID_TYPE_STR);
embed_function("CopyFile", ID_TYPE_SUB);
add_embedded_arg("src$", ID_TYPE_STR);
add_embedded_arg("dst$", ID_TYPE_STR);
embed_function("RemoveFile", ID_TYPE_FN_NUM);
add_embedded_arg("fileName$", ID_TYPE_STR);
embed_function("FileExists", ID_TYPE_FN_NUM);
add_embedded_arg("fileName$", ID_TYPE_STR);
embed_function("MoveFile", ID_TYPE_FN_NUM);
add_embedded_arg("src$", ID_TYPE_STR);
add_embedded_arg("dst$", ID_TYPE_STR);
embed_function("RenameFile", ID_TYPE_FN_NUM);
add_embedded_arg("src$", ID_TYPE_STR);
add_embedded_arg("dst$", ID_TYPE_STR);
embed_function("FileLength", ID_TYPE_FN_NUM);
add_embedded_arg("fileName$", ID_TYPE_STR);
embed_function("Tell", ID_TYPE_FN_NUM);
add_embedded_arg("stream", ID_TYPE_NUM);
embed_function("Seek", ID_TYPE_FN_NUM);
add_embedded_arg("stream", ID_TYPE_NUM);
add_embedded_arg("pos", ID_TYPE_NUM);
embed_function("EOF", ID_TYPE_FN_NUM);
add_embedded_arg("stream", ID_TYPE_NUM);
embed_function("WriteByteBuffer", ID_TYPE_FN_NUM);
add_embedded_arg("stream", ID_TYPE_NUM);
add_embedded_arg("buf", ID_TYPE_BYREF_NUM);
add_embedded_arg("buf_size", ID_TYPE_NUM);
embed_function("ReadByteBuffer", ID_TYPE_FN_NUM);
add_embedded_arg("stream", ID_TYPE_NUM);
add_embedded_arg("buf", ID_TYPE_BYREF_NUM);
add_embedded_arg("buf_size", ID_TYPE_NUM);
embed_function("ChangeDir", ID_TYPE_SUB);
add_embedded_arg("p$", ID_TYPE_STR);
embed_function("DirExists", ID_TYPE_FN_NUM);
add_embedded_arg("p$", ID_TYPE_STR);
embed_function("DirFirst$", ID_TYPE_FN_STR);
embed_function("Dir$", ID_TYPE_FN_STR);
embed_function("DirNext$", ID_TYPE_FN_STR);
embed_function("MakeDir", ID_TYPE_FN_NUM);
add_embedded_arg("p$", ID_TYPE_STR);
embed_function("RemoveDir", ID_TYPE_FN_NUM);
add_embedded_arg("p$", ID_TYPE_STR);
embed_function("Date$", ID_TYPE_FN_STR);
embed_function("Easter$", ID_TYPE_FN_STR);
add_embedded_arg("year", ID_TYPE_NUM);
embed_function("Ticks", ID_TYPE_FN_NUM);
embed_function("Time$", ID_TYPE_FN_STR);
embed_function("Timer", ID_TYPE_FN_NUM);
embed_function("Wait", ID_TYPE_SUB);
add_embedded_arg("m_sec", ID_TYPE_NUM);
embed_function("OpenWindow", ID_TYPE_FN_NUM);
add_embedded_arg("title$", ID_TYPE_STR);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
add_embedded_arg("fullscreen", ID_TYPE_NUM);
add_embedded_arg("vsync", ID_TYPE_NUM);
embed_function("OpenWindowEx", ID_TYPE_FN_NUM);
add_embedded_arg("title$", ID_TYPE_STR);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
add_embedded_arg("mode", ID_TYPE_NUM);
add_embedded_arg("aa", ID_TYPE_NUM);
add_embedded_arg("stencil_buffer", ID_TYPE_NUM);
add_embedded_arg("vsync", ID_TYPE_NUM);
embed_function("CloseWindow", ID_TYPE_SUB);
embed_function("RaiseWindow", ID_TYPE_SUB);
embed_function("Update", ID_TYPE_SUB);
embed_function("Cls", ID_TYPE_SUB);
embed_function("SetClearColor", ID_TYPE_SUB);
add_embedded_arg("c", ID_TYPE_NUM);
embed_function("ShowWindow", ID_TYPE_SUB);
embed_function("HideWindow", ID_TYPE_SUB);
embed_function("SetWindowTitle", ID_TYPE_SUB);
add_embedded_arg("title$", ID_TYPE_STR);
embed_function("WindowTitle$", ID_TYPE_FN_STR);
embed_function("SetWindowPosition", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("GetWindowPosition", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("SetWindowSize", ID_TYPE_SUB);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
embed_function("GetWindowSize", ID_TYPE_SUB);
add_embedded_arg("w", ID_TYPE_BYREF_NUM);
add_embedded_arg("h", ID_TYPE_BYREF_NUM);
embed_function("SetWindowMinSize", ID_TYPE_SUB);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
embed_function("GetWindowMinSize", ID_TYPE_SUB);
add_embedded_arg("w", ID_TYPE_BYREF_NUM);
add_embedded_arg("h", ID_TYPE_BYREF_NUM);
embed_function("SetWindowMaxSize", ID_TYPE_SUB);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
embed_function("GetWindowMaxSize", ID_TYPE_SUB);
add_embedded_arg("w", ID_TYPE_BYREF_NUM);
add_embedded_arg("h", ID_TYPE_BYREF_NUM);
embed_function("WindowIsFullscreen", ID_TYPE_FN_NUM);
embed_function("WindowIsVisible", ID_TYPE_FN_NUM);
embed_function("WindowIsBordered", ID_TYPE_FN_NUM);
embed_function("WindowIsResizable", ID_TYPE_FN_NUM);
embed_function("WindowIsMinimized", ID_TYPE_FN_NUM);
embed_function("WindowIsMaximized", ID_TYPE_FN_NUM);
embed_function("WindowHasInputFocus", ID_TYPE_FN_NUM);
embed_function("WindowHasMouseFocus", ID_TYPE_FN_NUM);
embed_function("SetWindowFullscreen", ID_TYPE_SUB);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("MaximizeWindow", ID_TYPE_SUB);
embed_function("MinimizeWindow", ID_TYPE_SUB);
embed_function("SetWindowBordered", ID_TYPE_SUB);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("WindowClip", ID_TYPE_FN_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
embed_function("WindowExists", ID_TYPE_FN_NUM);
embed_function("WindowEvent_Close", ID_TYPE_FN_NUM);
embed_function("WindowEvent_Maximize", ID_TYPE_FN_NUM);
embed_function("WindowEvent_Minimize", ID_TYPE_FN_NUM);
embed_function("FPS", ID_TYPE_FN_NUM);
embed_function("SetWindowIcon", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
embed_function("WindowEvent_Resize", ID_TYPE_FN_NUM);
embed_function("SetWindowAutoClose", ID_TYPE_SUB);
add_embedded_arg("exit_on_close", ID_TYPE_NUM);
embed_function("SetWindowResizable", ID_TYPE_SUB);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("WindowMode", ID_TYPE_FN_NUM);
add_embedded_arg("visible", ID_TYPE_NUM);
add_embedded_arg("fullscreen", ID_TYPE_NUM);
add_embedded_arg("resizable", ID_TYPE_NUM);
add_embedded_arg("borderless", ID_TYPE_NUM);
add_embedded_arg("highDPI", ID_TYPE_NUM);
embed_function("getWindowMode", ID_TYPE_FN_NUM);
embed_function("RestoreWindow", ID_TYPE_SUB);
embed_function("GrabInput", ID_TYPE_SUB);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("SetWindowAlwaysOnTop", ID_TYPE_SUB);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("SetMouseRelative", ID_TYPE_SUB);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("SetWindowVSync", ID_TYPE_SUB);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("FlashWindow", ID_TYPE_FN_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("WindowIsGrabbed", ID_TYPE_FN_NUM);
embed_function("PreUpdate", ID_TYPE_SUB);
embed_function("SetFPS", ID_TYPE_SUB);
add_embedded_arg("fps_val", ID_TYPE_NUM);
embed_function("OpenCanvas", ID_TYPE_FN_NUM);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
add_embedded_arg("viewport_x", ID_TYPE_NUM);
add_embedded_arg("viewport_y", ID_TYPE_NUM);
add_embedded_arg("viewport_w", ID_TYPE_NUM);
add_embedded_arg("viewport_h", ID_TYPE_NUM);
add_embedded_arg("mode", ID_TYPE_NUM);
embed_function("CloseCanvas", ID_TYPE_SUB);
add_embedded_arg("c_num", ID_TYPE_NUM);
embed_function("OpenCanvas3D", ID_TYPE_FN_NUM);
add_embedded_arg("viewport_x", ID_TYPE_NUM);
add_embedded_arg("viewport_y", ID_TYPE_NUM);
add_embedded_arg("viewport_w", ID_TYPE_NUM);
add_embedded_arg("viewport_h", ID_TYPE_NUM);
add_embedded_arg("mode", ID_TYPE_NUM);
embed_function("SetCanvasVisible", ID_TYPE_SUB);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("CanvasIsVisible", ID_TYPE_FN_NUM);
add_embedded_arg("c_num", ID_TYPE_NUM);
embed_function("SetCanvasViewport", ID_TYPE_SUB);
add_embedded_arg("cnum", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
embed_function("GetCanvasViewport", ID_TYPE_SUB);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("w", ID_TYPE_BYREF_NUM);
add_embedded_arg("h", ID_TYPE_BYREF_NUM);
embed_function("Canvas", ID_TYPE_SUB);
add_embedded_arg("c_num", ID_TYPE_NUM);
embed_function("SetCanvasOffset", ID_TYPE_SUB);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("GetCanvasOffset", ID_TYPE_SUB);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("GetCanvasSize", ID_TYPE_SUB);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_BYREF_NUM);
add_embedded_arg("h", ID_TYPE_BYREF_NUM);
embed_function("ClearCanvas", ID_TYPE_SUB);
embed_function("SetCanvasAlpha", ID_TYPE_SUB);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("a", ID_TYPE_NUM);
embed_function("GetCanvasAlpha", ID_TYPE_FN_NUM);
add_embedded_arg("c_num", ID_TYPE_NUM);
embed_function("SetCanvasColorMod", ID_TYPE_SUB);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("c", ID_TYPE_NUM);
embed_function("GetCanvasColorMod", ID_TYPE_FN_NUM);
add_embedded_arg("c_num", ID_TYPE_NUM);
embed_function("CloneCanvas", ID_TYPE_FN_NUM);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("mode", ID_TYPE_NUM);
embed_function("SetCanvasZ", ID_TYPE_SUB);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("CanvasZ", ID_TYPE_FN_NUM);
add_embedded_arg("c_num", ID_TYPE_NUM);
embed_function("CanvasClip", ID_TYPE_FN_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
embed_function("ActiveCanvas", ID_TYPE_FN_NUM);
embed_function("SetCanvasPhysics2D", ID_TYPE_SUB);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("state", ID_TYPE_NUM);
embed_function("OpenCanvasSpriteLayer", ID_TYPE_FN_NUM);
add_embedded_arg("viewport_x", ID_TYPE_NUM);
add_embedded_arg("viewport_y", ID_TYPE_NUM);
add_embedded_arg("viewport_w", ID_TYPE_NUM);
add_embedded_arg("viewport_h", ID_TYPE_NUM);
embed_function("SetSpriteCanvasBlendMode", ID_TYPE_SUB);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("blend_mode", ID_TYPE_NUM);
embed_function("GetSpriteCanvasBlendMode", ID_TYPE_FN_NUM);
add_embedded_arg("c_num", ID_TYPE_NUM);
embed_function("SetSpriteCanvasAntiAliasMode", ID_TYPE_SUB);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("aa_mode", ID_TYPE_NUM);
embed_function("GetSpriteCanvasAntiAliasMode", ID_TYPE_FN_NUM);
add_embedded_arg("c_num", ID_TYPE_NUM);
embed_function("SetSpriteCanvasBilinearFilter", ID_TYPE_SUB);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("GetSpriteCanvasBilinearFilter", ID_TYPE_FN_NUM);
add_embedded_arg("c_num", ID_TYPE_NUM);
embed_function("GetSpriteCanvasPhysics", ID_TYPE_FN_NUM);
add_embedded_arg("c_num", ID_TYPE_NUM);
embed_function("SetSpriteCanvasRenderPriority", ID_TYPE_FN_NUM);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("priority", ID_TYPE_NUM);
add_embedded_arg("order", ID_TYPE_NUM);
embed_function("GetSpriteCanvasRenderPriority", ID_TYPE_SUB);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("priority", ID_TYPE_BYREF_NUM);
add_embedded_arg("order", ID_TYPE_BYREF_NUM);
embed_function("SetPostEffect", ID_TYPE_FN_NUM);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("effect_type", ID_TYPE_NUM);
embed_function("ClearPostEffect", ID_TYPE_SUB);
add_embedded_arg("c_num", ID_TYPE_NUM);
embed_function("SetPostEffectProperty", ID_TYPE_SUB);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("property", ID_TYPE_NUM);
add_embedded_arg("property_value", ID_TYPE_NUM);
embed_function("GetPostEffectProperty", ID_TYPE_FN_NUM);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("property", ID_TYPE_NUM);
embed_function("SetPostEffectActive", ID_TYPE_SUB);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("PostEffectIsActive", ID_TYPE_FN_NUM);
add_embedded_arg("c_num", ID_TYPE_NUM);
embed_function("GetPostEffectType", ID_TYPE_FN_NUM);
add_embedded_arg("c_num", ID_TYPE_NUM);
embed_function("Circle", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("radius", ID_TYPE_NUM);
embed_function("CircleFill", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("radius", ID_TYPE_NUM);
embed_function("Ellipse", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("rx", ID_TYPE_NUM);
add_embedded_arg("ry", ID_TYPE_NUM);
embed_function("EllipseFill", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("rx", ID_TYPE_NUM);
add_embedded_arg("ry", ID_TYPE_NUM);
embed_function("FloodFill", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("GetPixel", ID_TYPE_FN_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("SetColor", ID_TYPE_SUB);
add_embedded_arg("c", ID_TYPE_NUM);
embed_function("Line", ID_TYPE_SUB);
add_embedded_arg("x1", ID_TYPE_NUM);
add_embedded_arg("y1", ID_TYPE_NUM);
add_embedded_arg("x2", ID_TYPE_NUM);
add_embedded_arg("y2", ID_TYPE_NUM);
embed_function("Poly", ID_TYPE_SUB);
add_embedded_arg("n", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("Rect", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
embed_function("RectFill", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
embed_function("RGB", ID_TYPE_FN_NUM);
add_embedded_arg("r", ID_TYPE_NUM);
add_embedded_arg("g", ID_TYPE_NUM);
add_embedded_arg("b", ID_TYPE_NUM);
embed_function("RGBA", ID_TYPE_FN_NUM);
add_embedded_arg("r", ID_TYPE_NUM);
add_embedded_arg("g", ID_TYPE_NUM);
add_embedded_arg("b", ID_TYPE_NUM);
add_embedded_arg("a", ID_TYPE_NUM);
embed_function("Pset", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("Triangle", ID_TYPE_SUB);
add_embedded_arg("x1", ID_TYPE_NUM);
add_embedded_arg("y1", ID_TYPE_NUM);
add_embedded_arg("x2", ID_TYPE_NUM);
add_embedded_arg("y2", ID_TYPE_NUM);
add_embedded_arg("x3", ID_TYPE_NUM);
add_embedded_arg("y3", ID_TYPE_NUM);
embed_function("Line3D", ID_TYPE_SUB);
add_embedded_arg("x1", ID_TYPE_NUM);
add_embedded_arg("y1", ID_TYPE_NUM);
add_embedded_arg("z1", ID_TYPE_NUM);
add_embedded_arg("x2", ID_TYPE_NUM);
add_embedded_arg("y2", ID_TYPE_NUM);
add_embedded_arg("z2", ID_TYPE_NUM);
embed_function("Box3D", ID_TYPE_SUB);
add_embedded_arg("min_x", ID_TYPE_NUM);
add_embedded_arg("min_y", ID_TYPE_NUM);
add_embedded_arg("min_z", ID_TYPE_NUM);
add_embedded_arg("max_x", ID_TYPE_NUM);
add_embedded_arg("max_y", ID_TYPE_NUM);
add_embedded_arg("max_z", ID_TYPE_NUM);
embed_function("Triangle3D", ID_TYPE_SUB);
add_embedded_arg("x1", ID_TYPE_NUM);
add_embedded_arg("y1", ID_TYPE_NUM);
add_embedded_arg("z1", ID_TYPE_NUM);
add_embedded_arg("x2", ID_TYPE_NUM);
add_embedded_arg("y2", ID_TYPE_NUM);
add_embedded_arg("z2", ID_TYPE_NUM);
add_embedded_arg("x3", ID_TYPE_NUM);
add_embedded_arg("y3", ID_TYPE_NUM);
add_embedded_arg("z3", ID_TYPE_NUM);
embed_function("SetRenderCirclePoints", ID_TYPE_SUB);
add_embedded_arg("num_points", ID_TYPE_NUM);
embed_function("LoadImage", ID_TYPE_FN_NUM);
add_embedded_arg("img$", ID_TYPE_STR);
embed_function("LoadImageEx", ID_TYPE_FN_NUM);
add_embedded_arg("img$", ID_TYPE_STR);
add_embedded_arg("colkey", ID_TYPE_NUM);
embed_function("createImage", ID_TYPE_FN_NUM);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
add_embedded_arg("buffer", ID_TYPE_BYREF_NUM);
embed_function("createImageEx", ID_TYPE_FN_NUM);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
add_embedded_arg("buffer", ID_TYPE_BYREF_NUM);
add_embedded_arg("color", ID_TYPE_NUM);
embed_function("BufferFromImage", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("buffer", ID_TYPE_BYREF_NUM);
embed_function("ImageExists", ID_TYPE_FN_NUM);
add_embedded_arg("slot", ID_TYPE_NUM);
embed_function("ColorKey", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("c", ID_TYPE_NUM);
embed_function("setBilinearFilter", ID_TYPE_SUB);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("getBilinearFilter", ID_TYPE_FN_NUM);
embed_function("CopyImage", ID_TYPE_FN_NUM);
add_embedded_arg("img_id", ID_TYPE_NUM);
embed_function("DeleteImage", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
embed_function("SetImageAlpha", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("a", ID_TYPE_NUM);
embed_function("GetImageAlpha", ID_TYPE_FN_NUM);
add_embedded_arg("img_id", ID_TYPE_NUM);
embed_function("GetImageSize", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_BYREF_NUM);
add_embedded_arg("h", ID_TYPE_BYREF_NUM);
embed_function("SetBlendMode", ID_TYPE_SUB);
add_embedded_arg("blend_mode", ID_TYPE_NUM);
embed_function("GetBlendMode", ID_TYPE_FN_NUM);
embed_function("SetImageColorMod", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("c", ID_TYPE_NUM);
embed_function("GetImageColorMod", ID_TYPE_FN_NUM);
add_embedded_arg("slot", ID_TYPE_NUM);
embed_function("DrawImage", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("DrawImage_Blit", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("src_x", ID_TYPE_NUM);
add_embedded_arg("src_y", ID_TYPE_NUM);
add_embedded_arg("src_w", ID_TYPE_NUM);
add_embedded_arg("src_h", ID_TYPE_NUM);
embed_function("DrawImage_BlitEx", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
add_embedded_arg("src_x", ID_TYPE_NUM);
add_embedded_arg("src_y", ID_TYPE_NUM);
add_embedded_arg("src_w", ID_TYPE_NUM);
add_embedded_arg("src_h", ID_TYPE_NUM);
embed_function("DrawImage_Rotate", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("angle", ID_TYPE_NUM);
embed_function("DrawImage_RotateEx", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("src_x", ID_TYPE_NUM);
add_embedded_arg("src_y", ID_TYPE_NUM);
add_embedded_arg("src_w", ID_TYPE_NUM);
add_embedded_arg("src_h", ID_TYPE_NUM);
add_embedded_arg("angle", ID_TYPE_NUM);
embed_function("DrawImage_Zoom", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("zx", ID_TYPE_NUM);
add_embedded_arg("zy", ID_TYPE_NUM);
embed_function("DrawImage_ZoomEx", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("src_x", ID_TYPE_NUM);
add_embedded_arg("src_y", ID_TYPE_NUM);
add_embedded_arg("src_w", ID_TYPE_NUM);
add_embedded_arg("src_h", ID_TYPE_NUM);
add_embedded_arg("zx", ID_TYPE_NUM);
add_embedded_arg("zy", ID_TYPE_NUM);
embed_function("DrawImage_Rotozoom", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("angle", ID_TYPE_NUM);
add_embedded_arg("zx", ID_TYPE_NUM);
add_embedded_arg("zy", ID_TYPE_NUM);
embed_function("DrawImage_RotozoomEx", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("src_x", ID_TYPE_NUM);
add_embedded_arg("src_y", ID_TYPE_NUM);
add_embedded_arg("src_w", ID_TYPE_NUM);
add_embedded_arg("src_h", ID_TYPE_NUM);
add_embedded_arg("angle", ID_TYPE_NUM);
add_embedded_arg("zx", ID_TYPE_NUM);
add_embedded_arg("zy", ID_TYPE_NUM);
embed_function("DrawImage_Flip", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
add_embedded_arg("v", ID_TYPE_NUM);
embed_function("DrawImage_FlipEx", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("src_x", ID_TYPE_NUM);
add_embedded_arg("src_y", ID_TYPE_NUM);
add_embedded_arg("src_w", ID_TYPE_NUM);
add_embedded_arg("src_h", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
add_embedded_arg("v", ID_TYPE_NUM);
embed_function("SaveBMP", ID_TYPE_FN_NUM);
add_embedded_arg("img", ID_TYPE_NUM);
add_embedded_arg("file$", ID_TYPE_STR);
embed_function("SetAntiAliasMode", ID_TYPE_SUB);
add_embedded_arg("aa_mode", ID_TYPE_NUM);
embed_function("GetAntiAliasMode", ID_TYPE_FN_NUM);
embed_function("ConvertToNormalMap", ID_TYPE_SUB);
add_embedded_arg("img_id", ID_TYPE_NUM);
add_embedded_arg("amp", ID_TYPE_NUM);
embed_function("InKey", ID_TYPE_FN_NUM);
embed_function("Key", ID_TYPE_FN_NUM);
add_embedded_arg("key_code", ID_TYPE_NUM);
embed_function("WaitKey", ID_TYPE_FN_NUM);
embed_function("HideMouse", ID_TYPE_SUB);
embed_function("ShowMouse", ID_TYPE_SUB);
embed_function("MouseIsVisible", ID_TYPE_FN_NUM);
embed_function("GetMouse", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("mb1", ID_TYPE_BYREF_NUM);
add_embedded_arg("mb2", ID_TYPE_BYREF_NUM);
add_embedded_arg("mb3", ID_TYPE_BYREF_NUM);
embed_function("MouseX", ID_TYPE_FN_NUM);
embed_function("MouseY", ID_TYPE_FN_NUM);
embed_function("MouseButton", ID_TYPE_FN_NUM);
add_embedded_arg("mb", ID_TYPE_NUM);
embed_function("GetMouseWheel", ID_TYPE_SUB);
add_embedded_arg("x_axis", ID_TYPE_BYREF_NUM);
add_embedded_arg("y_axis", ID_TYPE_BYREF_NUM);
embed_function("MouseWheelX", ID_TYPE_FN_NUM);
embed_function("MouseWheelY", ID_TYPE_FN_NUM);
embed_function("GetGlobalMouse", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("mb1", ID_TYPE_BYREF_NUM);
add_embedded_arg("mb2", ID_TYPE_BYREF_NUM);
add_embedded_arg("mb3", ID_TYPE_BYREF_NUM);
embed_function("GlobalMouseX", ID_TYPE_FN_NUM);
embed_function("GlobalMouseY", ID_TYPE_FN_NUM);
embed_function("WarpMouse", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("WarpMouseGlobal", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("SetMouseZone", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
embed_function("ClearMouseZone", ID_TYPE_SUB);
embed_function("CreateSound", ID_TYPE_FN_NUM);
add_embedded_arg("buffer", ID_TYPE_BYREF_NUM);
add_embedded_arg("buffer_size", ID_TYPE_NUM);
add_embedded_arg("vol", ID_TYPE_NUM);
embed_function("LoadSound", ID_TYPE_FN_NUM);
add_embedded_arg("snd_file$", ID_TYPE_STR);
embed_function("LoadMusic", ID_TYPE_SUB);
add_embedded_arg("music_file$", ID_TYPE_STR);
embed_function("PlaySound", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("channel", ID_TYPE_NUM);
add_embedded_arg("loops", ID_TYPE_NUM);
embed_function("PlaySoundTimed", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("channel", ID_TYPE_NUM);
add_embedded_arg("loops", ID_TYPE_NUM);
add_embedded_arg("ms", ID_TYPE_NUM);
embed_function("PlayMusic", ID_TYPE_SUB);
add_embedded_arg("mLoops", ID_TYPE_NUM);
embed_function("PauseSound", ID_TYPE_SUB);
add_embedded_arg("channel", ID_TYPE_NUM);
embed_function("ResumeSound", ID_TYPE_SUB);
add_embedded_arg("channel", ID_TYPE_NUM);
embed_function("PauseMusic", ID_TYPE_SUB);
embed_function("ResumeMusic", ID_TYPE_SUB);
embed_function("DeleteSound", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
embed_function("DeleteMusic", ID_TYPE_SUB);
embed_function("FadeMusicIn", ID_TYPE_SUB);
add_embedded_arg("fade_time", ID_TYPE_NUM);
add_embedded_arg("loops", ID_TYPE_NUM);
embed_function("FadeMusicOut", ID_TYPE_SUB);
add_embedded_arg("fade_time", ID_TYPE_NUM);
embed_function("MusicExists", ID_TYPE_FN_NUM);
embed_function("SetMusicVolume", ID_TYPE_SUB);
add_embedded_arg("vol", ID_TYPE_NUM);
embed_function("GetMusicVolume", ID_TYPE_FN_NUM);
embed_function("SetMusicPosition", ID_TYPE_SUB);
add_embedded_arg("pos", ID_TYPE_NUM);
embed_function("GetMusicPosition", ID_TYPE_FN_NUM);
embed_function("RewindMusic", ID_TYPE_SUB);
embed_function("SetSoundChannels", ID_TYPE_SUB);
add_embedded_arg("max_channels", ID_TYPE_NUM);
embed_function("NumSoundChannels", ID_TYPE_FN_NUM);
embed_function("SoundIsEnabled", ID_TYPE_FN_NUM);
embed_function("SoundExists", ID_TYPE_FN_NUM);
add_embedded_arg("slot", ID_TYPE_NUM);
embed_function("SetChannelVolume", ID_TYPE_SUB);
add_embedded_arg("channel", ID_TYPE_NUM);
add_embedded_arg("vol", ID_TYPE_NUM);
embed_function("GetChannelVolume", ID_TYPE_FN_NUM);
add_embedded_arg("channel", ID_TYPE_NUM);
embed_function("SetSoundVolume", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("vol", ID_TYPE_NUM);
embed_function("GetSoundVolume", ID_TYPE_FN_NUM);
add_embedded_arg("slot", ID_TYPE_NUM);
embed_function("StopMusic", ID_TYPE_SUB);
embed_function("StopSound", ID_TYPE_SUB);
add_embedded_arg("channel", ID_TYPE_NUM);
embed_function("SetChannelPanning", ID_TYPE_FN_NUM);
add_embedded_arg("channel", ID_TYPE_NUM);
add_embedded_arg("left_value", ID_TYPE_NUM);
add_embedded_arg("right_value", ID_TYPE_NUM);
embed_function("SetChannelDistance", ID_TYPE_FN_NUM);
add_embedded_arg("channel", ID_TYPE_NUM);
add_embedded_arg("dist_value", ID_TYPE_NUM);
embed_function("ChannelIsPlaying", ID_TYPE_FN_NUM);
add_embedded_arg("channel", ID_TYPE_NUM);
embed_function("ChannelIsPaused", ID_TYPE_FN_NUM);
add_embedded_arg("channel", ID_TYPE_NUM);
embed_function("QueryAudioSpec", ID_TYPE_FN_NUM);
add_embedded_arg("freq", ID_TYPE_BYREF_NUM);
add_embedded_arg("format", ID_TYPE_BYREF_NUM);
add_embedded_arg("channels", ID_TYPE_BYREF_NUM);
embed_function("MusicIsPlaying", ID_TYPE_FN_NUM);
embed_function("SetChannelSpacePosition", ID_TYPE_FN_NUM);
add_embedded_arg("channel", ID_TYPE_NUM);
add_embedded_arg("angle", ID_TYPE_NUM);
add_embedded_arg("distance", ID_TYPE_NUM);
embed_function("NumJoysticks", ID_TYPE_FN_NUM);
embed_function("NumJoyAxes", ID_TYPE_FN_NUM);
add_embedded_arg("joy_num", ID_TYPE_NUM);
embed_function("NumJoyButtons", ID_TYPE_FN_NUM);
add_embedded_arg("joy_num", ID_TYPE_NUM);
embed_function("NumJoyHats", ID_TYPE_FN_NUM);
add_embedded_arg("joy_num", ID_TYPE_NUM);
embed_function("NumJoyTrackBalls", ID_TYPE_FN_NUM);
add_embedded_arg("joy_num", ID_TYPE_NUM);
embed_function("JoyAxis", ID_TYPE_FN_NUM);
add_embedded_arg("joy_num", ID_TYPE_NUM);
add_embedded_arg("joy_axis", ID_TYPE_NUM);
embed_function("JoyButton", ID_TYPE_FN_NUM);
add_embedded_arg("joy_num", ID_TYPE_NUM);
add_embedded_arg("joy_button", ID_TYPE_NUM);
embed_function("JoyHat", ID_TYPE_FN_NUM);
add_embedded_arg("joy_num", ID_TYPE_NUM);
add_embedded_arg("joy_hat", ID_TYPE_NUM);
embed_function("GetJoyTrackBall", ID_TYPE_SUB);
add_embedded_arg("joy_num", ID_TYPE_NUM);
add_embedded_arg("ball", ID_TYPE_NUM);
add_embedded_arg("dx", ID_TYPE_BYREF_NUM);
add_embedded_arg("dy", ID_TYPE_BYREF_NUM);
embed_function("JoyName$", ID_TYPE_FN_STR);
add_embedded_arg("joy_num", ID_TYPE_NUM);
embed_function("JoystickIsConnected", ID_TYPE_FN_NUM);
add_embedded_arg("joy_num", ID_TYPE_NUM);
embed_function("JoyRumblePlay", ID_TYPE_SUB);
add_embedded_arg("joy_num", ID_TYPE_NUM);
add_embedded_arg("strength", ID_TYPE_NUM);
add_embedded_arg("duration", ID_TYPE_NUM);
embed_function("JoyRumbleStop", ID_TYPE_SUB);
add_embedded_arg("joy_num", ID_TYPE_NUM);
embed_function("JoystickIsHaptic", ID_TYPE_FN_NUM);
add_embedded_arg("joy_num", ID_TYPE_NUM);
embed_function("LoadFont", ID_TYPE_FN_NUM);
add_embedded_arg("fnt_file$", ID_TYPE_STR);
add_embedded_arg("font_size", ID_TYPE_NUM);
embed_function("DeleteFont", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
embed_function("FontExists", ID_TYPE_FN_NUM);
add_embedded_arg("slot", ID_TYPE_NUM);
embed_function("SetFont", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
embed_function("DrawText", ID_TYPE_SUB);
add_embedded_arg("txt$", ID_TYPE_STR);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("GetTextSize", ID_TYPE_SUB);
add_embedded_arg("txt$", ID_TYPE_STR);
add_embedded_arg("w", ID_TYPE_BYREF_NUM);
add_embedded_arg("h", ID_TYPE_BYREF_NUM);
embed_function("TextWidth", ID_TYPE_FN_NUM);
add_embedded_arg("txt$", ID_TYPE_STR);
embed_function("TextHeight", ID_TYPE_FN_NUM);
add_embedded_arg("txt$", ID_TYPE_STR);
embed_function("ActiveFont", ID_TYPE_FN_NUM);
embed_function("TouchPressure", ID_TYPE_FN_NUM);
embed_function("GetTouch", ID_TYPE_SUB);
add_embedded_arg("status", ID_TYPE_BYREF_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("dx", ID_TYPE_BYREF_NUM);
add_embedded_arg("dy", ID_TYPE_BYREF_NUM);
embed_function("GetMultiTouch", ID_TYPE_SUB);
add_embedded_arg("status", ID_TYPE_BYREF_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("fingers", ID_TYPE_BYREF_NUM);
add_embedded_arg("dist", ID_TYPE_BYREF_NUM);
add_embedded_arg("theta", ID_TYPE_BYREF_NUM);
embed_function("GetTouchFinger", ID_TYPE_SUB);
add_embedded_arg("finger", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("pressure", ID_TYPE_BYREF_NUM);
embed_function("NumFingers", ID_TYPE_FN_NUM);
embed_function("GetAccel", ID_TYPE_SUB);
add_embedded_arg("accel_num", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("AccelName$", ID_TYPE_FN_STR);
add_embedded_arg("accel_num", ID_TYPE_NUM);
embed_function("NumAccels", ID_TYPE_FN_NUM);
embed_function("GetGyro", ID_TYPE_SUB);
add_embedded_arg("gyro_num", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("GyroName$", ID_TYPE_FN_STR);
add_embedded_arg("gyro_num", ID_TYPE_NUM);
embed_function("NumGyros", ID_TYPE_FN_NUM);
embed_function("TouchX", ID_TYPE_FN_NUM);
embed_function("TouchY", ID_TYPE_FN_NUM);
embed_function("CheckSockets", ID_TYPE_FN_NUM);
add_embedded_arg("timeout_ms", ID_TYPE_NUM);
embed_function("TCP_SocketReady", ID_TYPE_FN_NUM);
add_embedded_arg("socket", ID_TYPE_NUM);
embed_function("UDP_SocketReady", ID_TYPE_FN_NUM);
add_embedded_arg("socket", ID_TYPE_NUM);
embed_function("TCP_OpenSocket", ID_TYPE_FN_NUM);
add_embedded_arg("host$", ID_TYPE_STR);
add_embedded_arg("port", ID_TYPE_NUM);
embed_function("TCP_CloseSocket", ID_TYPE_SUB);
add_embedded_arg("socket", ID_TYPE_NUM);
embed_function("TCP_RemoteHost", ID_TYPE_FN_NUM);
add_embedded_arg("socket", ID_TYPE_NUM);
embed_function("TCP_RemotePort", ID_TYPE_FN_NUM);
add_embedded_arg("socket", ID_TYPE_NUM);
embed_function("TCP_GetData", ID_TYPE_FN_NUM);
add_embedded_arg("socket", ID_TYPE_NUM);
add_embedded_arg("numBytes", ID_TYPE_NUM);
add_embedded_arg("sData$", ID_TYPE_BYREF_STR);
embed_function("TCP_SendData", ID_TYPE_SUB);
add_embedded_arg("socket", ID_TYPE_NUM);
add_embedded_arg("sData$", ID_TYPE_STR);
embed_function("TCP_AcceptSocket", ID_TYPE_FN_NUM);
add_embedded_arg("server", ID_TYPE_NUM);
embed_function("UDP_OpenSocket", ID_TYPE_FN_NUM);
add_embedded_arg("port", ID_TYPE_NUM);
embed_function("UDP_CloseSocket", ID_TYPE_SUB);
add_embedded_arg("socket", ID_TYPE_NUM);
embed_function("UDP_GetData", ID_TYPE_FN_NUM);
add_embedded_arg("socket", ID_TYPE_NUM);
add_embedded_arg("host$", ID_TYPE_BYREF_STR);
add_embedded_arg("port", ID_TYPE_BYREF_NUM);
add_embedded_arg("sData$", ID_TYPE_BYREF_STR);
embed_function("UDP_Length", ID_TYPE_FN_NUM);
embed_function("UDP_MaxLength", ID_TYPE_FN_NUM);
embed_function("UDP_RemoteHost$", ID_TYPE_FN_STR);
add_embedded_arg("socket", ID_TYPE_NUM);
embed_function("UDP_RemotePort", ID_TYPE_FN_NUM);
add_embedded_arg("socket", ID_TYPE_NUM);
embed_function("UDP_SendData", ID_TYPE_SUB);
add_embedded_arg("socket", ID_TYPE_NUM);
add_embedded_arg("host$", ID_TYPE_STR);
add_embedded_arg("port", ID_TYPE_NUM);
add_embedded_arg("sData$", ID_TYPE_STR);
embed_function("LoadVideo", ID_TYPE_SUB);
add_embedded_arg("vid$", ID_TYPE_STR);
embed_function("PlayVideo", ID_TYPE_SUB);
add_embedded_arg("vLoops", ID_TYPE_NUM);
embed_function("PauseVideo", ID_TYPE_SUB);
embed_function("StopVideo", ID_TYPE_SUB);
embed_function("SetVideoPosition", ID_TYPE_SUB);
add_embedded_arg("pos", ID_TYPE_NUM);
embed_function("ResumeVideo", ID_TYPE_SUB);
embed_function("GetVideoPosition", ID_TYPE_FN_NUM);
embed_function("DeleteVideo", ID_TYPE_SUB);
embed_function("VideoIsPlaying", ID_TYPE_FN_NUM);
embed_function("VideoEnd", ID_TYPE_FN_NUM);
embed_function("GetVideoStats", ID_TYPE_SUB);
add_embedded_arg("vFile$", ID_TYPE_STR);
add_embedded_arg("vLen", ID_TYPE_BYREF_NUM);
add_embedded_arg("vfps", ID_TYPE_BYREF_NUM);
add_embedded_arg("frame_w", ID_TYPE_BYREF_NUM);
add_embedded_arg("frame_h", ID_TYPE_BYREF_NUM);
embed_function("SetVideoDrawRect", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
embed_function("GetVideoDrawRect", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("w", ID_TYPE_BYREF_NUM);
add_embedded_arg("h", ID_TYPE_BYREF_NUM);
embed_function("GetVideoSize", ID_TYPE_SUB);
add_embedded_arg("w", ID_TYPE_BYREF_NUM);
add_embedded_arg("h", ID_TYPE_BYREF_NUM);
embed_function("VideoExists", ID_TYPE_FN_NUM);
embed_function("SetVideoVolume", ID_TYPE_SUB);
add_embedded_arg("vol", ID_TYPE_NUM);
embed_function("GetVideoVolume", ID_TYPE_FN_NUM);
embed_function("System", ID_TYPE_FN_NUM);
add_embedded_arg("cmd$", ID_TYPE_STR);
embed_function("OS$", ID_TYPE_FN_STR);
embed_function("Command$", ID_TYPE_FN_STR);
add_embedded_arg("arg", ID_TYPE_NUM);
embed_function("NumCommands", ID_TYPE_FN_NUM);
embed_function("Env$", ID_TYPE_FN_STR);
add_embedded_arg("v$", ID_TYPE_STR);
embed_function("SetEnv", ID_TYPE_SUB);
add_embedded_arg("var$", ID_TYPE_STR);
add_embedded_arg("value$", ID_TYPE_STR);
embed_function("PrefPath$", ID_TYPE_FN_STR);
add_embedded_arg("org_name$", ID_TYPE_STR);
add_embedded_arg("app_name$", ID_TYPE_STR);
embed_function("Android_GetExternalStoragePath$", ID_TYPE_FN_STR);
embed_function("Android_GetExternalStorageState", ID_TYPE_FN_NUM);
embed_function("Android_GetInternalStoragePath$", ID_TYPE_FN_STR);
embed_function("Android_JNI_Message$", ID_TYPE_FN_STR);
add_embedded_arg("arg$", ID_TYPE_STR);
embed_function("Runtime_Utility_Message$", ID_TYPE_FN_STR);
add_embedded_arg("arg$", ID_TYPE_STR);
embed_function("GetDesktopDisplayMode", ID_TYPE_SUB);
add_embedded_arg("index", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_BYREF_NUM);
add_embedded_arg("h", ID_TYPE_BYREF_NUM);
add_embedded_arg("freq", ID_TYPE_BYREF_NUM);
embed_function("GetPowerInfo", ID_TYPE_SUB);
add_embedded_arg("status", ID_TYPE_BYREF_NUM);
add_embedded_arg("secs", ID_TYPE_BYREF_NUM);
add_embedded_arg("pct", ID_TYPE_BYREF_NUM);
embed_function("EvalJS$", ID_TYPE_FN_STR);
add_embedded_arg("js_code$", ID_TYPE_STR);
embed_function("SystemReturnStdOut$", ID_TYPE_FN_STR);
add_embedded_arg("cmd$", ID_TYPE_STR);
embed_function("OpenURL", ID_TYPE_FN_NUM);
add_embedded_arg("url$", ID_TYPE_STR);
embed_function("MessageBox", ID_TYPE_FN_NUM);
add_embedded_arg("title$", ID_TYPE_STR);
add_embedded_arg("msg$", ID_TYPE_STR);
embed_function("Runtime$", ID_TYPE_FN_STR);
embed_function("NumCPUs", ID_TYPE_FN_NUM);
embed_function("SystemRam", ID_TYPE_FN_NUM);
embed_function("GetGPUInfo$", ID_TYPE_FN_STR);
embed_function("Steam_AddAchievement", ID_TYPE_SUB);
add_embedded_arg("ach_id$", ID_TYPE_STR);
add_embedded_arg("ach_name$", ID_TYPE_STR);
embed_function("Steam_ClearAchievements", ID_TYPE_SUB);
embed_function("Steam_FinalizeAchievements", ID_TYPE_SUB);
embed_function("Steam_TriggerAchievement", ID_TYPE_FN_NUM);
add_embedded_arg("ach_name$", ID_TYPE_STR);
embed_function("Steam_GetID$", ID_TYPE_FN_STR);
embed_function("DimMatrix", ID_TYPE_FN_NUM);
add_embedded_arg("m_rows", ID_TYPE_NUM);
add_embedded_arg("m_cols", ID_TYPE_NUM);
embed_function("DeleteMatrix", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
embed_function("AddMatrix", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
add_embedded_arg("mC", ID_TYPE_NUM);
embed_function("AugmentMatrix", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
add_embedded_arg("mC", ID_TYPE_NUM);
embed_function("CopyMatrix", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
embed_function("InsertMatrixColumns", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("c", ID_TYPE_NUM);
add_embedded_arg("num_cols", ID_TYPE_NUM);
embed_function("InsertMatrixRows", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("r", ID_TYPE_NUM);
add_embedded_arg("num_rows", ID_TYPE_NUM);
embed_function("MultiplyMatrix", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
add_embedded_arg("mC", ID_TYPE_NUM);
embed_function("CubeMatrix", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
embed_function("DeleteMatrixColumns", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("c", ID_TYPE_NUM);
add_embedded_arg("num_cols", ID_TYPE_NUM);
embed_function("DeleteMatrixRows", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("r", ID_TYPE_NUM);
add_embedded_arg("num_rows", ID_TYPE_NUM);
embed_function("ClearMatrix", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
embed_function("ClearMatrixColumns", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("c", ID_TYPE_NUM);
add_embedded_arg("num_cols", ID_TYPE_NUM);
embed_function("ClearMatrixRows", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("r", ID_TYPE_NUM);
add_embedded_arg("num_rows", ID_TYPE_NUM);
embed_function("FillMatrix", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("v", ID_TYPE_NUM);
embed_function("FillMatrixColumns", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("c", ID_TYPE_NUM);
add_embedded_arg("num_cols", ID_TYPE_NUM);
add_embedded_arg("v", ID_TYPE_NUM);
embed_function("FillMatrixRows", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("r", ID_TYPE_NUM);
add_embedded_arg("num_rows", ID_TYPE_NUM);
add_embedded_arg("v", ID_TYPE_NUM);
embed_function("CopyMatrixColumns", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
add_embedded_arg("c", ID_TYPE_NUM);
add_embedded_arg("num_cols", ID_TYPE_NUM);
embed_function("CopyMatrixRows", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
add_embedded_arg("r", ID_TYPE_NUM);
add_embedded_arg("num_rows", ID_TYPE_NUM);
embed_function("SetIdentityMatrix", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("SolveMatrix", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
add_embedded_arg("mC", ID_TYPE_NUM);
embed_function("IsEqualMatrix", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
add_embedded_arg("tolerance", ID_TYPE_NUM);
embed_function("Determinant", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
embed_function("AdjointMatrix", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
embed_function("InvertMatrix", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
embed_function("MatrixFromBuffer", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("r", ID_TYPE_NUM);
add_embedded_arg("c", ID_TYPE_NUM);
add_embedded_arg("buffer", ID_TYPE_BYREF_NUM);
embed_function("BufferFromMatrix", ID_TYPE_SUB);
add_embedded_arg("buffer", ID_TYPE_BYREF_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
embed_function("RandomizeMatrix", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("vmin", ID_TYPE_NUM);
add_embedded_arg("vmax", ID_TYPE_NUM);
embed_function("MatrixValue", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("r", ID_TYPE_NUM);
add_embedded_arg("c", ID_TYPE_NUM);
embed_function("SetMatrixValue", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("r", ID_TYPE_NUM);
add_embedded_arg("c", ID_TYPE_NUM);
add_embedded_arg("v", ID_TYPE_NUM);
embed_function("ScalarMatrix", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
add_embedded_arg("s_value", ID_TYPE_NUM);
embed_function("ScalarMatrixColumns", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
add_embedded_arg("c", ID_TYPE_NUM);
add_embedded_arg("num_cols", ID_TYPE_NUM);
add_embedded_arg("s_value", ID_TYPE_NUM);
embed_function("ScalarMatrixRows", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
add_embedded_arg("r", ID_TYPE_NUM);
add_embedded_arg("num_rows", ID_TYPE_NUM);
add_embedded_arg("s_value", ID_TYPE_NUM);
embed_function("SquareMatrix", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
embed_function("CofactorMatrix", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("r", ID_TYPE_NUM);
add_embedded_arg("c", ID_TYPE_NUM);
embed_function("SubtractMatrix", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
add_embedded_arg("mC", ID_TYPE_NUM);
embed_function("SwapMatrix", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
embed_function("SwapMatrixColumn", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("C1", ID_TYPE_NUM);
add_embedded_arg("C2", ID_TYPE_NUM);
embed_function("SwapMatrixRow", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("R1", ID_TYPE_NUM);
add_embedded_arg("R2", ID_TYPE_NUM);
embed_function("TransposeMatrix", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
embed_function("UnAugmentMatrix", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
add_embedded_arg("mC", ID_TYPE_NUM);
embed_function("ZeroMatrix", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
embed_function("GetMatrixSize", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("r", ID_TYPE_BYREF_NUM);
add_embedded_arg("c", ID_TYPE_BYREF_NUM);
embed_function("IncrementMatrixRows", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
add_embedded_arg("r", ID_TYPE_NUM);
add_embedded_arg("num_rows", ID_TYPE_NUM);
add_embedded_arg("value", ID_TYPE_NUM);
embed_function("IncrementMatrixColumns", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
add_embedded_arg("c", ID_TYPE_NUM);
add_embedded_arg("num_cols", ID_TYPE_NUM);
add_embedded_arg("value", ID_TYPE_NUM);
embed_function("JoinMatrixRows", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
add_embedded_arg("mC", ID_TYPE_NUM);
embed_function("JoinMatrixColumns", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
add_embedded_arg("mC", ID_TYPE_NUM);
embed_function("ClipMatrix", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("r", ID_TYPE_NUM);
add_embedded_arg("c", ID_TYPE_NUM);
add_embedded_arg("num_rows", ID_TYPE_NUM);
add_embedded_arg("num_cols", ID_TYPE_NUM);
add_embedded_arg("mB", ID_TYPE_NUM);
embed_function("SetMatrixTranslation", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("SetMatrixRotation", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("SetMatrixScale", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("GetMatrixTranslation", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("GetMatrixRotation", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("GetMatrixScale", ID_TYPE_SUB);
add_embedded_arg("mA", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("MatrixExists", ID_TYPE_FN_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
embed_function("GetClipboardText$", ID_TYPE_FN_STR);
embed_function("SetClipboardText", ID_TYPE_SUB);
add_embedded_arg("txt$", ID_TYPE_STR);
embed_function("HasClipboardText", ID_TYPE_FN_NUM);
embed_function("ReadInput_Start", ID_TYPE_SUB);
embed_function("ReadInput_Stop", ID_TYPE_SUB);
embed_function("ReadInput_GetText$", ID_TYPE_FN_STR);
embed_function("ReadInput_SetText", ID_TYPE_SUB);
add_embedded_arg("txt$", ID_TYPE_STR);
embed_function("ReadInput_ToggleBackspace", ID_TYPE_SUB);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("CreateSprite", ID_TYPE_FN_NUM);
add_embedded_arg("img", ID_TYPE_NUM);
add_embedded_arg("frame_w", ID_TYPE_NUM);
add_embedded_arg("frame_h", ID_TYPE_NUM);
embed_function("DeleteSprite", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
embed_function("SetSpritePosition", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("TranslateSprite", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("GetSpritePosition", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("SpriteX", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
embed_function("SpriteY", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
embed_function("SetSpriteRotation", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("angle", ID_TYPE_NUM);
embed_function("RotateSprite", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("angle", ID_TYPE_NUM);
embed_function("GetSpriteRotation", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
embed_function("SetSpriteScale", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("ScaleSprite", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("GetSpriteScale", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("SetSpriteZ", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("SpriteZ", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
embed_function("GetSpriteSize", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_BYREF_NUM);
add_embedded_arg("h", ID_TYPE_BYREF_NUM);
embed_function("SpriteWidth", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
embed_function("SpriteHeight", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
embed_function("SetSpriteVisible", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("SpriteIsVisible", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
embed_function("SetSpriteSolid", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("SpriteIsSolid", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
embed_function("SetSpriteType", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("sprite_type", ID_TYPE_NUM);
embed_function("GetSpriteType", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
embed_function("SetSpriteSource", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("img", ID_TYPE_NUM);
embed_function("GetSpriteSource", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
embed_function("SpriteExists", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
embed_function("SetSpriteColorMod", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("color", ID_TYPE_NUM);
embed_function("SetSpriteAlpha", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("alpha", ID_TYPE_NUM);
embed_function("GetSpriteColorMod", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
embed_function("GetSpriteAlpha", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
embed_function("AddSpriteChild", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("child_sprite", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("RemoveSpriteChild", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("child_index", ID_TYPE_NUM);
embed_function("GetSpriteChildIndex", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("child_sprite", ID_TYPE_NUM);
embed_function("GetSpriteCollision", ID_TYPE_FN_NUM);
add_embedded_arg("spriteA", ID_TYPE_NUM);
add_embedded_arg("spriteB", ID_TYPE_NUM);
embed_function("CreateSpriteAnimation", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("anim_length", ID_TYPE_NUM);
add_embedded_arg("speed", ID_TYPE_NUM);
embed_function("SetSpriteFrame", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("frame", ID_TYPE_NUM);
embed_function("GetSpriteFrame", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
embed_function("SetSpriteAnimationFrame", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("animation", ID_TYPE_NUM);
add_embedded_arg("anim_frame", ID_TYPE_NUM);
add_embedded_arg("frame", ID_TYPE_NUM);
embed_function("GetSpriteAnimationFrame", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("animation", ID_TYPE_NUM);
add_embedded_arg("anim_frame", ID_TYPE_NUM);
embed_function("SetSpriteAnimationLength", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("animation", ID_TYPE_NUM);
add_embedded_arg("anim_length", ID_TYPE_NUM);
embed_function("GetSpriteAnimationLength", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("animation", ID_TYPE_NUM);
embed_function("SetSpriteAnimationSpeed", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("animation", ID_TYPE_NUM);
add_embedded_arg("speed", ID_TYPE_NUM);
embed_function("GetSpriteAnimationSpeed", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("animation", ID_TYPE_NUM);
embed_function("SetSpriteAnimation", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("animation", ID_TYPE_NUM);
add_embedded_arg("num_loops", ID_TYPE_NUM);
embed_function("GetSpriteAnimation", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
embed_function("GetSpriteCurrentAnimationFrame", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
embed_function("NumSpriteAnimationLoops", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
embed_function("SpriteAnimationIsPlaying", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
embed_function("DeleteSpriteAnimation", ID_TYPE_SUB);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("animation", ID_TYPE_NUM);
embed_function("GetSpriteAnimationSource", ID_TYPE_FN_NUM);
add_embedded_arg("sprite", ID_TYPE_NUM);
add_embedded_arg("animation", ID_TYPE_NUM);
embed_function("getSpriteCenter", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("setSpriteLinearVelocity", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("getSpriteLinearVelocity", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("setSpriteAngularVelocity", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("av", ID_TYPE_NUM);
embed_function("getSpriteAngularVelocity", ID_TYPE_FN_NUM);
add_embedded_arg("spr_id", ID_TYPE_NUM);
embed_function("applySpriteForce", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("fX", ID_TYPE_NUM);
add_embedded_arg("fY", ID_TYPE_NUM);
add_embedded_arg("pX", ID_TYPE_NUM);
add_embedded_arg("pY", ID_TYPE_NUM);
embed_function("applySpriteCentralForce", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("applySpriteTorque", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("torque", ID_TYPE_NUM);
embed_function("applySpriteLinearImpulse", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("iX", ID_TYPE_NUM);
add_embedded_arg("iY", ID_TYPE_NUM);
add_embedded_arg("pX", ID_TYPE_NUM);
add_embedded_arg("pY", ID_TYPE_NUM);
embed_function("applySpriteAngularImpulse", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("impulse", ID_TYPE_NUM);
embed_function("getSpriteMass", ID_TYPE_FN_NUM);
add_embedded_arg("spr_id", ID_TYPE_NUM);
embed_function("getSpriteInertia", ID_TYPE_FN_NUM);
add_embedded_arg("spr_id", ID_TYPE_NUM);
embed_function("getSpriteWorldPoint", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("lX", ID_TYPE_NUM);
add_embedded_arg("lY", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("getSpriteWorldVector", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("lX", ID_TYPE_NUM);
add_embedded_arg("lY", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("getSpriteLocalPoint", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("wX", ID_TYPE_NUM);
add_embedded_arg("wY", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("getSpriteLocalVector", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("wX", ID_TYPE_NUM);
add_embedded_arg("wY", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("getSpriteLinearVelocityFromLocalPoint", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("pX", ID_TYPE_NUM);
add_embedded_arg("pY", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("getSpriteLinearVelocityFromWorldPoint", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("wX", ID_TYPE_NUM);
add_embedded_arg("wY", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("getSpriteLinearDamping", ID_TYPE_FN_NUM);
add_embedded_arg("spr_id", ID_TYPE_NUM);
embed_function("setSpriteLinearDamping", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("linearDamping", ID_TYPE_NUM);
embed_function("getSpriteAngularDamping", ID_TYPE_FN_NUM);
add_embedded_arg("spr_id", ID_TYPE_NUM);
embed_function("setSpriteAngularDamping", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("angularDamping", ID_TYPE_NUM);
embed_function("getSpriteGravityScale", ID_TYPE_FN_NUM);
add_embedded_arg("spr_id", ID_TYPE_NUM);
embed_function("setSpriteGravityScale", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("g_scale", ID_TYPE_NUM);
embed_function("setSpriteBullet", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("spriteIsBullet", ID_TYPE_FN_NUM);
add_embedded_arg("spr_id", ID_TYPE_NUM);
embed_function("setSpriteSleepAllowed", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("spriteSleepAllowed", ID_TYPE_FN_NUM);
add_embedded_arg("spr_id", ID_TYPE_NUM);
embed_function("setSpriteAwake", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("spriteIsAwake", ID_TYPE_FN_NUM);
add_embedded_arg("spr_id", ID_TYPE_NUM);
embed_function("setSpriteFixedRotation", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("spriteIsFixedRotation", ID_TYPE_FN_NUM);
add_embedded_arg("spr_id", ID_TYPE_NUM);
embed_function("SetSpriteDensity", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("density", ID_TYPE_NUM);
embed_function("GetSpriteDensity", ID_TYPE_FN_NUM);
add_embedded_arg("spr_id", ID_TYPE_NUM);
embed_function("SetSpriteFriction", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("friction", ID_TYPE_NUM);
embed_function("GetSpriteFriction", ID_TYPE_FN_NUM);
add_embedded_arg("spr_id", ID_TYPE_NUM);
embed_function("SetSpriteRestitution", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("restitution", ID_TYPE_NUM);
embed_function("GetSpriteRestitution", ID_TYPE_FN_NUM);
add_embedded_arg("spr_id", ID_TYPE_NUM);
embed_function("SetSpriteRestitutionThreshold", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("threshold", ID_TYPE_NUM);
embed_function("GetSpriteRestitutionThreshold", ID_TYPE_FN_NUM);
add_embedded_arg("spr_id", ID_TYPE_NUM);
embed_function("GetSpriteAABB", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("x1", ID_TYPE_BYREF_NUM);
add_embedded_arg("y1", ID_TYPE_BYREF_NUM);
add_embedded_arg("x2", ID_TYPE_BYREF_NUM);
add_embedded_arg("y2", ID_TYPE_BYREF_NUM);
embed_function("SetGravity2D", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("GetGravity2D", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("SetWorld2DTimeStep", ID_TYPE_SUB);
add_embedded_arg("ts", ID_TYPE_NUM);
embed_function("SetWorld2DVelocityIterations", ID_TYPE_SUB);
add_embedded_arg("v", ID_TYPE_NUM);
embed_function("SetWorld2DPositionIterations", ID_TYPE_SUB);
add_embedded_arg("p", ID_TYPE_NUM);
embed_function("GetWorld2DTimeStep", ID_TYPE_FN_NUM);
embed_function("GetWorld2DVelocityIterations", ID_TYPE_FN_NUM);
embed_function("GetWorld2DPositionIterations", ID_TYPE_FN_NUM);
embed_function("SetWorld2DAutoClearForces", ID_TYPE_SUB);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("GetWorld2DAutoClearForces", ID_TYPE_FN_NUM);
embed_function("CastRay2D", ID_TYPE_FN_NUM);
add_embedded_arg("from_x", ID_TYPE_NUM);
add_embedded_arg("from_y", ID_TYPE_NUM);
add_embedded_arg("to_x", ID_TYPE_NUM);
add_embedded_arg("to_y", ID_TYPE_NUM);
embed_function("CastRay2D_All", ID_TYPE_FN_NUM);
add_embedded_arg("from_x", ID_TYPE_NUM);
add_embedded_arg("from_y", ID_TYPE_NUM);
add_embedded_arg("to_x", ID_TYPE_NUM);
add_embedded_arg("to_y", ID_TYPE_NUM);
embed_function("GetRayHit2D", ID_TYPE_SUB);
add_embedded_arg("index", ID_TYPE_NUM);
add_embedded_arg("spr_id", ID_TYPE_BYREF_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("normal_x", ID_TYPE_BYREF_NUM);
add_embedded_arg("normal_y", ID_TYPE_BYREF_NUM);
embed_function("SetSpriteShape", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("shape", ID_TYPE_NUM);
embed_function("GetSpriteShape", ID_TYPE_FN_NUM);
add_embedded_arg("spr_id", ID_TYPE_NUM);
embed_function("SetSpriteRadius", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("radius", ID_TYPE_NUM);
embed_function("GetSpriteRadius", ID_TYPE_FN_NUM);
add_embedded_arg("spr_id", ID_TYPE_NUM);
embed_function("SetSpriteBox", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
embed_function("GetSpriteBoxSize", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_BYREF_NUM);
add_embedded_arg("h", ID_TYPE_BYREF_NUM);
embed_function("SetSpriteChain", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("vx", ID_TYPE_BYREF_NUM);
add_embedded_arg("vy", ID_TYPE_BYREF_NUM);
add_embedded_arg("v_count", ID_TYPE_NUM);
add_embedded_arg("prev_x", ID_TYPE_NUM);
add_embedded_arg("prev_y", ID_TYPE_NUM);
add_embedded_arg("next_x", ID_TYPE_NUM);
add_embedded_arg("next_y", ID_TYPE_NUM);
embed_function("SetSpriteChainLoop", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("vx", ID_TYPE_BYREF_NUM);
add_embedded_arg("vy", ID_TYPE_BYREF_NUM);
add_embedded_arg("v_count", ID_TYPE_NUM);
embed_function("SetSpritePolygon", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("vx", ID_TYPE_BYREF_NUM);
add_embedded_arg("vy", ID_TYPE_BYREF_NUM);
add_embedded_arg("v_count", ID_TYPE_NUM);
embed_function("SetSpriteShapeOffset", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("GetSpriteShapeOffset", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("GetSpriteWorldCenter", ID_TYPE_SUB);
add_embedded_arg("spr_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("createDistanceJoint", ID_TYPE_FN_NUM);
add_embedded_arg("spriteA", ID_TYPE_NUM);
add_embedded_arg("spriteB", ID_TYPE_NUM);
add_embedded_arg("aX", ID_TYPE_NUM);
add_embedded_arg("aY", ID_TYPE_NUM);
add_embedded_arg("bX", ID_TYPE_NUM);
add_embedded_arg("bY", ID_TYPE_NUM);
add_embedded_arg("collide_connect", ID_TYPE_NUM);
embed_function("createFrictionJoint", ID_TYPE_FN_NUM);
add_embedded_arg("spriteA", ID_TYPE_NUM);
add_embedded_arg("spriteB", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("collide_connect", ID_TYPE_NUM);
embed_function("createGearJoint", ID_TYPE_FN_NUM);
add_embedded_arg("jointA", ID_TYPE_NUM);
add_embedded_arg("jointB", ID_TYPE_NUM);
add_embedded_arg("g_ratio", ID_TYPE_NUM);
add_embedded_arg("collide_connect", ID_TYPE_NUM);
embed_function("createMotorJoint", ID_TYPE_FN_NUM);
add_embedded_arg("spriteA", ID_TYPE_NUM);
add_embedded_arg("spriteB", ID_TYPE_NUM);
add_embedded_arg("collide_connect", ID_TYPE_NUM);
embed_function("createPrismaticJoint", ID_TYPE_FN_NUM);
add_embedded_arg("spriteA", ID_TYPE_NUM);
add_embedded_arg("spriteB", ID_TYPE_NUM);
add_embedded_arg("aX", ID_TYPE_NUM);
add_embedded_arg("aY", ID_TYPE_NUM);
add_embedded_arg("axisX", ID_TYPE_NUM);
add_embedded_arg("axisY", ID_TYPE_NUM);
add_embedded_arg("collide_connect", ID_TYPE_NUM);
embed_function("createPulleyJoint", ID_TYPE_FN_NUM);
add_embedded_arg("spriteA", ID_TYPE_NUM);
add_embedded_arg("spriteB", ID_TYPE_NUM);
add_embedded_arg("gaX", ID_TYPE_NUM);
add_embedded_arg("gaY", ID_TYPE_NUM);
add_embedded_arg("gbX", ID_TYPE_NUM);
add_embedded_arg("gbY", ID_TYPE_NUM);
add_embedded_arg("aX", ID_TYPE_NUM);
add_embedded_arg("aY", ID_TYPE_NUM);
add_embedded_arg("bX", ID_TYPE_NUM);
add_embedded_arg("bY", ID_TYPE_NUM);
add_embedded_arg("j_ratio", ID_TYPE_NUM);
add_embedded_arg("collide_connect", ID_TYPE_NUM);
embed_function("createRevoluteJoint", ID_TYPE_FN_NUM);
add_embedded_arg("spriteA", ID_TYPE_NUM);
add_embedded_arg("spriteB", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("collide_connect", ID_TYPE_NUM);
embed_function("createWeldJoint", ID_TYPE_FN_NUM);
add_embedded_arg("spriteA", ID_TYPE_NUM);
add_embedded_arg("spriteB", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("collide_connect", ID_TYPE_NUM);
embed_function("createWheelJoint", ID_TYPE_FN_NUM);
add_embedded_arg("spriteA", ID_TYPE_NUM);
add_embedded_arg("spriteB", ID_TYPE_NUM);
add_embedded_arg("aX", ID_TYPE_NUM);
add_embedded_arg("aY", ID_TYPE_NUM);
add_embedded_arg("axisX", ID_TYPE_NUM);
add_embedded_arg("axisY", ID_TYPE_NUM);
add_embedded_arg("collide_connect", ID_TYPE_NUM);
embed_function("getJointWorldAnchorA", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("getJointWorldAnchorB", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("getJointReactionForce", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("inv_dt", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("getJointReactionTorque", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("inv_dt", ID_TYPE_NUM);
embed_function("getJointLocalAnchorA", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("getJointLocalAnchorB", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("setJointLength", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("jlen", ID_TYPE_NUM);
embed_function("getJointLength", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("setJointMinLength", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("jlen", ID_TYPE_NUM);
embed_function("getJointMinLength", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("setJointMaxLength", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("jlen", ID_TYPE_NUM);
embed_function("getJointMaxLength", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("getJointCurrentLength", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("setJointStiffness", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("stiffness", ID_TYPE_NUM);
embed_function("getJointStiffness", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("setJointDamping", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("damping", ID_TYPE_NUM);
embed_function("getJointDamping", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("setJointMaxForce", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("force", ID_TYPE_NUM);
embed_function("getJointMaxForce", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("setJointMaxTorque", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("torque", ID_TYPE_NUM);
embed_function("getJointMaxTorque", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("setJointCorrectionFactor", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("factor", ID_TYPE_NUM);
embed_function("getJointCorrectionFactor", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("setJointRatio", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("j_ratio", ID_TYPE_NUM);
embed_function("getJointRatio", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("setJointLinearOffset", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("getJointLinearOffset", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("setJointAngularOffset", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("angleOffset", ID_TYPE_NUM);
embed_function("getJointAngularOffset", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("getJointLocalAxisA", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("getJointReferenceAngle", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("getJointTranslation", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("getJointSpeed", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("jointIsLimitEnabled", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("enableJointLimit", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("getJointLowerLimit", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("getJointUpperLimit", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("setJointLimits", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("lower_limit", ID_TYPE_NUM);
add_embedded_arg("upper_limit", ID_TYPE_NUM);
embed_function("jointMotorIsEnabled", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("enableJointMotor", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("setJointMotorSpeed", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("speed", ID_TYPE_NUM);
embed_function("getJointMotorSpeed", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("setJointMaxMotorForce", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("force", ID_TYPE_NUM);
embed_function("getJointMaxMotorForce", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("getJointMotorForce", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("inv_dt", ID_TYPE_NUM);
embed_function("setJointMaxMotorTorque", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("torque", ID_TYPE_NUM);
embed_function("getJointMaxMotorTorque", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("getJointMotorTorque", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("inv_dt", ID_TYPE_NUM);
embed_function("getJointGroundAnchorA", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("getJointGroundAnchorB", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
embed_function("getJointLengthA", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("getJointLengthB", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("getJointCurrentLengthA", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("getJointCurrentLengthB", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("setJointOrigin", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("getJointAngle", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("getJointLinearSpeed", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("getJointAngularSpeed", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("DeleteJoint", ID_TYPE_SUB);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("JointExists", ID_TYPE_FN_NUM);
add_embedded_arg("joint_id", ID_TYPE_NUM);
embed_function("CreateTileSet", ID_TYPE_FN_NUM);
add_embedded_arg("img_id", ID_TYPE_NUM);
add_embedded_arg("tile_w", ID_TYPE_NUM);
add_embedded_arg("tile_h", ID_TYPE_NUM);
embed_function("SetTileAnimationLength", ID_TYPE_SUB);
add_embedded_arg("tileset", ID_TYPE_NUM);
add_embedded_arg("base_tile", ID_TYPE_NUM);
add_embedded_arg("num_frames", ID_TYPE_NUM);
embed_function("GetTileAnimationLength", ID_TYPE_FN_NUM);
add_embedded_arg("tileset", ID_TYPE_NUM);
add_embedded_arg("base_tile", ID_TYPE_NUM);
embed_function("SetTileAnimationFrame", ID_TYPE_SUB);
add_embedded_arg("tileset", ID_TYPE_NUM);
add_embedded_arg("base_tile", ID_TYPE_NUM);
add_embedded_arg("anim_frame", ID_TYPE_NUM);
add_embedded_arg("tile_frame", ID_TYPE_NUM);
embed_function("GetTileAnimationFrame", ID_TYPE_FN_NUM);
add_embedded_arg("tileset", ID_TYPE_NUM);
add_embedded_arg("base_tile", ID_TYPE_NUM);
add_embedded_arg("anim_frame", ID_TYPE_NUM);
embed_function("SetTileAnimationSpeed", ID_TYPE_SUB);
add_embedded_arg("tileset", ID_TYPE_NUM);
add_embedded_arg("base_tile", ID_TYPE_NUM);
add_embedded_arg("speed", ID_TYPE_NUM);
embed_function("GetTileAnimationSpeed", ID_TYPE_FN_NUM);
add_embedded_arg("tileset", ID_TYPE_NUM);
add_embedded_arg("base_tile", ID_TYPE_NUM);
embed_function("CreateTileMap", ID_TYPE_FN_NUM);
add_embedded_arg("tileset", ID_TYPE_NUM);
add_embedded_arg("widthInTiles", ID_TYPE_NUM);
add_embedded_arg("heightInTiles", ID_TYPE_NUM);
embed_function("SetTileMapSize", ID_TYPE_SUB);
add_embedded_arg("tilemap", ID_TYPE_NUM);
add_embedded_arg("widthInTiles", ID_TYPE_NUM);
add_embedded_arg("heightInTiles", ID_TYPE_NUM);
embed_function("GetTileMapSize", ID_TYPE_SUB);
add_embedded_arg("tilemap", ID_TYPE_NUM);
add_embedded_arg("widthInTiles", ID_TYPE_BYREF_NUM);
add_embedded_arg("heightInTiles", ID_TYPE_BYREF_NUM);
embed_function("SetTile", ID_TYPE_SUB);
add_embedded_arg("tilemap", ID_TYPE_NUM);
add_embedded_arg("tile", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("GetTile", ID_TYPE_FN_NUM);
add_embedded_arg("tilemap", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
embed_function("FillTile", ID_TYPE_SUB);
add_embedded_arg("tilemap", ID_TYPE_NUM);
add_embedded_arg("tile", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("widthInTiles", ID_TYPE_NUM);
add_embedded_arg("heightInTiles", ID_TYPE_NUM);
embed_function("DrawTileMap", ID_TYPE_SUB);
add_embedded_arg("tilemap", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
add_embedded_arg("offset_x", ID_TYPE_NUM);
add_embedded_arg("offset_y", ID_TYPE_NUM);
embed_function("DeleteTileSet", ID_TYPE_SUB);
add_embedded_arg("tileset", ID_TYPE_NUM);
embed_function("DeleteTileMap", ID_TYPE_SUB);
add_embedded_arg("tilemap", ID_TYPE_NUM);
embed_function("TileSetExists", ID_TYPE_FN_NUM);
add_embedded_arg("tileset", ID_TYPE_NUM);
embed_function("TileMapExists", ID_TYPE_FN_NUM);
add_embedded_arg("tilemap", ID_TYPE_NUM);
embed_function("LoadMesh", ID_TYPE_FN_NUM);
add_embedded_arg("mesh_file$", ID_TYPE_STR);
embed_function("DeleteMesh", ID_TYPE_SUB);
add_embedded_arg("mesh", ID_TYPE_NUM);
embed_function("CreateMesh", ID_TYPE_FN_NUM);
embed_function("AddMeshBuffer", ID_TYPE_SUB);
add_embedded_arg("mesh", ID_TYPE_NUM);
add_embedded_arg("vertex_count", ID_TYPE_NUM);
add_embedded_arg("vertex_data", ID_TYPE_BYREF_NUM);
add_embedded_arg("normal_data", ID_TYPE_BYREF_NUM);
add_embedded_arg("uv_data", ID_TYPE_BYREF_NUM);
add_embedded_arg("index_count", ID_TYPE_NUM);
add_embedded_arg("index_data", ID_TYPE_BYREF_NUM);
embed_function("LoadMeshFromArchive", ID_TYPE_FN_NUM);
add_embedded_arg("archive$", ID_TYPE_STR);
add_embedded_arg("mesh_file$", ID_TYPE_STR);
embed_function("CreatePlaneMesh", ID_TYPE_FN_NUM);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
add_embedded_arg("tileCount_w", ID_TYPE_NUM);
add_embedded_arg("tileCount_h", ID_TYPE_NUM);
add_embedded_arg("txRepeat_x", ID_TYPE_NUM);
add_embedded_arg("txRepeat_y", ID_TYPE_NUM);
embed_function("LoadAN8", ID_TYPE_FN_NUM);
add_embedded_arg("an8_file$", ID_TYPE_STR);
embed_function("LoadMeshFromAN8", ID_TYPE_FN_NUM);
add_embedded_arg("an8_project", ID_TYPE_NUM);
add_embedded_arg("an8_scene$", ID_TYPE_STR);
embed_function("GetNumAN8Scenes", ID_TYPE_FN_NUM);
add_embedded_arg("an8_project", ID_TYPE_NUM);
embed_function("GetAN8SceneName$", ID_TYPE_FN_STR);
add_embedded_arg("an8_project", ID_TYPE_NUM);
add_embedded_arg("scene_num", ID_TYPE_NUM);
embed_function("CreateConeMesh", ID_TYPE_FN_NUM);
add_embedded_arg("radius", ID_TYPE_NUM);
add_embedded_arg("cone_length", ID_TYPE_NUM);
add_embedded_arg("tesselation", ID_TYPE_NUM);
add_embedded_arg("top_color", ID_TYPE_NUM);
add_embedded_arg("bottom_color", ID_TYPE_NUM);
embed_function("CreateCylinderMesh", ID_TYPE_FN_NUM);
add_embedded_arg("radius", ID_TYPE_NUM);
add_embedded_arg("cylinder_length", ID_TYPE_NUM);
add_embedded_arg("tesselation", ID_TYPE_NUM);
add_embedded_arg("color", ID_TYPE_NUM);
add_embedded_arg("close_top", ID_TYPE_NUM);
embed_function("CreateVolumeLightMesh", ID_TYPE_FN_NUM);
add_embedded_arg("u", ID_TYPE_NUM);
add_embedded_arg("v", ID_TYPE_NUM);
add_embedded_arg("foot_color", ID_TYPE_NUM);
add_embedded_arg("tail_color", ID_TYPE_NUM);
add_embedded_arg("lp_distance", ID_TYPE_NUM);
add_embedded_arg("dim_x", ID_TYPE_NUM);
add_embedded_arg("dim_y", ID_TYPE_NUM);
add_embedded_arg("dim_z", ID_TYPE_NUM);
embed_function("DeleteAN8", ID_TYPE_SUB);
add_embedded_arg("an8_project", ID_TYPE_NUM);
embed_function("SetMeshBoundingBox", ID_TYPE_SUB);
add_embedded_arg("mesh", ID_TYPE_NUM);
add_embedded_arg("min_x", ID_TYPE_NUM);
add_embedded_arg("min_y", ID_TYPE_NUM);
add_embedded_arg("min_z", ID_TYPE_NUM);
add_embedded_arg("max_x", ID_TYPE_NUM);
add_embedded_arg("max_y", ID_TYPE_NUM);
add_embedded_arg("max_z", ID_TYPE_NUM);
embed_function("GetMeshBoundingBox", ID_TYPE_SUB);
add_embedded_arg("mesh", ID_TYPE_NUM);
add_embedded_arg("min_x", ID_TYPE_BYREF_NUM);
add_embedded_arg("min_y", ID_TYPE_BYREF_NUM);
add_embedded_arg("min_z", ID_TYPE_BYREF_NUM);
add_embedded_arg("max_x", ID_TYPE_BYREF_NUM);
add_embedded_arg("max_y", ID_TYPE_BYREF_NUM);
add_embedded_arg("max_z", ID_TYPE_BYREF_NUM);
embed_function("ReCalculateMeshBoundingBox", ID_TYPE_SUB);
add_embedded_arg("mesh", ID_TYPE_NUM);
embed_function("MakePlanarTextureMap", ID_TYPE_SUB);
add_embedded_arg("mesh", ID_TYPE_NUM);
add_embedded_arg("resolution", ID_TYPE_NUM);
embed_function("ReCalculateMeshNormals", ID_TYPE_SUB);
add_embedded_arg("mesh", ID_TYPE_NUM);
embed_function("GetMeshPolygonCount", ID_TYPE_FN_NUM);
add_embedded_arg("mesh", ID_TYPE_NUM);
embed_function("FlipMeshSurfaces", ID_TYPE_SUB);
add_embedded_arg("mesh", ID_TYPE_NUM);
embed_function("SetMeshBuffer", ID_TYPE_FN_NUM);
add_embedded_arg("mesh_id", ID_TYPE_NUM);
add_embedded_arg("buffer_num", ID_TYPE_NUM);
add_embedded_arg("vertex_count", ID_TYPE_NUM);
add_embedded_arg("vertex_data", ID_TYPE_BYREF_NUM);
add_embedded_arg("normal_data", ID_TYPE_BYREF_NUM);
add_embedded_arg("uv_data", ID_TYPE_BYREF_NUM);
add_embedded_arg("index_count", ID_TYPE_NUM);
add_embedded_arg("index_data", ID_TYPE_BYREF_NUM);
embed_function("GetMeshBufferCount", ID_TYPE_FN_NUM);
add_embedded_arg("mesh_id", ID_TYPE_NUM);
embed_function("GetMeshBufferVertexCount", ID_TYPE_FN_NUM);
add_embedded_arg("mesh_id", ID_TYPE_NUM);
add_embedded_arg("buffer_index", ID_TYPE_NUM);
embed_function("GetMeshBufferIndexCount", ID_TYPE_FN_NUM);
add_embedded_arg("mesh_id", ID_TYPE_NUM);
add_embedded_arg("buffer_index", ID_TYPE_NUM);
embed_function("GetMeshBuffer", ID_TYPE_FN_NUM);
add_embedded_arg("mesh_id", ID_TYPE_NUM);
add_embedded_arg("buffer_index", ID_TYPE_NUM);
add_embedded_arg("vertex_data", ID_TYPE_BYREF_NUM);
add_embedded_arg("normal_data", ID_TYPE_BYREF_NUM);
add_embedded_arg("uv_data", ID_TYPE_BYREF_NUM);
add_embedded_arg("index_data", ID_TYPE_BYREF_NUM);
embed_function("CreateAnimatedActor", ID_TYPE_FN_NUM);
add_embedded_arg("mesh", ID_TYPE_NUM);
embed_function("CreateOctreeActor", ID_TYPE_FN_NUM);
add_embedded_arg("mesh", ID_TYPE_NUM);
embed_function("CreateCubeActor", ID_TYPE_FN_NUM);
add_embedded_arg("cube_size", ID_TYPE_NUM);
embed_function("CreateSphereActor", ID_TYPE_FN_NUM);
add_embedded_arg("radius", ID_TYPE_NUM);
embed_function("CreateWaterActor", ID_TYPE_FN_NUM);
add_embedded_arg("mesh", ID_TYPE_NUM);
add_embedded_arg("waveHeight", ID_TYPE_NUM);
add_embedded_arg("waveSpeed", ID_TYPE_NUM);
add_embedded_arg("waveLength", ID_TYPE_NUM);
embed_function("CreateLightActor", ID_TYPE_FN_NUM);
embed_function("CreateBillboardActor", ID_TYPE_FN_NUM);
embed_function("CreateTerrainActor", ID_TYPE_FN_NUM);
add_embedded_arg("hmap_file$", ID_TYPE_STR);
embed_function("CreateParticleActor", ID_TYPE_FN_NUM);
add_embedded_arg("particle_type", ID_TYPE_NUM);
embed_function("CreateProjectorActor", ID_TYPE_FN_NUM);
embed_function("CreateCompositeActor", ID_TYPE_FN_NUM);
embed_function("CreateVehicleActor", ID_TYPE_FN_NUM);
add_embedded_arg("chassis_actor", ID_TYPE_NUM);
embed_function("DeleteActor", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("GetActorTransform", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("matrix", ID_TYPE_NUM);
embed_function("SetActorPosition", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("TranslateActorLocal", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("TranslateActorWorld", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("GetActorPosition", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("SetActorScale", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("ScaleActor", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("GetActorScale", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("SetActorRotation", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("RotateActor", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("GetActorRotation", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("SetActorVisible", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("ActorIsVisible", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("SetActorAutoCulling", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("cull_type", ID_TYPE_NUM);
embed_function("GetActorAutoCulling", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("AddActorShadow", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("RemoveActorShadow", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("ActorExists", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("GetActorType", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("CreateActorAnimation", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("start_frame", ID_TYPE_NUM);
add_embedded_arg("end_frame", ID_TYPE_NUM);
add_embedded_arg("speed", ID_TYPE_NUM);
embed_function("SetActorAnimation", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("animation", ID_TYPE_NUM);
add_embedded_arg("num_loops", ID_TYPE_NUM);
embed_function("SetActorAnimationSpeed", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("animation", ID_TYPE_NUM);
add_embedded_arg("speed", ID_TYPE_NUM);
embed_function("SetActorAnimationFrames", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("animation", ID_TYPE_NUM);
add_embedded_arg("start_frame", ID_TYPE_NUM);
add_embedded_arg("end_frame", ID_TYPE_NUM);
embed_function("GetActorCurrentAnimation", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("GetActorAnimationSpeed", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("animation", ID_TYPE_NUM);
embed_function("GetActorAnimationStartFrame", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("animation", ID_TYPE_NUM);
embed_function("GetActorAnimationEndFrame", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("animation", ID_TYPE_NUM);
embed_function("SetActorFrame", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("frame", ID_TYPE_NUM);
embed_function("GetActorFrame", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("ActorAnimationIsPlaying", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("NumActorAnimationLoops", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("SetActorMD2Animation", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("anim", ID_TYPE_NUM);
add_embedded_arg("num_loops", ID_TYPE_NUM);
embed_function("SetActorMD2AnimationByName", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("anim_name$", ID_TYPE_STR);
add_embedded_arg("num_loops", ID_TYPE_NUM);
embed_function("DeleteActorAnimation", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("animation", ID_TYPE_NUM);
embed_function("GetActorBoneCount", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("GetActorBoneIndex", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("bone_name$", ID_TYPE_STR);
embed_function("GetActorBoneName$", ID_TYPE_FN_STR);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("bone_index", ID_TYPE_NUM);
embed_function("GetActorBonePosition", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("bone_index", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("GetActorBoneRotation", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("bone_index", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("GetActorBoneScale", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("bone_index", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("GetActorBoneRelativeTranform", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("bone_index", ID_TYPE_NUM);
add_embedded_arg("t_matrix", ID_TYPE_NUM);
embed_function("GetActorBoneAbsoluteTranform", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("bone_index", ID_TYPE_NUM);
add_embedded_arg("t_matrix", ID_TYPE_NUM);
embed_function("SetGravity3D", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("GetGravity3D", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("SetActorShape", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("shape_type", ID_TYPE_NUM);
add_embedded_arg("mass", ID_TYPE_NUM);
embed_function("GetActorShape", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("SetActorSolid", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("ActorIsSolid", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("GetActorCollision", ID_TYPE_FN_NUM);
add_embedded_arg("actor1", ID_TYPE_NUM);
add_embedded_arg("actor2", ID_TYPE_NUM);
embed_function("SetActorGravity", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("GetActorGravity", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("setActorDamping", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("lin_damping", ID_TYPE_NUM);
add_embedded_arg("ang_damping", ID_TYPE_NUM);
embed_function("getActorLinearDamping", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("getActorAngularDamping", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("getActorLinearSleepThreshold", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("getActorAngularSleepThreshold", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("applyActorDamping", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("timeStep", ID_TYPE_NUM);
embed_function("setActorMassProperties", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("mass", ID_TYPE_NUM);
add_embedded_arg("inertia_x", ID_TYPE_NUM);
add_embedded_arg("inertia_y", ID_TYPE_NUM);
add_embedded_arg("inertia_z", ID_TYPE_NUM);
embed_function("getActorLinearFactor", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("setActorLinearFactor", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("getActorInverseMass", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("integrateActorVelocities", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("v_step", ID_TYPE_NUM);
embed_function("applyActorCentralForceLocal", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("applyActorCentralForceWorld", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("getActorTotalForce", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("getActorTotalTorque", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("getActorInverseInertiaDiagLocal", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("setActorInverseInertiaDiagLocal", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("setActorSleepThresholds", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("linear", ID_TYPE_NUM);
add_embedded_arg("angular", ID_TYPE_NUM);
embed_function("applyActorTorqueLocal", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("applyActorTorqueWorld", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("applyActorForceLocal", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
add_embedded_arg("rel_x", ID_TYPE_NUM);
add_embedded_arg("rel_y", ID_TYPE_NUM);
add_embedded_arg("rel_z", ID_TYPE_NUM);
embed_function("applyActorForceWorld", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
add_embedded_arg("rel_x", ID_TYPE_NUM);
add_embedded_arg("rel_y", ID_TYPE_NUM);
add_embedded_arg("rel_z", ID_TYPE_NUM);
embed_function("applyActorCentralImpulseLocal", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("applyActorCentralImpulseWorld", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("applyActorTorqueImpulseLocal", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("applyActorTorqueImpulseWorld", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("applyActorImpulseLocal", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
add_embedded_arg("rel_x", ID_TYPE_NUM);
add_embedded_arg("rel_y", ID_TYPE_NUM);
add_embedded_arg("rel_z", ID_TYPE_NUM);
embed_function("applyActorImpulseWorld", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
add_embedded_arg("rel_x", ID_TYPE_NUM);
add_embedded_arg("rel_y", ID_TYPE_NUM);
add_embedded_arg("rel_z", ID_TYPE_NUM);
embed_function("clearActorForces", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("updateActorInertiaTensor", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("getActorCenter", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("getActorRotationQ", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
add_embedded_arg("w", ID_TYPE_BYREF_NUM);
embed_function("getActorLinearVelocityWorld", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("getActorAngularVelocityWorld", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("setActorLinearVelocityLocal", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("setActorLinearVelocityWorld", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("setActorAngularVelocityLocal", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("setActorAngularVelocityWorld", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("getActorVelocityInLocalPoint", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("rel_x", ID_TYPE_NUM);
add_embedded_arg("rel_y", ID_TYPE_NUM);
add_embedded_arg("rel_z", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("getActorLinearVelocityLocal", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("getActorAngularVelocityLocal", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("getActorAABB", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("min_x", ID_TYPE_BYREF_NUM);
add_embedded_arg("min_y", ID_TYPE_BYREF_NUM);
add_embedded_arg("min_z", ID_TYPE_BYREF_NUM);
add_embedded_arg("max_x", ID_TYPE_BYREF_NUM);
add_embedded_arg("max_y", ID_TYPE_BYREF_NUM);
add_embedded_arg("max_z", ID_TYPE_BYREF_NUM);
embed_function("computeActorImpulseDenominator", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("pos_x", ID_TYPE_NUM);
add_embedded_arg("pos_y", ID_TYPE_NUM);
add_embedded_arg("pos_z", ID_TYPE_NUM);
add_embedded_arg("normal_x", ID_TYPE_NUM);
add_embedded_arg("normal_y", ID_TYPE_NUM);
add_embedded_arg("normal_z", ID_TYPE_NUM);
embed_function("computeActorAngularImpulseDenominator", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("setActorAngularFactor", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("getActorAngularFactor", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("computeActorGyroImpulseLocal", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("dt", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("computeActorGyroImpulseWorld", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("dt", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("getActorLocalInertia", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("SetActorSleepState", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("state", ID_TYPE_NUM);
embed_function("CastRay3D", ID_TYPE_FN_NUM);
add_embedded_arg("from_x", ID_TYPE_NUM);
add_embedded_arg("from_y", ID_TYPE_NUM);
add_embedded_arg("from_z", ID_TYPE_NUM);
add_embedded_arg("to_x", ID_TYPE_NUM);
add_embedded_arg("to_y", ID_TYPE_NUM);
add_embedded_arg("to_z", ID_TYPE_NUM);
embed_function("CastRay3D_All", ID_TYPE_FN_NUM);
add_embedded_arg("from_x", ID_TYPE_NUM);
add_embedded_arg("from_y", ID_TYPE_NUM);
add_embedded_arg("from_z", ID_TYPE_NUM);
add_embedded_arg("to_x", ID_TYPE_NUM);
add_embedded_arg("to_y", ID_TYPE_NUM);
add_embedded_arg("to_z", ID_TYPE_NUM);
embed_function("GetRayHit3D", ID_TYPE_SUB);
add_embedded_arg("index", ID_TYPE_NUM);
add_embedded_arg("actor_id", ID_TYPE_BYREF_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
add_embedded_arg("normal_x", ID_TYPE_BYREF_NUM);
add_embedded_arg("normal_y", ID_TYPE_BYREF_NUM);
add_embedded_arg("normal_z", ID_TYPE_BYREF_NUM);
embed_function("SetActorShapeEx", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("shape_type", ID_TYPE_NUM);
add_embedded_arg("mass", ID_TYPE_NUM);
add_embedded_arg("radius", ID_TYPE_NUM);
embed_function("SetActorImpactMesh", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("mesh", ID_TYPE_NUM);
add_embedded_arg("mass", ID_TYPE_NUM);
embed_function("createPointConstraint", ID_TYPE_FN_NUM);
add_embedded_arg("actorA", ID_TYPE_NUM);
add_embedded_arg("pxA", ID_TYPE_NUM);
add_embedded_arg("pyA", ID_TYPE_NUM);
add_embedded_arg("pzA", ID_TYPE_NUM);
embed_function("createPointConstraintEx", ID_TYPE_FN_NUM);
add_embedded_arg("actorA", ID_TYPE_NUM);
add_embedded_arg("actorB", ID_TYPE_NUM);
add_embedded_arg("pxA", ID_TYPE_NUM);
add_embedded_arg("pyA", ID_TYPE_NUM);
add_embedded_arg("pzA", ID_TYPE_NUM);
add_embedded_arg("pxB", ID_TYPE_NUM);
add_embedded_arg("pyB", ID_TYPE_NUM);
add_embedded_arg("pzB", ID_TYPE_NUM);
embed_function("setPointPivotA", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("setPointPivotB", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("createHingeConstraint", ID_TYPE_FN_NUM);
add_embedded_arg("actorA", ID_TYPE_NUM);
add_embedded_arg("frameA", ID_TYPE_NUM);
add_embedded_arg("useReferenceFrameA", ID_TYPE_NUM);
embed_function("createHingeConstraintEx", ID_TYPE_FN_NUM);
add_embedded_arg("actorA", ID_TYPE_NUM);
add_embedded_arg("actorB", ID_TYPE_NUM);
add_embedded_arg("frameA", ID_TYPE_NUM);
add_embedded_arg("frameB", ID_TYPE_NUM);
add_embedded_arg("useReferenceFrameA", ID_TYPE_NUM);
embed_function("createSlideConstraint", ID_TYPE_FN_NUM);
add_embedded_arg("actorA", ID_TYPE_NUM);
add_embedded_arg("frameInB_matrix", ID_TYPE_NUM);
add_embedded_arg("useLinearReferenceFrameA", ID_TYPE_NUM);
embed_function("createSlideConstraintEx", ID_TYPE_FN_NUM);
add_embedded_arg("actorA", ID_TYPE_NUM);
add_embedded_arg("actorB", ID_TYPE_NUM);
add_embedded_arg("frameInA_matrix", ID_TYPE_NUM);
add_embedded_arg("frameInB_matrix", ID_TYPE_NUM);
add_embedded_arg("useLinearReferenceFrameA", ID_TYPE_NUM);
embed_function("createConeConstraint", ID_TYPE_FN_NUM);
add_embedded_arg("actorA", ID_TYPE_NUM);
add_embedded_arg("rbAFrame_matrix", ID_TYPE_NUM);
embed_function("createConeConstraintEx", ID_TYPE_FN_NUM);
add_embedded_arg("actorA", ID_TYPE_NUM);
add_embedded_arg("actorB", ID_TYPE_NUM);
add_embedded_arg("rbAFrame_matrix", ID_TYPE_NUM);
add_embedded_arg("rbBFrame_matrix", ID_TYPE_NUM);
embed_function("deleteConstraint", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintFrameOffsetA", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
add_embedded_arg("rx", ID_TYPE_BYREF_NUM);
add_embedded_arg("ry", ID_TYPE_BYREF_NUM);
add_embedded_arg("rz", ID_TYPE_BYREF_NUM);
embed_function("getConstraintFrameOffsetB", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
add_embedded_arg("rx", ID_TYPE_BYREF_NUM);
add_embedded_arg("ry", ID_TYPE_BYREF_NUM);
add_embedded_arg("rz", ID_TYPE_BYREF_NUM);
embed_function("useConstraintFrameOffset", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("getHingeAngle", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getHingeAngleEx", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("t_matrixA", ID_TYPE_NUM);
add_embedded_arg("t_matrixB", ID_TYPE_NUM);
embed_function("getConstraintBreakingImpulseThreshold", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintAFrame", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
embed_function("getConstraintBFrame", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("mA", ID_TYPE_NUM);
embed_function("setHingeAxis", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("setConstraintBreakingImpulseThreshold", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("threshold", ID_TYPE_NUM);
embed_function("setConstraintFrames", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("frameA_matrix", ID_TYPE_NUM);
add_embedded_arg("frameB_matrix", ID_TYPE_NUM);
embed_function("setHingeLimit", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("low", ID_TYPE_NUM);
add_embedded_arg("high", ID_TYPE_NUM);
add_embedded_arg("softness", ID_TYPE_NUM);
add_embedded_arg("bias_factor", ID_TYPE_NUM);
add_embedded_arg("relaxation_factor", ID_TYPE_NUM);
embed_function("setConeLimit", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("swingSpan1", ID_TYPE_NUM);
add_embedded_arg("swingSpan2", ID_TYPE_NUM);
add_embedded_arg("twistSpan", ID_TYPE_NUM);
add_embedded_arg("softness", ID_TYPE_NUM);
add_embedded_arg("bias_factor", ID_TYPE_NUM);
add_embedded_arg("relaxation_factor", ID_TYPE_NUM);
embed_function("getHingeLimitBiasFactor", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getHingeLimitRelaxationFactor", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getHingeLimitSign", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getHingeSolveLimit", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("useHingeReferenceFrameA", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("getConstraintAppliedImpulse", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintFixedActor", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getPointPivotA", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("getPointPivotB", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("getConstraintActorA", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintActorB", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("setConstraintSolverIterations", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("num", ID_TYPE_NUM);
embed_function("getConeBiasFactor", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConeDamping", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConeFixThresh", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConeLimit", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("limit_index", ID_TYPE_NUM);
embed_function("getConstraintLimitSoftness", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintSolverIterations", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConeAnglePoint", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("angle", ID_TYPE_NUM);
add_embedded_arg("c_len", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("getConstraintAngularOnly", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConeSolveSwingLimit", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConeSolveTwistLimit", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConeSwingSpan1", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConeSwingSpan2", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConeTwistAngle", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConeTwistLimitSign", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConeTwistSpan", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("setConstraintAngularOnly", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("setConeDamping", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("damping", ID_TYPE_NUM);
embed_function("setConeFixThresh", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("fixThresh", ID_TYPE_NUM);
embed_function("getSlideAnchorA", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("getSlideAnchorB", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("getSlideAngDepth", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideAngularPos", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideDampingDirAng", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideDampingDirLin", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideDampingLimAng", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideDampingLimLin", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideDampingOrthoAng", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideDampingOrthoLin", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideLinearPos", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideLinDepth", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideLowerAngLimit", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideLowerLinLimit", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideRestitutionDirAng", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideRestitutionDirLin", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideRestitutionLimAng", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideRestitutionLimLin", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideRestitutionOrthoAng", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideRestitutionOrthoLin", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideSoftnessDirAng", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideSoftnessDirLin", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideSoftnessLimAng", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideSoftnessLimLin", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideSoftnessOrthoAng", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideSoftnessOrthoLin", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideSolveAngLimit", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideSolveLinLimit", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideUpperAngLimit", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideUpperLinLimit", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getSlideUseFrameOffset", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("setSlideDampingDirAng", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideDampingDirLin", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideDampingLimAng", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideDampingLimLin", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideDampingOrthoAng", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideDampingOrthoLin", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideLowerAngLimit", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideLowerLinLimit", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideRestitutionDirAng", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideRestitutionDirLin", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideRestitutionLimAng", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideRestitutionLimLin", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideRestitutionOrthoAng", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideRestitutionOrthoLin", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideSoftnessDirAng", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideSoftnessDirLin", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideSoftnessLimAng", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideSoftnessLimLin", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideSoftnessOrthoAng", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideSoftnessOrthoLin", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideUpperAngLimit", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setSlideUpperLinLimit", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("ConstraintExists", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("SetCameraPosition", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("GetCameraPosition", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("TranslateCamera", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("SetCameraRotation", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("GetCameraRotation", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("RotateCamera", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("SetCameraFOV", ID_TYPE_SUB);
add_embedded_arg("fov", ID_TYPE_NUM);
embed_function("GetCameraFOV", ID_TYPE_FN_NUM);
embed_function("SetCameraAspectRatio", ID_TYPE_SUB);
add_embedded_arg("aspect", ID_TYPE_NUM);
embed_function("GetCameraAspectRatio", ID_TYPE_FN_NUM);
embed_function("SetCameraFarValue", ID_TYPE_SUB);
add_embedded_arg("zf", ID_TYPE_NUM);
embed_function("GetCameraFarValue", ID_TYPE_FN_NUM);
embed_function("SetCameraNearValue", ID_TYPE_SUB);
add_embedded_arg("zn", ID_TYPE_NUM);
embed_function("GetCameraNearValue", ID_TYPE_FN_NUM);
embed_function("SetProjectionMatrix", ID_TYPE_SUB);
add_embedded_arg("matA", ID_TYPE_NUM);
add_embedded_arg("projection_type", ID_TYPE_NUM);
embed_function("GetProjectionMatrix", ID_TYPE_SUB);
add_embedded_arg("matA", ID_TYPE_NUM);
embed_function("GetWorldToViewportPosition", ID_TYPE_SUB);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
add_embedded_arg("vx", ID_TYPE_BYREF_NUM);
add_embedded_arg("vy", ID_TYPE_BYREF_NUM);
embed_function("AddSceneSkyBox", ID_TYPE_SUB);
add_embedded_arg("img_top", ID_TYPE_NUM);
add_embedded_arg("img_bottom", ID_TYPE_NUM);
add_embedded_arg("img_left", ID_TYPE_NUM);
add_embedded_arg("img_right", ID_TYPE_NUM);
add_embedded_arg("img_front", ID_TYPE_NUM);
add_embedded_arg("img_back", ID_TYPE_NUM);
embed_function("AddSceneSkyDome", ID_TYPE_SUB);
add_embedded_arg("img", ID_TYPE_NUM);
embed_function("AddSceneSkyDomeEx", ID_TYPE_SUB);
add_embedded_arg("img", ID_TYPE_NUM);
add_embedded_arg("horiRes", ID_TYPE_NUM);
add_embedded_arg("vertRes", ID_TYPE_NUM);
add_embedded_arg("txPercentage", ID_TYPE_NUM);
add_embedded_arg("spherePercentage", ID_TYPE_NUM);
add_embedded_arg("radius", ID_TYPE_NUM);
embed_function("RemoveSceneSky", ID_TYPE_SUB);
embed_function("SetWorld3DMaxSubSteps", ID_TYPE_SUB);
add_embedded_arg("steps", ID_TYPE_NUM);
embed_function("SetWorld3DTimeStep", ID_TYPE_SUB);
add_embedded_arg("ts", ID_TYPE_NUM);
embed_function("GetWorld3DMaxSubSteps", ID_TYPE_FN_NUM);
embed_function("GetWorld3DTimeStep", ID_TYPE_FN_NUM);
embed_function("SetSceneFog", ID_TYPE_SUB);
add_embedded_arg("color", ID_TYPE_NUM);
add_embedded_arg("fog_type", ID_TYPE_NUM);
add_embedded_arg("start_val", ID_TYPE_NUM);
add_embedded_arg("end_val", ID_TYPE_NUM);
add_embedded_arg("density", ID_TYPE_NUM);
add_embedded_arg("pixelFog", ID_TYPE_NUM);
add_embedded_arg("rangeFog", ID_TYPE_NUM);
embed_function("GetSceneFog", ID_TYPE_SUB);
add_embedded_arg("color", ID_TYPE_BYREF_NUM);
add_embedded_arg("fog_type", ID_TYPE_BYREF_NUM);
add_embedded_arg("start_val", ID_TYPE_BYREF_NUM);
add_embedded_arg("end_val", ID_TYPE_BYREF_NUM);
add_embedded_arg("density", ID_TYPE_BYREF_NUM);
add_embedded_arg("pixelFog", ID_TYPE_BYREF_NUM);
add_embedded_arg("rangeFog", ID_TYPE_BYREF_NUM);
embed_function("ClearScene", ID_TYPE_SUB);
embed_function("SetSceneShadowColor", ID_TYPE_SUB);
add_embedded_arg("color", ID_TYPE_NUM);
embed_function("GetSceneShadowColor", ID_TYPE_FN_NUM);
embed_function("SetSceneAmbientColor", ID_TYPE_SUB);
add_embedded_arg("color", ID_TYPE_NUM);
embed_function("GetSceneAmbientColor", ID_TYPE_FN_NUM);
embed_function("Pipeline_Begin", ID_TYPE_SUB);
embed_function("Pipeline_End", ID_TYPE_SUB);
embed_function("Pipeline_Render", ID_TYPE_SUB);
embed_function("SetPhysics3D", ID_TYPE_SUB);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("GetPhysics3D", ID_TYPE_FN_NUM);
embed_function("GetBillboardSize", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_BYREF_NUM);
add_embedded_arg("h", ID_TYPE_BYREF_NUM);
embed_function("SetBillboardSize", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
embed_function("startParticleEmitter", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("stopParticleEmitter", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("setParticleDirection", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("getParticleDirection", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("useParticleEveryMeshVertex", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("particleIsUsingEveryMeshVertex", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("setParticleNormalDirectionMod", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("nd_mod", ID_TYPE_NUM);
embed_function("getParticleNormalDirectionMod", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("useParticleNormalDirection", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("particleIsUsingNormalDirection", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("setParticleMesh", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("mesh", ID_TYPE_NUM);
embed_function("setMinParticlesPerSecond", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("minParticlesPerSecond", ID_TYPE_NUM);
embed_function("getMinParticlesPerSecond", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("setMaxParticlesPerSecond", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("maxParticlesPerSecond", ID_TYPE_NUM);
embed_function("getMaxParticlesPerSecond", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("setParticleMinStartColor", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("color", ID_TYPE_NUM);
embed_function("getParticleMinStartColor", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("setParticleMaxStartColor", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("color", ID_TYPE_NUM);
embed_function("getParticleMaxStartColor", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("setParticleMinLife", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("minLife", ID_TYPE_NUM);
embed_function("getParticleMinLife", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("setParticleMaxLife", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("maxLife", ID_TYPE_NUM);
embed_function("getParticleMaxLife", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("setParticleMaxAngle", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("maxAngle", ID_TYPE_NUM);
embed_function("getParticleMaxAngle", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("setParticleMinStartSize", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
embed_function("getParticleMinStartSize", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_BYREF_NUM);
add_embedded_arg("h", ID_TYPE_BYREF_NUM);
embed_function("setParticleMaxStartSize", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
embed_function("getParticleMaxStartSize", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("w", ID_TYPE_BYREF_NUM);
add_embedded_arg("h", ID_TYPE_BYREF_NUM);
embed_function("setParticleCenter", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("getParticleCenter", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("setParticleRadius", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("radius", ID_TYPE_NUM);
embed_function("getParticleRadius", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("setParticleRingThickness", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("ringThickness", ID_TYPE_NUM);
embed_function("getParticleRingThickness", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("setParticleBox", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("min_x", ID_TYPE_NUM);
add_embedded_arg("min_y", ID_TYPE_NUM);
add_embedded_arg("min_z", ID_TYPE_NUM);
add_embedded_arg("max_x", ID_TYPE_NUM);
add_embedded_arg("max_y", ID_TYPE_NUM);
add_embedded_arg("max_z", ID_TYPE_NUM);
embed_function("getParticleBox", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("min_x", ID_TYPE_BYREF_NUM);
add_embedded_arg("min_y", ID_TYPE_BYREF_NUM);
add_embedded_arg("min_z", ID_TYPE_BYREF_NUM);
add_embedded_arg("max_x", ID_TYPE_BYREF_NUM);
add_embedded_arg("max_y", ID_TYPE_BYREF_NUM);
add_embedded_arg("max_z", ID_TYPE_BYREF_NUM);
embed_function("setParticleNormal", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("getParticleNormal", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("setParticleLength", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("p_len", ID_TYPE_NUM);
embed_function("getParticleLength", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("useParticleOutlineOnly", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("particleIsUsingOutlineOnly", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("getParticleType", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("lightIsCastingShadow", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("getLightType", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("getLightRadius", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("setLightType", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("light_type", ID_TYPE_NUM);
embed_function("setLightRadius", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("radius", ID_TYPE_NUM);
embed_function("setLightShadowCast", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("SetLightAmbientColor", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("color", ID_TYPE_NUM);
embed_function("GetLightAmbientColor", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("SetLightAttenuation", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("l_constant", ID_TYPE_NUM);
add_embedded_arg("l_linear", ID_TYPE_NUM);
add_embedded_arg("l_quadratic", ID_TYPE_NUM);
embed_function("GetLightAttenuation", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("constant", ID_TYPE_BYREF_NUM);
add_embedded_arg("linear", ID_TYPE_BYREF_NUM);
add_embedded_arg("quadratic", ID_TYPE_BYREF_NUM);
embed_function("SetLightDiffuseColor", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("color", ID_TYPE_NUM);
embed_function("GetLightDiffuseColor", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("SetLightFalloff", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("falloff", ID_TYPE_NUM);
embed_function("GetLightFalloff", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("SetLightInnerCone", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("angle", ID_TYPE_NUM);
embed_function("GetLightInnerCone", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("SetLightOuterCone", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("angle", ID_TYPE_NUM);
embed_function("GetLightOuterCone", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("SetLightSpecularColor", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("color", ID_TYPE_NUM);
embed_function("GetLightSpecularColor", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("GetTerrainPatchAABB", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("patchX", ID_TYPE_NUM);
add_embedded_arg("patchZ", ID_TYPE_NUM);
add_embedded_arg("minX", ID_TYPE_BYREF_NUM);
add_embedded_arg("minY", ID_TYPE_BYREF_NUM);
add_embedded_arg("minZ", ID_TYPE_BYREF_NUM);
add_embedded_arg("maxX", ID_TYPE_BYREF_NUM);
add_embedded_arg("maxY", ID_TYPE_BYREF_NUM);
add_embedded_arg("maxZ", ID_TYPE_BYREF_NUM);
embed_function("GetTerrainPatchLOD", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("patchX", ID_TYPE_NUM);
add_embedded_arg("patchZ", ID_TYPE_NUM);
embed_function("GetTerrainHeight", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("patchX", ID_TYPE_NUM);
add_embedded_arg("patchZ", ID_TYPE_NUM);
embed_function("GetTerrainCenter", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("SetTerrainLODDistance", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("LOD", ID_TYPE_NUM);
add_embedded_arg("distance", ID_TYPE_NUM);
embed_function("ScaleTerrainTexture", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("scale", ID_TYPE_NUM);
add_embedded_arg("scale2", ID_TYPE_NUM);
embed_function("SetTerrainCameraMovementDelta", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("delta", ID_TYPE_NUM);
embed_function("SetTerrainCameraRotationDelta", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("delta", ID_TYPE_NUM);
embed_function("SetTerrainPatchLOD", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("patchX", ID_TYPE_NUM);
add_embedded_arg("patchZ", ID_TYPE_NUM);
add_embedded_arg("LOD", ID_TYPE_NUM);
embed_function("SetProjectorTarget", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("GetProjectorTarget", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("SetProjectorFOV", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("fov", ID_TYPE_NUM);
embed_function("GetProjectorFOV", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("SetProjectorTexture", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("img_id", ID_TYPE_NUM);
embed_function("GetProjectorTexture", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("AddProjectorEffectActor", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("tgt_actor", ID_TYPE_NUM);
embed_function("GetProjectorEffectActorCount", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("GetProjectorEffectActor", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("tgt_index", ID_TYPE_NUM);
embed_function("RemoveProjectorEffectActor", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("tgt_index", ID_TYPE_NUM);
embed_function("AddCompositeChild", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("child_actor", ID_TYPE_NUM);
add_embedded_arg("t_matrix", ID_TYPE_NUM);
embed_function("GetCompositeChildCount", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("GetCompositeChild", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("child_index", ID_TYPE_NUM);
embed_function("GetCompositeChildIndex", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("child_actor", ID_TYPE_NUM);
embed_function("RemoveCompositeChild", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("child_index", ID_TYPE_NUM);
embed_function("GetCompositeChildTransform", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("child_index", ID_TYPE_NUM);
add_embedded_arg("t_matrix", ID_TYPE_NUM);
embed_function("GetCompositeAABB", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("t_matrix", ID_TYPE_NUM);
add_embedded_arg("min_x", ID_TYPE_BYREF_NUM);
add_embedded_arg("min_y", ID_TYPE_BYREF_NUM);
add_embedded_arg("min_z", ID_TYPE_BYREF_NUM);
add_embedded_arg("max_x", ID_TYPE_BYREF_NUM);
add_embedded_arg("max_y", ID_TYPE_BYREF_NUM);
add_embedded_arg("max_z", ID_TYPE_BYREF_NUM);
embed_function("RecalculateCompositeAABB", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("GenerateCompositeAABBFromChildren", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("CalculateCompositePrincipalTransform", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("masses", ID_TYPE_BYREF_NUM);
add_embedded_arg("principal_matrix", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("UpdateCompositeChildTransform", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("child_index", ID_TYPE_NUM);
add_embedded_arg("t_matrix", ID_TYPE_NUM);
add_embedded_arg("recalc_flag", ID_TYPE_NUM);
embed_function("GetCompositeUpdateRevision", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("AddVehicleWheel", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel_actor", ID_TYPE_NUM);
add_embedded_arg("is_front_wheel", ID_TYPE_NUM);
embed_function("GetVehicleAxis", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("GetVehicleForwardVector", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("GetVehicleCurrentSpeed", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("GetWheelCount", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("GetVehicleChassisWorldTransform", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("t_matrix", ID_TYPE_NUM);
embed_function("GetWheelSteeringValue", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
embed_function("GetWheelWorldTransform", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("t_matrix", ID_TYPE_NUM);
embed_function("GetWheelConnectionPoint", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("GetWheelDirection", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("GetWheelAxel", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("y", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("GetWheelSuspensionLength", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
embed_function("GetWheelMaxSuspensionTravel", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
embed_function("GetWheelRadius", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
embed_function("GetWheelSuspensionStiffness", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
embed_function("GetWheelDampingCompression", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
embed_function("GetWheelDampingRelaxation", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
embed_function("GetWheelFrictionSlip", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
embed_function("GetWheelRotation", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
embed_function("GetWheelRotationDelta", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
embed_function("GetWheelRollInfluence", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
embed_function("GetWheelEngineForce", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
embed_function("GetWheelBrake", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
embed_function("WheelIsFront", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
embed_function("GetWheelInverseContactSuspension", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
embed_function("GetWheelSuspensionVelocity", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
embed_function("ResetVehicleSuspension", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("SetWheelSteeringValue", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("steering", ID_TYPE_NUM);
embed_function("ApplyWheelEngineForce", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("force", ID_TYPE_NUM);
embed_function("SetWheelBrake", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("brake", ID_TYPE_NUM);
embed_function("SetVehiclePitchControl", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("pitch", ID_TYPE_NUM);
embed_function("SetWheelConnectionPoint", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("SetWheelDirection", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("SetWheelAxel", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("y", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("SetWheelSuspensionLength", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("s_length", ID_TYPE_NUM);
embed_function("SetWheelMaxSuspensionTravel", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("max_travel", ID_TYPE_NUM);
embed_function("SetWheelRadius", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("radius", ID_TYPE_NUM);
embed_function("SetWheelSuspensionStiffness", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("stiffness", ID_TYPE_NUM);
embed_function("SetWheelDampingCompression", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("dcomp_value", ID_TYPE_NUM);
embed_function("SetWheelDampingRelaxation", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("drel_value", ID_TYPE_NUM);
embed_function("SetWheelFrictionSlip", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("fslip_value", ID_TYPE_NUM);
embed_function("SetWheelRotation", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("rot", ID_TYPE_NUM);
embed_function("SetWheelRollInfluence", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("roll_influence", ID_TYPE_NUM);
embed_function("SetWheelInverseContactSuspension", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("c_value", ID_TYPE_NUM);
embed_function("SetWheelSuspensionVelocity", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("velocity", ID_TYPE_NUM);
embed_function("SetWheelActorOffsetTransform", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("t_matrix", ID_TYPE_NUM);
embed_function("GetWheelActorOffsetTransform", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("wheel", ID_TYPE_NUM);
add_embedded_arg("t_matrix", ID_TYPE_NUM);
embed_function("GetVehiclePitchControl", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("createMaterial", ID_TYPE_FN_NUM);
embed_function("deleteMaterial", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setActorMaterial", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("material_num", ID_TYPE_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("getActorMaterial", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("material_num", ID_TYPE_NUM);
embed_function("copyActorMaterial", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("material_num", ID_TYPE_NUM);
embed_function("copyMaterial", ID_TYPE_FN_NUM);
add_embedded_arg("smaterial_id", ID_TYPE_NUM);
embed_function("setMaterialTextureCanvas", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("level", ID_TYPE_NUM);
add_embedded_arg("canvas_id", ID_TYPE_NUM);
embed_function("setMaterialAmbientColor", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("color", ID_TYPE_NUM);
embed_function("getMaterialAmbientColor", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setMaterialAntiAliasing", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("aa", ID_TYPE_NUM);
embed_function("getMaterialAntiAliasing", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setMaterialBackfaceCulling", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("getMaterialBackfaceCulling", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setMaterialBlendFactor", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("bf", ID_TYPE_NUM);
embed_function("getMaterialBlendFactor", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setMaterialBlendMode", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("blend_mode", ID_TYPE_NUM);
embed_function("getMaterialBlendMode", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setMaterialColorMask", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("color_mask", ID_TYPE_NUM);
embed_function("getMaterialColorMask", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setMaterialColorMode", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("color_mode", ID_TYPE_NUM);
embed_function("getMaterialColorMode", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setMaterialDiffuseColor", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("color", ID_TYPE_NUM);
embed_function("getMaterialDiffuseColor", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setMaterialEmissiveColor", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("color", ID_TYPE_NUM);
embed_function("getMaterialEmissiveColor", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setMaterialFog", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("getMaterialFog", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setMaterialFrontfaceCulling", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("getMaterialFrontfaceCulling", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setMaterialGouraudShading", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("materialIsGouraudShaded", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("materialIsAplhaBlend", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("materialIsTransparent", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setMaterialLighting", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("materialIsLit", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setMaterialType", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("mat_type", ID_TYPE_NUM);
embed_function("getMaterialType", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setMaterialNormalize", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("materialIsNormalized", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setMaterialPointCloud", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("materialIsPointCloud", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setMaterialFlag", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("material_flag", ID_TYPE_NUM);
add_embedded_arg("f_value", ID_TYPE_NUM);
embed_function("getMaterialFlag", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("material_flag", ID_TYPE_NUM);
embed_function("setMaterialTexture", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("level", ID_TYPE_NUM);
add_embedded_arg("img_id", ID_TYPE_NUM);
embed_function("setMaterialShininess", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("shininess", ID_TYPE_NUM);
embed_function("getMaterialShininess", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setMaterialSpecularColor", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("color", ID_TYPE_NUM);
embed_function("getMaterialSpecularColor", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setMaterialThickness", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("thickness", ID_TYPE_NUM);
embed_function("getMaterialThickness", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setMaterialWireframe", ID_TYPE_SUB);
add_embedded_arg("material_id", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("materialIsWireframe", ID_TYPE_FN_NUM);
add_embedded_arg("material_id", ID_TYPE_NUM);
embed_function("setActorTexture", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("layer", ID_TYPE_NUM);
add_embedded_arg("image_id", ID_TYPE_NUM);
embed_function("getActorMaterialCount", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("setActorMaterialFlag", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
add_embedded_arg("flag_value", ID_TYPE_NUM);
embed_function("getActorMaterialFlag", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("material", ID_TYPE_NUM);
add_embedded_arg("flag", ID_TYPE_NUM);
embed_function("setActorMaterialType", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("material_type", ID_TYPE_NUM);
embed_function("getActorMaterialType", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("material", ID_TYPE_NUM);
embed_function("MaterialExists", ID_TYPE_FN_NUM);
add_embedded_arg("material", ID_TYPE_NUM);
embed_function("NumMaterialConstants", ID_TYPE_FN_NUM);
add_embedded_arg("material_type", ID_TYPE_NUM);
embed_function("GetMaterialConstantName$", ID_TYPE_FN_STR);
add_embedded_arg("material_type", ID_TYPE_NUM);
add_embedded_arg("index", ID_TYPE_NUM);
embed_function("SetMaterialConstant", ID_TYPE_SUB);
add_embedded_arg("material", ID_TYPE_NUM);
add_embedded_arg("m_constant$", ID_TYPE_STR);
add_embedded_arg("n1", ID_TYPE_NUM);
add_embedded_arg("n2", ID_TYPE_NUM);
add_embedded_arg("n3", ID_TYPE_NUM);
add_embedded_arg("n4", ID_TYPE_NUM);
embed_function("GetMaterialConstant", ID_TYPE_SUB);
add_embedded_arg("material", ID_TYPE_NUM);
add_embedded_arg("m_constant$", ID_TYPE_STR);
add_embedded_arg("n1", ID_TYPE_BYREF_NUM);
add_embedded_arg("n2", ID_TYPE_BYREF_NUM);
add_embedded_arg("n3", ID_TYPE_BYREF_NUM);
add_embedded_arg("n4", ID_TYPE_BYREF_NUM);
}
void init_embedded_types()
{
create_type("empty");
}
void init_embedded_variables()
{
}
#endif // RC_BUILTIN_H_INCLUDED