Files
RCBASIC4/rcbasic_build/rc_builtin2.h
2024-09-15 10:55:15 -04:00

2522 lines
110 KiB
C

#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("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);
embed_function("ClearStack_S", ID_TYPE_SUB);
embed_function("DeleteStack_N", ID_TYPE_SUB);
add_embedded_arg("stack_id", ID_TYPE_NUM);
embed_function("DeleteStack_S", ID_TYPE_SUB);
add_embedded_arg("stack_id", ID_TYPE_NUM);
embed_function("Stack_N", ID_TYPE_SUB);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Stack_S", ID_TYPE_SUB);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Push_N", ID_TYPE_SUB);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("Pop_N", ID_TYPE_FN_NUM);
embed_function("Push_S", ID_TYPE_SUB);
add_embedded_arg("s$", ID_TYPE_STR);
embed_function("Pop_S$", ID_TYPE_FN_STR);
embed_function("Stack_Size_N", ID_TYPE_FN_NUM);
embed_function("Stack_Size_S", ID_TYPE_FN_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("SetWindowBorder", 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);
embed_function("WindowIsGrabbed", ID_TYPE_FN_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("SetCanvas3D", ID_TYPE_SUB);
add_embedded_arg("c_num", ID_TYPE_NUM);
add_embedded_arg("flag", 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_FN_NUM);
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_SUB);
add_embedded_arg("src", ID_TYPE_NUM);
add_embedded_arg("dst", 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("GetCanvasZ", 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("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("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("getImageBuffer", ID_TYPE_SUB);
add_embedded_arg("img_id", 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);
add_embedded_arg("blend_mode", ID_TYPE_NUM);
embed_function("SetImageColorMod", ID_TYPE_FN_NUM);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("c", ID_TYPE_NUM);
embed_function("ImageColorMod", 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("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("SoundFromBuffer", 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("RenderText", ID_TYPE_SUB);
add_embedded_arg("slot", ID_TYPE_NUM);
add_embedded_arg("txt$", ID_TYPE_STR);
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("GetTextWidth", ID_TYPE_FN_NUM);
add_embedded_arg("txt$", ID_TYPE_STR);
embed_function("GetTextHeight", ID_TYPE_FN_NUM);
add_embedded_arg("txt$", ID_TYPE_STR);
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("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("sData$", ID_TYPE_BYREF_STR);
add_embedded_arg("numBytes", ID_TYPE_NUM);
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);
add_embedded_arg("client", 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("sData$", ID_TYPE_BYREF_STR);
add_embedded_arg("host$", ID_TYPE_BYREF_STR);
add_embedded_arg("port", ID_TYPE_BYREF_NUM);
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("sData$", ID_TYPE_STR);
add_embedded_arg("host$", ID_TYPE_STR);
add_embedded_arg("port", ID_TYPE_NUM);
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("SetVideoAlpha", ID_TYPE_SUB);
add_embedded_arg("a", ID_TYPE_NUM);
embed_function("SetVideoVolume", ID_TYPE_SUB);
add_embedded_arg("vol", ID_TYPE_NUM);
embed_function("GetVideoVolume", ID_TYPE_FN_NUM);
add_embedded_arg("vol", ID_TYPE_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("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("IdentityMatrix", 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("GetMatrix", 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("ClipboardText$", 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_Text$", 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);
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("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("CreateMeshActor", ID_TYPE_FN_NUM);
add_embedded_arg("mesh", ID_TYPE_NUM);
embed_function("CreateMeshOctreeActor", 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("CreateWaterPlaneActor", ID_TYPE_FN_NUM);
add_embedded_arg("w", ID_TYPE_NUM);
add_embedded_arg("h", 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("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("TranslateActor", 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("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("SetActorCollisionShape", 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("GetActorCollisionShape", 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);
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("getActorCOMPosition", 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("getActorLinearVelocity", 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("getActorAngularVelocity", 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("getActorLocalPointVelocity", 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("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("setConstraintPivotA", 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("setConstraintPivotB", 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("pxA", ID_TYPE_NUM);
add_embedded_arg("pyA", ID_TYPE_NUM);
add_embedded_arg("pzA", ID_TYPE_NUM);
add_embedded_arg("axA", ID_TYPE_NUM);
add_embedded_arg("ayA", ID_TYPE_NUM);
add_embedded_arg("azA", 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("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);
add_embedded_arg("axA", ID_TYPE_NUM);
add_embedded_arg("ayA", ID_TYPE_NUM);
add_embedded_arg("azA", ID_TYPE_NUM);
add_embedded_arg("axB", ID_TYPE_NUM);
add_embedded_arg("ayB", ID_TYPE_NUM);
add_embedded_arg("azB", 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("setConstraintAxis", 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("getConstraintLimitBiasFactor", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getLimitRelaxationFactor", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintLimitSign", 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("getConstraintPivotA", 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("getConstraintPivotB", 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("getConstraintBiasFactor", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintDamping", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintFixThresh", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintLimit", 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("getConstraintAnglePoint", 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("getConstraintSolveSwingLimit", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintSolveTwistLimit", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintSolveLimit", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintSwingSpan1", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintSwingSpan2", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintTwistAngle", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintTwistLimitSign", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintTwistSpan", 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("setConstraintDamping", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("damping", ID_TYPE_NUM);
embed_function("setConstraintFixThresh", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("fixThresh", ID_TYPE_NUM);
embed_function("getConstraintAnchorA", 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("getConstraintAnchorB", 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("getConstraintAngDepth", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintAngularPos", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintDampingDirAng", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintDampingDirLin", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintDampingLimAng", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintDampingLimLin", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintDampingOrthoAng", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintDampingOrthoLin", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintLinearPos", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintLinDepth", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintLowerAngLimit", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintLowerLinLimit", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintRestitutionDirAng", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintRestitutionDirLin", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintRestitutionLimAng", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintRestitutionLimLin", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintRestitutionOrthoAng", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintRestitutionOrthoLin", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintSoftnessDirAng", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintSoftnessDirLin", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintSoftnessLimAng", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintSoftnessLimLin", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintSoftnessOrthoAng", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintSoftnessOrthoLin", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintSolveAngLimit", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintSolveLinLimit", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintUpperAngLimit", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintUpperLinLimit", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("getConstraintUseFrameOffset", ID_TYPE_FN_NUM);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
embed_function("setConstraintDampingDirAng", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintDampingDirLin", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintDampingLimAng", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintDampingLimLin", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintDampingOrthoAng", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintDampingOrthoLin", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintLowerAngLimit", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintLowerLinLimit", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintRestitutionDirAng", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintRestitutionDirLin", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintRestitutionLimAng", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintRestitutionLimLin", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintRestitutionOrthoAng", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintRestitutionOrthoLin", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintSoftnessDirAng", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintSoftnessDirLin", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintSoftnessLimAng", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintSoftnessLimLin", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintSoftnessOrthoAng", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintSoftnessOrthoLin", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintUpperAngLimit", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", ID_TYPE_NUM);
embed_function("setConstraintUpperLinLimit", ID_TYPE_SUB);
add_embedded_arg("constraint_id", ID_TYPE_NUM);
add_embedded_arg("n", 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("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("SetWorld3DDeltaTime", ID_TYPE_SUB);
add_embedded_arg("dt", ID_TYPE_NUM);
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("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);
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("setParticleMinParticlesPerSecond", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("minParticlesPerSecond", ID_TYPE_NUM);
embed_function("getParticleMinParticlesPerSecond", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("setParticleMaxParticlesPerSecond", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("maxParticlesPerSecond", ID_TYPE_NUM);
embed_function("getParticleMaxParticlesPerSecond", 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("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("setWaterWindForce", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("f", ID_TYPE_NUM);
embed_function("getWaterWindForce", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("setWaterWaveHeight", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("h", ID_TYPE_NUM);
embed_function("getWaterWaveHeight", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("setWaterWindDirection", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_NUM);
add_embedded_arg("z", ID_TYPE_NUM);
embed_function("getWaterWindDirection", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("x", ID_TYPE_BYREF_NUM);
add_embedded_arg("z", ID_TYPE_BYREF_NUM);
embed_function("setWaterColor", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("c", ID_TYPE_NUM);
embed_function("getWaterColor", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("setWaterColorBlendFactor", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("cbfactor", ID_TYPE_NUM);
embed_function("getWaterColorBlendFactor", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("SetActorAnimation", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("start_frame", ID_TYPE_NUM);
add_embedded_arg("end_frame", ID_TYPE_NUM);
embed_function("SetActorAnimationSpeed", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("speed", 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("SetActorMD2Animation", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("anim", ID_TYPE_NUM);
embed_function("SetActorMD2AnimationByName", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("anim_name$", ID_TYPE_STR);
embed_function("GetActorAnimationSpeed", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("GetActorEndFrame", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("GetActorCurrentFrame", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("GetActorStartFrame", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("StartActorTransition", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("frame", ID_TYPE_NUM);
add_embedded_arg("transition_time", ID_TYPE_NUM);
embed_function("StopActorTransition", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("ActorIsInTransition", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("GetActorTransitionTime", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("actorAnimationIsLooped", ID_TYPE_FN_NUM);
add_embedded_arg("actor", ID_TYPE_NUM);
embed_function("loopActorAnimation", ID_TYPE_SUB);
add_embedded_arg("actor", ID_TYPE_NUM);
add_embedded_arg("flag", 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("materialGouraudShading", 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);
}
void init_embedded_types()
{
create_type("empty");
}
init_embedded_variables()
{
}
#endif // RC_BUILTIN_H_INCLUDED