summaryrefslogtreecommitdiffhomepage
path: root/parser/raylib_api.lua
diff options
context:
space:
mode:
authorgtrxAC <[email protected]>2022-01-04 15:06:10 +0200
committerGitHub <[email protected]>2022-01-04 14:06:10 +0100
commit2e3cfdcc2f5c70e82536caa57d4aa72e3f00fd40 (patch)
treee7ca42dc27f43b0e4fd58e3c90db48521eab2147 /parser/raylib_api.lua
parent2116a987456e07c3d1ed4e7ef8be3e4864e229cc (diff)
downloadraylib-2e3cfdcc2f5c70e82536caa57d4aa72e3f00fd40.tar.gz
raylib-2e3cfdcc2f5c70e82536caa57d4aa72e3f00fd40.zip
JSON parser: Use array for function params (#2255) (#2264)
* JSON parser: Use array for function params (#2255) * Parser: follow C convention of type before name
Diffstat (limited to 'parser/raylib_api.lua')
-rw-r--r--parser/raylib_api.lua2423
1 files changed, 1220 insertions, 1203 deletions
diff --git a/parser/raylib_api.lua b/parser/raylib_api.lua
index ba5086f2..f30d003d 100644
--- a/parser/raylib_api.lua
+++ b/parser/raylib_api.lua
@@ -5,13 +5,13 @@ return {
description = "Vector2, 2 components",
fields = {
{
- name = "x",
type = "float",
+ name = "x",
description = "Vector x component"
},
{
- name = "y",
type = "float",
+ name = "y",
description = "Vector y component"
}
}
@@ -21,18 +21,18 @@ return {
description = "Vector3, 3 components",
fields = {
{
- name = "x",
type = "float",
+ name = "x",
description = "Vector x component"
},
{
- name = "y",
type = "float",
+ name = "y",
description = "Vector y component"
},
{
- name = "z",
type = "float",
+ name = "z",
description = "Vector z component"
}
}
@@ -42,23 +42,23 @@ return {
description = "Vector4, 4 components",
fields = {
{
- name = "x",
type = "float",
+ name = "x",
description = "Vector x component"
},
{
- name = "y",
type = "float",
+ name = "y",
description = "Vector y component"
},
{
- name = "z",
type = "float",
+ name = "z",
description = "Vector z component"
},
{
- name = "w",
type = "float",
+ name = "w",
description = "Vector w component"
}
}
@@ -68,23 +68,23 @@ return {
description = "Matrix, 4x4 components, column major, OpenGL style, right handed",
fields = {
{
- name = "m0, m4, m8, m12",
type = "float",
+ name = "m0, m4, m8, m12",
description = "Matrix first row (4 components)"
},
{
- name = "m1, m5, m9, m13",
type = "float",
+ name = "m1, m5, m9, m13",
description = "Matrix second row (4 components)"
},
{
- name = "m2, m6, m10, m14",
type = "float",
+ name = "m2, m6, m10, m14",
description = "Matrix third row (4 components)"
},
{
- name = "m3, m7, m11, m15",
type = "float",
+ name = "m3, m7, m11, m15",
description = "Matrix fourth row (4 components)"
}
}
@@ -94,23 +94,23 @@ return {
description = "Color, 4 components, R8G8B8A8 (32bit)",
fields = {
{
- name = "r",
type = "unsigned char",
+ name = "r",
description = "Color red value"
},
{
- name = "g",
type = "unsigned char",
+ name = "g",
description = "Color green value"
},
{
- name = "b",
type = "unsigned char",
+ name = "b",
description = "Color blue value"
},
{
- name = "a",
type = "unsigned char",
+ name = "a",
description = "Color alpha value"
}
}
@@ -120,23 +120,23 @@ return {
description = "Rectangle, 4 components",
fields = {
{
- name = "x",
type = "float",
+ name = "x",
description = "Rectangle top-left corner position x"
},
{
- name = "y",
type = "float",
+ name = "y",
description = "Rectangle top-left corner position y"
},
{
- name = "width",
type = "float",
+ name = "width",
description = "Rectangle width"
},
{
- name = "height",
type = "float",
+ name = "height",
description = "Rectangle height"
}
}
@@ -146,28 +146,28 @@ return {
description = "Image, pixel data stored in CPU memory (RAM)",
fields = {
{
- name = "data",
type = "void *",
+ name = "data",
description = "Image raw data"
},
{
- name = "width",
type = "int",
+ name = "width",
description = "Image base width"
},
{
- name = "height",
type = "int",
+ name = "height",
description = "Image base height"
},
{
- name = "mipmaps",
type = "int",
+ name = "mipmaps",
description = "Mipmap levels, 1 by default"
},
{
- name = "format",
type = "int",
+ name = "format",
description = "Data format (PixelFormat type)"
}
}
@@ -177,28 +177,28 @@ return {
description = "Texture, tex data stored in GPU memory (VRAM)",
fields = {
{
- name = "id",
type = "unsigned int",
+ name = "id",
description = "OpenGL texture id"
},
{
- name = "width",
type = "int",
+ name = "width",
description = "Texture base width"
},
{
- name = "height",
type = "int",
+ name = "height",
description = "Texture base height"
},
{
- name = "mipmaps",
type = "int",
+ name = "mipmaps",
description = "Mipmap levels, 1 by default"
},
{
- name = "format",
type = "int",
+ name = "format",
description = "Data format (PixelFormat type)"
}
}
@@ -208,18 +208,18 @@ return {
description = "RenderTexture, fbo for texture rendering",
fields = {
{
- name = "id",
type = "unsigned int",
+ name = "id",
description = "OpenGL framebuffer object id"
},
{
- name = "texture",
type = "Texture",
+ name = "texture",
description = "Color buffer attachment texture"
},
{
- name = "depth",
type = "Texture",
+ name = "depth",
description = "Depth buffer attachment texture"
}
}
@@ -229,33 +229,33 @@ return {
description = "NPatchInfo, n-patch layout info",
fields = {
{
- name = "source",
type = "Rectangle",
+ name = "source",
description = "Texture source rectangle"
},
{
- name = "left",
type = "int",
+ name = "left",
description = "Left border offset"
},
{
- name = "top",
type = "int",
+ name = "top",
description = "Top border offset"
},
{
- name = "right",
type = "int",
+ name = "right",
description = "Right border offset"
},
{
- name = "bottom",
type = "int",
+ name = "bottom",
description = "Bottom border offset"
},
{
- name = "layout",
type = "int",
+ name = "layout",
description = "Layout of the n-patch: 3x3, 1x3 or 3x1"
}
}
@@ -265,28 +265,28 @@ return {
description = "GlyphInfo, font characters glyphs info",
fields = {
{
- name = "value",
type = "int",
+ name = "value",
description = "Character value (Unicode)"
},
{
- name = "offsetX",
type = "int",
+ name = "offsetX",
description = "Character offset X when drawing"
},
{
- name = "offsetY",
type = "int",
+ name = "offsetY",
description = "Character offset Y when drawing"
},
{
- name = "advanceX",
type = "int",
+ name = "advanceX",
description = "Character advance position X"
},
{
- name = "image",
type = "Image",
+ name = "image",
description = "Character image data"
}
}
@@ -296,33 +296,33 @@ return {
description = "Font, font texture and GlyphInfo array data",
fields = {
{
- name = "baseSize",
type = "int",
+ name = "baseSize",
description = "Base size (default chars height)"
},
{
- name = "glyphCount",
type = "int",
+ name = "glyphCount",
description = "Number of glyph characters"
},
{
- name = "glyphPadding",
type = "int",
+ name = "glyphPadding",
description = "Padding around the glyph characters"
},
{
- name = "texture",
type = "Texture2D",
+ name = "texture",
description = "Texture atlas containing the glyphs"
},
{
- name = "recs",
type = "Rectangle *",
+ name = "recs",
description = "Rectangles in texture for the glyphs"
},
{
- name = "glyphs",
type = "GlyphInfo *",
+ name = "glyphs",
description = "Glyphs info data"
}
}
@@ -332,28 +332,28 @@ return {
description = "Camera, defines position/orientation in 3d space",
fields = {
{
- name = "position",
type = "Vector3",
+ name = "position",
description = "Camera position"
},
{
- name = "target",
type = "Vector3",
+ name = "target",
description = "Camera target it looks-at"
},
{
- name = "up",
type = "Vector3",
+ name = "up",
description = "Camera up vector (rotation over its axis)"
},
{
- name = "fovy",
type = "float",
+ name = "fovy",
description = "Camera field-of-view apperture in Y (degrees) in perspective, used as near plane width in orthographic"
},
{
- name = "projection",
type = "int",
+ name = "projection",
description = "Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC"
}
}
@@ -363,23 +363,23 @@ return {
description = "Camera2D, defines position/orientation in 2d space",
fields = {
{
- name = "offset",
type = "Vector2",
+ name = "offset",
description = "Camera offset (displacement from target)"
},
{
- name = "target",
type = "Vector2",
+ name = "target",
description = "Camera target (rotation and zoom origin)"
},
{
- name = "rotation",
type = "float",
+ name = "rotation",
description = "Camera rotation in degrees"
},
{
- name = "zoom",
type = "float",
+ name = "zoom",
description = "Camera zoom (scaling), should be 1.0f by default"
}
}
@@ -389,78 +389,78 @@ return {
description = "Mesh, vertex data and vao/vbo",
fields = {
{
- name = "vertexCount",
type = "int",
+ name = "vertexCount",
description = "Number of vertices stored in arrays"
},
{
- name = "triangleCount",
type = "int",
+ name = "triangleCount",
description = "Number of triangles stored (indexed or not)"
},
{
- name = "vertices",
type = "float *",
+ name = "vertices",
description = "Vertex position (XYZ - 3 components per vertex) (shader-location = 0)"
},
{
- name = "texcoords",
type = "float *",
+ name = "texcoords",
description = "Vertex texture coordinates (UV - 2 components per vertex) (shader-location = 1)"
},
{
- name = "texcoords2",
type = "float *",
+ name = "texcoords2",
description = "Vertex second texture coordinates (useful for lightmaps) (shader-location = 5)"
},
{
- name = "normals",
type = "float *",
+ name = "normals",
description = "Vertex normals (XYZ - 3 components per vertex) (shader-location = 2)"
},
{
- name = "tangents",
type = "float *",
+ name = "tangents",
description = "Vertex tangents (XYZW - 4 components per vertex) (shader-location = 4)"
},
{
- name = "colors",
type = "unsigned char *",
+ name = "colors",
description = "Vertex colors (RGBA - 4 components per vertex) (shader-location = 3)"
},
{
- name = "indices",
type = "unsigned short *",
+ name = "indices",
description = "Vertex indices (in case vertex data comes indexed)"
},
{
- name = "animVertices",
type = "float *",
+ name = "animVertices",
description = "Animated vertex positions (after bones transformations)"
},
{
- name = "animNormals",
type = "float *",
+ name = "animNormals",
description = "Animated normals (after bones transformations)"
},
{
- name = "boneIds",
type = "unsigned char *",
+ name = "boneIds",
description = "Vertex bone ids, max 255 bone ids, up to 4 bones influence by vertex (skinning)"
},
{
- name = "boneWeights",
type = "float *",
+ name = "boneWeights",
description = "Vertex bone weight, up to 4 bones influence by vertex (skinning)"
},
{
- name = "vaoId",
type = "unsigned int",
+ name = "vaoId",
description = "OpenGL Vertex Array Object id"
},
{
- name = "vboId",
type = "unsigned int *",
+ name = "vboId",
description = "OpenGL Vertex Buffer Objects id (default vertex data)"
}
}
@@ -470,13 +470,13 @@ return {
description = "Shader",
fields = {
{
- name = "id",
type = "unsigned int",
+ name = "id",
description = "Shader program id"
},
{
- name = "locs",
type = "int *",
+ name = "locs",
description = "Shader locations array (RL_MAX_SHADER_LOCATIONS)"
}
}
@@ -486,18 +486,18 @@ return {
description = "MaterialMap",
fields = {
{
- name = "texture",
type = "Texture2D",
+ name = "texture",
description = "Material map texture"
},
{
- name = "color",
type = "Color",
+ name = "color",
description = "Material map color"
},
{
- name = "value",
type = "float",
+ name = "value",
description = "Material map value"
}
}
@@ -507,18 +507,18 @@ return {
description = "Material, includes shader and maps",
fields = {
{
- name = "shader",
type = "Shader",
+ name = "shader",
description = "Material shader"
},
{
- name = "maps",
type = "MaterialMap *",
+ name = "maps",
description = "Material maps array (MAX_MATERIAL_MAPS)"
},
{
- name = "params[4]",
type = "float",
+ name = "params[4]",
description = "Material generic parameters (if required)"
}
}
@@ -528,18 +528,18 @@ return {
description = "Transform, vectex transformation data",
fields = {
{
- name = "translation",
type = "Vector3",
+ name = "translation",
description = "Translation"
},
{
- name = "rotation",
type = "Quaternion",
+ name = "rotation",
description = "Rotation"
},
{
- name = "scale",
type = "Vector3",
+ name = "scale",
description = "Scale"
}
}
@@ -549,13 +549,13 @@ return {
description = "Bone, skeletal animation bone",
fields = {
{
- name = "name[32]",
type = "char",
+ name = "name[32]",
description = "Bone name"
},
{
- name = "parent",
type = "int",
+ name = "parent",
description = "Bone parent"
}
}
@@ -565,48 +565,48 @@ return {
description = "Model, meshes, materials and animation data",
fields = {
{
- name = "transform",
type = "Matrix",
+ name = "transform",
description = "Local transform matrix"
},
{
- name = "meshCount",
type = "int",
+ name = "meshCount",
description = "Number of meshes"
},
{
- name = "materialCount",
type = "int",
+ name = "materialCount",
description = "Number of materials"
},
{
- name = "meshes",
type = "Mesh *",
+ name = "meshes",
description = "Meshes array"
},
{
- name = "materials",
type = "Material *",
+ name = "materials",
description = "Materials array"
},
{
- name = "meshMaterial",
type = "int *",
+ name = "meshMaterial",
description = "Mesh material number"
},
{
- name = "boneCount",
type = "int",
+ name = "boneCount",
description = "Number of bones"
},
{
- name = "bones",
type = "BoneInfo *",
+ name = "bones",
description = "Bones information (skeleton)"
},
{
- name = "bindPose",
type = "Transform *",
+ name = "bindPose",
description = "Bones base transformation (pose)"
}
}
@@ -616,23 +616,23 @@ return {
description = "ModelAnimation",
fields = {
{
- name = "boneCount",
type = "int",
+ name = "boneCount",
description = "Number of bones"
},
{
- name = "frameCount",
type = "int",
+ name = "frameCount",
description = "Number of animation frames"
},
{
- name = "bones",
type = "BoneInfo *",
+ name = "bones",
description = "Bones information (skeleton)"
},
{
- name = "framePoses",
type = "Transform **",
+ name = "framePoses",
description = "Poses array by frame"
}
}
@@ -642,13 +642,13 @@ return {
description = "Ray, ray for raycasting",
fields = {
{
- name = "position",
type = "Vector3",
+ name = "position",
description = "Ray position (origin)"
},
{
- name = "direction",
type = "Vector3",
+ name = "direction",
description = "Ray direction"
}
}
@@ -658,23 +658,23 @@ return {
description = "RayCollision, ray hit information",
fields = {
{
- name = "hit",
type = "bool",
+ name = "hit",
description = "Did the ray hit something?"
},
{
- name = "distance",
type = "float",
+ name = "distance",
description = "Distance to nearest hit"
},
{
- name = "point",
type = "Vector3",
+ name = "point",
description = "Point of nearest hit"
},
{
- name = "normal",
type = "Vector3",
+ name = "normal",
description = "Surface normal of hit"
}
}
@@ -684,13 +684,13 @@ return {
description = "BoundingBox",
fields = {
{
- name = "min",
type = "Vector3",
+ name = "min",
description = "Minimum vertex box-corner"
},
{
- name = "max",
type = "Vector3",
+ name = "max",
description = "Maximum vertex box-corner"
}
}
@@ -700,28 +700,28 @@ return {
description = "Wave, audio wave data",
fields = {
{
- name = "frameCount",
type = "unsigned int",
+ name = "frameCount",
description = "Total number of frames (considering channels)"
},
{
- name = "sampleRate",
type = "unsigned int",
+ name = "sampleRate",
description = "Frequency (samples per second)"
},
{
- name = "sampleSize",
type = "unsigned int",
+ name = "sampleSize",
description = "Bit depth (bits per sample): 8, 16, 32 (24 not supported)"
},
{
- name = "channels",
type = "unsigned int",
+ name = "channels",
description = "Number of channels (1-mono, 2-stereo, ...)"
},
{
- name = "data",
type = "void *",
+ name = "data",
description = "Buffer data pointer"
}
}
@@ -731,23 +731,23 @@ return {
description = "AudioStream, custom audio stream",
fields = {
{
- name = "buffer",
type = "rAudioBuffer *",
+ name = "buffer",
description = "Pointer to internal data used by the audio system"
},
{
- name = "sampleRate",
type = "unsigned int",
+ name = "sampleRate",
description = "Frequency (samples per second)"
},
{
- name = "sampleSize",
type = "unsigned int",
+ name = "sampleSize",
description = "Bit depth (bits per sample): 8, 16, 32 (24 not supported)"
},
{
- name = "channels",
type = "unsigned int",
+ name = "channels",
description = "Number of channels (1-mono, 2-stereo, ...)"
}
}
@@ -757,13 +757,13 @@ return {
description = "Sound",
fields = {
{
- name = "stream",
type = "AudioStream",
+ name = "stream",
description = "Audio stream"
},
{
- name = "frameCount",
type = "unsigned int",
+ name = "frameCount",
description = "Total number of frames (considering channels)"
}
}
@@ -773,28 +773,28 @@ return {
description = "Music, audio stream, anything longer than ~10 seconds should be streamed",
fields = {
{
- name = "stream",
type = "AudioStream",
+ name = "stream",
description = "Audio stream"
},
{
- name = "frameCount",
type = "unsigned int",
+ name = "frameCount",
description = "Total number of frames (considering channels)"
},
{
- name = "looping",
type = "bool",
+ name = "looping",
description = "Music looping enable"
},
{
- name = "ctxType",
type = "int",
+ name = "ctxType",
description = "Type of music context (audio filetype)"
},
{
- name = "ctxData",
type = "void *",
+ name = "ctxData",
description = "Audio context data, depends on type"
}
}
@@ -804,53 +804,53 @@ return {
description = "VrDeviceInfo, Head-Mounted-Display device parameters",
fields = {
{
- name = "hResolution",
type = "int",
+ name = "hResolution",
description = "Horizontal resolution in pixels"
},
{
- name = "vResolution",
type = "int",
+ name = "vResolution",
description = "Vertical resolution in pixels"
},
{
- name = "hScreenSize",
type = "float",
+ name = "hScreenSize",
description = "Horizontal size in meters"
},
{
- name = "vScreenSize",
type = "float",
+ name = "vScreenSize",
description = "Vertical size in meters"
},
{
- name = "vScreenCenter",
type = "float",
+ name = "vScreenCenter",
description = "Screen center in meters"
},
{
- name = "eyeToScreenDistance",
type = "float",
+ name = "eyeToScreenDistance",
description = "Distance between eye and display in meters"
},
{
- name = "lensSeparationDistance",
type = "float",
+ name = "lensSeparationDistance",
description = "Lens separation distance in meters"
},
{
- name = "interpupillaryDistance",
type = "float",
+ name = "interpupillaryDistance",
description = "IPD (distance between pupils) in meters"
},
{
- name = "lensDistortionValues[4]",
type = "float",
+ name = "lensDistortionValues[4]",
description = "Lens distortion constant parameters"
},
{
- name = "chromaAbCorrection[4]",
type = "float",
+ name = "chromaAbCorrection[4]",
description = "Chromatic aberration correction parameters"
}
}
@@ -860,43 +860,43 @@ return {
description = "VrStereoConfig, VR stereo rendering configuration for simulator",
fields = {
{
- name = "projection[2]",
type = "Matrix",
+ name = "projection[2]",
description = "VR projection matrices (per eye)"
},
{
- name = "viewOffset[2]",
type = "Matrix",
+ name = "viewOffset[2]",
description = "VR view offset matrices (per eye)"
},
{
- name = "leftLensCenter[2]",
type = "float",
+ name = "leftLensCenter[2]",
description = "VR left lens center"
},
{
- name = "rightLensCenter[2]",
type = "float",
+ name = "rightLensCenter[2]",
description = "VR right lens center"
},
{
- name = "leftScreenCenter[2]",
type = "float",
+ name = "leftScreenCenter[2]",
description = "VR left screen center"
},
{
- name = "rightScreenCenter[2]",
type = "float",
+ name = "rightScreenCenter[2]",
description = "VR right screen center"
},
{
- name = "scale[2]",
type = "float",
+ name = "scale[2]",
description = "VR distortion scale"
},
{
- name = "scaleIn[2]",
type = "float",
+ name = "scaleIn[2]",
description = "VR distortion scale in"
}
}
@@ -2491,9 +2491,9 @@ return {
description = "Initialize window and OpenGL context",
returnType = "void",
params = {
- {name = "width", type = "int"},
- {name = "height", type = "int"},
- {name = "title", type = "const char *"}
+ {type = "int", name = "width"},
+ {type = "int", name = "height"},
+ {type = "const char *", name = "title"}
}
},
{
@@ -2546,15 +2546,15 @@ return {
description = "Check if one specific window flag is enabled",
returnType = "bool",
params = {
- {name = "flag", type = "unsigned int"}
+ {type = "unsigned int", name = "flag"}
}
},
{
name = "SetWindowState",
- description = "Set window configuration state using flags",
+ description = "Set window configuration state using flags (only PLATFORM_DESKTOP)",
returnType = "void",
params = {
- {name = "flags", type = "unsigned int"}
+ {type = "unsigned int", name = "flags"}
}
},
{
@@ -2562,7 +2562,7 @@ return {
description = "Clear window configuration state flags",
returnType = "void",
params = {
- {name = "flags", type = "unsigned int"}
+ {type = "unsigned int", name = "flags"}
}
},
{
@@ -2590,7 +2590,7 @@ return {
description = "Set icon for window (only PLATFORM_DESKTOP)",
returnType = "void",
params = {
- {name = "image", type = "Image"}
+ {type = "Image", name = "image"}
}
},
{
@@ -2598,7 +2598,7 @@ return {
description = "Set title for window (only PLATFORM_DESKTOP)",
returnType = "void",
params = {
- {name = "title", type = "const char *"}
+ {type = "const char *", name = "title"}
}
},
{
@@ -2606,8 +2606,8 @@ return {
description = "Set window position on screen (only PLATFORM_DESKTOP)",
returnType = "void",
params = {
- {name = "x", type = "int"},
- {name = "y", type = "int"}
+ {type = "int", name = "x"},
+ {type = "int", name = "y"}
}
},
{
@@ -2615,7 +2615,7 @@ return {
description = "Set monitor for the current window (fullscreen mode)",
returnType = "void",
params = {
- {name = "monitor", type = "int"}
+ {type = "int", name = "monitor"}
}
},
{
@@ -2623,8 +2623,8 @@ return {
description = "Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE)",
returnType = "void",
params = {
- {name = "width", type = "int"},
- {name = "height", type = "int"}
+ {type = "int", name = "width"},
+ {type = "int", name = "height"}
}
},
{
@@ -2632,8 +2632,16 @@ return {
description = "Set window dimensions",
returnType = "void",
params = {
- {name = "width", type = "int"},
- {name = "height", type = "int"}
+ {type = "int", name = "width"},
+ {type = "int", name = "height"}
+ }
+ },
+ {
+ name = "SetWindowOpacity",
+ description = "Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP)",
+ returnType = "void",
+ params = {
+ {type = "float", name = "opacity"}
}
},
{
@@ -2676,7 +2684,7 @@ return {
description = "Get specified monitor position",
returnType = "Vector2",
params = {
- {name = "monitor", type = "int"}
+ {type = "int", name = "monitor"}
}
},
{
@@ -2684,7 +2692,7 @@ return {
description = "Get specified monitor width (max available by monitor)",
returnType = "int",
params = {
- {name = "monitor", type = "int"}
+ {type = "int", name = "monitor"}
}
},
{
@@ -2692,7 +2700,7 @@ return {
description = "Get specified monitor height (max available by monitor)",
returnType = "int",
params = {
- {name = "monitor", type = "int"}
+ {type = "int", name = "monitor"}
}
},
{
@@ -2700,7 +2708,7 @@ return {
description = "Get specified monitor physical width in millimetres",
returnType = "int",
params = {
- {name = "monitor", type = "int"}
+ {type = "int", name = "monitor"}
}
},
{
@@ -2708,7 +2716,7 @@ return {
description = "Get specified monitor physical height in millimetres",
returnType = "int",
params = {
- {name = "monitor", type = "int"}
+ {type = "int", name = "monitor"}
}
},
{
@@ -2716,7 +2724,7 @@ return {
description = "Get specified monitor refresh rate",
returnType = "int",
params = {
- {name = "monitor", type = "int"}
+ {type = "int", name = "monitor"}
}
},
{
@@ -2734,7 +2742,7 @@ return {
description = "Get the human-readable, UTF-8 encoded name of the primary monitor",
returnType = "const char *",
params = {
- {name = "monitor", type = "int"}
+ {type = "int", name = "monitor"}
}
},
{
@@ -2742,7 +2750,7 @@ return {
description = "Set clipboard text content",
returnType = "void",
params = {
- {name = "text", type = "const char *"}
+ {type = "const char *", name = "text"}
}
},
{
@@ -2765,7 +2773,7 @@ return {
description = "Wait for some milliseconds (halt program execution)",
returnType = "void",
params = {
- {name = "ms", type = "float"}
+ {type = "float", name = "ms"}
}
},
{
@@ -2803,7 +2811,7 @@ return {
description = "Set background color (framebuffer clear color)",
returnType = "void",
params = {
- {name = "color", type = "Color"}
+ {type = "Color", name = "color"}
}
},
{
@@ -2821,7 +2829,7 @@ return {
description = "Begin 2D mode with custom camera (2D)",
returnType = "void",
params = {
- {name = "camera", type = "Camera2D"}
+ {type = "Camera2D", name = "camera"}
}
},
{
@@ -2834,7 +2842,7 @@ return {
description = "Begin 3D mode with custom camera (3D)",
returnType = "void",
params = {
- {name = "camera", type = "Camera3D"}
+ {type = "Camera3D", name = "camera"}
}
},
{
@@ -2847,7 +2855,7 @@ return {
description = "Begin drawing to render texture",
returnType = "void",
params = {
- {name = "target", type = "RenderTexture2D"}
+ {type = "RenderTexture2D", name = "target"}
}
},
{
@@ -2860,7 +2868,7 @@ return {
description = "Begin custom shader drawing",
returnType = "void",
params = {
- {name = "shader", type = "Shader"}
+ {type = "Shader", name = "shader"}
}
},
{
@@ -2873,7 +2881,7 @@ return {
description = "Begin blending mode (alpha, additive, multiplied, subtract, custom)",
returnType = "void",
params = {
- {name = "mode", type = "int"}
+ {type = "int", name = "mode"}
}
},
{
@@ -2886,10 +2894,10 @@ return {
description = "Begin scissor mode (define screen area for following drawing)",
returnType = "void",
params = {
- {name = "x", type = "int"},
- {name = "y", type = "int"},
- {name = "width", type = "int"},
- {name = "height", type = "int"}
+ {type = "int", name = "x"},
+ {type = "int", name = "y"},
+ {type = "int", name = "width"},
+ {type = "int", name = "height"}
}
},
{
@@ -2902,7 +2910,7 @@ return {
description = "Begin stereo rendering (requires VR simulator)",
returnType = "void",
params = {
- {name = "config", type = "VrStereoConfig"}
+ {type = "VrStereoConfig", name = "config"}
}
},
{
@@ -2915,7 +2923,7 @@ return {
description = "Load VR stereo config for VR simulator device parameters",
returnType = "VrStereoConfig",
params = {
- {name = "device", type = "VrDeviceInfo"}
+ {type = "VrDeviceInfo", name = "device"}
}
},
{
@@ -2923,7 +2931,7 @@ return {
description = "Unload VR stereo config",
returnType = "void",
params = {
- {name = "config", type = "VrStereoConfig"}
+ {type = "VrStereoConfig", name = "config"}
}
},
{
@@ -2931,8 +2939,8 @@ return {
description = "Load shader from files and bind default locations",
returnType = "Shader",
params = {
- {name = "vsFileName", type = "const char *"},
- {name = "fsFileName", type = "const char *"}
+ {type = "const char *", name = "vsFileName"},
+ {type = "const char *", name = "fsFileName"}
}
},
{
@@ -2940,8 +2948,8 @@ return {
description = "Load shader from code strings and bind default locations",
returnType = "Shader",
params = {
- {name = "vsCode", type = "const char *"},
- {name = "fsCode", type = "const char *"}
+ {type = "const char *", name = "vsCode"},
+ {type = "const char *", name = "fsCode"}
}
},
{
@@ -2949,8 +2957,8 @@ return {
description = "Get shader uniform location",
returnType = "int",
params = {
- {name = "shader", type = "Shader"},
- {name = "uniformName", type = "const char *"}
+ {type = "Shader", name = "shader"},
+ {type = "const char *", name = "uniformName"}
}
},
{
@@ -2958,8 +2966,8 @@ return {
description = "Get shader attribute location",
returnType = "int",
params = {
- {name = "shader", type = "Shader"},
- {name = "attribName", type = "const char *"}
+ {type = "Shader", name = "shader"},
+ {type = "const char *", name = "attribName"}
}
},
{
@@ -2967,10 +2975,10 @@ return {
description = "Set shader uniform value",
returnType = "void",
params = {
- {name = "shader", type = "Shader"},
- {name = "locIndex", type = "int"},
- {name = "value", type = "const void *"},
- {name = "uniformType", type = "int"}
+ {type = "Shader", name = "shader"},
+ {type = "int", name = "locIndex"},
+ {type = "const void *", name = "value"},
+ {type = "int", name = "uniformType"}
}
},
{
@@ -2978,11 +2986,11 @@ return {
description = "Set shader uniform value vector",
returnType = "void",
params = {
- {name = "shader", type = "Shader"},
- {name = "locIndex", type = "int"},
- {name = "value", type = "const void *"},
- {name = "uniformType", type = "int"},
- {name = "count", type = "int"}
+ {type = "Shader", name = "shader"},
+ {type = "int", name = "locIndex"},
+ {type = "const void *", name = "value"},
+ {type = "int", name = "uniformType"},
+ {type = "int", name = "count"}
}
},
{
@@ -2990,9 +2998,9 @@ return {
description = "Set shader uniform value (matrix 4x4)",
returnType = "void",
params = {
- {name = "shader", type = "Shader"},
- {name = "locIndex", type = "int"},
- {name = "mat", type = "Matrix"}
+ {type = "Shader", name = "shader"},
+ {type = "int", name = "locIndex"},
+ {type = "Matrix", name = "mat"}
}
},
{
@@ -3000,9 +3008,9 @@ return {
description = "Set shader uniform value for texture (sampler2d)",
returnType = "void",
params = {
- {name = "shader", type = "Shader"},
- {name = "locIndex", type = "int"},
- {name = "texture", type = "Texture2D"}
+ {type = "Shader", name = "shader"},
+ {type = "int", name = "locIndex"},
+ {type = "Texture2D", name = "texture"}
}
},
{
@@ -3010,7 +3018,7 @@ return {
description = "Unload shader from GPU memory (VRAM)",
returnType = "void",
params = {
- {name = "shader", type = "Shader"}
+ {type = "Shader", name = "shader"}
}
},
{
@@ -3018,8 +3026,8 @@ return {
description = "Get a ray trace from mouse position",
returnType = "Ray",
params = {
- {name = "mousePosition", type = "Vector2"},
- {name = "camera", type = "Camera"}
+ {type = "Vector2", name = "mousePosition"},
+ {type = "Camera", name = "camera"}
}
},
{
@@ -3027,7 +3035,7 @@ return {
description = "Get camera transform matrix (view matrix)",
returnType = "Matrix",
params = {
- {name = "camera", type = "Camera"}
+ {type = "Camera", name = "camera"}
}
},
{
@@ -3035,7 +3043,7 @@ return {
description = "Get camera 2d transform matrix",
returnType = "Matrix",
params = {
- {name = "camera", type = "Camera2D"}
+ {type = "Camera2D", name = "camera"}
}
},
{
@@ -3043,8 +3051,8 @@ return {
description = "Get the screen space position for a 3d world space position",
returnType = "Vector2",
params = {
- {name = "position", type = "Vector3"},
- {name = "camera", type = "Camera"}
+ {type = "Vector3", name = "position"},
+ {type = "Camera", name = "camera"}
}
},
{
@@ -3052,10 +3060,10 @@ return {
description = "Get size position for a 3d world space position",
returnType = "Vector2",
params = {
- {name = "position", type = "Vector3"},
- {name = "camera", type = "Camera"},
- {name = "width", type = "int"},
- {name = "height", type = "int"}
+ {type = "Vector3", name = "position"},
+ {type = "Camera", name = "camera"},
+ {type = "int", name = "width"},
+ {type = "int", name = "height"}
}
},
{
@@ -3063,8 +3071,8 @@ return {
description = "Get the screen space position for a 2d camera world space position",
returnType = "Vector2",
params = {
- {name = "position", type = "Vector2"},
- {name = "camera", type = "Camera2D"}
+ {type = "Vector2", name = "position"},
+ {type = "Camera2D", name = "camera"}
}
},
{
@@ -3072,8 +3080,8 @@ return {
description = "Get the world space position for a 2d camera screen space position",
returnType = "Vector2",
params = {
- {name = "position", type = "Vector2"},
- {name = "camera", type = "Camera2D"}
+ {type = "Vector2", name = "position"},
+ {type = "Camera2D", name = "camera"}
}
},
{
@@ -3081,7 +3089,7 @@ return {
description = "Set target FPS (maximum)",
returnType = "void",
params = {
- {name = "fps", type = "int"}
+ {type = "int", name = "fps"}
}
},
{
@@ -3104,8 +3112,8 @@ return {
description = "Get a random value between min and max (both included)",
returnType = "int",
params = {
- {name = "min", type = "int"},
- {name = "max", type = "int"}
+ {type = "int", name = "min"},
+ {type = "int", name = "max"}
}
},
{
@@ -3113,7 +3121,7 @@ return {
description = "Set the seed for the random number generator",
returnType = "void",
params = {
- {name = "seed", type = "unsigned int"}
+ {type = "unsigned int", name = "seed"}
}
},
{
@@ -3121,7 +3129,7 @@ return {
description = "Takes a screenshot of current screen (filename extension defines format)",
returnType = "void",
params = {
- {name = "fileName", type = "const char *"}
+ {type = "const char *", name = "fileName"}
}
},
{
@@ -3129,7 +3137,7 @@ return {
description = "Setup init configuration flags (view FLAGS)",
returnType = "void",
params = {
- {name = "flags", type = "unsigned int"}
+ {type = "unsigned int", name = "flags"}
}
},
{
@@ -3137,9 +3145,9 @@ return {
description = "Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...)",
returnType = "void",
params = {
- {name = "logLevel", type = "int"},
- {name = "text", type = "const char *"},
- {name = "", type = ""}
+ {type = "int", name = "logLevel"},
+ {type = "const char *", name = "text"},
+ {type = "", name = ""}
}
},
{
@@ -3147,7 +3155,7 @@ return {
description = "Set the current threshold (minimum) log level",
returnType = "void",
params = {
- {name = "logLevel", type = "int"}
+ {type = "int", name = "logLevel"}
}
},
{
@@ -3155,7 +3163,7 @@ return {
description = "Internal memory allocator",
returnType = "void *",
params = {
- {name = "size", type = "int"}
+ {type = "int", name = "size"}
}
},
{
@@ -3163,8 +3171,8 @@ return {
description = "Internal memory reallocator",
returnType = "void *",
params = {
- {name = "ptr", type = "void *"},
- {name = "size", type = "int"}
+ {type = "void *", name = "ptr"},
+ {type = "int", name = "size"}
}
},
{
@@ -3172,7 +3180,7 @@ return {
description = "Internal memory free",
returnType = "void",
params = {
- {name = "ptr", type = "void *"}
+ {type = "void *", name = "ptr"}
}
},
{
@@ -3180,7 +3188,7 @@ return {
description = "Set custom trace log",
returnType = "void",
params = {
- {name = "callback", type = "TraceLogCallback"}
+ {type = "TraceLogCallback", name = "callback"}
}
},
{
@@ -3188,7 +3196,7 @@ return {
description = "Set custom file binary data loader",
returnType = "void",
params = {
- {name = "callback", type = "LoadFileDataCallback"}
+ {type = "LoadFileDataCallback", name = "callback"}
}
},
{
@@ -3196,7 +3204,7 @@ return {
description = "Set custom file binary data saver",
returnType = "void",
params = {
- {name = "callback", type = "SaveFileDataCallback"}
+ {type = "SaveFileDataCallback", name = "callback"}
}
},
{
@@ -3204,7 +3212,7 @@ return {
description = "Set custom file text data loader",
returnType = "void",
params = {
- {name = "callback", type = "LoadFileTextCallback"}
+ {type = "LoadFileTextCallback", name = "callback"}
}
},
{
@@ -3212,7 +3220,7 @@ return {
description = "Set custom file text data saver",
returnType = "void",
params = {
- {name = "callback", type = "SaveFileTextCallback"}
+ {type = "SaveFileTextCallback", name = "callback"}
}
},
{
@@ -3220,8 +3228,8 @@ return {
description = "Load file data as byte array (read)",
returnType = "unsigned char *",
params = {
- {name = "fileName", type = "const char *"},
- {name = "bytesRead", type = "unsigned int *"}
+ {type = "const char *", name = "fileName"},
+ {type = "unsigned int *", name = "bytesRead"}
}
},
{
@@ -3229,7 +3237,7 @@ return {
description = "Unload file data allocated by LoadFileData()",
returnType = "void",
params = {
- {name = "data", type = "unsigned char *"}
+ {type = "unsigned char *", name = "data"}
}
},
{
@@ -3237,9 +3245,9 @@ return {
description = "Save data to file from byte array (write), returns true on success",
returnType = "bool",
params = {
- {name = "fileName", type = "const char *"},
- {name = "data", type = "void *"},
- {name = "bytesToWrite", type = "unsigned int"}
+ {type = "const char *", name = "fileName"},
+ {type = "void *", name = "data"},
+ {type = "unsigned int", name = "bytesToWrite"}
}
},
{
@@ -3247,7 +3255,7 @@ return {
description = "Load text data from file (read), returns a '\\0' terminated string",
returnType = "char *",
params = {
- {name = "fileName", type = "const char *"}
+ {type = "const char *", name = "fileName"}
}
},
{
@@ -3255,7 +3263,7 @@ return {
description = "Unload file text data allocated by LoadFileText()",
returnType = "void",
params = {
- {name = "text", type = "char *"}
+ {type = "char *", name = "text"}
}
},
{
@@ -3263,8 +3271,8 @@ return {
description = "Save text data to file (write), string must be '\\0' terminated, returns true on success",
returnType = "bool",
params = {
- {name = "fileName", type = "const char *"},
- {name = "text", type = "char *"}
+ {type = "const char *", name = "fileName"},
+ {type = "char *", name = "text"}
}
},
{
@@ -3272,7 +3280,7 @@ return {
description = "Check if file exists",
returnType = "bool",
params = {
- {name = "fileName", type = "const char *"}
+ {type = "const char *", name = "fileName"}
}
},
{
@@ -3280,7 +3288,7 @@ return {
description = "Check if a directory path exists",
returnType = "bool",
params = {
- {name = "dirPath", type = "const char *"}
+ {type = "const char *", name = "dirPath"}
}
},
{
@@ -3288,8 +3296,8 @@ return {
description = "Check file extension (including point: .png, .wav)",
returnType = "bool",
params = {
- {name = "fileName", type = "const char *"},
- {name = "ext", type = "const char *"}
+ {type = "const char *", name = "fileName"},
+ {type = "const char *", name = "ext"}
}
},
{
@@ -3297,7 +3305,7 @@ return {
description = "Get pointer to extension for a filename string (includes dot: '.png')",
returnType = "const char *",
params = {
- {name = "fileName", type = "const char *"}
+ {type = "const char *", name = "fileName"}
}
},
{
@@ -3305,7 +3313,7 @@ return {
description = "Get pointer to filename for a path string",
returnType = "const char *",
params = {
- {name = "filePath", type = "const char *"}
+ {type = "const char *", name = "filePath"}
}
},
{
@@ -3313,7 +3321,7 @@ return {
description = "Get filename string without extension (uses static string)",
returnType = "const char *",
params = {
- {name = "filePath", type = "const char *"}
+ {type = "const char *", name = "filePath"}
}
},
{
@@ -3321,7 +3329,7 @@ return {
description = "Get full path for a given fileName with path (uses static string)",
returnType = "const char *",
params = {
- {name = "filePath", type = "const char *"}
+ {type = "const char *", name = "filePath"}
}
},
{
@@ -3329,7 +3337,7 @@ return {
description = "Get previous directory path for a given path (uses static string)",
returnType = "const char *",
params = {
- {name = "dirPath", type = "const char *"}
+ {type = "const char *", name = "dirPath"}
}
},
{
@@ -3342,8 +3350,8 @@ return {
description = "Get filenames in a directory path (memory should be freed)",
returnType = "char **",
params = {
- {name = "dirPath", type = "const char *"},
- {name = "count", type = "int *"}
+ {type = "const char *", name = "dirPath"},
+ {type = "int *", name = "count"}
}
},
{
@@ -3356,7 +3364,7 @@ return {
description = "Change working directory, return true on success",
returnType = "bool",
params = {
- {name = "dir", type = "const char *"}
+ {type = "const char *", name = "dir"}
}
},
{
@@ -3369,7 +3377,7 @@ return {
description = "Get dropped files names (memory should be freed)",
returnType = "char **",
params = {
- {name = "count", type = "int *"}
+ {type = "int *", name = "count"}
}
},
{
@@ -3382,7 +3390,7 @@ return {
description = "Get file modification time (last write time)",
returnType = "long",
params = {
- {name = "fileName", type = "const char *"}
+ {type = "const char *", name = "fileName"}
}
},
{
@@ -3390,9 +3398,9 @@ return {
description = "Compress data (DEFLATE algorithm)",
returnType = "unsigned char *",
params = {
- {name = "data", type = "unsigned char *"},
- {name = "dataLength", type = "int"},
- {name = "compDataLength", type = "int *"}
+ {type = "unsigned char *", name = "data"},
+ {type = "int", name = "dataLength"},
+ {type = "int *", name = "compDataLength"}
}
},
{
@@ -3400,9 +3408,9 @@ return {
description = "Decompress data (DEFLATE algorithm)",
returnType = "unsigned char *",
params = {
- {name = "compData", type = "unsigned char *"},
- {name = "compDataLength", type = "int"},
- {name = "dataLength", type = "int *"}
+ {type = "unsigned char *", name = "compData"},
+ {type = "int", name = "compDataLength"},
+ {type = "int *", name = "dataLength"}
}
},
{
@@ -3410,9 +3418,9 @@ return {
description = "Encode data to Base64 string",
returnType = "char *",
params = {
- {name = "data", type = "const unsigned char *"},
- {name = "dataLength", type = "int"},
- {name = "outputLength", type = "int *"}
+ {type = "const unsigned char *", name = "data"},
+ {type = "int", name = "dataLength"},
+ {type = "int *", name = "outputLength"}
}
},
{
@@ -3420,8 +3428,8 @@ return {
description = "Decode Base64 string data",
returnType = "unsigned char *",
params = {
- {name = "data", type = "unsigned char *"},
- {name = "outputLength", type = "int *"}
+ {type = "unsigned char *", name = "data"},
+ {type = "int *", name = "outputLength"}
}
},
{
@@ -3429,8 +3437,8 @@ return {
description = "Save integer value to storage file (to defined position), returns true on success",
returnType = "bool",
params = {
- {name = "position", type = "unsigned int"},
- {name = "value", type = "int"}
+ {type = "unsigned int", name = "position"},
+ {type = "int", name = "value"}
}
},
{
@@ -3438,7 +3446,7 @@ return {
description = "Load integer value from storage file (from defined position)",
returnType = "int",
params = {
- {name = "position", type = "unsigned int"}
+ {type = "unsigned int", name = "position"}
}
},
{
@@ -3446,7 +3454,7 @@ return {
description = "Open URL with default system browser (if available)",
returnType = "void",
params = {
- {name = "url", type = "const char *"}
+ {type = "const char *", name = "url"}
}
},
{
@@ -3454,7 +3462,7 @@ return {
description = "Check if a key has been pressed once",
returnType = "bool",
params = {
- {name = "key", type = "int"}
+ {type = "int", name = "key"}
}
},
{
@@ -3462,7 +3470,7 @@ return {
description = "Check if a key is being pressed",
returnType = "bool",
params = {
- {name = "key", type = "int"}
+ {type = "int", name = "key"}
}
},
{
@@ -3470,7 +3478,7 @@ return {
description = "Check if a key has been released once",
returnType = "bool",
params = {
- {name = "key", type = "int"}
+ {type = "int", name = "key"}
}
},
{
@@ -3478,7 +3486,7 @@ return {
description = "Check if a key is NOT being pressed",
returnType = "bool",
params = {
- {name = "key", type = "int"}
+ {type = "int", name = "key"}
}
},
{
@@ -3486,7 +3494,7 @@ return {
description = "Set a custom key to exit program (default is ESC)",
returnType = "void",
params = {
- {name = "key", type = "int"}
+ {type = "int", name = "key"}
}
},
{
@@ -3504,7 +3512,7 @@ return {
description = "Check if a gamepad is available",
returnType = "bool",
params = {
- {name = "gamepad", type = "int"}
+ {type = "int", name = "gamepad"}
}
},
{
@@ -3512,7 +3520,7 @@ return {
description = "Get gamepad internal name id",
returnType = "const char *",
params = {
- {name = "gamepad", type = "int"}
+ {type = "int", name = "gamepad"}
}
},
{
@@ -3520,8 +3528,8 @@ return {
description = "Check if a gamepad button has been pressed once",
returnType = "bool",
params = {
- {name = "gamepad", type = "int"},
- {name = "button", type = "int"}
+ {type = "int", name = "gamepad"},
+ {type = "int", name = "button"}
}
},
{
@@ -3529,8 +3537,8 @@ return {
description = "Check if a gamepad button is being pressed",
returnType = "bool",
params = {
- {name = "gamepad", type = "int"},
- {name = "button", type = "int"}
+ {type = "int", name = "gamepad"},
+ {type = "int", name = "button"}
}
},
{
@@ -3538,8 +3546,8 @@ return {
description = "Check if a gamepad button has been released once",
returnType = "bool",
params = {
- {name = "gamepad", type = "int"},
- {name = "button", type = "int"}
+ {type = "int", name = "gamepad"},
+ {type = "int", name = "button"}
}
},
{
@@ -3547,8 +3555,8 @@ return {
description = "Check if a gamepad button is NOT being pressed",
returnType = "bool",
params = {
- {name = "gamepad", type = "int"},
- {name = "button", type = "int"}
+ {type = "int", name = "gamepad"},
+ {type = "int", name = "button"}
}
},
{
@@ -3561,7 +3569,7 @@ return {
description = "Get gamepad axis count for a gamepad",
returnType = "int",
params = {
- {name = "gamepad", type = "int"}
+ {type = "int", name = "gamepad"}
}
},
{
@@ -3569,8 +3577,8 @@ return {
description = "Get axis movement value for a gamepad axis",
returnType = "float",
params = {
- {name = "gamepad", type = "int"},
- {name = "axis", type = "int"}
+ {type = "int", name = "gamepad"},
+ {type = "int", name = "axis"}
}
},
{
@@ -3578,7 +3586,7 @@ return {
description = "Set internal gamepad mappings (SDL_GameControllerDB)",
returnType = "int",
params = {
- {name = "mappings", type = "const char *"}
+ {type = "const char *", name = "mappings"}
}
},
{
@@ -3586,7 +3594,7 @@ return {
description = "Check if a mouse button has been pressed once",
returnType = "bool",
params = {
- {name = "button", type = "int"}
+ {type = "int", name = "button"}
}
},
{
@@ -3594,7 +3602,7 @@ return {
description = "Check if a mouse button is being pressed",
returnType = "bool",
params = {
- {name = "button", type = "int"}
+ {type = "int", name = "button"}
}
},
{
@@ -3602,7 +3610,7 @@ return {
description = "Check if a mouse button has been released once",
returnType = "bool",
params = {
- {name = "button", type = "int"}
+ {type = "int", name = "button"}
}
},
{
@@ -3610,7 +3618,7 @@ return {
description = "Check if a mouse button is NOT being pressed",
returnType = "bool",
params = {
- {name = "button", type = "int"}
+ {type = "int", name = "button"}
}
},
{
@@ -3638,8 +3646,8 @@ return {
description = "Set mouse position XY",
returnType = "void",
params = {
- {name = "x", type = "int"},
- {name = "y", type = "int"}
+ {type = "int", name = "x"},
+ {type = "int", name = "y"}
}
},
{
@@ -3647,8 +3655,8 @@ return {
description = "Set mouse offset",
returnType = "void",
params = {
- {name = "offsetX", type = "int"},
- {name = "offsetY", type = "int"}
+ {type = "int", name = "offsetX"},
+ {type = "int", name = "offsetY"}
}
},
{
@@ -3656,8 +3664,8 @@ return {
description = "Set mouse scaling",
returnType = "void",
params = {
- {name = "scaleX", type = "float"},
- {name = "scaleY", type = "float"}
+ {type = "float", name = "scaleX"},
+ {type = "float", name = "scaleY"}
}
},
{
@@ -3670,7 +3678,7 @@ return {
description = "Set mouse cursor",
returnType = "void",
params = {
- {name = "cursor", type = "int"}
+ {type = "int", name = "cursor"}
}
},
{
@@ -3688,7 +3696,7 @@ return {
description = "Get touch position XY for a touch point index (relative to screen size)",
returnType = "Vector2",
params = {
- {name = "index", type = "int"}
+ {type = "int", name = "index"}
}
},
{
@@ -3696,7 +3704,7 @@ return {
description = "Get touch point identifier for given index",
returnType = "int",
params = {
- {name = "index", type = "int"}
+ {type = "int", name = "index"}
}
},
{
@@ -3709,7 +3717,7 @@ return {
description = "Enable a set of gestures using flags",
returnType = "void",
params = {
- {name = "flags", type = "unsigned int"}
+ {type = "unsigned int", name = "flags"}
}
},
{
@@ -3717,7 +3725,7 @@ return {
description = "Check if a gesture have been detected",
returnType = "bool",
params = {
- {name = "gesture", type = "int"}
+ {type = "int", name = "gesture"}
}
},
{
@@ -3755,8 +3763,8 @@ return {
description = "Set camera mode (multiple camera modes available)",
returnType = "void",
params = {
- {name = "camera", type = "Camera"},
- {name = "mode", type = "int"}
+ {type = "Camera", name = "camera"},
+ {type = "int", name = "mode"}
}
},
{
@@ -3764,7 +3772,7 @@ return {
description = "Update camera position for selected mode",
returnType = "void",
params = {
- {name = "camera", type = "Camera *"}
+ {type = "Camera *", name = "camera"}
}
},
{
@@ -3772,7 +3780,7 @@ return {
description = "Set camera pan key to combine with mouse movement (free camera)",
returnType = "void",
params = {
- {name = "keyPan", type = "int"}
+ {type = "int", name = "keyPan"}
}
},
{
@@ -3780,7 +3788,7 @@ return {
description = "Set camera alt key to combine with mouse movement (free camera)",
returnType = "void",
params = {
- {name = "keyAlt", type = "int"}
+ {type = "int", name = "keyAlt"}
}
},
{
@@ -3788,7 +3796,7 @@ return {
description = "Set camera smooth zoom key to combine with mouse (free camera)",
returnType = "void",
params = {
- {name = "keySmoothZoom", type = "int"}
+ {type = "int", name = "keySmoothZoom"}
}
},
{
@@ -3796,12 +3804,12 @@ return {
description = "Set camera move controls (1st person and 3rd person cameras)",
returnType = "void",
params = {
- {name = "keyFront", type = "int"},
- {name = "keyBack", type = "int"},
- {name = "keyRight", type = "int"},
- {name = "keyLeft", type = "int"},
- {name = "keyUp", type = "int"},
- {name = "keyDown", type = "int"}
+ {type = "int", name = "keyFront"},
+ {type = "int", name = "keyBack"},
+ {type = "int", name = "keyRight"},
+ {type = "int", name = "keyLeft"},
+ {type = "int", name = "keyUp"},
+ {type = "int", name = "keyDown"}
}
},
{
@@ -3809,8 +3817,8 @@ return {
description = "Set texture and rectangle to be used on shapes drawing",
returnType = "void",
params = {
- {name = "texture", type = "Texture2D"},
- {name = "source", type = "Rectangle"}
+ {type = "Texture2D", name = "texture"},
+ {type = "Rectangle", name = "source"}
}
},
{
@@ -3818,9 +3826,9 @@ return {
description = "Draw a pixel",
returnType = "void",
params = {
- {name = "posX", type = "int"},
- {name = "posY", type = "int"},
- {name = "color", type = "Color"}
+ {type = "int", name = "posX"},
+ {type = "int", name = "posY"},
+ {type = "Color", name = "color"}
}
},
{
@@ -3828,8 +3836,8 @@ return {
description = "Draw a pixel (Vector version)",
returnType = "void",
params = {
- {name = "position", type = "Vector2"},
- {name = "color", type = "Color"}
+ {type = "Vector2", name = "position"},
+ {type = "Color", name = "color"}
}
},
{
@@ -3837,11 +3845,11 @@ return {
description = "Draw a line",
returnType = "void",
params = {
- {name = "startPosX", type = "int"},
- {name = "startPosY", type = "int"},
- {name = "endPosX", type = "int"},
- {name = "endPosY", type = "int"},
- {name = "color", type = "Color"}
+ {type = "int", name = "startPosX"},
+ {type = "int", name = "startPosY"},
+ {type = "int", name = "endPosX"},
+ {type = "int", name = "endPosY"},
+ {type = "Color", name = "color"}
}
},
{
@@ -3849,9 +3857,9 @@ return {
description = "Draw a line (Vector version)",
returnType = "void",
params = {
- {name = "startPos", type = "Vector2"},
- {name = "endPos", type = "Vector2"},
- {name = "color", type = "Color"}
+ {type = "Vector2", name = "startPos"},
+ {type = "Vector2", name = "endPos"},
+ {type = "Color", name = "color"}
}
},
{
@@ -3859,10 +3867,10 @@ return {
description = "Draw a line defining thickness",
returnType = "void",
params = {
- {name = "startPos", type = "Vector2"},
- {name = "endPos", type = "Vector2"},
- {name = "thick", type = "float"},
- {name = "color", type = "Color"}
+ {type = "Vector2", name = "startPos"},
+ {type = "Vector2", name = "endPos"},
+ {type = "float", name = "thick"},
+ {type = "Color", name = "color"}
}
},
{
@@ -3870,10 +3878,10 @@ return {
description = "Draw a line using cubic-bezier curves in-out",
returnType = "void",
params = {
- {name = "startPos", type = "Vector2"},
- {name = "endPos", type = "Vector2"},
- {name = "thick", type = "float"},
- {name = "color", type = "Color"}
+ {type = "Vector2", name = "startPos"},
+ {type = "Vector2", name = "endPos"},
+ {type = "float", name = "thick"},
+ {type = "Color", name = "color"}
}
},
{
@@ -3881,11 +3889,11 @@ return {
description = "Draw line using quadratic bezier curves with a control point",
returnType = "void",
params = {
- {name = "startPos", type = "Vector2"},
- {name = "endPos", type = "Vector2"},
- {name = "controlPos", type = "Vector2"},
- {name = "thick", type = "float"},
- {name = "color", type = "Color"}
+ {type = "Vector2", name = "startPos"},
+ {type = "Vector2", name = "endPos"},
+ {type = "Vector2", name = "controlPos"},
+ {type = "float", name = "thick"},
+ {type = "Color", name = "color"}
}
},
{
@@ -3893,12 +3901,12 @@ return {
description = "Draw line using cubic bezier curves with 2 control points",
returnType = "void",
params = {
- {name = "startPos", type = "Vector2"},
- {name = "endPos", type = "Vector2"},
- {name = "startControlPos", type = "Vector2"},
- {name = "endControlPos", type = "Vector2"},
- {name = "thick", type = "float"},
- {name = "color", type = "Color"}
+ {type = "Vector2", name = "startPos"},
+ {type = "Vector2", name = "endPos"},
+ {type = "Vector2", name = "startControlPos"},
+ {type = "Vector2", name = "endControlPos"},
+ {type = "float", name = "thick"},
+ {type = "Color", name = "color"}
}
},
{
@@ -3906,9 +3914,9 @@ return {
description = "Draw lines sequence",
returnType = "void",
params = {
- {name = "points", type = "Vector2 *"},
- {name = "pointCount", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Vector2 *", name = "points"},
+ {type = "int", name = "pointCount"},
+ {type = "Color", name = "color"}
}
},
{
@@ -3916,10 +3924,10 @@ return {
description = "Draw a color-filled circle",
returnType = "void",
params = {
- {name = "centerX", type = "int"},
- {name = "centerY", type = "int"},
- {name = "radius", type = "float"},
- {name = "color", type = "Color"}
+ {type = "int", name = "centerX"},
+ {type = "int", name = "centerY"},
+ {type = "float", name = "radius"},
+ {type = "Color", name = "color"}
}
},
{
@@ -3927,12 +3935,12 @@ return {
description = "Draw a piece of a circle",
returnType = "void",
params = {
- {name = "center", type = "Vector2"},
- {name = "radius", type = "float"},
- {name = "startAngle", type = "float"},
- {name = "endAngle", type = "float"},
- {name = "segments", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Vector2", name = "center"},
+ {type = "float", name = "radius"},
+ {type = "float", name = "startAngle"},
+ {type = "float", name = "endAngle"},
+ {type = "int", name = "segments"},
+ {type = "Color", name = "color"}
}
},
{
@@ -3940,12 +3948,12 @@ return {
description = "Draw circle sector outline",
returnType = "void",
params = {
- {name = "center", type = "Vector2"},
- {name = "radius", type = "float"},
- {name = "startAngle", type = "float"},
- {name = "endAngle", type = "float"},
- {name = "segments", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Vector2", name = "center"},
+ {type = "float", name = "radius"},
+ {type = "float", name = "startAngle"},
+ {type = "float", name = "endAngle"},
+ {type = "int", name = "segments"},
+ {type = "Color", name = "color"}
}
},
{
@@ -3953,11 +3961,11 @@ return {
description = "Draw a gradient-filled circle",
returnType = "void",
params = {
- {name = "centerX", type = "int"},
- {name = "centerY", type = "int"},
- {name = "radius", type = "float"},
- {name = "color1", type = "Color"},
- {name = "color2", type = "Color"}
+ {type = "int", name = "centerX"},
+ {type = "int", name = "centerY"},
+ {type = "float", name = "radius"},
+ {type = "Color", name = "color1"},
+ {type = "Color", name = "color2"}
}
},
{
@@ -3965,9 +3973,9 @@ return {
description = "Draw a color-filled circle (Vector version)",
returnType = "void",
params = {
- {name = "center", type = "Vector2"},
- {name = "radius", type = "float"},
- {name = "color", type = "Color"}
+ {type = "Vector2", name = "center"},
+ {type = "float", name = "radius"},
+ {type = "Color", name = "color"}
}
},
{
@@ -3975,10 +3983,10 @@ return {
description = "Draw circle outline",
returnType = "void",
params = {
- {name = "centerX", type = "int"},
- {name = "centerY", type = "int"},
- {name = "radius", type = "float"},
- {name = "color", type = "Color"}
+ {type = "int", name = "centerX"},
+ {type = "int", name = "centerY"},
+ {type = "float", name = "radius"},
+ {type = "Color", name = "color"}
}
},
{
@@ -3986,11 +3994,11 @@ return {
description = "Draw ellipse",
returnType = "void",
params = {
- {name = "centerX", type = "int"},
- {name = "centerY", type = "int"},
- {name = "radiusH", type = "float"},
- {name = "radiusV", type = "float"},
- {name = "color", type = "Color"}
+ {type = "int", name = "centerX"},
+ {type = "int", name = "centerY"},
+ {type = "float", name = "radiusH"},
+ {type = "float", name = "radiusV"},
+ {type = "Color", name = "color"}
}
},
{
@@ -3998,11 +4006,11 @@ return {
description = "Draw ellipse outline",
returnType = "void",
params = {
- {name = "centerX", type = "int"},
- {name = "centerY", type = "int"},
- {name = "radiusH", type = "float"},
- {name = "radiusV", type = "float"},
- {name = "color", type = "Color"}
+ {type = "int", name = "centerX"},
+ {type = "int", name = "centerY"},
+ {type = "float", name = "radiusH"},
+ {type = "float", name = "radiusV"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4010,13 +4018,13 @@ return {
description = "Draw ring",
returnType = "void",
params = {
- {name = "center", type = "Vector2"},
- {name = "innerRadius", type = "float"},
- {name = "outerRadius", type = "float"},
- {name = "startAngle", type = "float"},
- {name = "endAngle", type = "float"},
- {name = "segments", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Vector2", name = "center"},
+ {type = "float", name = "innerRadius"},
+ {type = "float", name = "outerRadius"},
+ {type = "float", name = "startAngle"},
+ {type = "float", name = "endAngle"},
+ {type = "int", name = "segments"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4024,13 +4032,13 @@ return {
description = "Draw ring outline",
returnType = "void",
params = {
- {name = "center", type = "Vector2"},
- {name = "innerRadius", type = "float"},
- {name = "outerRadius", type = "float"},
- {name = "startAngle", type = "float"},
- {name = "endAngle", type = "float"},
- {name = "segments", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Vector2", name = "center"},
+ {type = "float", name = "innerRadius"},
+ {type = "float", name = "outerRadius"},
+ {type = "float", name = "startAngle"},
+ {type = "float", name = "endAngle"},
+ {type = "int", name = "segments"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4038,11 +4046,11 @@ return {
description = "Draw a color-filled rectangle",
returnType = "void",
params = {
- {name = "posX", type = "int"},
- {name = "posY", type = "int"},
- {name = "width", type = "int"},
- {name = "height", type = "int"},
- {name = "color", type = "Color"}
+ {type = "int", name = "posX"},
+ {type = "int", name = "posY"},
+ {type = "int", name = "width"},
+ {type = "int", name = "height"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4050,9 +4058,9 @@ return {
description = "Draw a color-filled rectangle (Vector version)",
returnType = "void",
params = {
- {name = "position", type = "Vector2"},
- {name = "size", type = "Vector2"},
- {name = "color", type = "Color"}
+ {type = "Vector2", name = "position"},
+ {type = "Vector2", name = "size"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4060,8 +4068,8 @@ return {
description = "Draw a color-filled rectangle",
returnType = "void",
params = {
- {name = "rec", type = "Rectangle"},
- {name = "color", type = "Color"}
+ {type = "Rectangle", name = "rec"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4069,10 +4077,10 @@ return {
description = "Draw a color-filled rectangle with pro parameters",
returnType = "void",
params = {
- {name = "rec", type = "Rectangle"},
- {name = "origin", type = "Vector2"},
- {name = "rotation", type = "float"},
- {name = "color", type = "Color"}
+ {type = "Rectangle", name = "rec"},
+ {type = "Vector2", name = "origin"},
+ {type = "float", name = "rotation"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4080,12 +4088,12 @@ return {
description = "Draw a vertical-gradient-filled rectangle",
returnType = "void",
params = {
- {name = "posX", type = "int"},
- {name = "posY", type = "int"},
- {name = "width", type = "int"},
- {name = "height", type = "int"},
- {name = "color1", type = "Color"},
- {name = "color2", type = "Color"}
+ {type = "int", name = "posX"},
+ {type = "int", name = "posY"},
+ {type = "int", name = "width"},
+ {type = "int", name = "height"},
+ {type = "Color", name = "color1"},
+ {type = "Color", name = "color2"}
}
},
{
@@ -4093,12 +4101,12 @@ return {
description = "Draw a horizontal-gradient-filled rectangle",
returnType = "void",
params = {
- {name = "posX", type = "int"},
- {name = "posY", type = "int"},
- {name = "width", type = "int"},
- {name = "height", type = "int"},
- {name = "color1", type = "Color"},
- {name = "color2", type = "Color"}
+ {type = "int", name = "posX"},
+ {type = "int", name = "posY"},
+ {type = "int", name = "width"},
+ {type = "int", name = "height"},
+ {type = "Color", name = "color1"},
+ {type = "Color", name = "color2"}
}
},
{
@@ -4106,11 +4114,11 @@ return {
description = "Draw a gradient-filled rectangle with custom vertex colors",
returnType = "void",
params = {
- {name = "rec", type = "Rectangle"},
- {name = "col1", type = "Color"},
- {name = "col2", type = "Color"},
- {name = "col3", type = "Color"},
- {name = "col4", type = "Color"}
+ {type = "Rectangle", name = "rec"},
+ {type = "Color", name = "col1"},
+ {type = "Color", name = "col2"},
+ {type = "Color", name = "col3"},
+ {type = "Color", name = "col4"}
}
},
{
@@ -4118,11 +4126,11 @@ return {
description = "Draw rectangle outline",
returnType = "void",
params = {
- {name = "posX", type = "int"},
- {name = "posY", type = "int"},
- {name = "width", type = "int"},
- {name = "height", type = "int"},
- {name = "color", type = "Color"}
+ {type = "int", name = "posX"},
+ {type = "int", name = "posY"},
+ {type = "int", name = "width"},
+ {type = "int", name = "height"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4130,9 +4138,9 @@ return {
description = "Draw rectangle outline with extended parameters",
returnType = "void",
params = {
- {name = "rec", type = "Rectangle"},
- {name = "lineThick", type = "float"},
- {name = "color", type = "Color"}
+ {type = "Rectangle", name = "rec"},
+ {type = "float", name = "lineThick"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4140,10 +4148,10 @@ return {
description = "Draw rectangle with rounded edges",
returnType = "void",
params = {
- {name = "rec", type = "Rectangle"},
- {name = "roundness", type = "float"},
- {name = "segments", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Rectangle", name = "rec"},
+ {type = "float", name = "roundness"},
+ {type = "int", name = "segments"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4151,11 +4159,11 @@ return {
description = "Draw rectangle with rounded edges outline",
returnType = "void",
params = {
- {name = "rec", type = "Rectangle"},
- {name = "roundness", type = "float"},
- {name = "segments", type = "int"},
- {name = "lineThick", type = "float"},
- {name = "color", type = "Color"}
+ {type = "Rectangle", name = "rec"},
+ {type = "float", name = "roundness"},
+ {type = "int", name = "segments"},
+ {type = "float", name = "lineThick"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4163,10 +4171,10 @@ return {
description = "Draw a color-filled triangle (vertex in counter-clockwise order!)",
returnType = "void",
params = {
- {name = "v1", type = "Vector2"},
- {name = "v2", type = "Vector2"},
- {name = "v3", type = "Vector2"},
- {name = "color", type = "Color"}
+ {type = "Vector2", name = "v1"},
+ {type = "Vector2", name = "v2"},
+ {type = "Vector2", name = "v3"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4174,10 +4182,10 @@ return {
description = "Draw triangle outline (vertex in counter-clockwise order!)",
returnType = "void",
params = {
- {name = "v1", type = "Vector2"},
- {name = "v2", type = "Vector2"},
- {name = "v3", type = "Vector2"},
- {name = "color", type = "Color"}
+ {type = "Vector2", name = "v1"},
+ {type = "Vector2", name = "v2"},
+ {type = "Vector2", name = "v3"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4185,9 +4193,9 @@ return {
description = "Draw a triangle fan defined by points (first vertex is the center)",
returnType = "void",
params = {
- {name = "points", type = "Vector2 *"},
- {name = "pointCount", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Vector2 *", name = "points"},
+ {type = "int", name = "pointCount"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4195,9 +4203,9 @@ return {
description = "Draw a triangle strip defined by points",
returnType = "void",
params = {
- {name = "points", type = "Vector2 *"},
- {name = "pointCount", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Vector2 *", name = "points"},
+ {type = "int", name = "pointCount"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4205,11 +4213,11 @@ return {
description = "Draw a regular polygon (Vector version)",
returnType = "void",
params = {
- {name = "center", type = "Vector2"},
- {name = "sides", type = "int"},
- {name = "radius", type = "float"},
- {name = "rotation", type = "float"},
- {name = "color", type = "Color"}
+ {type = "Vector2", name = "center"},
+ {type = "int", name = "sides"},
+ {type = "float", name = "radius"},
+ {type = "float", name = "rotation"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4217,11 +4225,11 @@ return {
description = "Draw a polygon outline of n sides",
returnType = "void",
params = {
- {name = "center", type = "Vector2"},
- {name = "sides", type = "int"},
- {name = "radius", type = "float"},
- {name = "rotation", type = "float"},
- {name = "color", type = "Color"}
+ {type = "Vector2", name = "center"},
+ {type = "int", name = "sides"},
+ {type = "float", name = "radius"},
+ {type = "float", name = "rotation"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4229,12 +4237,12 @@ return {
description = "Draw a polygon outline of n sides with extended parameters",
returnType = "void",
params = {
- {name = "center", type = "Vector2"},
- {name = "sides", type = "int"},
- {name = "radius", type = "float"},
- {name = "rotation", type = "float"},
- {name = "lineThick", type = "float"},
- {name = "color", type = "Color"}
+ {type = "Vector2", name = "center"},
+ {type = "int", name = "sides"},
+ {type = "float", name = "radius"},
+ {type = "float", name = "rotation"},
+ {type = "float", name = "lineThick"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4242,8 +4250,8 @@ return {
description = "Check collision between two rectangles",
returnType = "bool",
params = {
- {name = "rec1", type = "Rectangle"},
- {name = "rec2", type = "Rectangle"}
+ {type = "Rectangle", name = "rec1"},
+ {type = "Rectangle", name = "rec2"}
}
},
{
@@ -4251,10 +4259,10 @@ return {
description = "Check collision between two circles",
returnType = "bool",
params = {
- {name = "center1", type = "Vector2"},
- {name = "radius1", type = "float"},
- {name = "center2", type = "Vector2"},
- {name = "radius2", type = "float"}
+ {type = "Vector2", name = "center1"},
+ {type = "float", name = "radius1"},
+ {type = "Vector2", name = "center2"},
+ {type = "float", name = "radius2"}
}
},
{
@@ -4262,9 +4270,9 @@ return {
description = "Check collision between circle and rectangle",
returnType = "bool",
params = {
- {name = "center", type = "Vector2"},
- {name = "radius", type = "float"},
- {name = "rec", type = "Rectangle"}
+ {type = "Vector2", name = "center"},
+ {type = "float", name = "radius"},
+ {type = "Rectangle", name = "rec"}
}
},
{
@@ -4272,8 +4280,8 @@ return {
description = "Check if point is inside rectangle",
returnType = "bool",
params = {
- {name = "point", type = "Vector2"},
- {name = "rec", type = "Rectangle"}
+ {type = "Vector2", name = "point"},
+ {type = "Rectangle", name = "rec"}
}
},
{
@@ -4281,9 +4289,9 @@ return {
description = "Check if point is inside circle",
returnType = "bool",
params = {
- {name = "point", type = "Vector2"},
- {name = "center", type = "Vector2"},
- {name = "radius", type = "float"}
+ {type = "Vector2", name = "point"},
+ {type = "Vector2", name = "center"},
+ {type = "float", name = "radius"}
}
},
{
@@ -4291,10 +4299,10 @@ return {
description = "Check if point is inside a triangle",
returnType = "bool",
params = {
- {name = "point", type = "Vector2"},
- {name = "p1", type = "Vector2"},
- {name = "p2", type = "Vector2"},
- {name = "p3", type = "Vector2"}
+ {type = "Vector2", name = "point"},
+ {type = "Vector2", name = "p1"},
+ {type = "Vector2", name = "p2"},
+ {type = "Vector2", name = "p3"}
}
},
{
@@ -4302,11 +4310,11 @@ return {
description = "Check the collision between two lines defined by two points each, returns collision point by reference",
returnType = "bool",
params = {
- {name = "startPos1", type = "Vector2"},
- {name = "endPos1", type = "Vector2"},
- {name = "startPos2", type = "Vector2"},
- {name = "endPos2", type = "Vector2"},
- {name = "collisionPoint", type = "Vector2 *"}
+ {type = "Vector2", name = "startPos1"},
+ {type = "Vector2", name = "endPos1"},
+ {type = "Vector2", name = "startPos2"},
+ {type = "Vector2", name = "endPos2"},
+ {type = "Vector2 *", name = "collisionPoint"}
}
},
{
@@ -4314,10 +4322,10 @@ return {
description = "Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold]",
returnType = "bool",
params = {
- {name = "point", type = "Vector2"},
- {name = "p1", type = "Vector2"},
- {name = "p2", type = "Vector2"},
- {name = "threshold", type = "int"}
+ {type = "Vector2", name = "point"},
+ {type = "Vector2", name = "p1"},
+ {type = "Vector2", name = "p2"},
+ {type = "int", name = "threshold"}
}
},
{
@@ -4325,8 +4333,8 @@ return {
description = "Get collision rectangle for two rectangles collision",
returnType = "Rectangle",
params = {
- {name = "rec1", type = "Rectangle"},
- {name = "rec2", type = "Rectangle"}
+ {type = "Rectangle", name = "rec1"},
+ {type = "Rectangle", name = "rec2"}
}
},
{
@@ -4334,7 +4342,7 @@ return {
description = "Load image from file into CPU memory (RAM)",
returnType = "Image",
params = {
- {name = "fileName", type = "const char *"}
+ {type = "const char *", name = "fileName"}
}
},
{
@@ -4342,11 +4350,11 @@ return {
description = "Load image from RAW file data",
returnType = "Image",
params = {
- {name = "fileName", type = "const char *"},
- {name = "width", type = "int"},
- {name = "height", type = "int"},
- {name = "format", type = "int"},
- {name = "headerSize", type = "int"}
+ {type = "const char *", name = "fileName"},
+ {type = "int", name = "width"},
+ {type = "int", name = "height"},
+ {type = "int", name = "format"},
+ {type = "int", name = "headerSize"}
}
},
{
@@ -4354,8 +4362,8 @@ return {
description = "Load image sequence from file (frames appended to image.data)",
returnType = "Image",
params = {
- {name = "fileName", type = "const char *"},
- {name = "frames", type = "int *"}
+ {type = "const char *", name = "fileName"},
+ {type = "int *", name = "frames"}
}
},
{
@@ -4363,9 +4371,9 @@ return {
description = "Load image from memory buffer, fileType refers to extension: i.e. '.png'",
returnType = "Image",
params = {
- {name = "fileType", type = "const char *"},
- {name = "fileData", type = "const unsigned char *"},
- {name = "dataSize", type = "int"}
+ {type = "const char *", name = "fileType"},
+ {type = "const unsigned char *", name = "fileData"},
+ {type = "int", name = "dataSize"}
}
},
{
@@ -4373,7 +4381,7 @@ return {
description = "Load image from GPU texture data",
returnType = "Image",
params = {
- {name = "texture", type = "Texture2D"}
+ {type = "Texture2D", name = "texture"}
}
},
{
@@ -4386,7 +4394,7 @@ return {
description = "Unload image from CPU memory (RAM)",
returnType = "void",
params = {
- {name = "image", type = "Image"}
+ {type = "Image", name = "image"}
}
},
{
@@ -4394,8 +4402,8 @@ return {
description = "Export image data to file, returns true on success",
returnType = "bool",
params = {
- {name = "image", type = "Image"},
- {name = "fileName", type = "const char *"}
+ {type = "Image", name = "image"},
+ {type = "const char *", name = "fileName"}
}
},
{
@@ -4403,8 +4411,8 @@ return {
description = "Export image as code file defining an array of bytes, returns true on success",
returnType = "bool",
params = {
- {name = "image", type = "Image"},
- {name = "fileName", type = "const char *"}
+ {type = "Image", name = "image"},
+ {type = "const char *", name = "fileName"}
}
},
{
@@ -4412,9 +4420,9 @@ return {
description = "Generate image: plain color",
returnType = "Image",
params = {
- {name = "width", type = "int"},
- {name = "height", type = "int"},
- {name = "color", type = "Color"}
+ {type = "int", name = "width"},
+ {type = "int", name = "height"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4422,10 +4430,10 @@ return {
description = "Generate image: vertical gradient",
returnType = "Image",
params = {
- {name = "width", type = "int"},
- {name = "height", type = "int"},
- {name = "top", type = "Color"},
- {name = "bottom", type = "Color"}
+ {type = "int", name = "width"},
+ {type = "int", name = "height"},
+ {type = "Color", name = "top"},
+ {type = "Color", name = "bottom"}
}
},
{
@@ -4433,10 +4441,10 @@ return {
description = "Generate image: horizontal gradient",
returnType = "Image",
params = {
- {name = "width", type = "int"},
- {name = "height", type = "int"},
- {name = "left", type = "Color"},
- {name = "right", type = "Color"}
+ {type = "int", name = "width"},
+ {type = "int", name = "height"},
+ {type = "Color", name = "left"},
+ {type = "Color", name = "right"}
}
},
{
@@ -4444,11 +4452,11 @@ return {
description = "Generate image: radial gradient",
returnType = "Image",
params = {
- {name = "width", type = "int"},
- {name = "height", type = "int"},
- {name = "density", type = "float"},
- {name = "inner", type = "Color"},
- {name = "outer", type = "Color"}
+ {type = "int", name = "width"},
+ {type = "int", name = "height"},
+ {type = "float", name = "density"},
+ {type = "Color", name = "inner"},
+ {type = "Color", name = "outer"}
}
},
{
@@ -4456,12 +4464,12 @@ return {
description = "Generate image: checked",
returnType = "Image",
params = {
- {name = "width", type = "int"},
- {name = "height", type = "int"},
- {name = "checksX", type = "int"},
- {name = "checksY", type = "int"},
- {name = "col1", type = "Color"},
- {name = "col2", type = "Color"}
+ {type = "int", name = "width"},
+ {type = "int", name = "height"},
+ {type = "int", name = "checksX"},
+ {type = "int", name = "checksY"},
+ {type = "Color", name = "col1"},
+ {type = "Color", name = "col2"}
}
},
{
@@ -4469,9 +4477,9 @@ return {
description = "Generate image: white noise",
returnType = "Image",
params = {
- {name = "width", type = "int"},
- {name = "height", type = "int"},
- {name = "factor", type = "float"}
+ {type = "int", name = "width"},
+ {type = "int", name = "height"},
+ {type = "float", name = "factor"}
}
},
{
@@ -4479,9 +4487,9 @@ return {
description = "Generate image: cellular algorithm, bigger tileSize means bigger cells",
returnType = "Image",
params = {
- {name = "width", type = "int"},
- {name = "height", type = "int"},
- {name = "tileSize", type = "int"}
+ {type = "int", name = "width"},
+ {type = "int", name = "height"},
+ {type = "int", name = "tileSize"}
}
},
{
@@ -4489,7 +4497,7 @@ return {
description = "Create an image duplicate (useful for transformations)",
returnType = "Image",
params = {
- {name = "image", type = "Image"}
+ {type = "Image", name = "image"}
}
},
{
@@ -4497,8 +4505,8 @@ return {
description = "Create an image from another image piece",
returnType = "Image",
params = {
- {name = "image", type = "Image"},
- {name = "rec", type = "Rectangle"}
+ {type = "Image", name = "image"},
+ {type = "Rectangle", name = "rec"}
}
},
{
@@ -4506,9 +4514,9 @@ return {
description = "Create an image from text (default font)",
returnType = "Image",
params = {
- {name = "text", type = "const char *"},
- {name = "fontSize", type = "int"},
- {name = "color", type = "Color"}
+ {type = "const char *", name = "text"},
+ {type = "int", name = "fontSize"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4516,11 +4524,11 @@ return {
description = "Create an image from text (custom sprite font)",
returnType = "Image",
params = {
- {name = "font", type = "Font"},
- {name = "text", type = "const char *"},
- {name = "fontSize", type = "float"},
- {name = "spacing", type = "float"},
- {name = "tint", type = "Color"}
+ {type = "Font", name = "font"},
+ {type = "const char *", name = "text"},
+ {type = "float", name = "fontSize"},
+ {type = "float", name = "spacing"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -4528,8 +4536,8 @@ return {
description = "Convert image data to desired format",
returnType = "void",
params = {
- {name = "image", type = "Image *"},
- {name = "newFormat", type = "int"}
+ {type = "Image *", name = "image"},
+ {type = "int", name = "newFormat"}
}
},
{
@@ -4537,8 +4545,8 @@ return {
description = "Convert image to POT (power-of-two)",
returnType = "void",
params = {
- {name = "image", type = "Image *"},
- {name = "fill", type = "Color"}
+ {type = "Image *", name = "image"},
+ {type = "Color", name = "fill"}
}
},
{
@@ -4546,8 +4554,8 @@ return {
description = "Crop an image to a defined rectangle",
returnType = "void",
params = {
- {name = "image", type = "Image *"},
- {name = "crop", type = "Rectangle"}
+ {type = "Image *", name = "image"},
+ {type = "Rectangle", name = "crop"}
}
},
{
@@ -4555,8 +4563,8 @@ return {
description = "Crop image depending on alpha value",
returnType = "void",
params = {
- {name = "image", type = "Image *"},
- {name = "threshold", type = "float"}
+ {type = "Image *", name = "image"},
+ {type = "float", name = "threshold"}
}
},
{
@@ -4564,9 +4572,9 @@ return {
description = "Clear alpha channel to desired color",
returnType = "void",
params = {
- {name = "image", type = "Image *"},
- {name = "color", type = "Color"},
- {name = "threshold", type = "float"}
+ {type = "Image *", name = "image"},
+ {type = "Color", name = "color"},
+ {type = "float", name = "threshold"}
}
},
{
@@ -4574,8 +4582,8 @@ return {
description = "Apply alpha mask to image",
returnType = "void",
params = {
- {name = "image", type = "Image *"},
- {name = "alphaMask", type = "Image"}
+ {type = "Image *", name = "image"},
+ {type = "Image", name = "alphaMask"}
}
},
{
@@ -4583,7 +4591,7 @@ return {
description = "Premultiply alpha channel",
returnType = "void",
params = {
- {name = "image", type = "Image *"}
+ {type = "Image *", name = "image"}
}
},
{
@@ -4591,9 +4599,9 @@ return {
description = "Resize image (Bicubic scaling algorithm)",
returnType = "void",
params = {
- {name = "image", type = "Image *"},
- {name = "newWidth", type = "int"},
- {name = "newHeight", type = "int"}
+ {type = "Image *", name = "image"},
+ {type = "int", name = "newWidth"},
+ {type = "int", name = "newHeight"}
}
},
{
@@ -4601,9 +4609,9 @@ return {
description = "Resize image (Nearest-Neighbor scaling algorithm)",
returnType = "void",
params = {
- {name = "image", type = "Image *"},
- {name = "newWidth", type = "int"},
- {name = "newHeight", type = "int"}
+ {type = "Image *", name = "image"},
+ {type = "int", name = "newWidth"},
+ {type = "int", name = "newHeight"}
}
},
{
@@ -4611,12 +4619,12 @@ return {
description = "Resize canvas and fill with color",
returnType = "void",
params = {
- {name = "image", type = "Image *"},
- {name = "newWidth", type = "int"},
- {name = "newHeight", type = "int"},
- {name = "offsetX", type = "int"},
- {name = "offsetY", type = "int"},
- {name = "fill", type = "Color"}
+ {type = "Image *", name = "image"},
+ {type = "int", name = "newWidth"},
+ {type = "int", name = "newHeight"},
+ {type = "int", name = "offsetX"},
+ {type = "int", name = "offsetY"},
+ {type = "Color", name = "fill"}
}
},
{
@@ -4624,7 +4632,7 @@ return {
description = "Compute all mipmap levels for a provided image",
returnType = "void",
params = {
- {name = "image", type = "Image *"}
+ {type = "Image *", name = "image"}
}
},
{
@@ -4632,11 +4640,11 @@ return {
description = "Dither image data to 16bpp or lower (Floyd-Steinberg dithering)",
returnType = "void",
params = {
- {name = "image", type = "Image *"},
- {name = "rBpp", type = "int"},
- {name = "gBpp", type = "int"},
- {name = "bBpp", type = "int"},
- {name = "aBpp", type = "int"}
+ {type = "Image *", name = "image"},
+ {type = "int", name = "rBpp"},
+ {type = "int", name = "gBpp"},
+ {type = "int", name = "bBpp"},
+ {type = "int", name = "aBpp"}
}
},
{
@@ -4644,7 +4652,7 @@ return {
description = "Flip image vertically",
returnType = "void",
params = {
- {name = "image", type = "Image *"}
+ {type = "Image *", name = "image"}
}
},
{
@@ -4652,7 +4660,7 @@ return {
description = "Flip image horizontally",
returnType = "void",
params = {
- {name = "image", type = "Image *"}
+ {type = "Image *", name = "image"}
}
},
{
@@ -4660,7 +4668,7 @@ return {
description = "Rotate image clockwise 90deg",
returnType = "void",
params = {
- {name = "image", type = "Image *"}
+ {type = "Image *", name = "image"}
}
},
{
@@ -4668,7 +4676,7 @@ return {
description = "Rotate image counter-clockwise 90deg",
returnType = "void",
params = {
- {name = "image", type = "Image *"}
+ {type = "Image *", name = "image"}
}
},
{
@@ -4676,8 +4684,8 @@ return {
description = "Modify image color: tint",
returnType = "void",
params = {
- {name = "image", type = "Image *"},
- {name = "color", type = "Color"}
+ {type = "Image *", name = "image"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4685,7 +4693,7 @@ return {
description = "Modify image color: invert",
returnType = "void",
params = {
- {name = "image", type = "Image *"}
+ {type = "Image *", name = "image"}
}
},
{
@@ -4693,7 +4701,7 @@ return {
description = "Modify image color: grayscale",
returnType = "void",
params = {
- {name = "image", type = "Image *"}
+ {type = "Image *", name = "image"}
}
},
{
@@ -4701,8 +4709,8 @@ return {
description = "Modify image color: contrast (-100 to 100)",
returnType = "void",
params = {
- {name = "image", type = "Image *"},
- {name = "contrast", type = "float"}
+ {type = "Image *", name = "image"},
+ {type = "float", name = "contrast"}
}
},
{
@@ -4710,8 +4718,8 @@ return {
description = "Modify image color: brightness (-255 to 255)",
returnType = "void",
params = {
- {name = "image", type = "Image *"},
- {name = "brightness", type = "int"}
+ {type = "Image *", name = "image"},
+ {type = "int", name = "brightness"}
}
},
{
@@ -4719,9 +4727,9 @@ return {
description = "Modify image color: replace color",
returnType = "void",
params = {
- {name = "image", type = "Image *"},
- {name = "color", type = "Color"},
- {name = "replace", type = "Color"}
+ {type = "Image *", name = "image"},
+ {type = "Color", name = "color"},
+ {type = "Color", name = "replace"}
}
},
{
@@ -4729,7 +4737,7 @@ return {
description = "Load color data from image as a Color array (RGBA - 32bit)",
returnType = "Color *",
params = {
- {name = "image", type = "Image"}
+ {type = "Image", name = "image"}
}
},
{
@@ -4737,9 +4745,9 @@ return {
description = "Load colors palette from image as a Color array (RGBA - 32bit)",
returnType = "Color *",
params = {
- {name = "image", type = "Image"},
- {name = "maxPaletteSize", type = "int"},
- {name = "colorCount", type = "int *"}
+ {type = "Image", name = "image"},
+ {type = "int", name = "maxPaletteSize"},
+ {type = "int *", name = "colorCount"}
}
},
{
@@ -4747,7 +4755,7 @@ return {
description = "Unload color data loaded with LoadImageColors()",
returnType = "void",
params = {
- {name = "colors", type = "Color *"}
+ {type = "Color *", name = "colors"}
}
},
{
@@ -4755,7 +4763,7 @@ return {
description = "Unload colors palette loaded with LoadImagePalette()",
returnType = "void",
params = {
- {name = "colors", type = "Color *"}
+ {type = "Color *", name = "colors"}
}
},
{
@@ -4763,8 +4771,8 @@ return {
description = "Get image alpha border rectangle",
returnType = "Rectangle",
params = {
- {name = "image", type = "Image"},
- {name = "threshold", type = "float"}
+ {type = "Image", name = "image"},
+ {type = "float", name = "threshold"}
}
},
{
@@ -4772,9 +4780,9 @@ return {
description = "Get image pixel color at (x, y) position",
returnType = "Color",
params = {
- {name = "image", type = "Image"},
- {name = "x", type = "int"},
- {name = "y", type = "int"}
+ {type = "Image", name = "image"},
+ {type = "int", name = "x"},
+ {type = "int", name = "y"}
}
},
{
@@ -4782,8 +4790,8 @@ return {
description = "Clear image background with given color",
returnType = "void",
params = {
- {name = "dst", type = "Image *"},
- {name = "color", type = "Color"}
+ {type = "Image *", name = "dst"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4791,10 +4799,10 @@ return {
description = "Draw pixel within an image",
returnType = "void",
params = {
- {name = "dst", type = "Image *"},
- {name = "posX", type = "int"},
- {name = "posY", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Image *", name = "dst"},
+ {type = "int", name = "posX"},
+ {type = "int", name = "posY"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4802,9 +4810,9 @@ return {
description = "Draw pixel within an image (Vector version)",
returnType = "void",
params = {
- {name = "dst", type = "Image *"},
- {name = "position", type = "Vector2"},
- {name = "color", type = "Color"}
+ {type = "Image *", name = "dst"},
+ {type = "Vector2", name = "position"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4812,12 +4820,12 @@ return {
description = "Draw line within an image",
returnType = "void",
params = {
- {name = "dst", type = "Image *"},
- {name = "startPosX", type = "int"},
- {name = "startPosY", type = "int"},
- {name = "endPosX", type = "int"},
- {name = "endPosY", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Image *", name = "dst"},
+ {type = "int", name = "startPosX"},
+ {type = "int", name = "startPosY"},
+ {type = "int", name = "endPosX"},
+ {type = "int", name = "endPosY"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4825,10 +4833,10 @@ return {
description = "Draw line within an image (Vector version)",
returnType = "void",
params = {
- {name = "dst", type = "Image *"},
- {name = "start", type = "Vector2"},
- {name = "end", type = "Vector2"},
- {name = "color", type = "Color"}
+ {type = "Image *", name = "dst"},
+ {type = "Vector2", name = "start"},
+ {type = "Vector2", name = "end"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4836,11 +4844,11 @@ return {
description = "Draw circle within an image",
returnType = "void",
params = {
- {name = "dst", type = "Image *"},
- {name = "centerX", type = "int"},
- {name = "centerY", type = "int"},
- {name = "radius", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Image *", name = "dst"},
+ {type = "int", name = "centerX"},
+ {type = "int", name = "centerY"},
+ {type = "int", name = "radius"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4848,10 +4856,10 @@ return {
description = "Draw circle within an image (Vector version)",
returnType = "void",
params = {
- {name = "dst", type = "Image *"},
- {name = "center", type = "Vector2"},
- {name = "radius", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Image *", name = "dst"},
+ {type = "Vector2", name = "center"},
+ {type = "int", name = "radius"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4859,12 +4867,12 @@ return {
description = "Draw rectangle within an image",
returnType = "void",
params = {
- {name = "dst", type = "Image *"},
- {name = "posX", type = "int"},
- {name = "posY", type = "int"},
- {name = "width", type = "int"},
- {name = "height", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Image *", name = "dst"},
+ {type = "int", name = "posX"},
+ {type = "int", name = "posY"},
+ {type = "int", name = "width"},
+ {type = "int", name = "height"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4872,10 +4880,10 @@ return {
description = "Draw rectangle within an image (Vector version)",
returnType = "void",
params = {
- {name = "dst", type = "Image *"},
- {name = "position", type = "Vector2"},
- {name = "size", type = "Vector2"},
- {name = "color", type = "Color"}
+ {type = "Image *", name = "dst"},
+ {type = "Vector2", name = "position"},
+ {type = "Vector2", name = "size"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4883,9 +4891,9 @@ return {
description = "Draw rectangle within an image",
returnType = "void",
params = {
- {name = "dst", type = "Image *"},
- {name = "rec", type = "Rectangle"},
- {name = "color", type = "Color"}
+ {type = "Image *", name = "dst"},
+ {type = "Rectangle", name = "rec"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4893,10 +4901,10 @@ return {
description = "Draw rectangle lines within an image",
returnType = "void",
params = {
- {name = "dst", type = "Image *"},
- {name = "rec", type = "Rectangle"},
- {name = "thick", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Image *", name = "dst"},
+ {type = "Rectangle", name = "rec"},
+ {type = "int", name = "thick"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4904,11 +4912,11 @@ return {
description = "Draw a source image within a destination image (tint applied to source)",
returnType = "void",
params = {
- {name = "dst", type = "Image *"},
- {name = "src", type = "Image"},
- {name = "srcRec", type = "Rectangle"},
- {name = "dstRec", type = "Rectangle"},
- {name = "tint", type = "Color"}
+ {type = "Image *", name = "dst"},
+ {type = "Image", name = "src"},
+ {type = "Rectangle", name = "srcRec"},
+ {type = "Rectangle", name = "dstRec"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -4916,12 +4924,12 @@ return {
description = "Draw text (using default font) within an image (destination)",
returnType = "void",
params = {
- {name = "dst", type = "Image *"},
- {name = "text", type = "const char *"},
- {name = "posX", type = "int"},
- {name = "posY", type = "int"},
- {name = "fontSize", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Image *", name = "dst"},
+ {type = "const char *", name = "text"},
+ {type = "int", name = "posX"},
+ {type = "int", name = "posY"},
+ {type = "int", name = "fontSize"},
+ {type = "Color", name = "color"}
}
},
{
@@ -4929,13 +4937,13 @@ return {
description = "Draw text (custom sprite font) within an image (destination)",
returnType = "void",
params = {
- {name = "dst", type = "Image *"},
- {name = "font", type = "Font"},
- {name = "text", type = "const char *"},
- {name = "position", type = "Vector2"},
- {name = "fontSize", type = "float"},
- {name = "spacing", type = "float"},
- {name = "tint", type = "Color"}
+ {type = "Image *", name = "dst"},
+ {type = "Font", name = "font"},
+ {type = "const char *", name = "text"},
+ {type = "Vector2", name = "position"},
+ {type = "float", name = "fontSize"},
+ {type = "float", name = "spacing"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -4943,7 +4951,7 @@ return {
description = "Load texture from file into GPU memory (VRAM)",
returnType = "Texture2D",
params = {
- {name = "fileName", type = "const char *"}
+ {type = "const char *", name = "fileName"}
}
},
{
@@ -4951,7 +4959,7 @@ return {
description = "Load texture from image data",
returnType = "Texture2D",
params = {
- {name = "image", type = "Image"}
+ {type = "Image", name = "image"}
}
},
{
@@ -4959,8 +4967,8 @@ return {
description = "Load cubemap from image, multiple image cubemap layouts supported",
returnType = "TextureCubemap",
params = {
- {name = "image", type = "Image"},
- {name = "layout", type = "int"}
+ {type = "Image", name = "image"},
+ {type = "int", name = "layout"}
}
},
{
@@ -4968,8 +4976,8 @@ return {
description = "Load texture for rendering (framebuffer)",
returnType = "RenderTexture2D",
params = {
- {name = "width", type = "int"},
- {name = "height", type = "int"}
+ {type = "int", name = "width"},
+ {type = "int", name = "height"}
}
},
{
@@ -4977,7 +4985,7 @@ return {
description = "Unload texture from GPU memory (VRAM)",
returnType = "void",
params = {
- {name = "texture", type = "Texture2D"}
+ {type = "Texture2D", name = "texture"}
}
},
{
@@ -4985,7 +4993,7 @@ return {
description = "Unload render texture from GPU memory (VRAM)",
returnType = "void",
params = {
- {name = "target", type = "RenderTexture2D"}
+ {type = "RenderTexture2D", name = "target"}
}
},
{
@@ -4993,8 +5001,8 @@ return {
description = "Update GPU texture with new data",
returnType = "void",
params = {
- {name = "texture", type = "Texture2D"},
- {name = "pixels", type = "const void *"}
+ {type = "Texture2D", name = "texture"},
+ {type = "const void *", name = "pixels"}
}
},
{
@@ -5002,9 +5010,9 @@ return {
description = "Update GPU texture rectangle with new data",
returnType = "void",
params = {
- {name = "texture", type = "Texture2D"},
- {name = "rec", type = "Rectangle"},
- {name = "pixels", type = "const void *"}
+ {type = "Texture2D", name = "texture"},
+ {type = "Rectangle", name = "rec"},
+ {type = "const void *", name = "pixels"}
}
},
{
@@ -5012,7 +5020,7 @@ return {
description = "Generate GPU mipmaps for a texture",
returnType = "void",
params = {
- {name = "texture", type = "Texture2D *"}
+ {type = "Texture2D *", name = "texture"}
}
},
{
@@ -5020,8 +5028,8 @@ return {
description = "Set texture scaling filter mode",
returnType = "void",
params = {
- {name = "texture", type = "Texture2D"},
- {name = "filter", type = "int"}
+ {type = "Texture2D", name = "texture"},
+ {type = "int", name = "filter"}
}
},
{
@@ -5029,8 +5037,8 @@ return {
description = "Set texture wrapping mode",
returnType = "void",
params = {
- {name = "texture", type = "Texture2D"},
- {name = "wrap", type = "int"}
+ {type = "Texture2D", name = "texture"},
+ {type = "int", name = "wrap"}
}
},
{
@@ -5038,10 +5046,10 @@ return {
description = "Draw a Texture2D",
returnType = "void",
params = {
- {name = "texture", type = "Texture2D"},
- {name = "posX", type = "int"},
- {name = "posY", type = "int"},
- {name = "tint", type = "Color"}
+ {type = "Texture2D", name = "texture"},
+ {type = "int", name = "posX"},
+ {type = "int", name = "posY"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -5049,9 +5057,9 @@ return {
description = "Draw a Texture2D with position defined as Vector2",
returnType = "void",
params = {
- {name = "texture", type = "Texture2D"},
- {name = "position", type = "Vector2"},
- {name = "tint", type = "Color"}
+ {type = "Texture2D", name = "texture"},
+ {type = "Vector2", name = "position"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -5059,11 +5067,11 @@ return {
description = "Draw a Texture2D with extended parameters",
returnType = "void",
params = {
- {name = "texture", type = "Texture2D"},
- {name = "position", type = "Vector2"},
- {name = "rotation", type = "float"},
- {name = "scale", type = "float"},
- {name = "tint", type = "Color"}
+ {type = "Texture2D", name = "texture"},
+ {type = "Vector2", name = "position"},
+ {type = "float", name = "rotation"},
+ {type = "float", name = "scale"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -5071,10 +5079,10 @@ return {
description = "Draw a part of a texture defined by a rectangle",
returnType = "void",
params = {
- {name = "texture", type = "Texture2D"},
- {name = "source", type = "Rectangle"},
- {name = "position", type = "Vector2"},
- {name = "tint", type = "Color"}
+ {type = "Texture2D", name = "texture"},
+ {type = "Rectangle", name = "source"},
+ {type = "Vector2", name = "position"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -5082,11 +5090,11 @@ return {
description = "Draw texture quad with tiling and offset parameters",
returnType = "void",
params = {
- {name = "texture", type = "Texture2D"},
- {name = "tiling", type = "Vector2"},
- {name = "offset", type = "Vector2"},
- {name = "quad", type = "Rectangle"},
- {name = "tint", type = "Color"}
+ {type = "Texture2D", name = "texture"},
+ {type = "Vector2", name = "tiling"},
+ {type = "Vector2", name = "offset"},
+ {type = "Rectangle", name = "quad"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -5094,13 +5102,13 @@ return {
description = "Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest.",
returnType = "void",
params = {
- {name = "texture", type = "Texture2D"},
- {name = "source", type = "Rectangle"},
- {name = "dest", type = "Rectangle"},
- {name = "origin", type = "Vector2"},
- {name = "rotation", type = "float"},
- {name = "scale", type = "float"},
- {name = "tint", type = "Color"}
+ {type = "Texture2D", name = "texture"},
+ {type = "Rectangle", name = "source"},
+ {type = "Rectangle", name = "dest"},
+ {type = "Vector2", name = "origin"},
+ {type = "float", name = "rotation"},
+ {type = "float", name = "scale"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -5108,12 +5116,12 @@ return {
description = "Draw a part of a texture defined by a rectangle with 'pro' parameters",
returnType = "void",
params = {
- {name = "texture", type = "Texture2D"},
- {name = "source", type = "Rectangle"},
- {name = "dest", type = "Rectangle"},
- {name = "origin", type = "Vector2"},
- {name = "rotation", type = "float"},
- {name = "tint", type = "Color"}
+ {type = "Texture2D", name = "texture"},
+ {type = "Rectangle", name = "source"},
+ {type = "Rectangle", name = "dest"},
+ {type = "Vector2", name = "origin"},
+ {type = "float", name = "rotation"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -5121,12 +5129,12 @@ return {
description = "Draws a texture (or part of it) that stretches or shrinks nicely",
returnType = "void",
params = {
- {name = "texture", type = "Texture2D"},
- {name = "nPatchInfo", type = "NPatchInfo"},
- {name = "dest", type = "Rectangle"},
- {name = "origin", type = "Vector2"},
- {name = "rotation", type = "float"},
- {name = "tint", type = "Color"}
+ {type = "Texture2D", name = "texture"},
+ {type = "NPatchInfo", name = "nPatchInfo"},
+ {type = "Rectangle", name = "dest"},
+ {type = "Vector2", name = "origin"},
+ {type = "float", name = "rotation"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -5134,12 +5142,12 @@ return {
description = "Draw a textured polygon",
returnType = "void",
params = {
- {name = "texture", type = "Texture2D"},
- {name = "center", type = "Vector2"},
- {name = "points", type = "Vector2 *"},
- {name = "texcoords", type = "Vector2 *"},
- {name = "pointCount", type = "int"},
- {name = "tint", type = "Color"}
+ {type = "Texture2D", name = "texture"},
+ {type = "Vector2", name = "center"},
+ {type = "Vector2 *", name = "points"},
+ {type = "Vector2 *", name = "texcoords"},
+ {type = "int", name = "pointCount"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -5147,8 +5155,8 @@ return {
description = "Get color with alpha applied, alpha goes from 0.0f to 1.0f",
returnType = "Color",
params = {
- {name = "color", type = "Color"},
- {name = "alpha", type = "float"}
+ {type = "Color", name = "color"},
+ {type = "float", name = "alpha"}
}
},
{
@@ -5156,7 +5164,7 @@ return {
description = "Get hexadecimal value for a Color",
returnType = "int",
params = {
- {name = "color", type = "Color"}
+ {type = "Color", name = "color"}
}
},
{
@@ -5164,7 +5172,7 @@ return {
description = "Get Color normalized as float [0..1]",
returnType = "Vector4",
params = {
- {name = "color", type = "Color"}
+ {type = "Color", name = "color"}
}
},
{
@@ -5172,7 +5180,7 @@ return {
description = "Get Color from normalized values [0..1]",
returnType = "Color",
params = {
- {name = "normalized", type = "Vector4"}
+ {type = "Vector4", name = "normalized"}
}
},
{
@@ -5180,7 +5188,7 @@ return {
description = "Get HSV values for a Color, hue [0..360], saturation/value [0..1]",
returnType = "Vector3",
params = {
- {name = "color", type = "Color"}
+ {type = "Color", name = "color"}
}
},
{
@@ -5188,9 +5196,9 @@ return {
description = "Get a Color from HSV values, hue [0..360], saturation/value [0..1]",
returnType = "Color",
params = {
- {name = "hue", type = "float"},
- {name = "saturation", type = "float"},
- {name = "value", type = "float"}
+ {type = "float", name = "hue"},
+ {type = "float", name = "saturation"},
+ {type = "float", name = "value"}
}
},
{
@@ -5198,8 +5206,8 @@ return {
description = "Get color with alpha applied, alpha goes from 0.0f to 1.0f",
returnType = "Color",
params = {
- {name = "color", type = "Color"},
- {name = "alpha", type = "float"}
+ {type = "Color", name = "color"},
+ {type = "float", name = "alpha"}
}
},
{
@@ -5207,9 +5215,9 @@ return {
description = "Get src alpha-blended into dst color with tint",
returnType = "Color",
params = {
- {name = "dst", type = "Color"},
- {name = "src", type = "Color"},
- {name = "tint", type = "Color"}
+ {type = "Color", name = "dst"},
+ {type = "Color", name = "src"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -5217,7 +5225,7 @@ return {
description = "Get Color structure from hexadecimal value",
returnType = "Color",
params = {
- {name = "hexValue", type = "unsigned int"}
+ {type = "unsigned int", name = "hexValue"}
}
},
{
@@ -5225,8 +5233,8 @@ return {
description = "Get Color from a source pixel pointer of certain format",
returnType = "Color",
params = {
- {name = "srcPtr", type = "void *"},
- {name = "format", type = "int"}
+ {type = "void *", name = "srcPtr"},
+ {type = "int", name = "format"}
}
},
{
@@ -5234,9 +5242,9 @@ return {
description = "Set color formatted into destination pixel pointer",
returnType = "void",
params = {
- {name = "dstPtr", type = "void *"},
- {name = "color", type = "Color"},
- {name = "format", type = "int"}
+ {type = "void *", name = "dstPtr"},
+ {type = "Color", name = "color"},
+ {type = "int", name = "format"}
}
},
{
@@ -5244,9 +5252,9 @@ return {
description = "Get pixel data size in bytes for certain format",
returnType = "int",
params = {
- {name = "width", type = "int"},
- {name = "height", type = "int"},
- {name = "format", type = "int"}
+ {type = "int", name = "width"},
+ {type = "int", name = "height"},
+ {type = "int", name = "format"}
}
},
{
@@ -5259,18 +5267,18 @@ return {
description = "Load font from file into GPU memory (VRAM)",
returnType = "Font",
params = {
- {name = "fileName", type = "const char *"}
+ {type = "const char *", name = "fileName"}
}
},
{
name = "LoadFontEx",
- description = "Load font from file with extended parameters",
+ description = "Load font from file with extended parameters, use NULL for fontChars and 0 for glyphCount to load the default character set",
returnType = "Font",
params = {
- {name = "fileName", type = "const char *"},
- {name = "fontSize", type = "int"},
- {name = "fontChars", type = "int *"},
- {name = "glyphCount", type = "int"}
+ {type = "const char *", name = "fileName"},
+ {type = "int", name = "fontSize"},
+ {type = "int *", name = "fontChars"},
+ {type = "int", name = "glyphCount"}
}
},
{
@@ -5278,9 +5286,9 @@ return {
description = "Load font from Image (XNA style)",
returnType = "Font",
params = {
- {name = "image", type = "Image"},
- {name = "key", type = "Color"},
- {name = "firstChar", type = "int"}
+ {type = "Image", name = "image"},
+ {type = "Color", name = "key"},
+ {type = "int", name = "firstChar"}
}
},
{
@@ -5288,12 +5296,12 @@ return {
description = "Load font from memory buffer, fileType refers to extension: i.e. '.ttf'",
returnType = "Font",
params = {
- {name = "fileType", type = "const char *"},
- {name = "fileData", type = "const unsigned char *"},
- {name = "dataSize", type = "int"},
- {name = "fontSize", type = "int"},
- {name = "fontChars", type = "int *"},
- {name = "glyphCount", type = "int"}
+ {type = "const char *", name = "fileType"},
+ {type = "const unsigned char *", name = "fileData"},
+ {type = "int", name = "dataSize"},
+ {type = "int", name = "fontSize"},
+ {type = "int *", name = "fontChars"},
+ {type = "int", name = "glyphCount"}
}
},
{
@@ -5301,12 +5309,12 @@ return {
description = "Load font data for further use",
returnType = "GlyphInfo *",
params = {
- {name = "fileData", type = "const unsigned char *"},
- {name = "dataSize", type = "int"},
- {name = "fontSize", type = "int"},
- {name = "fontChars", type = "int *"},
- {name = "glyphCount", type = "int"},
- {name = "type", type = "int"}
+ {type = "const unsigned char *", name = "fileData"},
+ {type = "int", name = "dataSize"},
+ {type = "int", name = "fontSize"},
+ {type = "int *", name = "fontChars"},
+ {type = "int", name = "glyphCount"},
+ {type = "int", name = "type"}
}
},
{
@@ -5314,12 +5322,12 @@ return {
description = "Generate image font atlas using chars info",
returnType = "Image",
params = {
- {name = "chars", type = "const GlyphInfo *"},
- {name = "recs", type = "Rectangle **"},
- {name = "glyphCount", type = "int"},
- {name = "fontSize", type = "int"},
- {name = "padding", type = "int"},
- {name = "packMethod", type = "int"}
+ {type = "const GlyphInfo *", name = "chars"},
+ {type = "Rectangle **", name = "recs"},
+ {type = "int", name = "glyphCount"},
+ {type = "int", name = "fontSize"},
+ {type = "int", name = "padding"},
+ {type = "int", name = "packMethod"}
}
},
{
@@ -5327,16 +5335,25 @@ return {
description = "Unload font chars info data (RAM)",
returnType = "void",
params = {
- {name = "chars", type = "GlyphInfo *"},
- {name = "glyphCount", type = "int"}
+ {type = "GlyphInfo *", name = "chars"},
+ {type = "int", name = "glyphCount"}
}
},
{
name = "UnloadFont",
- description = "Unload Font from GPU memory (VRAM)",
+ description = "Unload font from GPU memory (VRAM)",
returnType = "void",
params = {
- {name = "font", type = "Font"}
+ {type = "Font", name = "font"}
+ }
+ },
+ {
+ name = "ExportFontAsCode",
+ description = "Export font as code file, returns true on success",
+ returnType = "bool",
+ params = {
+ {type = "Font", name = "font"},
+ {type = "const char *", name = "fileName"}
}
},
{
@@ -5344,8 +5361,8 @@ return {
description = "Draw current FPS",
returnType = "void",
params = {
- {name = "posX", type = "int"},
- {name = "posY", type = "int"}
+ {type = "int", name = "posX"},
+ {type = "int", name = "posY"}
}
},
{
@@ -5353,11 +5370,11 @@ return {
description = "Draw text (using default font)",
returnType = "void",
params = {
- {name = "text", type = "const char *"},
- {name = "posX", type = "int"},
- {name = "posY", type = "int"},
- {name = "fontSize", type = "int"},
- {name = "color", type = "Color"}
+ {type = "const char *", name = "text"},
+ {type = "int", name = "posX"},
+ {type = "int", name = "posY"},
+ {type = "int", name = "fontSize"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5365,12 +5382,12 @@ return {
description = "Draw text using font and additional parameters",
returnType = "void",
params = {
- {name = "font", type = "Font"},
- {name = "text", type = "const char *"},
- {name = "position", type = "Vector2"},
- {name = "fontSize", type = "float"},
- {name = "spacing", type = "float"},
- {name = "tint", type = "Color"}
+ {type = "Font", name = "font"},
+ {type = "const char *", name = "text"},
+ {type = "Vector2", name = "position"},
+ {type = "float", name = "fontSize"},
+ {type = "float", name = "spacing"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -5378,14 +5395,14 @@ return {
description = "Draw text using Font and pro parameters (rotation)",
returnType = "void",
params = {
- {name = "font", type = "Font"},
- {name = "text", type = "const char *"},
- {name = "position", type = "Vector2"},
- {name = "origin", type = "Vector2"},
- {name = "rotation", type = "float"},
- {name = "fontSize", type = "float"},
- {name = "spacing", type = "float"},
- {name = "tint", type = "Color"}
+ {type = "Font", name = "font"},
+ {type = "const char *", name = "text"},
+ {type = "Vector2", name = "position"},
+ {type = "Vector2", name = "origin"},
+ {type = "float", name = "rotation"},
+ {type = "float", name = "fontSize"},
+ {type = "float", name = "spacing"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -5393,11 +5410,11 @@ return {
description = "Draw one character (codepoint)",
returnType = "void",
params = {
- {name = "font", type = "Font"},
- {name = "codepoint", type = "int"},
- {name = "position", type = "Vector2"},
- {name = "fontSize", type = "float"},
- {name = "tint", type = "Color"}
+ {type = "Font", name = "font"},
+ {type = "int", name = "codepoint"},
+ {type = "Vector2", name = "position"},
+ {type = "float", name = "fontSize"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -5405,8 +5422,8 @@ return {
description = "Measure string width for default font",
returnType = "int",
params = {
- {name = "text", type = "const char *"},
- {name = "fontSize", type = "int"}
+ {type = "const char *", name = "text"},
+ {type = "int", name = "fontSize"}
}
},
{
@@ -5414,10 +5431,10 @@ return {
description = "Measure string size for Font",
returnType = "Vector2",
params = {
- {name = "font", type = "Font"},
- {name = "text", type = "const char *"},
- {name = "fontSize", type = "float"},
- {name = "spacing", type = "float"}
+ {type = "Font", name = "font"},
+ {type = "const char *", name = "text"},
+ {type = "float", name = "fontSize"},
+ {type = "float", name = "spacing"}
}
},
{
@@ -5425,8 +5442,8 @@ return {
description = "Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found",
returnType = "int",
params = {
- {name = "font", type = "Font"},
- {name = "codepoint", type = "int"}
+ {type = "Font", name = "font"},
+ {type = "int", name = "codepoint"}
}
},
{
@@ -5434,8 +5451,8 @@ return {
description = "Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found",
returnType = "GlyphInfo",
params = {
- {name = "font", type = "Font"},
- {name = "codepoint", type = "int"}
+ {type = "Font", name = "font"},
+ {type = "int", name = "codepoint"}
}
},
{
@@ -5443,8 +5460,8 @@ return {
description = "Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found",
returnType = "Rectangle",
params = {
- {name = "font", type = "Font"},
- {name = "codepoint", type = "int"}
+ {type = "Font", name = "font"},
+ {type = "int", name = "codepoint"}
}
},
{
@@ -5452,8 +5469,8 @@ return {
description = "Load all codepoints from a UTF-8 text string, codepoints count returned by parameter",
returnType = "int *",
params = {
- {name = "text", type = "const char *"},
- {name = "count", type = "int *"}
+ {type = "const char *", name = "text"},
+ {type = "int *", name = "count"}
}
},
{
@@ -5461,7 +5478,7 @@ return {
description = "Unload codepoints data from memory",
returnType = "void",
params = {
- {name = "codepoints", type = "int *"}
+ {type = "int *", name = "codepoints"}
}
},
{
@@ -5469,7 +5486,7 @@ return {
description = "Get total number of codepoints in a UTF-8 encoded string",
returnType = "int",
params = {
- {name = "text", type = "const char *"}
+ {type = "const char *", name = "text"}
}
},
{
@@ -5477,8 +5494,8 @@ return {
description = "Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure",
returnType = "int",
params = {
- {name = "text", type = "const char *"},
- {name = "bytesProcessed", type = "int *"}
+ {type = "const char *", name = "text"},
+ {type = "int *", name = "bytesProcessed"}
}
},
{
@@ -5486,8 +5503,8 @@ return {
description = "Encode one codepoint into UTF-8 byte array (array length returned as parameter)",
returnType = "const char *",
params = {
- {name = "codepoint", type = "int"},
- {name = "byteSize", type = "int *"}
+ {type = "int", name = "codepoint"},
+ {type = "int *", name = "byteSize"}
}
},
{
@@ -5495,8 +5512,8 @@ return {
description = "Encode text as codepoints array into UTF-8 text string (WARNING: memory must be freed!)",
returnType = "char *",
params = {
- {name = "codepoints", type = "int *"},
- {name = "length", type = "int"}
+ {type = "int *", name = "codepoints"},
+ {type = "int", name = "length"}
}
},
{
@@ -5504,8 +5521,8 @@ return {
description = "Copy one string to another, returns bytes copied",
returnType = "int",
params = {
- {name = "dst", type = "char *"},
- {name = "src", type = "const char *"}
+ {type = "char *", name = "dst"},
+ {type = "const char *", name = "src"}
}
},
{
@@ -5513,8 +5530,8 @@ return {
description = "Check if two text string are equal",
returnType = "bool",
params = {
- {name = "text1", type = "const char *"},
- {name = "text2", type = "const char *"}
+ {type = "const char *", name = "text1"},
+ {type = "const char *", name = "text2"}
}
},
{
@@ -5522,7 +5539,7 @@ return {
description = "Get text length, checks for '\\0' ending",
returnType = "unsigned int",
params = {
- {name = "text", type = "const char *"}
+ {type = "const char *", name = "text"}
}
},
{
@@ -5530,8 +5547,8 @@ return {
description = "Text formatting with variables (sprintf() style)",
returnType = "const char *",
params = {
- {name = "text", type = "const char *"},
- {name = "", type = ""}
+ {type = "const char *", name = "text"},
+ {type = "", name = ""}
}
},
{
@@ -5539,9 +5556,9 @@ return {
description = "Get a piece of a text string",
returnType = "const char *",
params = {
- {name = "text", type = "const char *"},
- {name = "position", type = "int"},
- {name = "length", type = "int"}
+ {type = "const char *", name = "text"},
+ {type = "int", name = "position"},
+ {type = "int", name = "length"}
}
},
{
@@ -5549,9 +5566,9 @@ return {
description = "Replace text string (WARNING: memory must be freed!)",
returnType = "char *",
params = {
- {name = "text", type = "char *"},
- {name = "replace", type = "const char *"},
- {name = "by", type = "const char *"}
+ {type = "char *", name = "text"},
+ {type = "const char *", name = "replace"},
+ {type = "const char *", name = "by"}
}
},
{
@@ -5559,9 +5576,9 @@ return {
description = "Insert text in a position (WARNING: memory must be freed!)",
returnType = "char *",
params = {
- {name = "text", type = "const char *"},
- {name = "insert", type = "const char *"},
- {name = "position", type = "int"}
+ {type = "const char *", name = "text"},
+ {type = "const char *", name = "insert"},
+ {type = "int", name = "position"}
}
},
{
@@ -5569,9 +5586,9 @@ return {
description = "Join text strings with delimiter",
returnType = "const char *",
params = {
- {name = "textList", type = "const char **"},
- {name = "count", type = "int"},
- {name = "delimiter", type = "const char *"}
+ {type = "const char **", name = "textList"},
+ {type = "int", name = "count"},
+ {type = "const char *", name = "delimiter"}
}
},
{
@@ -5579,9 +5596,9 @@ return {
description = "Split text into multiple strings",
returnType = "const char **",
params = {
- {name = "text", type = "const char *"},
- {name = "delimiter", type = "char"},
- {name = "count", type = "int *"}
+ {type = "const char *", name = "text"},
+ {type = "char", name = "delimiter"},
+ {type = "int *", name = "count"}
}
},
{
@@ -5589,9 +5606,9 @@ return {
description = "Append text at specific position and move cursor!",
returnType = "void",
params = {
- {name = "text", type = "char *"},
- {name = "append", type = "const char *"},
- {name = "position", type = "int *"}
+ {type = "char *", name = "text"},
+ {type = "const char *", name = "append"},
+ {type = "int *", name = "position"}
}
},
{
@@ -5599,8 +5616,8 @@ return {
description = "Find first text occurrence within a string",
returnType = "int",
params = {
- {name = "text", type = "const char *"},
- {name = "find", type = "const char *"}
+ {type = "const char *", name = "text"},
+ {type = "const char *", name = "find"}
}
},
{
@@ -5608,7 +5625,7 @@ return {
description = "Get upper case version of provided string",
returnType = "const char *",
params = {
- {name = "text", type = "const char *"}
+ {type = "const char *", name = "text"}
}
},
{
@@ -5616,7 +5633,7 @@ return {
description = "Get lower case version of provided string",
returnType = "const char *",
params = {
- {name = "text", type = "const char *"}
+ {type = "const char *", name = "text"}
}
},
{
@@ -5624,7 +5641,7 @@ return {
description = "Get Pascal case notation version of provided string",
returnType = "const char *",
params = {
- {name = "text", type = "const char *"}
+ {type = "const char *", name = "text"}
}
},
{
@@ -5632,7 +5649,7 @@ return {
description = "Get integer value from text (negative values not supported)",
returnType = "int",
params = {
- {name = "text", type = "const char *"}
+ {type = "const char *", name = "text"}
}
},
{
@@ -5640,9 +5657,9 @@ return {
description = "Draw a line in 3D world space",
returnType = "void",
params = {
- {name = "startPos", type = "Vector3"},
- {name = "endPos", type = "Vector3"},
- {name = "color", type = "Color"}
+ {type = "Vector3", name = "startPos"},
+ {type = "Vector3", name = "endPos"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5650,8 +5667,8 @@ return {
description = "Draw a point in 3D space, actually a small line",
returnType = "void",
params = {
- {name = "position", type = "Vector3"},
- {name = "color", type = "Color"}
+ {type = "Vector3", name = "position"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5659,11 +5676,11 @@ return {
description = "Draw a circle in 3D world space",
returnType = "void",
params = {
- {name = "center", type = "Vector3"},
- {name = "radius", type = "float"},
- {name = "rotationAxis", type = "Vector3"},
- {name = "rotationAngle", type = "float"},
- {name = "color", type = "Color"}
+ {type = "Vector3", name = "center"},
+ {type = "float", name = "radius"},
+ {type = "Vector3", name = "rotationAxis"},
+ {type = "float", name = "rotationAngle"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5671,10 +5688,10 @@ return {
description = "Draw a color-filled triangle (vertex in counter-clockwise order!)",
returnType = "void",
params = {
- {name = "v1", type = "Vector3"},
- {name = "v2", type = "Vector3"},
- {name = "v3", type = "Vector3"},
- {name = "color", type = "Color"}
+ {type = "Vector3", name = "v1"},
+ {type = "Vector3", name = "v2"},
+ {type = "Vector3", name = "v3"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5682,9 +5699,9 @@ return {
description = "Draw a triangle strip defined by points",
returnType = "void",
params = {
- {name = "points", type = "Vector3 *"},
- {name = "pointCount", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Vector3 *", name = "points"},
+ {type = "int", name = "pointCount"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5692,11 +5709,11 @@ return {
description = "Draw cube",
returnType = "void",
params = {
- {name = "position", type = "Vector3"},
- {name = "width", type = "float"},
- {name = "height", type = "float"},
- {name = "length", type = "float"},
- {name = "color", type = "Color"}
+ {type = "Vector3", name = "position"},
+ {type = "float", name = "width"},
+ {type = "float", name = "height"},
+ {type = "float", name = "length"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5704,9 +5721,9 @@ return {
description = "Draw cube (Vector version)",
returnType = "void",
params = {
- {name = "position", type = "Vector3"},
- {name = "size", type = "Vector3"},
- {name = "color", type = "Color"}
+ {type = "Vector3", name = "position"},
+ {type = "Vector3", name = "size"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5714,11 +5731,11 @@ return {
description = "Draw cube wires",
returnType = "void",
params = {
- {name = "position", type = "Vector3"},
- {name = "width", type = "float"},
- {name = "height", type = "float"},
- {name = "length", type = "float"},
- {name = "color", type = "Color"}
+ {type = "Vector3", name = "position"},
+ {type = "float", name = "width"},
+ {type = "float", name = "height"},
+ {type = "float", name = "length"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5726,9 +5743,9 @@ return {
description = "Draw cube wires (Vector version)",
returnType = "void",
params = {
- {name = "position", type = "Vector3"},
- {name = "size", type = "Vector3"},
- {name = "color", type = "Color"}
+ {type = "Vector3", name = "position"},
+ {type = "Vector3", name = "size"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5736,12 +5753,12 @@ return {
description = "Draw cube textured",
returnType = "void",
params = {
- {name = "texture", type = "Texture2D"},
- {name = "position", type = "Vector3"},
- {name = "width", type = "float"},
- {name = "height", type = "float"},
- {name = "length", type = "float"},
- {name = "color", type = "Color"}
+ {type = "Texture2D", name = "texture"},
+ {type = "Vector3", name = "position"},
+ {type = "float", name = "width"},
+ {type = "float", name = "height"},
+ {type = "float", name = "length"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5749,13 +5766,13 @@ return {
description = "Draw cube with a region of a texture",
returnType = "void",
params = {
- {name = "texture", type = "Texture2D"},
- {name = "source", type = "Rectangle"},
- {name = "position", type = "Vector3"},
- {name = "width", type = "float"},
- {name = "height", type = "float"},
- {name = "length", type = "float"},
- {name = "color", type = "Color"}
+ {type = "Texture2D", name = "texture"},
+ {type = "Rectangle", name = "source"},
+ {type = "Vector3", name = "position"},
+ {type = "float", name = "width"},
+ {type = "float", name = "height"},
+ {type = "float", name = "length"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5763,9 +5780,9 @@ return {
description = "Draw sphere",
returnType = "void",
params = {
- {name = "centerPos", type = "Vector3"},
- {name = "radius", type = "float"},
- {name = "color", type = "Color"}
+ {type = "Vector3", name = "centerPos"},
+ {type = "float", name = "radius"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5773,11 +5790,11 @@ return {
description = "Draw sphere with extended parameters",
returnType = "void",
params = {
- {name = "centerPos", type = "Vector3"},
- {name = "radius", type = "float"},
- {name = "rings", type = "int"},
- {name = "slices", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Vector3", name = "centerPos"},
+ {type = "float", name = "radius"},
+ {type = "int", name = "rings"},
+ {type = "int", name = "slices"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5785,11 +5802,11 @@ return {
description = "Draw sphere wires",
returnType = "void",
params = {
- {name = "centerPos", type = "Vector3"},
- {name = "radius", type = "float"},
- {name = "rings", type = "int"},
- {name = "slices", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Vector3", name = "centerPos"},
+ {type = "float", name = "radius"},
+ {type = "int", name = "rings"},
+ {type = "int", name = "slices"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5797,12 +5814,12 @@ return {
description = "Draw a cylinder/cone",
returnType = "void",
params = {
- {name = "position", type = "Vector3"},
- {name = "radiusTop", type = "float"},
- {name = "radiusBottom", type = "float"},
- {name = "height", type = "float"},
- {name = "slices", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Vector3", name = "position"},
+ {type = "float", name = "radiusTop"},
+ {type = "float", name = "radiusBottom"},
+ {type = "float", name = "height"},
+ {type = "int", name = "slices"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5810,12 +5827,12 @@ return {
description = "Draw a cylinder with base at startPos and top at endPos",
returnType = "void",
params = {
- {name = "startPos", type = "Vector3"},
- {name = "endPos", type = "Vector3"},
- {name = "startRadius", type = "float"},
- {name = "endRadius", type = "float"},
- {name = "sides", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Vector3", name = "startPos"},
+ {type = "Vector3", name = "endPos"},
+ {type = "float", name = "startRadius"},
+ {type = "float", name = "endRadius"},
+ {type = "int", name = "sides"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5823,12 +5840,12 @@ return {
description = "Draw a cylinder/cone wires",
returnType = "void",
params = {
- {name = "position", type = "Vector3"},
- {name = "radiusTop", type = "float"},
- {name = "radiusBottom", type = "float"},
- {name = "height", type = "float"},
- {name = "slices", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Vector3", name = "position"},
+ {type = "float", name = "radiusTop"},
+ {type = "float", name = "radiusBottom"},
+ {type = "float", name = "height"},
+ {type = "int", name = "slices"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5836,12 +5853,12 @@ return {
description = "Draw a cylinder wires with base at startPos and top at endPos",
returnType = "void",
params = {
- {name = "startPos", type = "Vector3"},
- {name = "endPos", type = "Vector3"},
- {name = "startRadius", type = "float"},
- {name = "endRadius", type = "float"},
- {name = "sides", type = "int"},
- {name = "color", type = "Color"}
+ {type = "Vector3", name = "startPos"},
+ {type = "Vector3", name = "endPos"},
+ {type = "float", name = "startRadius"},
+ {type = "float", name = "endRadius"},
+ {type = "int", name = "sides"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5849,9 +5866,9 @@ return {
description = "Draw a plane XZ",
returnType = "void",
params = {
- {name = "centerPos", type = "Vector3"},
- {name = "size", type = "Vector2"},
- {name = "color", type = "Color"}
+ {type = "Vector3", name = "centerPos"},
+ {type = "Vector2", name = "size"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5859,8 +5876,8 @@ return {
description = "Draw a ray line",
returnType = "void",
params = {
- {name = "ray", type = "Ray"},
- {name = "color", type = "Color"}
+ {type = "Ray", name = "ray"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5868,8 +5885,8 @@ return {
description = "Draw a grid (centered at (0, 0, 0))",
returnType = "void",
params = {
- {name = "slices", type = "int"},
- {name = "spacing", type = "float"}
+ {type = "int", name = "slices"},
+ {type = "float", name = "spacing"}
}
},
{
@@ -5877,7 +5894,7 @@ return {
description = "Load model from files (meshes and materials)",
returnType = "Model",
params = {
- {name = "fileName", type = "const char *"}
+ {type = "const char *", name = "fileName"}
}
},
{
@@ -5885,7 +5902,7 @@ return {
description = "Load model from generated mesh (default material)",
returnType = "Model",
params = {
- {name = "mesh", type = "Mesh"}
+ {type = "Mesh", name = "mesh"}
}
},
{
@@ -5893,7 +5910,7 @@ return {
description = "Unload model (including meshes) from memory (RAM and/or VRAM)",
returnType = "void",
params = {
- {name = "model", type = "Model"}
+ {type = "Model", name = "model"}
}
},
{
@@ -5901,7 +5918,7 @@ return {
description = "Unload model (but not meshes) from memory (RAM and/or VRAM)",
returnType = "void",
params = {
- {name = "model", type = "Model"}
+ {type = "Model", name = "model"}
}
},
{
@@ -5909,7 +5926,7 @@ return {
description = "Compute model bounding box limits (considers all meshes)",
returnType = "BoundingBox",
params = {
- {name = "model", type = "Model"}
+ {type = "Model", name = "model"}
}
},
{
@@ -5917,10 +5934,10 @@ return {
description = "Draw a model (with texture if set)",
returnType = "void",
params = {
- {name = "model", type = "Model"},
- {name = "position", type = "Vector3"},
- {name = "scale", type = "float"},
- {name = "tint", type = "Color"}
+ {type = "Model", name = "model"},
+ {type = "Vector3", name = "position"},
+ {type = "float", name = "scale"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -5928,12 +5945,12 @@ return {
description = "Draw a model with extended parameters",
returnType = "void",
params = {
- {name = "model", type = "Model"},
- {name = "position", type = "Vector3"},
- {name = "rotationAxis", type = "Vector3"},
- {name = "rotationAngle", type = "float"},
- {name = "scale", type = "Vector3"},
- {name = "tint", type = "Color"}
+ {type = "Model", name = "model"},
+ {type = "Vector3", name = "position"},
+ {type = "Vector3", name = "rotationAxis"},
+ {type = "float", name = "rotationAngle"},
+ {type = "Vector3", name = "scale"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -5941,10 +5958,10 @@ return {
description = "Draw a model wires (with texture if set)",
returnType = "void",
params = {
- {name = "model", type = "Model"},
- {name = "position", type = "Vector3"},
- {name = "scale", type = "float"},
- {name = "tint", type = "Color"}
+ {type = "Model", name = "model"},
+ {type = "Vector3", name = "position"},
+ {type = "float", name = "scale"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -5952,12 +5969,12 @@ return {
description = "Draw a model wires (with texture if set) with extended parameters",
returnType = "void",
params = {
- {name = "model", type = "Model"},
- {name = "position", type = "Vector3"},
- {name = "rotationAxis", type = "Vector3"},
- {name = "rotationAngle", type = "float"},
- {name = "scale", type = "Vector3"},
- {name = "tint", type = "Color"}
+ {type = "Model", name = "model"},
+ {type = "Vector3", name = "position"},
+ {type = "Vector3", name = "rotationAxis"},
+ {type = "float", name = "rotationAngle"},
+ {type = "Vector3", name = "scale"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -5965,8 +5982,8 @@ return {
description = "Draw bounding box (wires)",
returnType = "void",
params = {
- {name = "box", type = "BoundingBox"},
- {name = "color", type = "Color"}
+ {type = "BoundingBox", name = "box"},
+ {type = "Color", name = "color"}
}
},
{
@@ -5974,11 +5991,11 @@ return {
description = "Draw a billboard texture",
returnType = "void",
params = {
- {name = "camera", type = "Camera"},
- {name = "texture", type = "Texture2D"},
- {name = "position", type = "Vector3"},
- {name = "size", type = "float"},
- {name = "tint", type = "Color"}
+ {type = "Camera", name = "camera"},
+ {type = "Texture2D", name = "texture"},
+ {type = "Vector3", name = "position"},
+ {type = "float", name = "size"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -5986,12 +6003,12 @@ return {
description = "Draw a billboard texture defined by source",
returnType = "void",
params = {
- {name = "camera", type = "Camera"},
- {name = "texture", type = "Texture2D"},
- {name = "source", type = "Rectangle"},
- {name = "position", type = "Vector3"},
- {name = "size", type = "Vector2"},
- {name = "tint", type = "Color"}
+ {type = "Camera", name = "camera"},
+ {type = "Texture2D", name = "texture"},
+ {type = "Rectangle", name = "source"},
+ {type = "Vector3", name = "position"},
+ {type = "Vector2", name = "size"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -5999,15 +6016,15 @@ return {
description = "Draw a billboard texture defined by source and rotation",
returnType = "void",
params = {
- {name = "camera", type = "Camera"},
- {name = "texture", type = "Texture2D"},
- {name = "source", type = "Rectangle"},
- {name = "position", type = "Vector3"},
- {name = "up", type = "Vector3"},
- {name = "size", type = "Vector2"},
- {name = "origin", type = "Vector2"},
- {name = "rotation", type = "float"},
- {name = "tint", type = "Color"}
+ {type = "Camera", name = "camera"},
+ {type = "Texture2D", name = "texture"},
+ {type = "Rectangle", name = "source"},
+ {type = "Vector3", name = "position"},
+ {type = "Vector3", name = "up"},
+ {type = "Vector2", name = "size"},
+ {type = "Vector2", name = "origin"},
+ {type = "float", name = "rotation"},
+ {type = "Color", name = "tint"}
}
},
{
@@ -6015,8 +6032,8 @@ return {
description = "Upload mesh vertex data in GPU and provide VAO/VBO ids",
returnType = "void",
params = {
- {name = "mesh", type = "Mesh *"},
- {name = "dynamic", type = "bool"}
+ {type = "Mesh *", name = "mesh"},
+ {type = "bool", name = "dynamic"}
}
},
{
@@ -6024,11 +6041,11 @@ return {
description = "Update mesh vertex data in GPU for a specific buffer index",
returnType = "void",
params = {
- {name = "mesh", type = "Mesh"},
- {name = "index", type = "int"},
- {name = "data", type = "void *"},
- {name = "dataSize", type = "int"},
- {name = "offset", type = "int"}
+ {type = "Mesh", name = "mesh"},
+ {type = "int", name = "index"},
+ {type = "void *", name = "data"},
+ {type = "int", name = "dataSize"},
+ {type = "int", name = "offset"}
}
},
{
@@ -6036,7 +6053,7 @@ return {
description = "Unload mesh data from CPU and GPU",
returnType = "void",
params = {
- {name = "mesh", type = "Mesh"}
+ {type = "Mesh", name = "mesh"}
}
},
{
@@ -6044,9 +6061,9 @@ return {
description = "Draw a 3d mesh with material and transform",
returnType = "void",
params = {
- {name = "mesh", type = "Mesh"},
- {name = "material", type = "Material"},
- {name = "transform", type = "Matrix"}
+ {type = "Mesh", name = "mesh"},
+ {type = "Material", name = "material"},
+ {type = "Matrix", name = "transform"}
}
},
{
@@ -6054,10 +6071,10 @@ return {
description = "Draw multiple mesh instances with material and different transforms",
returnType = "void",
params = {
- {name = "mesh", type = "Mesh"},
- {name = "material", type = "Material"},
- {name = "transforms", type = "Matrix *"},
- {name = "instances", type = "int"}
+ {type = "Mesh", name = "mesh"},
+ {type = "Material", name = "material"},
+ {type = "Matrix *", name = "transforms"},
+ {type = "int", name = "instances"}
}
},
{
@@ -6065,8 +6082,8 @@ return {
description = "Export mesh data to file, returns true on success",
returnType = "bool",
params = {
- {name = "mesh", type = "Mesh"},
- {name = "fileName", type = "const char *"}
+ {type = "Mesh", name = "mesh"},
+ {type = "const char *", name = "fileName"}
}
},
{
@@ -6074,7 +6091,7 @@ return {
description = "Compute mesh bounding box limits",
returnType = "BoundingBox",
params = {
- {name = "mesh", type = "Mesh"}
+ {type = "Mesh", name = "mesh"}
}
},
{
@@ -6082,7 +6099,7 @@ return {
description = "Compute mesh tangents",
returnType = "void",
params = {
- {name = "mesh", type = "Mesh *"}
+ {type = "Mesh *", name = "mesh"}
}
},
{
@@ -6090,7 +6107,7 @@ return {
description = "Compute mesh binormals",
returnType = "void",
params = {
- {name = "mesh", type = "Mesh *"}
+ {type = "Mesh *", name = "mesh"}
}
},
{
@@ -6098,8 +6115,8 @@ return {
description = "Generate polygonal mesh",
returnType = "Mesh",
params = {
- {name = "sides", type = "int"},
- {name = "radius", type = "float"}
+ {type = "int", name = "sides"},
+ {type = "float", name = "radius"}
}
},
{
@@ -6107,10 +6124,10 @@ return {
description = "Generate plane mesh (with subdivisions)",
returnType = "Mesh",
params = {
- {name = "width", type = "float"},
- {name = "length", type = "float"},
- {name = "resX", type = "int"},
- {name = "resZ", type = "int"}
+ {type = "float", name = "width"},
+ {type = "float", name = "length"},
+ {type = "int", name = "resX"},
+ {type = "int", name = "resZ"}
}
},
{
@@ -6118,9 +6135,9 @@ return {
description = "Generate cuboid mesh",
returnType = "Mesh",
params = {
- {name = "width", type = "float"},
- {name = "height", type = "float"},
- {name = "length", type = "float"}
+ {type = "float", name = "width"},
+ {type = "float", name = "height"},
+ {type = "float", name = "length"}
}
},
{
@@ -6128,9 +6145,9 @@ return {
description = "Generate sphere mesh (standard sphere)",
returnType = "Mesh",
params = {
- {name = "radius", type = "float"},
- {name = "rings", type = "int"},
- {name = "slices", type = "int"}
+ {type = "float", name = "radius"},
+ {type = "int", name = "rings"},
+ {type = "int", name = "slices"}
}
},
{
@@ -6138,9 +6155,9 @@ return {
description = "Generate half-sphere mesh (no bottom cap)",
returnType = "Mesh",
params = {
- {name = "radius", type = "float"},
- {name = "rings", type = "int"},
- {name = "slices", type = "int"}
+ {type = "float", name = "radius"},
+ {type = "int", name = "rings"},
+ {type = "int", name = "slices"}
}
},
{
@@ -6148,9 +6165,9 @@ return {
description = "Generate cylinder mesh",
returnType = "Mesh",
params = {
- {name = "radius", type = "float"},
- {name = "height", type = "float"},
- {name = "slices", type = "int"}
+ {type = "float", name = "radius"},
+ {type = "float", name = "height"},
+ {type = "int", name = "slices"}
}
},
{
@@ -6158,9 +6175,9 @@ return {
description = "Generate cone/pyramid mesh",
returnType = "Mesh",
params = {
- {name = "radius", type = "float"},
- {name = "height", type = "float"},
- {name = "slices", type = "int"}
+ {type = "float", name = "radius"},
+ {type = "float", name = "height"},
+ {type = "int", name = "slices"}
}
},
{
@@ -6168,10 +6185,10 @@ return {
description = "Generate torus mesh",
returnType = "Mesh",
params = {
- {name = "radius", type = "float"},
- {name = "size", type = "float"},
- {name = "radSeg", type = "int"},
- {name = "sides", type = "int"}
+ {type = "float", name = "radius"},
+ {type = "float", name = "size"},
+ {type = "int", name = "radSeg"},
+ {type = "int", name = "sides"}
}
},
{
@@ -6179,10 +6196,10 @@ return {
description = "Generate trefoil knot mesh",
returnType = "Mesh",
params = {
- {name = "radius", type = "float"},
- {name = "size", type = "float"},
- {name = "radSeg", type = "int"},
- {name = "sides", type = "int"}
+ {type = "float", name = "radius"},
+ {type = "float", name = "size"},
+ {type = "int", name = "radSeg"},
+ {type = "int", name = "sides"}
}
},
{
@@ -6190,8 +6207,8 @@ return {
description = "Generate heightmap mesh from image data",
returnType = "Mesh",
params = {
- {name = "heightmap", type = "Image"},
- {name = "size", type = "Vector3"}
+ {type = "Image", name = "heightmap"},
+ {type = "Vector3", name = "size"}
}
},
{
@@ -6199,8 +6216,8 @@ return {
description = "Generate cubes-based map mesh from image data",
returnType = "Mesh",
params = {
- {name = "cubicmap", type = "Image"},
- {name = "cubeSize", type = "Vector3"}
+ {type = "Image", name = "cubicmap"},
+ {type = "Vector3", name = "cubeSize"}
}
},
{
@@ -6208,8 +6225,8 @@ return {
description = "Load materials from model file",
returnType = "Material *",
params = {
- {name = "fileName", type = "const char *"},
- {name = "materialCount", type = "int *"}
+ {type = "const char *", name = "fileName"},
+ {type = "int *", name = "materialCount"}
}
},
{
@@ -6222,7 +6239,7 @@ return {
description = "Unload material from GPU memory (VRAM)",
returnType = "void",
params = {
- {name = "material", type = "Material"}
+ {type = "Material", name = "material"}
}
},
{
@@ -6230,9 +6247,9 @@ return {
description = "Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...)",
returnType = "void",
params = {
- {name = "material", type = "Material *"},
- {name = "mapType", type = "int"},
- {name = "texture", type = "Texture2D"}
+ {type = "Material *", name = "material"},
+ {type = "int", name = "mapType"},
+ {type = "Texture2D", name = "texture"}
}
},
{
@@ -6240,9 +6257,9 @@ return {
description = "Set material for a mesh",
returnType = "void",
params = {
- {name = "model", type = "Model *"},
- {name = "meshId", type = "int"},
- {name = "materialId", type = "int"}
+ {type = "Model *", name = "model"},
+ {type = "int", name = "meshId"},
+ {type = "int", name = "materialId"}
}
},
{
@@ -6250,8 +6267,8 @@ return {
description = "Load model animations from file",
returnType = "ModelAnimation *",
params = {
- {name = "fileName", type = "const char *"},
- {name = "animCount", type = "unsigned int *"}
+ {type = "const char *", name = "fileName"},
+ {type = "unsigned int *", name = "animCount"}
}
},
{
@@ -6259,9 +6276,9 @@ return {
description = "Update model animation pose",
returnType = "void",
params = {
- {name = "model", type = "Model"},
- {name = "anim", type = "ModelAnimation"},
- {name = "frame", type = "int"}
+ {type = "Model", name = "model"},
+ {type = "ModelAnimation", name = "anim"},
+ {type = "int", name = "frame"}
}
},
{
@@ -6269,7 +6286,7 @@ return {
description = "Unload animation data",
returnType = "void",
params = {
- {name = "anim", type = "ModelAnimation"}
+ {type = "ModelAnimation", name = "anim"}
}
},
{
@@ -6277,8 +6294,8 @@ return {
description = "Unload animation array data",
returnType = "void",
params = {
- {name = "animations", type = "ModelAnimation*"},
- {name = "count", type = "unsigned int"}
+ {type = "ModelAnimation*", name = "animations"},
+ {type = "unsigned int", name = "count"}
}
},
{
@@ -6286,8 +6303,8 @@ return {
description = "Check model animation skeleton match",
returnType = "bool",
params = {
- {name = "model", type = "Model"},
- {name = "anim", type = "ModelAnimation"}
+ {type = "Model", name = "model"},
+ {type = "ModelAnimation", name = "anim"}
}
},
{
@@ -6295,10 +6312,10 @@ return {
description = "Check collision between two spheres",
returnType = "bool",
params = {
- {name = "center1", type = "Vector3"},
- {name = "radius1", type = "float"},
- {name = "center2", type = "Vector3"},
- {name = "radius2", type = "float"}
+ {type = "Vector3", name = "center1"},
+ {type = "float", name = "radius1"},
+ {type = "Vector3", name = "center2"},
+ {type = "float", name = "radius2"}
}
},
{
@@ -6306,8 +6323,8 @@ return {
description = "Check collision between two bounding boxes",
returnType = "bool",
params = {
- {name = "box1", type = "BoundingBox"},
- {name = "box2", type = "BoundingBox"}
+ {type = "BoundingBox", name = "box1"},
+ {type = "BoundingBox", name = "box2"}
}
},
{
@@ -6315,9 +6332,9 @@ return {
description = "Check collision between box and sphere",
returnType = "bool",
params = {
- {name = "box", type = "BoundingBox"},
- {name = "center", type = "Vector3"},
- {name = "radius", type = "float"}
+ {type = "BoundingBox", name = "box"},
+ {type = "Vector3", name = "center"},
+ {type = "float", name = "radius"}
}
},
{
@@ -6325,9 +6342,9 @@ return {
description = "Get collision info between ray and sphere",
returnType = "RayCollision",
params = {
- {name = "ray", type = "Ray"},
- {name = "center", type = "Vector3"},
- {name = "radius", type = "float"}
+ {type = "Ray", name = "ray"},
+ {type = "Vector3", name = "center"},
+ {type = "float", name = "radius"}
}
},
{
@@ -6335,8 +6352,8 @@ return {
description = "Get collision info between ray and box",
returnType = "RayCollision",
params = {
- {name = "ray", type = "Ray"},
- {name = "box", type = "BoundingBox"}
+ {type = "Ray", name = "ray"},
+ {type = "BoundingBox", name = "box"}
}
},
{
@@ -6344,8 +6361,8 @@ return {
description = "Get collision info between ray and model",
returnType = "RayCollision",
params = {
- {name = "ray", type = "Ray"},
- {name = "model", type = "Model"}
+ {type = "Ray", name = "ray"},
+ {type = "Model", name = "model"}
}
},
{
@@ -6353,9 +6370,9 @@ return {
description = "Get collision info between ray and mesh",
returnType = "RayCollision",
params = {
- {name = "ray", type = "Ray"},
- {name = "mesh", type = "Mesh"},
- {name = "transform", type = "Matrix"}
+ {type = "Ray", name = "ray"},
+ {type = "Mesh", name = "mesh"},
+ {type = "Matrix", name = "transform"}
}
},
{
@@ -6363,10 +6380,10 @@ return {
description = "Get collision info between ray and triangle",
returnType = "RayCollision",
params = {
- {name = "ray", type = "Ray"},
- {name = "p1", type = "Vector3"},
- {name = "p2", type = "Vector3"},
- {name = "p3", type = "Vector3"}
+ {type = "Ray", name = "ray"},
+ {type = "Vector3", name = "p1"},
+ {type = "Vector3", name = "p2"},
+ {type = "Vector3", name = "p3"}
}
},
{
@@ -6374,11 +6391,11 @@ return {
description = "Get collision info between ray and quad",
returnType = "RayCollision",
params = {
- {name = "ray", type = "Ray"},
- {name = "p1", type = "Vector3"},
- {name = "p2", type = "Vector3"},
- {name = "p3", type = "Vector3"},
- {name = "p4", type = "Vector3"}
+ {type = "Ray", name = "ray"},
+ {type = "Vector3", name = "p1"},
+ {type = "Vector3", name = "p2"},
+ {type = "Vector3", name = "p3"},
+ {type = "Vector3", name = "p4"}
}
},
{
@@ -6401,7 +6418,7 @@ return {
description = "Set master volume (listener)",
returnType = "void",
params = {
- {name = "volume", type = "float"}
+ {type = "float", name = "volume"}
}
},
{
@@ -6409,7 +6426,7 @@ return {
description = "Load wave data from file",
returnType = "Wave",
params = {
- {name = "fileName", type = "const char *"}
+ {type = "const char *", name = "fileName"}
}
},
{
@@ -6417,9 +6434,9 @@ return {
description = "Load wave from memory buffer, fileType refers to extension: i.e. '.wav'",
returnType = "Wave",
params = {
- {name = "fileType", type = "const char *"},
- {name = "fileData", type = "const unsigned char *"},
- {name = "dataSize", type = "int"}
+ {type = "const char *", name = "fileType"},
+ {type = "const unsigned char *", name = "fileData"},
+ {type = "int", name = "dataSize"}
}
},
{
@@ -6427,7 +6444,7 @@ return {
description = "Load sound from file",
returnType = "Sound",
params = {
- {name = "fileName", type = "const char *"}
+ {type = "const char *", name = "fileName"}
}
},
{
@@ -6435,7 +6452,7 @@ return {
description = "Load sound from wave data",
returnType = "Sound",
params = {
- {name = "wave", type = "Wave"}
+ {type = "Wave", name = "wave"}
}
},
{
@@ -6443,9 +6460,9 @@ return {
description = "Update sound buffer with new data",
returnType = "void",
params = {
- {name = "sound", type = "Sound"},
- {name = "data", type = "const void *"},
- {name = "sampleCount", type = "int"}
+ {type = "Sound", name = "sound"},
+ {type = "const void *", name = "data"},
+ {type = "int", name = "sampleCount"}
}
},
{
@@ -6453,7 +6470,7 @@ return {
description = "Unload wave data",
returnType = "void",
params = {
- {name = "wave", type = "Wave"}
+ {type = "Wave", name = "wave"}
}
},
{
@@ -6461,7 +6478,7 @@ return {
description = "Unload sound",
returnType = "void",
params = {
- {name = "sound", type = "Sound"}
+ {type = "Sound", name = "sound"}
}
},
{
@@ -6469,8 +6486,8 @@ return {
description = "Export wave data to file, returns true on success",
returnType = "bool",
params = {
- {name = "wave", type = "Wave"},
- {name = "fileName", type = "const char *"}
+ {type = "Wave", name = "wave"},
+ {type = "const char *", name = "fileName"}
}
},
{
@@ -6478,8 +6495,8 @@ return {
description = "Export wave sample data to code (.h), returns true on success",
returnType = "bool",
params = {
- {name = "wave", type = "Wave"},
- {name = "fileName", type = "const char *"}
+ {type = "Wave", name = "wave"},
+ {type = "const char *", name = "fileName"}
}
},
{
@@ -6487,7 +6504,7 @@ return {
description = "Play a sound",
returnType = "void",
params = {
- {name = "sound", type = "Sound"}
+ {type = "Sound", name = "sound"}
}
},
{
@@ -6495,7 +6512,7 @@ return {
description = "Stop playing a sound",
returnType = "void",
params = {
- {name = "sound", type = "Sound"}
+ {type = "Sound", name = "sound"}
}
},
{
@@ -6503,7 +6520,7 @@ return {
description = "Pause a sound",
returnType = "void",
params = {
- {name = "sound", type = "Sound"}
+ {type = "Sound", name = "sound"}
}
},
{
@@ -6511,7 +6528,7 @@ return {
description = "Resume a paused sound",
returnType = "void",
params = {
- {name = "sound", type = "Sound"}
+ {type = "Sound", name = "sound"}
}
},
{
@@ -6519,7 +6536,7 @@ return {
description = "Play a sound (using multichannel buffer pool)",
returnType = "void",
params = {
- {name = "sound", type = "Sound"}
+ {type = "Sound", name = "sound"}
}
},
{
@@ -6537,7 +6554,7 @@ return {
description = "Check if a sound is currently playing",
returnType = "bool",
params = {
- {name = "sound", type = "Sound"}
+ {type = "Sound", name = "sound"}
}
},
{
@@ -6545,8 +6562,8 @@ return {
description = "Set volume for a sound (1.0 is max level)",
returnType = "void",
params = {
- {name = "sound", type = "Sound"},
- {name = "volume", type = "float"}
+ {type = "Sound", name = "sound"},
+ {type = "float", name = "volume"}
}
},
{
@@ -6554,8 +6571,8 @@ return {
description = "Set pitch for a sound (1.0 is base level)",
returnType = "void",
params = {
- {name = "sound", type = "Sound"},
- {name = "pitch", type = "float"}
+ {type = "Sound", name = "sound"},
+ {type = "float", name = "pitch"}
}
},
{
@@ -6563,10 +6580,10 @@ return {
description = "Convert wave data to desired format",
returnType = "void",
params = {
- {name = "wave", type = "Wave *"},
- {name = "sampleRate", type = "int"},
- {name = "sampleSize", type = "int"},
- {name = "channels", type = "int"}
+ {type = "Wave *", name = "wave"},
+ {type = "int", name = "sampleRate"},
+ {type = "int", name = "sampleSize"},
+ {type = "int", name = "channels"}
}
},
{
@@ -6574,7 +6591,7 @@ return {
description = "Copy a wave to a new wave",
returnType = "Wave",
params = {
- {name = "wave", type = "Wave"}
+ {type = "Wave", name = "wave"}
}
},
{
@@ -6582,9 +6599,9 @@ return {
description = "Crop a wave to defined samples range",
returnType = "void",
params = {
- {name = "wave", type = "Wave *"},
- {name = "initSample", type = "int"},
- {name = "finalSample", type = "int"}
+ {type = "Wave *", name = "wave"},
+ {type = "int", name = "initSample"},
+ {type = "int", name = "finalSample"}
}
},
{
@@ -6592,7 +6609,7 @@ return {
description = "Load samples data from wave as a floats array",
returnType = "float *",
params = {
- {name = "wave", type = "Wave"}
+ {type = "Wave", name = "wave"}
}
},
{
@@ -6600,7 +6617,7 @@ return {
description = "Unload samples data loaded with LoadWaveSamples()",
returnType = "void",
params = {
- {name = "samples", type = "float *"}
+ {type = "float *", name = "samples"}
}
},
{
@@ -6608,7 +6625,7 @@ return {
description = "Load music stream from file",
returnType = "Music",
params = {
- {name = "fileName", type = "const char *"}
+ {type = "const char *", name = "fileName"}
}
},
{
@@ -6616,9 +6633,9 @@ return {
description = "Load music stream from data",
returnType = "Music",
params = {
- {name = "fileType", type = "const char *"},
- {name = "data", type = "unsigned char *"},
- {name = "dataSize", type = "int"}
+ {type = "const char *", name = "fileType"},
+ {type = "unsigned char *", name = "data"},
+ {type = "int", name = "dataSize"}
}
},
{
@@ -6626,7 +6643,7 @@ return {
description = "Unload music stream",
returnType = "void",
params = {
- {name = "music", type = "Music"}
+ {type = "Music", name = "music"}
}
},
{
@@ -6634,7 +6651,7 @@ return {
description = "Start music playing",
returnType = "void",
params = {
- {name = "music", type = "Music"}
+ {type = "Music", name = "music"}
}
},
{
@@ -6642,7 +6659,7 @@ return {
description = "Check if music is playing",
returnType = "bool",
params = {
- {name = "music", type = "Music"}
+ {type = "Music", name = "music"}
}
},
{
@@ -6650,7 +6667,7 @@ return {
description = "Updates buffers for music streaming",
returnType = "void",
params = {
- {name = "music", type = "Music"}
+ {type = "Music", name = "music"}
}
},
{
@@ -6658,7 +6675,7 @@ return {
description = "Stop music playing",
returnType = "void",
params = {
- {name = "music", type = "Music"}
+ {type = "Music", name = "music"}
}
},
{
@@ -6666,7 +6683,7 @@ return {
description = "Pause music playing",
returnType = "void",
params = {
- {name = "music", type = "Music"}
+ {type = "Music", name = "music"}
}
},
{
@@ -6674,7 +6691,7 @@ return {
description = "Resume playing paused music",
returnType = "void",
params = {
- {name = "music", type = "Music"}
+ {type = "Music", name = "music"}
}
},
{
@@ -6682,8 +6699,8 @@ return {
description = "Seek music to a position (in seconds)",
returnType = "void",
params = {
- {name = "music", type = "Music"},
- {name = "position", type = "float"}
+ {type = "Music", name = "music"},
+ {type = "float", name = "position"}
}
},
{
@@ -6691,8 +6708,8 @@ return {
description = "Set volume for music (1.0 is max level)",
returnType = "void",
params = {
- {name = "music", type = "Music"},
- {name = "volume", type = "float"}
+ {type = "Music", name = "music"},
+ {type = "float", name = "volume"}
}
},
{
@@ -6700,8 +6717,8 @@ return {
description = "Set pitch for a music (1.0 is base level)",
returnType = "void",
params = {
- {name = "music", type = "Music"},
- {name = "pitch", type = "float"}
+ {type = "Music", name = "music"},
+ {type = "float", name = "pitch"}
}
},
{
@@ -6709,7 +6726,7 @@ return {
description = "Get music time length (in seconds)",
returnType = "float",
params = {
- {name = "music", type = "Music"}
+ {type = "Music", name = "music"}
}
},
{
@@ -6717,7 +6734,7 @@ return {
description = "Get current music time played (in seconds)",
returnType = "float",
params = {
- {name = "music", type = "Music"}
+ {type = "Music", name = "music"}
}
},
{
@@ -6725,9 +6742,9 @@ return {
description = "Load audio stream (to stream raw audio pcm data)",
returnType = "AudioStream",
params = {
- {name = "sampleRate", type = "unsigned int"},
- {name = "sampleSize", type = "unsigned int"},
- {name = "channels", type = "unsigned int"}
+ {type = "unsigned int", name = "sampleRate"},
+ {type = "unsigned int", name = "sampleSize"},
+ {type = "unsigned int", name = "channels"}
}
},
{
@@ -6735,7 +6752,7 @@ return {
description = "Unload audio stream and free memory",
returnType = "void",
params = {
- {name = "stream", type = "AudioStream"}
+ {type = "AudioStream", name = "stream"}
}
},
{
@@ -6743,9 +6760,9 @@ return {
description = "Update audio stream buffers with data",
returnType = "void",
params = {
- {name = "stream", type = "AudioStream"},
- {name = "data", type = "const void *"},
- {name = "frameCount", type = "int"}
+ {type = "AudioStream", name = "stream"},
+ {type = "const void *", name = "data"},
+ {type = "int", name = "frameCount"}
}
},
{
@@ -6753,7 +6770,7 @@ return {
description = "Check if any audio stream buffers requires refill",
returnType = "bool",
params = {
- {name = "stream", type = "AudioStream"}
+ {type = "AudioStream", name = "stream"}
}
},
{
@@ -6761,7 +6778,7 @@ return {
description = "Play audio stream",
returnType = "void",
params = {
- {name = "stream", type = "AudioStream"}
+ {type = "AudioStream", name = "stream"}
}
},
{
@@ -6769,7 +6786,7 @@ return {
description = "Pause audio stream",
returnType = "void",
params = {
- {name = "stream", type = "AudioStream"}
+ {type = "AudioStream", name = "stream"}
}
},
{
@@ -6777,7 +6794,7 @@ return {
description = "Resume audio stream",
returnType = "void",
params = {
- {name = "stream", type = "AudioStream"}
+ {type = "AudioStream", name = "stream"}
}
},
{
@@ -6785,7 +6802,7 @@ return {
description = "Check if audio stream is playing",
returnType = "bool",
params = {
- {name = "stream", type = "AudioStream"}
+ {type = "AudioStream", name = "stream"}
}
},
{
@@ -6793,7 +6810,7 @@ return {
description = "Stop audio stream",
returnType = "void",
params = {
- {name = "stream", type = "AudioStream"}
+ {type = "AudioStream", name = "stream"}
}
},
{
@@ -6801,8 +6818,8 @@ return {
description = "Set volume for audio stream (1.0 is max level)",
returnType = "void",
params = {
- {name = "stream", type = "AudioStream"},
- {name = "volume", type = "float"}
+ {type = "AudioStream", name = "stream"},
+ {type = "float", name = "volume"}
}
},
{
@@ -6810,8 +6827,8 @@ return {
description = "Set pitch for audio stream (1.0 is base level)",
returnType = "void",
params = {
- {name = "stream", type = "AudioStream"},
- {name = "pitch", type = "float"}
+ {type = "AudioStream", name = "stream"},
+ {type = "float", name = "pitch"}
}
},
{
@@ -6819,7 +6836,7 @@ return {
description = "Default size for new audio streams",
returnType = "void",
params = {
- {name = "size", type = "int"}
+ {type = "int", name = "size"}
}
}
}