diff --git a/parser/raylib_api.json b/parser/raylib_api.json index 0d2fb2e7..f0f415ad 100644 --- a/parser/raylib_api.json +++ b/parser/raylib_api.json @@ -905,1582 +905,1582 @@ "enums": [ { "name": "ConfigFlags", - "description": "", + "description": "System/Window config flags", "values": [ { "name": "FLAG_VSYNC_HINT", "value": 64, - "description": "" + "description": "Set to try enabling V-Sync on GPU" }, { "name": "FLAG_FULLSCREEN_MODE", "value": 2, - "description": "" + "description": "Set to run program in fullscreen" }, { "name": "FLAG_WINDOW_RESIZABLE", "value": 4, - "description": "" + "description": "Set to allow resizable window" }, { "name": "FLAG_WINDOW_UNDECORATED", "value": 8, - "description": "" + "description": "Set to disable window decoration (frame and buttons)" }, { "name": "FLAG_WINDOW_HIDDEN", "value": 128, - "description": "" + "description": "Set to hide window" }, { "name": "FLAG_WINDOW_MINIMIZED", "value": 512, - "description": "" + "description": "Set to minimize window (iconify)" }, { "name": "FLAG_WINDOW_MAXIMIZED", "value": 1024, - "description": "" + "description": "Set to maximize window (expanded to monitor)" }, { "name": "FLAG_WINDOW_UNFOCUSED", "value": 2048, - "description": "" + "description": "Set to window non focused" }, { "name": "FLAG_WINDOW_TOPMOST", "value": 4096, - "description": "" + "description": "Set to window always on top" }, { "name": "FLAG_WINDOW_ALWAYS_RUN", "value": 256, - "description": "" + "description": "Set to allow windows running while minimized" }, { "name": "FLAG_WINDOW_TRANSPARENT", "value": 16, - "description": "" + "description": "Set to allow transparent framebuffer" }, { "name": "FLAG_WINDOW_HIGHDPI", "value": 8192, - "description": "" + "description": "Set to support HighDPI" }, { "name": "FLAG_MSAA_4X_HINT", "value": 32, - "description": "" + "description": "Set to try enabling MSAA 4X" }, { "name": "FLAG_INTERLACED_HINT", "value": 65536, - "description": "" + "description": "Set to try enabling interlaced video format (for V3D)" } ] }, { "name": "TraceLogLevel", - "description": "", + "description": "Trace log level", "values": [ { "name": "LOG_ALL", "value": 0, - "description": "" + "description": "Display all logs" }, { "name": "LOG_TRACE", "value": 1, - "description": "" + "description": "Trace logging, intended for internal use only" }, { "name": "LOG_DEBUG", "value": 2, - "description": "" + "description": "Debug logging, used for internal debugging, it should be disabled on release builds" }, { "name": "LOG_INFO", "value": 3, - "description": "" + "description": "Info logging, used for program execution info" }, { "name": "LOG_WARNING", "value": 4, - "description": "" + "description": "Warning logging, used on recoverable failures" }, { "name": "LOG_ERROR", "value": 5, - "description": "" + "description": "Error logging, used on unrecoverable failures" }, { "name": "LOG_FATAL", "value": 6, - "description": "" + "description": "Fatal logging, used to abort program: exit(EXIT_FAILURE)" }, { "name": "LOG_NONE", "value": 7, - "description": "" + "description": "Disable logging" } ] }, { "name": "KeyboardKey", - "description": "", + "description": "Keyboard keys (US keyboard layout)", "values": [ { "name": "KEY_NULL", "value": 0, - "description": "" + "description": "Key: NULL, used for no key pressed" }, { "name": "KEY_APOSTROPHE", "value": 39, - "description": "" + "description": "Key: '" }, { "name": "KEY_COMMA", "value": 44, - "description": "" + "description": "Key: ," }, { "name": "KEY_MINUS", "value": 45, - "description": "" + "description": "Key: -" }, { "name": "KEY_PERIOD", "value": 46, - "description": "" + "description": "Key: ." }, { "name": "KEY_SLASH", "value": 47, - "description": "" + "description": "Key: /" }, { "name": "KEY_ZERO", "value": 48, - "description": "" + "description": "Key: 0" }, { "name": "KEY_ONE", "value": 49, - "description": "" + "description": "Key: 1" }, { "name": "KEY_TWO", "value": 50, - "description": "" + "description": "Key: 2" }, { "name": "KEY_THREE", "value": 51, - "description": "" + "description": "Key: 3" }, { "name": "KEY_FOUR", "value": 52, - "description": "" + "description": "Key: 4" }, { "name": "KEY_FIVE", "value": 53, - "description": "" + "description": "Key: 5" }, { "name": "KEY_SIX", "value": 54, - "description": "" + "description": "Key: 6" }, { "name": "KEY_SEVEN", "value": 55, - "description": "" + "description": "Key: 7" }, { "name": "KEY_EIGHT", "value": 56, - "description": "" + "description": "Key: 8" }, { "name": "KEY_NINE", "value": 57, - "description": "" + "description": "Key: 9" }, { "name": "KEY_SEMICOLON", "value": 59, - "description": "" + "description": "Key: ;" }, { "name": "KEY_EQUAL", "value": 61, - "description": "" + "description": "Key: =" }, { "name": "KEY_A", "value": 65, - "description": "" + "description": "Key: A | a" }, { "name": "KEY_B", "value": 66, - "description": "" + "description": "Key: B | b" }, { "name": "KEY_C", "value": 67, - "description": "" + "description": "Key: C | c" }, { "name": "KEY_D", "value": 68, - "description": "" + "description": "Key: D | d" }, { "name": "KEY_E", "value": 69, - "description": "" + "description": "Key: E | e" }, { "name": "KEY_F", "value": 70, - "description": "" + "description": "Key: F | f" }, { "name": "KEY_G", "value": 71, - "description": "" + "description": "Key: G | g" }, { "name": "KEY_H", "value": 72, - "description": "" + "description": "Key: H | h" }, { "name": "KEY_I", "value": 73, - "description": "" + "description": "Key: I | i" }, { "name": "KEY_J", "value": 74, - "description": "" + "description": "Key: J | j" }, { "name": "KEY_K", "value": 75, - "description": "" + "description": "Key: K | k" }, { "name": "KEY_L", "value": 76, - "description": "" + "description": "Key: L | l" }, { "name": "KEY_M", "value": 77, - "description": "" + "description": "Key: M | m" }, { "name": "KEY_N", "value": 78, - "description": "" + "description": "Key: N | n" }, { "name": "KEY_O", "value": 79, - "description": "" + "description": "Key: O | o" }, { "name": "KEY_P", "value": 80, - "description": "" + "description": "Key: P | p" }, { "name": "KEY_Q", "value": 81, - "description": "" + "description": "Key: Q | q" }, { "name": "KEY_R", "value": 82, - "description": "" + "description": "Key: R | r" }, { "name": "KEY_S", "value": 83, - "description": "" + "description": "Key: S | s" }, { "name": "KEY_T", "value": 84, - "description": "" + "description": "Key: T | t" }, { "name": "KEY_U", "value": 85, - "description": "" + "description": "Key: U | u" }, { "name": "KEY_V", "value": 86, - "description": "" + "description": "Key: V | v" }, { "name": "KEY_W", "value": 87, - "description": "" + "description": "Key: W | w" }, { "name": "KEY_X", "value": 88, - "description": "" + "description": "Key: X | x" }, { "name": "KEY_Y", "value": 89, - "description": "" + "description": "Key: Y | y" }, { "name": "KEY_Z", "value": 90, - "description": "" + "description": "Key: Z | z" }, { "name": "KEY_LEFT_BRACKET", "value": 91, - "description": "" + "description": "Key: [" }, { "name": "KEY_BACKSLASH", "value": 92, - "description": "" + "description": "Key: '\\'" }, { "name": "KEY_RIGHT_BRACKET", "value": 93, - "description": "" + "description": "Key: ]" }, { "name": "KEY_GRAVE", "value": 96, - "description": "" + "description": "Key: `" }, { "name": "KEY_SPACE", "value": 32, - "description": "" + "description": "Key: Space" }, { "name": "KEY_ESCAPE", "value": 256, - "description": "" + "description": "Key: Esc" }, { "name": "KEY_ENTER", "value": 257, - "description": "" + "description": "Key: Enter" }, { "name": "KEY_TAB", "value": 258, - "description": "" + "description": "Key: Tab" }, { "name": "KEY_BACKSPACE", "value": 259, - "description": "" + "description": "Key: Backspace" }, { "name": "KEY_INSERT", "value": 260, - "description": "" + "description": "Key: Ins" }, { "name": "KEY_DELETE", "value": 261, - "description": "" + "description": "Key: Del" }, { "name": "KEY_RIGHT", "value": 262, - "description": "" + "description": "Key: Cursor right" }, { "name": "KEY_LEFT", "value": 263, - "description": "" + "description": "Key: Cursor left" }, { "name": "KEY_DOWN", "value": 264, - "description": "" + "description": "Key: Cursor down" }, { "name": "KEY_UP", "value": 265, - "description": "" + "description": "Key: Cursor up" }, { "name": "KEY_PAGE_UP", "value": 266, - "description": "" + "description": "Key: Page up" }, { "name": "KEY_PAGE_DOWN", "value": 267, - "description": "" + "description": "Key: Page down" }, { "name": "KEY_HOME", "value": 268, - "description": "" + "description": "Key: Home" }, { "name": "KEY_END", "value": 269, - "description": "" + "description": "Key: End" }, { "name": "KEY_CAPS_LOCK", "value": 280, - "description": "" + "description": "Key: Caps lock" }, { "name": "KEY_SCROLL_LOCK", "value": 281, - "description": "" + "description": "Key: Scroll down" }, { "name": "KEY_NUM_LOCK", "value": 282, - "description": "" + "description": "Key: Num lock" }, { "name": "KEY_PRINT_SCREEN", "value": 283, - "description": "" + "description": "Key: Print screen" }, { "name": "KEY_PAUSE", "value": 284, - "description": "" + "description": "Key: Pause" }, { "name": "KEY_F1", "value": 290, - "description": "" + "description": "Key: F1" }, { "name": "KEY_F2", "value": 291, - "description": "" + "description": "Key: F2" }, { "name": "KEY_F3", "value": 292, - "description": "" + "description": "Key: F3" }, { "name": "KEY_F4", "value": 293, - "description": "" + "description": "Key: F4" }, { "name": "KEY_F5", "value": 294, - "description": "" + "description": "Key: F5" }, { "name": "KEY_F6", "value": 295, - "description": "" + "description": "Key: F6" }, { "name": "KEY_F7", "value": 296, - "description": "" + "description": "Key: F7" }, { "name": "KEY_F8", "value": 297, - "description": "" + "description": "Key: F8" }, { "name": "KEY_F9", "value": 298, - "description": "" + "description": "Key: F9" }, { "name": "KEY_F10", "value": 299, - "description": "" + "description": "Key: F10" }, { "name": "KEY_F11", "value": 300, - "description": "" + "description": "Key: F11" }, { "name": "KEY_F12", "value": 301, - "description": "" + "description": "Key: F12" }, { "name": "KEY_LEFT_SHIFT", "value": 340, - "description": "" + "description": "Key: Shift left" }, { "name": "KEY_LEFT_CONTROL", "value": 341, - "description": "" + "description": "Key: Control left" }, { "name": "KEY_LEFT_ALT", "value": 342, - "description": "" + "description": "Key: Alt left" }, { "name": "KEY_LEFT_SUPER", "value": 343, - "description": "" + "description": "Key: Super left" }, { "name": "KEY_RIGHT_SHIFT", "value": 344, - "description": "" + "description": "Key: Shift right" }, { "name": "KEY_RIGHT_CONTROL", "value": 345, - "description": "" + "description": "Key: Control right" }, { "name": "KEY_RIGHT_ALT", "value": 346, - "description": "" + "description": "Key: Alt right" }, { "name": "KEY_RIGHT_SUPER", "value": 347, - "description": "" + "description": "Key: Super right" }, { "name": "KEY_KB_MENU", "value": 348, - "description": "" + "description": "Key: KB menu" }, { "name": "KEY_KP_0", "value": 320, - "description": "" + "description": "Key: Keypad 0" }, { "name": "KEY_KP_1", "value": 321, - "description": "" + "description": "Key: Keypad 1" }, { "name": "KEY_KP_2", "value": 322, - "description": "" + "description": "Key: Keypad 2" }, { "name": "KEY_KP_3", "value": 323, - "description": "" + "description": "Key: Keypad 3" }, { "name": "KEY_KP_4", "value": 324, - "description": "" + "description": "Key: Keypad 4" }, { "name": "KEY_KP_5", "value": 325, - "description": "" + "description": "Key: Keypad 5" }, { "name": "KEY_KP_6", "value": 326, - "description": "" + "description": "Key: Keypad 6" }, { "name": "KEY_KP_7", "value": 327, - "description": "" + "description": "Key: Keypad 7" }, { "name": "KEY_KP_8", "value": 328, - "description": "" + "description": "Key: Keypad 8" }, { "name": "KEY_KP_9", "value": 329, - "description": "" + "description": "Key: Keypad 9" }, { "name": "KEY_KP_DECIMAL", "value": 330, - "description": "" + "description": "Key: Keypad ." }, { "name": "KEY_KP_DIVIDE", "value": 331, - "description": "" + "description": "Key: Keypad /" }, { "name": "KEY_KP_MULTIPLY", "value": 332, - "description": "" + "description": "Key: Keypad *" }, { "name": "KEY_KP_SUBTRACT", "value": 333, - "description": "" + "description": "Key: Keypad -" }, { "name": "KEY_KP_ADD", "value": 334, - "description": "" + "description": "Key: Keypad +" }, { "name": "KEY_KP_ENTER", "value": 335, - "description": "" + "description": "Key: Keypad Enter" }, { "name": "KEY_KP_EQUAL", "value": 336, - "description": "" + "description": "Key: Keypad =" }, { "name": "KEY_BACK", "value": 4, - "description": "" + "description": "Key: Android back button" }, { "name": "KEY_MENU", "value": 82, - "description": "" + "description": "Key: Android menu button" }, { "name": "KEY_VOLUME_UP", "value": 24, - "description": "" + "description": "Key: Android volume up button" }, { "name": "KEY_VOLUME_DOWN", "value": 25, - "description": "" + "description": "Key: Android volume down button" } ] }, { "name": "MouseButton", - "description": "", + "description": "Mouse buttons", "values": [ { "name": "MOUSE_BUTTON_LEFT", "value": 0, - "description": "" + "description": "Mouse button left" }, { "name": "MOUSE_BUTTON_RIGHT", "value": 1, - "description": "" + "description": "Mouse button right" }, { "name": "MOUSE_BUTTON_MIDDLE", "value": 2, - "description": "" + "description": "Mouse button middle (pressed wheel)" }, { "name": "MOUSE_BUTTON_SIDE", "value": 3, - "description": "" + "description": "Mouse button side (advanced mouse device)" }, { "name": "MOUSE_BUTTON_EXTRA", "value": 4, - "description": "" + "description": "Mouse button extra (advanced mouse device)" }, { "name": "MOUSE_BUTTON_FORWARD", "value": 5, - "description": "" + "description": "Mouse button fordward (advanced mouse device)" }, { "name": "MOUSE_BUTTON_BACK", "value": 6, - "description": "" + "description": "Mouse button back (advanced mouse device)" } ] }, { "name": "MouseCursor", - "description": "", + "description": "Mouse cursor", "values": [ { "name": "MOUSE_CURSOR_DEFAULT", "value": 0, - "description": "" + "description": "Default pointer shape" }, { "name": "MOUSE_CURSOR_ARROW", "value": 1, - "description": "" + "description": "Arrow shape" }, { "name": "MOUSE_CURSOR_IBEAM", "value": 2, - "description": "" + "description": "Text writing cursor shape" }, { "name": "MOUSE_CURSOR_CROSSHAIR", "value": 3, - "description": "" + "description": "Cross shape" }, { "name": "MOUSE_CURSOR_POINTING_HAND", "value": 4, - "description": "" + "description": "Pointing hand cursor" }, { "name": "MOUSE_CURSOR_RESIZE_EW", "value": 5, - "description": "" + "description": "Horizontal resize/move arrow shape" }, { "name": "MOUSE_CURSOR_RESIZE_NS", "value": 6, - "description": "" + "description": "Vertical resize/move arrow shape" }, { "name": "MOUSE_CURSOR_RESIZE_NWSE", "value": 7, - "description": "" + "description": "Top-left to bottom-right diagonal resize/move arrow shape" }, { "name": "MOUSE_CURSOR_RESIZE_NESW", "value": 8, - "description": "" + "description": "The top-right to bottom-left diagonal resize/move arrow shape" }, { "name": "MOUSE_CURSOR_RESIZE_ALL", "value": 9, - "description": "" + "description": "The omni-directional resize/move cursor shape" }, { "name": "MOUSE_CURSOR_NOT_ALLOWED", "value": 10, - "description": "" + "description": "The operation-not-allowed shape" } ] }, { "name": "GamepadButton", - "description": "", + "description": "Gamepad buttons", "values": [ { "name": "GAMEPAD_BUTTON_UNKNOWN", "value": 0, - "description": "" + "description": "Unknown button, just for error checking" }, { "name": "GAMEPAD_BUTTON_LEFT_FACE_UP", "value": 1, - "description": "" + "description": "Gamepad left DPAD up button" }, { "name": "GAMEPAD_BUTTON_LEFT_FACE_RIGHT", "value": 2, - "description": "" + "description": "Gamepad left DPAD right button" }, { "name": "GAMEPAD_BUTTON_LEFT_FACE_DOWN", "value": 3, - "description": "" + "description": "Gamepad left DPAD down button" }, { "name": "GAMEPAD_BUTTON_LEFT_FACE_LEFT", "value": 4, - "description": "" + "description": "Gamepad left DPAD left button" }, { "name": "GAMEPAD_BUTTON_RIGHT_FACE_UP", "value": 5, - "description": "" + "description": "Gamepad right button up (i.e. PS3: Triangle, Xbox: Y)" }, { "name": "GAMEPAD_BUTTON_RIGHT_FACE_RIGHT", "value": 6, - "description": "" + "description": "Gamepad right button right (i.e. PS3: Square, Xbox: X)" }, { "name": "GAMEPAD_BUTTON_RIGHT_FACE_DOWN", "value": 7, - "description": "" + "description": "Gamepad right button down (i.e. PS3: Cross, Xbox: A)" }, { "name": "GAMEPAD_BUTTON_RIGHT_FACE_LEFT", "value": 8, - "description": "" + "description": "Gamepad right button left (i.e. PS3: Circle, Xbox: B)" }, { "name": "GAMEPAD_BUTTON_LEFT_TRIGGER_1", "value": 9, - "description": "" + "description": "Gamepad top/back trigger left (first), it could be a trailing button" }, { "name": "GAMEPAD_BUTTON_LEFT_TRIGGER_2", "value": 10, - "description": "" + "description": "Gamepad top/back trigger left (second), it could be a trailing button" }, { "name": "GAMEPAD_BUTTON_RIGHT_TRIGGER_1", "value": 11, - "description": "" + "description": "Gamepad top/back trigger right (one), it could be a trailing button" }, { "name": "GAMEPAD_BUTTON_RIGHT_TRIGGER_2", "value": 12, - "description": "" + "description": "Gamepad top/back trigger right (second), it could be a trailing button" }, { "name": "GAMEPAD_BUTTON_MIDDLE_LEFT", "value": 13, - "description": "" + "description": "Gamepad center buttons, left one (i.e. PS3: Select)" }, { "name": "GAMEPAD_BUTTON_MIDDLE", "value": 14, - "description": "" + "description": "Gamepad center buttons, middle one (i.e. PS3: PS, Xbox: XBOX)" }, { "name": "GAMEPAD_BUTTON_MIDDLE_RIGHT", "value": 15, - "description": "" + "description": "Gamepad center buttons, right one (i.e. PS3: Start)" }, { "name": "GAMEPAD_BUTTON_LEFT_THUMB", "value": 16, - "description": "" + "description": "Gamepad joystick pressed button left" }, { "name": "GAMEPAD_BUTTON_RIGHT_THUMB", "value": 17, - "description": "" + "description": "Gamepad joystick pressed button right" } ] }, { "name": "GamepadAxis", - "description": "", + "description": "Gamepad axis", "values": [ { "name": "GAMEPAD_AXIS_LEFT_X", "value": 0, - "description": "" + "description": "Gamepad left stick X axis" }, { "name": "GAMEPAD_AXIS_LEFT_Y", "value": 1, - "description": "" + "description": "Gamepad left stick Y axis" }, { "name": "GAMEPAD_AXIS_RIGHT_X", "value": 2, - "description": "" + "description": "Gamepad right stick X axis" }, { "name": "GAMEPAD_AXIS_RIGHT_Y", "value": 3, - "description": "" + "description": "Gamepad right stick Y axis" }, { "name": "GAMEPAD_AXIS_LEFT_TRIGGER", "value": 4, - "description": "" + "description": "Gamepad back trigger left, pressure level: [1..-1]" }, { "name": "GAMEPAD_AXIS_RIGHT_TRIGGER", "value": 5, - "description": "" + "description": "Gamepad back trigger right, pressure level: [1..-1]" } ] }, { "name": "MaterialMapIndex", - "description": "", + "description": "Material map index", "values": [ { "name": "MATERIAL_MAP_ALBEDO", "value": 0, - "description": "" + "description": "Albedo material (same as: MATERIAL_MAP_DIFFUSE)" }, { "name": "MATERIAL_MAP_METALNESS", "value": 1, - "description": "" + "description": "Metalness material (same as: MATERIAL_MAP_SPECULAR)" }, { "name": "MATERIAL_MAP_NORMAL", "value": 2, - "description": "" + "description": "Normal material" }, { "name": "MATERIAL_MAP_ROUGHNESS", "value": 3, - "description": "" + "description": "Roughness material" }, { "name": "MATERIAL_MAP_OCCLUSION", "value": 4, - "description": "" + "description": "Ambient occlusion material" }, { "name": "MATERIAL_MAP_EMISSION", "value": 5, - "description": "" + "description": "Emission material" }, { "name": "MATERIAL_MAP_HEIGHT", "value": 6, - "description": "" + "description": "Heightmap material" }, { "name": "MATERIAL_MAP_CUBEMAP", "value": 7, - "description": "" + "description": "Cubemap material (NOTE: Uses GL_TEXTURE_CUBE_MAP)" }, { "name": "MATERIAL_MAP_IRRADIANCE", "value": 8, - "description": "" + "description": "Irradiance material (NOTE: Uses GL_TEXTURE_CUBE_MAP)" }, { "name": "MATERIAL_MAP_PREFILTER", "value": 9, - "description": "" + "description": "Prefilter material (NOTE: Uses GL_TEXTURE_CUBE_MAP)" }, { "name": "MATERIAL_MAP_BRDF", "value": 10, - "description": "" + "description": "Brdf material" } ] }, { "name": "ShaderLocationIndex", - "description": "", + "description": "Shader location index", "values": [ { "name": "SHADER_LOC_VERTEX_POSITION", "value": 0, - "description": "" + "description": "Shader location: vertex attribute: position" }, { "name": "SHADER_LOC_VERTEX_TEXCOORD01", "value": 1, - "description": "" + "description": "Shader location: vertex attribute: texcoord01" }, { "name": "SHADER_LOC_VERTEX_TEXCOORD02", "value": 2, - "description": "" + "description": "Shader location: vertex attribute: texcoord02" }, { "name": "SHADER_LOC_VERTEX_NORMAL", "value": 3, - "description": "" + "description": "Shader location: vertex attribute: normal" }, { "name": "SHADER_LOC_VERTEX_TANGENT", "value": 4, - "description": "" + "description": "Shader location: vertex attribute: tangent" }, { "name": "SHADER_LOC_VERTEX_COLOR", "value": 5, - "description": "" + "description": "Shader location: vertex attribute: color" }, { "name": "SHADER_LOC_MATRIX_MVP", "value": 6, - "description": "" + "description": "Shader location: matrix uniform: model-view-projection" }, { "name": "SHADER_LOC_MATRIX_VIEW", "value": 7, - "description": "" + "description": "Shader location: matrix uniform: view (camera transform)" }, { "name": "SHADER_LOC_MATRIX_PROJECTION", "value": 8, - "description": "" + "description": "Shader location: matrix uniform: projection" }, { "name": "SHADER_LOC_MATRIX_MODEL", "value": 9, - "description": "" + "description": "Shader location: matrix uniform: model (transform)" }, { "name": "SHADER_LOC_MATRIX_NORMAL", "value": 10, - "description": "" + "description": "Shader location: matrix uniform: normal" }, { "name": "SHADER_LOC_VECTOR_VIEW", "value": 11, - "description": "" + "description": "Shader location: vector uniform: view" }, { "name": "SHADER_LOC_COLOR_DIFFUSE", "value": 12, - "description": "" + "description": "Shader location: vector uniform: diffuse color" }, { "name": "SHADER_LOC_COLOR_SPECULAR", "value": 13, - "description": "" + "description": "Shader location: vector uniform: specular color" }, { "name": "SHADER_LOC_COLOR_AMBIENT", "value": 14, - "description": "" + "description": "Shader location: vector uniform: ambient color" }, { "name": "SHADER_LOC_MAP_ALBEDO", "value": 15, - "description": "" + "description": "Shader location: sampler2d texture: albedo (same as: SHADER_LOC_MAP_DIFFUSE)" }, { "name": "SHADER_LOC_MAP_METALNESS", "value": 16, - "description": "" + "description": "Shader location: sampler2d texture: metalness (same as: SHADER_LOC_MAP_SPECULAR)" }, { "name": "SHADER_LOC_MAP_NORMAL", "value": 17, - "description": "" + "description": "Shader location: sampler2d texture: normal" }, { "name": "SHADER_LOC_MAP_ROUGHNESS", "value": 18, - "description": "" + "description": "Shader location: sampler2d texture: roughness" }, { "name": "SHADER_LOC_MAP_OCCLUSION", "value": 19, - "description": "" + "description": "Shader location: sampler2d texture: occlusion" }, { "name": "SHADER_LOC_MAP_EMISSION", "value": 20, - "description": "" + "description": "Shader location: sampler2d texture: emission" }, { "name": "SHADER_LOC_MAP_HEIGHT", "value": 21, - "description": "" + "description": "Shader location: sampler2d texture: height" }, { "name": "SHADER_LOC_MAP_CUBEMAP", "value": 22, - "description": "" + "description": "Shader location: samplerCube texture: cubemap" }, { "name": "SHADER_LOC_MAP_IRRADIANCE", "value": 23, - "description": "" + "description": "Shader location: samplerCube texture: irradiance" }, { "name": "SHADER_LOC_MAP_PREFILTER", "value": 24, - "description": "" + "description": "Shader location: samplerCube texture: prefilter" }, { "name": "SHADER_LOC_MAP_BRDF", "value": 25, - "description": "" + "description": "Shader location: sampler2d texture: brdf" } ] }, { "name": "ShaderUniformDataType", - "description": "", + "description": "Shader uniform data type", "values": [ { "name": "SHADER_UNIFORM_FLOAT", "value": 0, - "description": "" + "description": "Shader uniform type: float" }, { "name": "SHADER_UNIFORM_VEC2", "value": 1, - "description": "" + "description": "Shader uniform type: vec2 (2 float)" }, { "name": "SHADER_UNIFORM_VEC3", "value": 2, - "description": "" + "description": "Shader uniform type: vec3 (3 float)" }, { "name": "SHADER_UNIFORM_VEC4", "value": 3, - "description": "" + "description": "Shader uniform type: vec4 (4 float)" }, { "name": "SHADER_UNIFORM_INT", "value": 4, - "description": "" + "description": "Shader uniform type: int" }, { "name": "SHADER_UNIFORM_IVEC2", "value": 5, - "description": "" + "description": "Shader uniform type: ivec2 (2 int)" }, { "name": "SHADER_UNIFORM_IVEC3", "value": 6, - "description": "" + "description": "Shader uniform type: ivec3 (3 int)" }, { "name": "SHADER_UNIFORM_IVEC4", "value": 7, - "description": "" + "description": "Shader uniform type: ivec4 (4 int)" }, { "name": "SHADER_UNIFORM_SAMPLER2D", "value": 8, - "description": "" + "description": "Shader uniform type: sampler2d" } ] }, { "name": "ShaderAttributeDataType", - "description": "", + "description": "Shader attribute data types", "values": [ { "name": "SHADER_ATTRIB_FLOAT", "value": 0, - "description": "" + "description": "Shader attribute type: float" }, { "name": "SHADER_ATTRIB_VEC2", "value": 1, - "description": "" + "description": "Shader attribute type: vec2 (2 float)" }, { "name": "SHADER_ATTRIB_VEC3", "value": 2, - "description": "" + "description": "Shader attribute type: vec3 (3 float)" }, { "name": "SHADER_ATTRIB_VEC4", "value": 3, - "description": "" + "description": "Shader attribute type: vec4 (4 float)" } ] }, { "name": "PixelFormat", - "description": "", + "description": "Pixel formats", "values": [ { "name": "PIXELFORMAT_UNCOMPRESSED_GRAYSCALE", "value": 1, - "description": "" + "description": "8 bit per pixel (no alpha)" }, { "name": "PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA", "value": 2, - "description": "" + "description": "8*2 bpp (2 channels)" }, { "name": "PIXELFORMAT_UNCOMPRESSED_R5G6B5", "value": 3, - "description": "" + "description": "16 bpp" }, { "name": "PIXELFORMAT_UNCOMPRESSED_R8G8B8", "value": 4, - "description": "" + "description": "24 bpp" }, { "name": "PIXELFORMAT_UNCOMPRESSED_R5G5B5A1", "value": 5, - "description": "" + "description": "16 bpp (1 bit alpha)" }, { "name": "PIXELFORMAT_UNCOMPRESSED_R4G4B4A4", "value": 6, - "description": "" + "description": "16 bpp (4 bit alpha)" }, { "name": "PIXELFORMAT_UNCOMPRESSED_R8G8B8A8", "value": 7, - "description": "" + "description": "32 bpp" }, { "name": "PIXELFORMAT_UNCOMPRESSED_R32", "value": 8, - "description": "" + "description": "32 bpp (1 channel - float)" }, { "name": "PIXELFORMAT_UNCOMPRESSED_R32G32B32", "value": 9, - "description": "" + "description": "32*3 bpp (3 channels - float)" }, { "name": "PIXELFORMAT_UNCOMPRESSED_R32G32B32A32", "value": 10, - "description": "" + "description": "32*4 bpp (4 channels - float)" }, { "name": "PIXELFORMAT_COMPRESSED_DXT1_RGB", "value": 11, - "description": "" + "description": "4 bpp (no alpha)" }, { "name": "PIXELFORMAT_COMPRESSED_DXT1_RGBA", "value": 12, - "description": "" + "description": "4 bpp (1 bit alpha)" }, { "name": "PIXELFORMAT_COMPRESSED_DXT3_RGBA", "value": 13, - "description": "" + "description": "8 bpp" }, { "name": "PIXELFORMAT_COMPRESSED_DXT5_RGBA", "value": 14, - "description": "" + "description": "8 bpp" }, { "name": "PIXELFORMAT_COMPRESSED_ETC1_RGB", "value": 15, - "description": "" + "description": "4 bpp" }, { "name": "PIXELFORMAT_COMPRESSED_ETC2_RGB", "value": 16, - "description": "" + "description": "4 bpp" }, { "name": "PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA", "value": 17, - "description": "" + "description": "8 bpp" }, { "name": "PIXELFORMAT_COMPRESSED_PVRT_RGB", "value": 18, - "description": "" + "description": "4 bpp" }, { "name": "PIXELFORMAT_COMPRESSED_PVRT_RGBA", "value": 19, - "description": "" + "description": "4 bpp" }, { "name": "PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA", "value": 20, - "description": "" + "description": "8 bpp" }, { "name": "PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA", "value": 21, - "description": "" + "description": "2 bpp" } ] }, { "name": "TextureFilter", - "description": "", + "description": "Texture parameters: filter mode", "values": [ { "name": "TEXTURE_FILTER_POINT", "value": 0, - "description": "" + "description": "No filter, just pixel approximation" }, { "name": "TEXTURE_FILTER_BILINEAR", "value": 1, - "description": "" + "description": "Linear filtering" }, { "name": "TEXTURE_FILTER_TRILINEAR", "value": 2, - "description": "" + "description": "Trilinear filtering (linear with mipmaps)" }, { "name": "TEXTURE_FILTER_ANISOTROPIC_4X", "value": 3, - "description": "" + "description": "Anisotropic filtering 4x" }, { "name": "TEXTURE_FILTER_ANISOTROPIC_8X", "value": 4, - "description": "" + "description": "Anisotropic filtering 8x" }, { "name": "TEXTURE_FILTER_ANISOTROPIC_16X", "value": 5, - "description": "" + "description": "Anisotropic filtering 16x" } ] }, { "name": "TextureWrap", - "description": "", + "description": "Texture parameters: wrap mode", "values": [ { "name": "TEXTURE_WRAP_REPEAT", "value": 0, - "description": "" + "description": "Repeats texture in tiled mode" }, { "name": "TEXTURE_WRAP_CLAMP", "value": 1, - "description": "" + "description": "Clamps texture to edge pixel in tiled mode" }, { "name": "TEXTURE_WRAP_MIRROR_REPEAT", "value": 2, - "description": "" + "description": "Mirrors and repeats the texture in tiled mode" }, { "name": "TEXTURE_WRAP_MIRROR_CLAMP", "value": 3, - "description": "" + "description": "Mirrors and clamps to border the texture in tiled mode" } ] }, { "name": "CubemapLayout", - "description": "", + "description": "Cubemap layouts", "values": [ { "name": "CUBEMAP_LAYOUT_AUTO_DETECT", "value": 0, - "description": "" + "description": "Automatically detect layout type" }, { "name": "CUBEMAP_LAYOUT_LINE_VERTICAL", "value": 1, - "description": "" + "description": "Layout is defined by a vertical line with faces" }, { "name": "CUBEMAP_LAYOUT_LINE_HORIZONTAL", "value": 2, - "description": "" + "description": "Layout is defined by an horizontal line with faces" }, { "name": "CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR", "value": 3, - "description": "" + "description": "Layout is defined by a 3x4 cross with cubemap faces" }, { "name": "CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE", "value": 4, - "description": "" + "description": "Layout is defined by a 4x3 cross with cubemap faces" }, { "name": "CUBEMAP_LAYOUT_PANORAMA", "value": 5, - "description": "" + "description": "Layout is defined by a panorama image (equirectangular map)" } ] }, { "name": "FontType", - "description": "", + "description": "Font type, defines generation method", "values": [ { "name": "FONT_DEFAULT", "value": 0, - "description": "" + "description": "Default font generation, anti-aliased" }, { "name": "FONT_BITMAP", "value": 1, - "description": "" + "description": "Bitmap font generation, no anti-aliasing" }, { "name": "FONT_SDF", "value": 2, - "description": "" + "description": "SDF font generation, requires external shader" } ] }, { "name": "BlendMode", - "description": "", + "description": "Color blending modes (pre-defined)", "values": [ { "name": "BLEND_ALPHA", "value": 0, - "description": "" + "description": "Blend textures considering alpha (default)" }, { "name": "BLEND_ADDITIVE", "value": 1, - "description": "" + "description": "Blend textures adding colors" }, { "name": "BLEND_MULTIPLIED", "value": 2, - "description": "" + "description": "Blend textures multiplying colors" }, { "name": "BLEND_ADD_COLORS", "value": 3, - "description": "" + "description": "Blend textures adding colors (alternative)" }, { "name": "BLEND_SUBTRACT_COLORS", "value": 4, - "description": "" + "description": "Blend textures subtracting colors (alternative)" }, { "name": "BLEND_CUSTOM", "value": 5, - "description": "" + "description": "Belnd textures using custom src/dst factors (use rlSetBlendMode())" } ] }, { "name": "Gesture", - "description": "", + "description": "Gesture", "values": [ { "name": "GESTURE_NONE", "value": 0, - "description": "" + "description": "No gesture" }, { "name": "GESTURE_TAP", "value": 1, - "description": "" + "description": "Tap gesture" }, { "name": "GESTURE_DOUBLETAP", "value": 2, - "description": "" + "description": "Double tap gesture" }, { "name": "GESTURE_HOLD", "value": 4, - "description": "" + "description": "Hold gesture" }, { "name": "GESTURE_DRAG", "value": 8, - "description": "" + "description": "Drag gesture" }, { "name": "GESTURE_SWIPE_RIGHT", "value": 16, - "description": "" + "description": "Swipe right gesture" }, { "name": "GESTURE_SWIPE_LEFT", "value": 32, - "description": "" + "description": "Swipe left gesture" }, { "name": "GESTURE_SWIPE_UP", "value": 64, - "description": "" + "description": "Swipe up gesture" }, { "name": "GESTURE_SWIPE_DOWN", "value": 128, - "description": "" + "description": "Swipe down gesture" }, { "name": "GESTURE_PINCH_IN", "value": 256, - "description": "" + "description": "Pinch in gesture" }, { "name": "GESTURE_PINCH_OUT", "value": 512, - "description": "" + "description": "Pinch out gesture" } ] }, { "name": "CameraMode", - "description": "", + "description": "Camera system modes", "values": [ { "name": "CAMERA_CUSTOM", "value": 0, - "description": "" + "description": "Custom camera" }, { "name": "CAMERA_FREE", "value": 1, - "description": "" + "description": "Free camera" }, { "name": "CAMERA_ORBITAL", "value": 2, - "description": "" + "description": "Orbital camera" }, { "name": "CAMERA_FIRST_PERSON", "value": 3, - "description": "" + "description": "First person camera" }, { "name": "CAMERA_THIRD_PERSON", "value": 4, - "description": "" + "description": "Third person camera" } ] }, { "name": "CameraProjection", - "description": "", + "description": "Camera projection", "values": [ { "name": "CAMERA_PERSPECTIVE", "value": 0, - "description": "" + "description": "Perspective projection" }, { "name": "CAMERA_ORTHOGRAPHIC", "value": 1, - "description": "" + "description": "Orthographic projection" } ] }, { "name": "NPatchLayout", - "description": "", + "description": "N-patch layout", "values": [ { "name": "NPATCH_NINE_PATCH", "value": 0, - "description": "" + "description": "Npatch layout: 3x3 tiles" }, { "name": "NPATCH_THREE_PATCH_VERTICAL", "value": 1, - "description": "" + "description": "Npatch layout: 1x3 tiles" }, { "name": "NPATCH_THREE_PATCH_HORIZONTAL", "value": 2, - "description": "" + "description": "Npatch layout: 3x1 tiles" } ] } @@ -2651,6 +2651,16 @@ "description": "Get current screen height", "returnType": "int" }, + { + "name": "GetRenderWidth", + "description": "Get current render width (it considers HiDPI)", + "returnType": "int" + }, + { + "name": "GetRenderHeight", + "description": "Get current render height (it considers HiDPI)", + "returnType": "int" + }, { "name": "GetMonitorCount", "description": "Get number of connected monitors", @@ -3234,7 +3244,7 @@ }, { "name": "LoadFileText", - "description": "Load text data from file (read), returns a ' 0' terminated string", + "description": "Load text data from file (read), returns a '\\0' terminated string", "returnType": "char *", "params": { "fileName": "const char *" @@ -3250,7 +3260,7 @@ }, { "name": "SaveFileText", - "description": "Save text data to file (write), string must be ' 0' terminated, returns true on success", + "description": "Save text data to file (write), string must be '\\0' terminated, returns true on success", "returnType": "bool", "params": { "fileName": "const char *", @@ -5509,7 +5519,7 @@ }, { "name": "TextLength", - "description": "Get text length, checks for ' 0' ending", + "description": "Get text length, checks for '\\0' ending", "returnType": "unsigned int", "params": { "text": "const char *" diff --git a/parser/raylib_api.lua b/parser/raylib_api.lua index 401ccca5..6d632d02 100644 --- a/parser/raylib_api.lua +++ b/parser/raylib_api.lua @@ -905,1582 +905,1582 @@ return { enums = { { name = "ConfigFlags", - description = "", + description = "System/Window config flags", values = { { name = "FLAG_VSYNC_HINT", value = 64, - description = "" + description = "Set to try enabling V-Sync on GPU" }, { name = "FLAG_FULLSCREEN_MODE", value = 2, - description = "" + description = "Set to run program in fullscreen" }, { name = "FLAG_WINDOW_RESIZABLE", value = 4, - description = "" + description = "Set to allow resizable window" }, { name = "FLAG_WINDOW_UNDECORATED", value = 8, - description = "" + description = "Set to disable window decoration (frame and buttons)" }, { name = "FLAG_WINDOW_HIDDEN", value = 128, - description = "" + description = "Set to hide window" }, { name = "FLAG_WINDOW_MINIMIZED", value = 512, - description = "" + description = "Set to minimize window (iconify)" }, { name = "FLAG_WINDOW_MAXIMIZED", value = 1024, - description = "" + description = "Set to maximize window (expanded to monitor)" }, { name = "FLAG_WINDOW_UNFOCUSED", value = 2048, - description = "" + description = "Set to window non focused" }, { name = "FLAG_WINDOW_TOPMOST", value = 4096, - description = "" + description = "Set to window always on top" }, { name = "FLAG_WINDOW_ALWAYS_RUN", value = 256, - description = "" + description = "Set to allow windows running while minimized" }, { name = "FLAG_WINDOW_TRANSPARENT", value = 16, - description = "" + description = "Set to allow transparent framebuffer" }, { name = "FLAG_WINDOW_HIGHDPI", value = 8192, - description = "" + description = "Set to support HighDPI" }, { name = "FLAG_MSAA_4X_HINT", value = 32, - description = "" + description = "Set to try enabling MSAA 4X" }, { name = "FLAG_INTERLACED_HINT", value = 65536, - description = "" + description = "Set to try enabling interlaced video format (for V3D)" } } }, { name = "TraceLogLevel", - description = "", + description = "Trace log level", values = { { name = "LOG_ALL", value = 0, - description = "" + description = "Display all logs" }, { name = "LOG_TRACE", value = 1, - description = "" + description = "Trace logging, intended for internal use only" }, { name = "LOG_DEBUG", value = 2, - description = "" + description = "Debug logging, used for internal debugging, it should be disabled on release builds" }, { name = "LOG_INFO", value = 3, - description = "" + description = "Info logging, used for program execution info" }, { name = "LOG_WARNING", value = 4, - description = "" + description = "Warning logging, used on recoverable failures" }, { name = "LOG_ERROR", value = 5, - description = "" + description = "Error logging, used on unrecoverable failures" }, { name = "LOG_FATAL", value = 6, - description = "" + description = "Fatal logging, used to abort program: exit(EXIT_FAILURE)" }, { name = "LOG_NONE", value = 7, - description = "" + description = "Disable logging" } } }, { name = "KeyboardKey", - description = "", + description = "Keyboard keys (US keyboard layout)", values = { { name = "KEY_NULL", value = 0, - description = "" + description = "Key: NULL, used for no key pressed" }, { name = "KEY_APOSTROPHE", value = 39, - description = "" + description = "Key: '" }, { name = "KEY_COMMA", value = 44, - description = "" + description = "Key: ," }, { name = "KEY_MINUS", value = 45, - description = "" + description = "Key: -" }, { name = "KEY_PERIOD", value = 46, - description = "" + description = "Key: ." }, { name = "KEY_SLASH", value = 47, - description = "" + description = "Key: /" }, { name = "KEY_ZERO", value = 48, - description = "" + description = "Key: 0" }, { name = "KEY_ONE", value = 49, - description = "" + description = "Key: 1" }, { name = "KEY_TWO", value = 50, - description = "" + description = "Key: 2" }, { name = "KEY_THREE", value = 51, - description = "" + description = "Key: 3" }, { name = "KEY_FOUR", value = 52, - description = "" + description = "Key: 4" }, { name = "KEY_FIVE", value = 53, - description = "" + description = "Key: 5" }, { name = "KEY_SIX", value = 54, - description = "" + description = "Key: 6" }, { name = "KEY_SEVEN", value = 55, - description = "" + description = "Key: 7" }, { name = "KEY_EIGHT", value = 56, - description = "" + description = "Key: 8" }, { name = "KEY_NINE", value = 57, - description = "" + description = "Key: 9" }, { name = "KEY_SEMICOLON", value = 59, - description = "" + description = "Key: ;" }, { name = "KEY_EQUAL", value = 61, - description = "" + description = "Key: =" }, { name = "KEY_A", value = 65, - description = "" + description = "Key: A | a" }, { name = "KEY_B", value = 66, - description = "" + description = "Key: B | b" }, { name = "KEY_C", value = 67, - description = "" + description = "Key: C | c" }, { name = "KEY_D", value = 68, - description = "" + description = "Key: D | d" }, { name = "KEY_E", value = 69, - description = "" + description = "Key: E | e" }, { name = "KEY_F", value = 70, - description = "" + description = "Key: F | f" }, { name = "KEY_G", value = 71, - description = "" + description = "Key: G | g" }, { name = "KEY_H", value = 72, - description = "" + description = "Key: H | h" }, { name = "KEY_I", value = 73, - description = "" + description = "Key: I | i" }, { name = "KEY_J", value = 74, - description = "" + description = "Key: J | j" }, { name = "KEY_K", value = 75, - description = "" + description = "Key: K | k" }, { name = "KEY_L", value = 76, - description = "" + description = "Key: L | l" }, { name = "KEY_M", value = 77, - description = "" + description = "Key: M | m" }, { name = "KEY_N", value = 78, - description = "" + description = "Key: N | n" }, { name = "KEY_O", value = 79, - description = "" + description = "Key: O | o" }, { name = "KEY_P", value = 80, - description = "" + description = "Key: P | p" }, { name = "KEY_Q", value = 81, - description = "" + description = "Key: Q | q" }, { name = "KEY_R", value = 82, - description = "" + description = "Key: R | r" }, { name = "KEY_S", value = 83, - description = "" + description = "Key: S | s" }, { name = "KEY_T", value = 84, - description = "" + description = "Key: T | t" }, { name = "KEY_U", value = 85, - description = "" + description = "Key: U | u" }, { name = "KEY_V", value = 86, - description = "" + description = "Key: V | v" }, { name = "KEY_W", value = 87, - description = "" + description = "Key: W | w" }, { name = "KEY_X", value = 88, - description = "" + description = "Key: X | x" }, { name = "KEY_Y", value = 89, - description = "" + description = "Key: Y | y" }, { name = "KEY_Z", value = 90, - description = "" + description = "Key: Z | z" }, { name = "KEY_LEFT_BRACKET", value = 91, - description = "" + description = "Key: [" }, { name = "KEY_BACKSLASH", value = 92, - description = "" + description = "Key: '\\'" }, { name = "KEY_RIGHT_BRACKET", value = 93, - description = "" + description = "Key: ]" }, { name = "KEY_GRAVE", value = 96, - description = "" + description = "Key: `" }, { name = "KEY_SPACE", value = 32, - description = "" + description = "Key: Space" }, { name = "KEY_ESCAPE", value = 256, - description = "" + description = "Key: Esc" }, { name = "KEY_ENTER", value = 257, - description = "" + description = "Key: Enter" }, { name = "KEY_TAB", value = 258, - description = "" + description = "Key: Tab" }, { name = "KEY_BACKSPACE", value = 259, - description = "" + description = "Key: Backspace" }, { name = "KEY_INSERT", value = 260, - description = "" + description = "Key: Ins" }, { name = "KEY_DELETE", value = 261, - description = "" + description = "Key: Del" }, { name = "KEY_RIGHT", value = 262, - description = "" + description = "Key: Cursor right" }, { name = "KEY_LEFT", value = 263, - description = "" + description = "Key: Cursor left" }, { name = "KEY_DOWN", value = 264, - description = "" + description = "Key: Cursor down" }, { name = "KEY_UP", value = 265, - description = "" + description = "Key: Cursor up" }, { name = "KEY_PAGE_UP", value = 266, - description = "" + description = "Key: Page up" }, { name = "KEY_PAGE_DOWN", value = 267, - description = "" + description = "Key: Page down" }, { name = "KEY_HOME", value = 268, - description = "" + description = "Key: Home" }, { name = "KEY_END", value = 269, - description = "" + description = "Key: End" }, { name = "KEY_CAPS_LOCK", value = 280, - description = "" + description = "Key: Caps lock" }, { name = "KEY_SCROLL_LOCK", value = 281, - description = "" + description = "Key: Scroll down" }, { name = "KEY_NUM_LOCK", value = 282, - description = "" + description = "Key: Num lock" }, { name = "KEY_PRINT_SCREEN", value = 283, - description = "" + description = "Key: Print screen" }, { name = "KEY_PAUSE", value = 284, - description = "" + description = "Key: Pause" }, { name = "KEY_F1", value = 290, - description = "" + description = "Key: F1" }, { name = "KEY_F2", value = 291, - description = "" + description = "Key: F2" }, { name = "KEY_F3", value = 292, - description = "" + description = "Key: F3" }, { name = "KEY_F4", value = 293, - description = "" + description = "Key: F4" }, { name = "KEY_F5", value = 294, - description = "" + description = "Key: F5" }, { name = "KEY_F6", value = 295, - description = "" + description = "Key: F6" }, { name = "KEY_F7", value = 296, - description = "" + description = "Key: F7" }, { name = "KEY_F8", value = 297, - description = "" + description = "Key: F8" }, { name = "KEY_F9", value = 298, - description = "" + description = "Key: F9" }, { name = "KEY_F10", value = 299, - description = "" + description = "Key: F10" }, { name = "KEY_F11", value = 300, - description = "" + description = "Key: F11" }, { name = "KEY_F12", value = 301, - description = "" + description = "Key: F12" }, { name = "KEY_LEFT_SHIFT", value = 340, - description = "" + description = "Key: Shift left" }, { name = "KEY_LEFT_CONTROL", value = 341, - description = "" + description = "Key: Control left" }, { name = "KEY_LEFT_ALT", value = 342, - description = "" + description = "Key: Alt left" }, { name = "KEY_LEFT_SUPER", value = 343, - description = "" + description = "Key: Super left" }, { name = "KEY_RIGHT_SHIFT", value = 344, - description = "" + description = "Key: Shift right" }, { name = "KEY_RIGHT_CONTROL", value = 345, - description = "" + description = "Key: Control right" }, { name = "KEY_RIGHT_ALT", value = 346, - description = "" + description = "Key: Alt right" }, { name = "KEY_RIGHT_SUPER", value = 347, - description = "" + description = "Key: Super right" }, { name = "KEY_KB_MENU", value = 348, - description = "" + description = "Key: KB menu" }, { name = "KEY_KP_0", value = 320, - description = "" + description = "Key: Keypad 0" }, { name = "KEY_KP_1", value = 321, - description = "" + description = "Key: Keypad 1" }, { name = "KEY_KP_2", value = 322, - description = "" + description = "Key: Keypad 2" }, { name = "KEY_KP_3", value = 323, - description = "" + description = "Key: Keypad 3" }, { name = "KEY_KP_4", value = 324, - description = "" + description = "Key: Keypad 4" }, { name = "KEY_KP_5", value = 325, - description = "" + description = "Key: Keypad 5" }, { name = "KEY_KP_6", value = 326, - description = "" + description = "Key: Keypad 6" }, { name = "KEY_KP_7", value = 327, - description = "" + description = "Key: Keypad 7" }, { name = "KEY_KP_8", value = 328, - description = "" + description = "Key: Keypad 8" }, { name = "KEY_KP_9", value = 329, - description = "" + description = "Key: Keypad 9" }, { name = "KEY_KP_DECIMAL", value = 330, - description = "" + description = "Key: Keypad ." }, { name = "KEY_KP_DIVIDE", value = 331, - description = "" + description = "Key: Keypad /" }, { name = "KEY_KP_MULTIPLY", value = 332, - description = "" + description = "Key: Keypad *" }, { name = "KEY_KP_SUBTRACT", value = 333, - description = "" + description = "Key: Keypad -" }, { name = "KEY_KP_ADD", value = 334, - description = "" + description = "Key: Keypad +" }, { name = "KEY_KP_ENTER", value = 335, - description = "" + description = "Key: Keypad Enter" }, { name = "KEY_KP_EQUAL", value = 336, - description = "" + description = "Key: Keypad =" }, { name = "KEY_BACK", value = 4, - description = "" + description = "Key: Android back button" }, { name = "KEY_MENU", value = 82, - description = "" + description = "Key: Android menu button" }, { name = "KEY_VOLUME_UP", value = 24, - description = "" + description = "Key: Android volume up button" }, { name = "KEY_VOLUME_DOWN", value = 25, - description = "" + description = "Key: Android volume down button" } } }, { name = "MouseButton", - description = "", + description = "Mouse buttons", values = { { name = "MOUSE_BUTTON_LEFT", value = 0, - description = "" + description = "Mouse button left" }, { name = "MOUSE_BUTTON_RIGHT", value = 1, - description = "" + description = "Mouse button right" }, { name = "MOUSE_BUTTON_MIDDLE", value = 2, - description = "" + description = "Mouse button middle (pressed wheel)" }, { name = "MOUSE_BUTTON_SIDE", value = 3, - description = "" + description = "Mouse button side (advanced mouse device)" }, { name = "MOUSE_BUTTON_EXTRA", value = 4, - description = "" + description = "Mouse button extra (advanced mouse device)" }, { name = "MOUSE_BUTTON_FORWARD", value = 5, - description = "" + description = "Mouse button fordward (advanced mouse device)" }, { name = "MOUSE_BUTTON_BACK", value = 6, - description = "" + description = "Mouse button back (advanced mouse device)" } } }, { name = "MouseCursor", - description = "", + description = "Mouse cursor", values = { { name = "MOUSE_CURSOR_DEFAULT", value = 0, - description = "" + description = "Default pointer shape" }, { name = "MOUSE_CURSOR_ARROW", value = 1, - description = "" + description = "Arrow shape" }, { name = "MOUSE_CURSOR_IBEAM", value = 2, - description = "" + description = "Text writing cursor shape" }, { name = "MOUSE_CURSOR_CROSSHAIR", value = 3, - description = "" + description = "Cross shape" }, { name = "MOUSE_CURSOR_POINTING_HAND", value = 4, - description = "" + description = "Pointing hand cursor" }, { name = "MOUSE_CURSOR_RESIZE_EW", value = 5, - description = "" + description = "Horizontal resize/move arrow shape" }, { name = "MOUSE_CURSOR_RESIZE_NS", value = 6, - description = "" + description = "Vertical resize/move arrow shape" }, { name = "MOUSE_CURSOR_RESIZE_NWSE", value = 7, - description = "" + description = "Top-left to bottom-right diagonal resize/move arrow shape" }, { name = "MOUSE_CURSOR_RESIZE_NESW", value = 8, - description = "" + description = "The top-right to bottom-left diagonal resize/move arrow shape" }, { name = "MOUSE_CURSOR_RESIZE_ALL", value = 9, - description = "" + description = "The omni-directional resize/move cursor shape" }, { name = "MOUSE_CURSOR_NOT_ALLOWED", value = 10, - description = "" + description = "The operation-not-allowed shape" } } }, { name = "GamepadButton", - description = "", + description = "Gamepad buttons", values = { { name = "GAMEPAD_BUTTON_UNKNOWN", value = 0, - description = "" + description = "Unknown button, just for error checking" }, { name = "GAMEPAD_BUTTON_LEFT_FACE_UP", value = 1, - description = "" + description = "Gamepad left DPAD up button" }, { name = "GAMEPAD_BUTTON_LEFT_FACE_RIGHT", value = 2, - description = "" + description = "Gamepad left DPAD right button" }, { name = "GAMEPAD_BUTTON_LEFT_FACE_DOWN", value = 3, - description = "" + description = "Gamepad left DPAD down button" }, { name = "GAMEPAD_BUTTON_LEFT_FACE_LEFT", value = 4, - description = "" + description = "Gamepad left DPAD left button" }, { name = "GAMEPAD_BUTTON_RIGHT_FACE_UP", value = 5, - description = "" + description = "Gamepad right button up (i.e. PS3: Triangle, Xbox: Y)" }, { name = "GAMEPAD_BUTTON_RIGHT_FACE_RIGHT", value = 6, - description = "" + description = "Gamepad right button right (i.e. PS3: Square, Xbox: X)" }, { name = "GAMEPAD_BUTTON_RIGHT_FACE_DOWN", value = 7, - description = "" + description = "Gamepad right button down (i.e. PS3: Cross, Xbox: A)" }, { name = "GAMEPAD_BUTTON_RIGHT_FACE_LEFT", value = 8, - description = "" + description = "Gamepad right button left (i.e. PS3: Circle, Xbox: B)" }, { name = "GAMEPAD_BUTTON_LEFT_TRIGGER_1", value = 9, - description = "" + description = "Gamepad top/back trigger left (first), it could be a trailing button" }, { name = "GAMEPAD_BUTTON_LEFT_TRIGGER_2", value = 10, - description = "" + description = "Gamepad top/back trigger left (second), it could be a trailing button" }, { name = "GAMEPAD_BUTTON_RIGHT_TRIGGER_1", value = 11, - description = "" + description = "Gamepad top/back trigger right (one), it could be a trailing button" }, { name = "GAMEPAD_BUTTON_RIGHT_TRIGGER_2", value = 12, - description = "" + description = "Gamepad top/back trigger right (second), it could be a trailing button" }, { name = "GAMEPAD_BUTTON_MIDDLE_LEFT", value = 13, - description = "" + description = "Gamepad center buttons, left one (i.e. PS3: Select)" }, { name = "GAMEPAD_BUTTON_MIDDLE", value = 14, - description = "" + description = "Gamepad center buttons, middle one (i.e. PS3: PS, Xbox: XBOX)" }, { name = "GAMEPAD_BUTTON_MIDDLE_RIGHT", value = 15, - description = "" + description = "Gamepad center buttons, right one (i.e. PS3: Start)" }, { name = "GAMEPAD_BUTTON_LEFT_THUMB", value = 16, - description = "" + description = "Gamepad joystick pressed button left" }, { name = "GAMEPAD_BUTTON_RIGHT_THUMB", value = 17, - description = "" + description = "Gamepad joystick pressed button right" } } }, { name = "GamepadAxis", - description = "", + description = "Gamepad axis", values = { { name = "GAMEPAD_AXIS_LEFT_X", value = 0, - description = "" + description = "Gamepad left stick X axis" }, { name = "GAMEPAD_AXIS_LEFT_Y", value = 1, - description = "" + description = "Gamepad left stick Y axis" }, { name = "GAMEPAD_AXIS_RIGHT_X", value = 2, - description = "" + description = "Gamepad right stick X axis" }, { name = "GAMEPAD_AXIS_RIGHT_Y", value = 3, - description = "" + description = "Gamepad right stick Y axis" }, { name = "GAMEPAD_AXIS_LEFT_TRIGGER", value = 4, - description = "" + description = "Gamepad back trigger left, pressure level: [1..-1]" }, { name = "GAMEPAD_AXIS_RIGHT_TRIGGER", value = 5, - description = "" + description = "Gamepad back trigger right, pressure level: [1..-1]" } } }, { name = "MaterialMapIndex", - description = "", + description = "Material map index", values = { { name = "MATERIAL_MAP_ALBEDO", value = 0, - description = "" + description = "Albedo material (same as: MATERIAL_MAP_DIFFUSE)" }, { name = "MATERIAL_MAP_METALNESS", value = 1, - description = "" + description = "Metalness material (same as: MATERIAL_MAP_SPECULAR)" }, { name = "MATERIAL_MAP_NORMAL", value = 2, - description = "" + description = "Normal material" }, { name = "MATERIAL_MAP_ROUGHNESS", value = 3, - description = "" + description = "Roughness material" }, { name = "MATERIAL_MAP_OCCLUSION", value = 4, - description = "" + description = "Ambient occlusion material" }, { name = "MATERIAL_MAP_EMISSION", value = 5, - description = "" + description = "Emission material" }, { name = "MATERIAL_MAP_HEIGHT", value = 6, - description = "" + description = "Heightmap material" }, { name = "MATERIAL_MAP_CUBEMAP", value = 7, - description = "" + description = "Cubemap material (NOTE: Uses GL_TEXTURE_CUBE_MAP)" }, { name = "MATERIAL_MAP_IRRADIANCE", value = 8, - description = "" + description = "Irradiance material (NOTE: Uses GL_TEXTURE_CUBE_MAP)" }, { name = "MATERIAL_MAP_PREFILTER", value = 9, - description = "" + description = "Prefilter material (NOTE: Uses GL_TEXTURE_CUBE_MAP)" }, { name = "MATERIAL_MAP_BRDF", value = 10, - description = "" + description = "Brdf material" } } }, { name = "ShaderLocationIndex", - description = "", + description = "Shader location index", values = { { name = "SHADER_LOC_VERTEX_POSITION", value = 0, - description = "" + description = "Shader location: vertex attribute: position" }, { name = "SHADER_LOC_VERTEX_TEXCOORD01", value = 1, - description = "" + description = "Shader location: vertex attribute: texcoord01" }, { name = "SHADER_LOC_VERTEX_TEXCOORD02", value = 2, - description = "" + description = "Shader location: vertex attribute: texcoord02" }, { name = "SHADER_LOC_VERTEX_NORMAL", value = 3, - description = "" + description = "Shader location: vertex attribute: normal" }, { name = "SHADER_LOC_VERTEX_TANGENT", value = 4, - description = "" + description = "Shader location: vertex attribute: tangent" }, { name = "SHADER_LOC_VERTEX_COLOR", value = 5, - description = "" + description = "Shader location: vertex attribute: color" }, { name = "SHADER_LOC_MATRIX_MVP", value = 6, - description = "" + description = "Shader location: matrix uniform: model-view-projection" }, { name = "SHADER_LOC_MATRIX_VIEW", value = 7, - description = "" + description = "Shader location: matrix uniform: view (camera transform)" }, { name = "SHADER_LOC_MATRIX_PROJECTION", value = 8, - description = "" + description = "Shader location: matrix uniform: projection" }, { name = "SHADER_LOC_MATRIX_MODEL", value = 9, - description = "" + description = "Shader location: matrix uniform: model (transform)" }, { name = "SHADER_LOC_MATRIX_NORMAL", value = 10, - description = "" + description = "Shader location: matrix uniform: normal" }, { name = "SHADER_LOC_VECTOR_VIEW", value = 11, - description = "" + description = "Shader location: vector uniform: view" }, { name = "SHADER_LOC_COLOR_DIFFUSE", value = 12, - description = "" + description = "Shader location: vector uniform: diffuse color" }, { name = "SHADER_LOC_COLOR_SPECULAR", value = 13, - description = "" + description = "Shader location: vector uniform: specular color" }, { name = "SHADER_LOC_COLOR_AMBIENT", value = 14, - description = "" + description = "Shader location: vector uniform: ambient color" }, { name = "SHADER_LOC_MAP_ALBEDO", value = 15, - description = "" + description = "Shader location: sampler2d texture: albedo (same as: SHADER_LOC_MAP_DIFFUSE)" }, { name = "SHADER_LOC_MAP_METALNESS", value = 16, - description = "" + description = "Shader location: sampler2d texture: metalness (same as: SHADER_LOC_MAP_SPECULAR)" }, { name = "SHADER_LOC_MAP_NORMAL", value = 17, - description = "" + description = "Shader location: sampler2d texture: normal" }, { name = "SHADER_LOC_MAP_ROUGHNESS", value = 18, - description = "" + description = "Shader location: sampler2d texture: roughness" }, { name = "SHADER_LOC_MAP_OCCLUSION", value = 19, - description = "" + description = "Shader location: sampler2d texture: occlusion" }, { name = "SHADER_LOC_MAP_EMISSION", value = 20, - description = "" + description = "Shader location: sampler2d texture: emission" }, { name = "SHADER_LOC_MAP_HEIGHT", value = 21, - description = "" + description = "Shader location: sampler2d texture: height" }, { name = "SHADER_LOC_MAP_CUBEMAP", value = 22, - description = "" + description = "Shader location: samplerCube texture: cubemap" }, { name = "SHADER_LOC_MAP_IRRADIANCE", value = 23, - description = "" + description = "Shader location: samplerCube texture: irradiance" }, { name = "SHADER_LOC_MAP_PREFILTER", value = 24, - description = "" + description = "Shader location: samplerCube texture: prefilter" }, { name = "SHADER_LOC_MAP_BRDF", value = 25, - description = "" + description = "Shader location: sampler2d texture: brdf" } } }, { name = "ShaderUniformDataType", - description = "", + description = "Shader uniform data type", values = { { name = "SHADER_UNIFORM_FLOAT", value = 0, - description = "" + description = "Shader uniform type: float" }, { name = "SHADER_UNIFORM_VEC2", value = 1, - description = "" + description = "Shader uniform type: vec2 (2 float)" }, { name = "SHADER_UNIFORM_VEC3", value = 2, - description = "" + description = "Shader uniform type: vec3 (3 float)" }, { name = "SHADER_UNIFORM_VEC4", value = 3, - description = "" + description = "Shader uniform type: vec4 (4 float)" }, { name = "SHADER_UNIFORM_INT", value = 4, - description = "" + description = "Shader uniform type: int" }, { name = "SHADER_UNIFORM_IVEC2", value = 5, - description = "" + description = "Shader uniform type: ivec2 (2 int)" }, { name = "SHADER_UNIFORM_IVEC3", value = 6, - description = "" + description = "Shader uniform type: ivec3 (3 int)" }, { name = "SHADER_UNIFORM_IVEC4", value = 7, - description = "" + description = "Shader uniform type: ivec4 (4 int)" }, { name = "SHADER_UNIFORM_SAMPLER2D", value = 8, - description = "" + description = "Shader uniform type: sampler2d" } } }, { name = "ShaderAttributeDataType", - description = "", + description = "Shader attribute data types", values = { { name = "SHADER_ATTRIB_FLOAT", value = 0, - description = "" + description = "Shader attribute type: float" }, { name = "SHADER_ATTRIB_VEC2", value = 1, - description = "" + description = "Shader attribute type: vec2 (2 float)" }, { name = "SHADER_ATTRIB_VEC3", value = 2, - description = "" + description = "Shader attribute type: vec3 (3 float)" }, { name = "SHADER_ATTRIB_VEC4", value = 3, - description = "" + description = "Shader attribute type: vec4 (4 float)" } } }, { name = "PixelFormat", - description = "", + description = "Pixel formats", values = { { name = "PIXELFORMAT_UNCOMPRESSED_GRAYSCALE", value = 1, - description = "" + description = "8 bit per pixel (no alpha)" }, { name = "PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA", value = 2, - description = "" + description = "8*2 bpp (2 channels)" }, { name = "PIXELFORMAT_UNCOMPRESSED_R5G6B5", value = 3, - description = "" + description = "16 bpp" }, { name = "PIXELFORMAT_UNCOMPRESSED_R8G8B8", value = 4, - description = "" + description = "24 bpp" }, { name = "PIXELFORMAT_UNCOMPRESSED_R5G5B5A1", value = 5, - description = "" + description = "16 bpp (1 bit alpha)" }, { name = "PIXELFORMAT_UNCOMPRESSED_R4G4B4A4", value = 6, - description = "" + description = "16 bpp (4 bit alpha)" }, { name = "PIXELFORMAT_UNCOMPRESSED_R8G8B8A8", value = 7, - description = "" + description = "32 bpp" }, { name = "PIXELFORMAT_UNCOMPRESSED_R32", value = 8, - description = "" + description = "32 bpp (1 channel - float)" }, { name = "PIXELFORMAT_UNCOMPRESSED_R32G32B32", value = 9, - description = "" + description = "32*3 bpp (3 channels - float)" }, { name = "PIXELFORMAT_UNCOMPRESSED_R32G32B32A32", value = 10, - description = "" + description = "32*4 bpp (4 channels - float)" }, { name = "PIXELFORMAT_COMPRESSED_DXT1_RGB", value = 11, - description = "" + description = "4 bpp (no alpha)" }, { name = "PIXELFORMAT_COMPRESSED_DXT1_RGBA", value = 12, - description = "" + description = "4 bpp (1 bit alpha)" }, { name = "PIXELFORMAT_COMPRESSED_DXT3_RGBA", value = 13, - description = "" + description = "8 bpp" }, { name = "PIXELFORMAT_COMPRESSED_DXT5_RGBA", value = 14, - description = "" + description = "8 bpp" }, { name = "PIXELFORMAT_COMPRESSED_ETC1_RGB", value = 15, - description = "" + description = "4 bpp" }, { name = "PIXELFORMAT_COMPRESSED_ETC2_RGB", value = 16, - description = "" + description = "4 bpp" }, { name = "PIXELFORMAT_COMPRESSED_ETC2_EAC_RGBA", value = 17, - description = "" + description = "8 bpp" }, { name = "PIXELFORMAT_COMPRESSED_PVRT_RGB", value = 18, - description = "" + description = "4 bpp" }, { name = "PIXELFORMAT_COMPRESSED_PVRT_RGBA", value = 19, - description = "" + description = "4 bpp" }, { name = "PIXELFORMAT_COMPRESSED_ASTC_4x4_RGBA", value = 20, - description = "" + description = "8 bpp" }, { name = "PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA", value = 21, - description = "" + description = "2 bpp" } } }, { name = "TextureFilter", - description = "", + description = "Texture parameters: filter mode", values = { { name = "TEXTURE_FILTER_POINT", value = 0, - description = "" + description = "No filter, just pixel approximation" }, { name = "TEXTURE_FILTER_BILINEAR", value = 1, - description = "" + description = "Linear filtering" }, { name = "TEXTURE_FILTER_TRILINEAR", value = 2, - description = "" + description = "Trilinear filtering (linear with mipmaps)" }, { name = "TEXTURE_FILTER_ANISOTROPIC_4X", value = 3, - description = "" + description = "Anisotropic filtering 4x" }, { name = "TEXTURE_FILTER_ANISOTROPIC_8X", value = 4, - description = "" + description = "Anisotropic filtering 8x" }, { name = "TEXTURE_FILTER_ANISOTROPIC_16X", value = 5, - description = "" + description = "Anisotropic filtering 16x" } } }, { name = "TextureWrap", - description = "", + description = "Texture parameters: wrap mode", values = { { name = "TEXTURE_WRAP_REPEAT", value = 0, - description = "" + description = "Repeats texture in tiled mode" }, { name = "TEXTURE_WRAP_CLAMP", value = 1, - description = "" + description = "Clamps texture to edge pixel in tiled mode" }, { name = "TEXTURE_WRAP_MIRROR_REPEAT", value = 2, - description = "" + description = "Mirrors and repeats the texture in tiled mode" }, { name = "TEXTURE_WRAP_MIRROR_CLAMP", value = 3, - description = "" + description = "Mirrors and clamps to border the texture in tiled mode" } } }, { name = "CubemapLayout", - description = "", + description = "Cubemap layouts", values = { { name = "CUBEMAP_LAYOUT_AUTO_DETECT", value = 0, - description = "" + description = "Automatically detect layout type" }, { name = "CUBEMAP_LAYOUT_LINE_VERTICAL", value = 1, - description = "" + description = "Layout is defined by a vertical line with faces" }, { name = "CUBEMAP_LAYOUT_LINE_HORIZONTAL", value = 2, - description = "" + description = "Layout is defined by an horizontal line with faces" }, { name = "CUBEMAP_LAYOUT_CROSS_THREE_BY_FOUR", value = 3, - description = "" + description = "Layout is defined by a 3x4 cross with cubemap faces" }, { name = "CUBEMAP_LAYOUT_CROSS_FOUR_BY_THREE", value = 4, - description = "" + description = "Layout is defined by a 4x3 cross with cubemap faces" }, { name = "CUBEMAP_LAYOUT_PANORAMA", value = 5, - description = "" + description = "Layout is defined by a panorama image (equirectangular map)" } } }, { name = "FontType", - description = "", + description = "Font type, defines generation method", values = { { name = "FONT_DEFAULT", value = 0, - description = "" + description = "Default font generation, anti-aliased" }, { name = "FONT_BITMAP", value = 1, - description = "" + description = "Bitmap font generation, no anti-aliasing" }, { name = "FONT_SDF", value = 2, - description = "" + description = "SDF font generation, requires external shader" } } }, { name = "BlendMode", - description = "", + description = "Color blending modes (pre-defined)", values = { { name = "BLEND_ALPHA", value = 0, - description = "" + description = "Blend textures considering alpha (default)" }, { name = "BLEND_ADDITIVE", value = 1, - description = "" + description = "Blend textures adding colors" }, { name = "BLEND_MULTIPLIED", value = 2, - description = "" + description = "Blend textures multiplying colors" }, { name = "BLEND_ADD_COLORS", value = 3, - description = "" + description = "Blend textures adding colors (alternative)" }, { name = "BLEND_SUBTRACT_COLORS", value = 4, - description = "" + description = "Blend textures subtracting colors (alternative)" }, { name = "BLEND_CUSTOM", value = 5, - description = "" + description = "Belnd textures using custom src/dst factors (use rlSetBlendMode())" } } }, { name = "Gesture", - description = "", + description = "Gesture", values = { { name = "GESTURE_NONE", value = 0, - description = "" + description = "No gesture" }, { name = "GESTURE_TAP", value = 1, - description = "" + description = "Tap gesture" }, { name = "GESTURE_DOUBLETAP", value = 2, - description = "" + description = "Double tap gesture" }, { name = "GESTURE_HOLD", value = 4, - description = "" + description = "Hold gesture" }, { name = "GESTURE_DRAG", value = 8, - description = "" + description = "Drag gesture" }, { name = "GESTURE_SWIPE_RIGHT", value = 16, - description = "" + description = "Swipe right gesture" }, { name = "GESTURE_SWIPE_LEFT", value = 32, - description = "" + description = "Swipe left gesture" }, { name = "GESTURE_SWIPE_UP", value = 64, - description = "" + description = "Swipe up gesture" }, { name = "GESTURE_SWIPE_DOWN", value = 128, - description = "" + description = "Swipe down gesture" }, { name = "GESTURE_PINCH_IN", value = 256, - description = "" + description = "Pinch in gesture" }, { name = "GESTURE_PINCH_OUT", value = 512, - description = "" + description = "Pinch out gesture" } } }, { name = "CameraMode", - description = "", + description = "Camera system modes", values = { { name = "CAMERA_CUSTOM", value = 0, - description = "" + description = "Custom camera" }, { name = "CAMERA_FREE", value = 1, - description = "" + description = "Free camera" }, { name = "CAMERA_ORBITAL", value = 2, - description = "" + description = "Orbital camera" }, { name = "CAMERA_FIRST_PERSON", value = 3, - description = "" + description = "First person camera" }, { name = "CAMERA_THIRD_PERSON", value = 4, - description = "" + description = "Third person camera" } } }, { name = "CameraProjection", - description = "", + description = "Camera projection", values = { { name = "CAMERA_PERSPECTIVE", value = 0, - description = "" + description = "Perspective projection" }, { name = "CAMERA_ORTHOGRAPHIC", value = 1, - description = "" + description = "Orthographic projection" } } }, { name = "NPatchLayout", - description = "", + description = "N-patch layout", values = { { name = "NPATCH_NINE_PATCH", value = 0, - description = "" + description = "Npatch layout: 3x3 tiles" }, { name = "NPATCH_THREE_PATCH_VERTICAL", value = 1, - description = "" + description = "Npatch layout: 1x3 tiles" }, { name = "NPATCH_THREE_PATCH_HORIZONTAL", value = 2, - description = "" + description = "Npatch layout: 3x1 tiles" } } } @@ -2651,6 +2651,16 @@ return { description = "Get current screen height", returnType = "int" }, + { + name = "GetRenderWidth", + description = "Get current render width (it considers HiDPI)", + returnType = "int" + }, + { + name = "GetRenderHeight", + description = "Get current render height (it considers HiDPI)", + returnType = "int" + }, { name = "GetMonitorCount", description = "Get number of connected monitors", @@ -3234,7 +3244,7 @@ return { }, { name = "LoadFileText", - description = "Load text data from file (read), returns a ' 0' terminated string", + description = "Load text data from file (read), returns a '\\0' terminated string", returnType = "char *", params = { {name = "fileName", type = "const char *"} @@ -3250,7 +3260,7 @@ return { }, { name = "SaveFileText", - description = "Save text data to file (write), string must be ' 0' terminated, returns true on success", + description = "Save text data to file (write), string must be '\\0' terminated, returns true on success", returnType = "bool", params = { {name = "fileName", type = "const char *"}, @@ -5509,7 +5519,7 @@ return { }, { name = "TextLength", - description = "Get text length, checks for ' 0' ending", + description = "Get text length, checks for '\\0' ending", returnType = "unsigned int", params = { {name = "text", type = "const char *"} diff --git a/parser/raylib_api.txt b/parser/raylib_api.txt index c5fe4514..54f42b18 100644 --- a/parser/raylib_api.txt +++ b/parser/raylib_api.txt @@ -242,7 +242,7 @@ Enums found: 21 Enum 01: ConfigFlags (14 values) Name: ConfigFlags - Description: + Description: System/Window config flags Value[FLAG_VSYNC_HINT]: 64 Value[FLAG_FULLSCREEN_MODE]: 2 Value[FLAG_WINDOW_RESIZABLE]: 4 @@ -259,7 +259,7 @@ Enum 01: ConfigFlags (14 values) Value[FLAG_INTERLACED_HINT]: 65536 Enum 02: TraceLogLevel (8 values) Name: TraceLogLevel - Description: + Description: Trace log level Value[LOG_ALL]: 0 Value[LOG_TRACE]: 1 Value[LOG_DEBUG]: 2 @@ -270,7 +270,7 @@ Enum 02: TraceLogLevel (8 values) Value[LOG_NONE]: 7 Enum 03: KeyboardKey (110 values) Name: KeyboardKey - Description: + Description: Keyboard keys (US keyboard layout) Value[KEY_NULL]: 0 Value[KEY_APOSTROPHE]: 39 Value[KEY_COMMA]: 44 @@ -383,7 +383,7 @@ Enum 03: KeyboardKey (110 values) Value[KEY_VOLUME_DOWN]: 25 Enum 04: MouseButton (7 values) Name: MouseButton - Description: + Description: Mouse buttons Value[MOUSE_BUTTON_LEFT]: 0 Value[MOUSE_BUTTON_RIGHT]: 1 Value[MOUSE_BUTTON_MIDDLE]: 2 @@ -393,7 +393,7 @@ Enum 04: MouseButton (7 values) Value[MOUSE_BUTTON_BACK]: 6 Enum 05: MouseCursor (11 values) Name: MouseCursor - Description: + Description: Mouse cursor Value[MOUSE_CURSOR_DEFAULT]: 0 Value[MOUSE_CURSOR_ARROW]: 1 Value[MOUSE_CURSOR_IBEAM]: 2 @@ -407,7 +407,7 @@ Enum 05: MouseCursor (11 values) Value[MOUSE_CURSOR_NOT_ALLOWED]: 10 Enum 06: GamepadButton (18 values) Name: GamepadButton - Description: + Description: Gamepad buttons Value[GAMEPAD_BUTTON_UNKNOWN]: 0 Value[GAMEPAD_BUTTON_LEFT_FACE_UP]: 1 Value[GAMEPAD_BUTTON_LEFT_FACE_RIGHT]: 2 @@ -428,7 +428,7 @@ Enum 06: GamepadButton (18 values) Value[GAMEPAD_BUTTON_RIGHT_THUMB]: 17 Enum 07: GamepadAxis (6 values) Name: GamepadAxis - Description: + Description: Gamepad axis Value[GAMEPAD_AXIS_LEFT_X]: 0 Value[GAMEPAD_AXIS_LEFT_Y]: 1 Value[GAMEPAD_AXIS_RIGHT_X]: 2 @@ -437,7 +437,7 @@ Enum 07: GamepadAxis (6 values) Value[GAMEPAD_AXIS_RIGHT_TRIGGER]: 5 Enum 08: MaterialMapIndex (11 values) Name: MaterialMapIndex - Description: + Description: Material map index Value[MATERIAL_MAP_ALBEDO]: 0 Value[MATERIAL_MAP_METALNESS]: 1 Value[MATERIAL_MAP_NORMAL]: 2 @@ -451,7 +451,7 @@ Enum 08: MaterialMapIndex (11 values) Value[MATERIAL_MAP_BRDF]: 10 Enum 09: ShaderLocationIndex (26 values) Name: ShaderLocationIndex - Description: + Description: Shader location index Value[SHADER_LOC_VERTEX_POSITION]: 0 Value[SHADER_LOC_VERTEX_TEXCOORD01]: 1 Value[SHADER_LOC_VERTEX_TEXCOORD02]: 2 @@ -480,7 +480,7 @@ Enum 09: ShaderLocationIndex (26 values) Value[SHADER_LOC_MAP_BRDF]: 25 Enum 10: ShaderUniformDataType (9 values) Name: ShaderUniformDataType - Description: + Description: Shader uniform data type Value[SHADER_UNIFORM_FLOAT]: 0 Value[SHADER_UNIFORM_VEC2]: 1 Value[SHADER_UNIFORM_VEC3]: 2 @@ -492,14 +492,14 @@ Enum 10: ShaderUniformDataType (9 values) Value[SHADER_UNIFORM_SAMPLER2D]: 8 Enum 11: ShaderAttributeDataType (4 values) Name: ShaderAttributeDataType - Description: + Description: Shader attribute data types Value[SHADER_ATTRIB_FLOAT]: 0 Value[SHADER_ATTRIB_VEC2]: 1 Value[SHADER_ATTRIB_VEC3]: 2 Value[SHADER_ATTRIB_VEC4]: 3 Enum 12: PixelFormat (21 values) Name: PixelFormat - Description: + Description: Pixel formats Value[PIXELFORMAT_UNCOMPRESSED_GRAYSCALE]: 1 Value[PIXELFORMAT_UNCOMPRESSED_GRAY_ALPHA]: 2 Value[PIXELFORMAT_UNCOMPRESSED_R5G6B5]: 3 @@ -523,7 +523,7 @@ Enum 12: PixelFormat (21 values) Value[PIXELFORMAT_COMPRESSED_ASTC_8x8_RGBA]: 21 Enum 13: TextureFilter (6 values) Name: TextureFilter - Description: + Description: Texture parameters: filter mode Value[TEXTURE_FILTER_POINT]: 0 Value[TEXTURE_FILTER_BILINEAR]: 1 Value[TEXTURE_FILTER_TRILINEAR]: 2 @@ -532,14 +532,14 @@ Enum 13: TextureFilter (6 values) Value[TEXTURE_FILTER_ANISOTROPIC_16X]: 5 Enum 14: TextureWrap (4 values) Name: TextureWrap - Description: + Description: Texture parameters: wrap mode Value[TEXTURE_WRAP_REPEAT]: 0 Value[TEXTURE_WRAP_CLAMP]: 1 Value[TEXTURE_WRAP_MIRROR_REPEAT]: 2 Value[TEXTURE_WRAP_MIRROR_CLAMP]: 3 Enum 15: CubemapLayout (6 values) Name: CubemapLayout - Description: + Description: Cubemap layouts Value[CUBEMAP_LAYOUT_AUTO_DETECT]: 0 Value[CUBEMAP_LAYOUT_LINE_VERTICAL]: 1 Value[CUBEMAP_LAYOUT_LINE_HORIZONTAL]: 2 @@ -548,13 +548,13 @@ Enum 15: CubemapLayout (6 values) Value[CUBEMAP_LAYOUT_PANORAMA]: 5 Enum 16: FontType (3 values) Name: FontType - Description: + Description: Font type, defines generation method Value[FONT_DEFAULT]: 0 Value[FONT_BITMAP]: 1 Value[FONT_SDF]: 2 Enum 17: BlendMode (6 values) Name: BlendMode - Description: + Description: Color blending modes (pre-defined) Value[BLEND_ALPHA]: 0 Value[BLEND_ADDITIVE]: 1 Value[BLEND_MULTIPLIED]: 2 @@ -563,7 +563,7 @@ Enum 17: BlendMode (6 values) Value[BLEND_CUSTOM]: 5 Enum 18: Gesture (11 values) Name: Gesture - Description: + Description: Gesture Value[GESTURE_NONE]: 0 Value[GESTURE_TAP]: 1 Value[GESTURE_DOUBLETAP]: 2 @@ -577,7 +577,7 @@ Enum 18: Gesture (11 values) Value[GESTURE_PINCH_OUT]: 512 Enum 19: CameraMode (5 values) Name: CameraMode - Description: + Description: Camera system modes Value[CAMERA_CUSTOM]: 0 Value[CAMERA_FREE]: 1 Value[CAMERA_ORBITAL]: 2 @@ -585,17 +585,17 @@ Enum 19: CameraMode (5 values) Value[CAMERA_THIRD_PERSON]: 4 Enum 20: CameraProjection (2 values) Name: CameraProjection - Description: + Description: Camera projection Value[CAMERA_PERSPECTIVE]: 0 Value[CAMERA_ORTHOGRAPHIC]: 1 Enum 21: NPatchLayout (3 values) Name: NPatchLayout - Description: + Description: N-patch layout Value[NPATCH_NINE_PATCH]: 0 Value[NPATCH_THREE_PATCH_VERTICAL]: 1 Value[NPATCH_THREE_PATCH_HORIZONTAL]: 2 -Functions found: 487 +Functions found: 489 Function 001: InitWindow() (3 input parameters) Name: InitWindow @@ -732,182 +732,192 @@ Function 026: GetScreenHeight() (0 input parameters) Return type: int Description: Get current screen height No input parameters -Function 027: GetMonitorCount() (0 input parameters) +Function 027: GetRenderWidth() (0 input parameters) + Name: GetRenderWidth + Return type: int + Description: Get current render width (it considers HiDPI) + No input parameters +Function 028: GetRenderHeight() (0 input parameters) + Name: GetRenderHeight + Return type: int + Description: Get current render height (it considers HiDPI) + No input parameters +Function 029: GetMonitorCount() (0 input parameters) Name: GetMonitorCount Return type: int Description: Get number of connected monitors No input parameters -Function 028: GetCurrentMonitor() (0 input parameters) +Function 030: GetCurrentMonitor() (0 input parameters) Name: GetCurrentMonitor Return type: int Description: Get current connected monitor No input parameters -Function 029: GetMonitorPosition() (1 input parameters) +Function 031: GetMonitorPosition() (1 input parameters) Name: GetMonitorPosition Return type: Vector2 Description: Get specified monitor position Param[1]: monitor (type: int) -Function 030: GetMonitorWidth() (1 input parameters) +Function 032: GetMonitorWidth() (1 input parameters) Name: GetMonitorWidth Return type: int Description: Get specified monitor width (max available by monitor) Param[1]: monitor (type: int) -Function 031: GetMonitorHeight() (1 input parameters) +Function 033: GetMonitorHeight() (1 input parameters) Name: GetMonitorHeight Return type: int Description: Get specified monitor height (max available by monitor) Param[1]: monitor (type: int) -Function 032: GetMonitorPhysicalWidth() (1 input parameters) +Function 034: GetMonitorPhysicalWidth() (1 input parameters) Name: GetMonitorPhysicalWidth Return type: int Description: Get specified monitor physical width in millimetres Param[1]: monitor (type: int) -Function 033: GetMonitorPhysicalHeight() (1 input parameters) +Function 035: GetMonitorPhysicalHeight() (1 input parameters) Name: GetMonitorPhysicalHeight Return type: int Description: Get specified monitor physical height in millimetres Param[1]: monitor (type: int) -Function 034: GetMonitorRefreshRate() (1 input parameters) +Function 036: GetMonitorRefreshRate() (1 input parameters) Name: GetMonitorRefreshRate Return type: int Description: Get specified monitor refresh rate Param[1]: monitor (type: int) -Function 035: GetWindowPosition() (0 input parameters) +Function 037: GetWindowPosition() (0 input parameters) Name: GetWindowPosition Return type: Vector2 Description: Get window position XY on monitor No input parameters -Function 036: GetWindowScaleDPI() (0 input parameters) +Function 038: GetWindowScaleDPI() (0 input parameters) Name: GetWindowScaleDPI Return type: Vector2 Description: Get window scale DPI factor No input parameters -Function 037: GetMonitorName() (1 input parameters) +Function 039: GetMonitorName() (1 input parameters) Name: GetMonitorName Return type: const char * Description: Get the human-readable, UTF-8 encoded name of the primary monitor Param[1]: monitor (type: int) -Function 038: SetClipboardText() (1 input parameters) +Function 040: SetClipboardText() (1 input parameters) Name: SetClipboardText Return type: void Description: Set clipboard text content Param[1]: text (type: const char *) -Function 039: GetClipboardText() (0 input parameters) +Function 041: GetClipboardText() (0 input parameters) Name: GetClipboardText Return type: const char * Description: Get clipboard text content No input parameters -Function 040: SwapScreenBuffer() (0 input parameters) +Function 042: SwapScreenBuffer() (0 input parameters) Name: SwapScreenBuffer Return type: void Description: Swap back buffer with front buffer (screen drawing) No input parameters -Function 041: PollInputEvents() (0 input parameters) +Function 043: PollInputEvents() (0 input parameters) Name: PollInputEvents Return type: void Description: Register all input events No input parameters -Function 042: WaitTime() (1 input parameters) +Function 044: WaitTime() (1 input parameters) Name: WaitTime Return type: void Description: Wait for some milliseconds (halt program execution) Param[1]: ms (type: float) -Function 043: ShowCursor() (0 input parameters) +Function 045: ShowCursor() (0 input parameters) Name: ShowCursor Return type: void Description: Shows cursor No input parameters -Function 044: HideCursor() (0 input parameters) +Function 046: HideCursor() (0 input parameters) Name: HideCursor Return type: void Description: Hides cursor No input parameters -Function 045: IsCursorHidden() (0 input parameters) +Function 047: IsCursorHidden() (0 input parameters) Name: IsCursorHidden Return type: bool Description: Check if cursor is not visible No input parameters -Function 046: EnableCursor() (0 input parameters) +Function 048: EnableCursor() (0 input parameters) Name: EnableCursor Return type: void Description: Enables cursor (unlock cursor) No input parameters -Function 047: DisableCursor() (0 input parameters) +Function 049: DisableCursor() (0 input parameters) Name: DisableCursor Return type: void Description: Disables cursor (lock cursor) No input parameters -Function 048: IsCursorOnScreen() (0 input parameters) +Function 050: IsCursorOnScreen() (0 input parameters) Name: IsCursorOnScreen Return type: bool Description: Check if cursor is on the screen No input parameters -Function 049: ClearBackground() (1 input parameters) +Function 051: ClearBackground() (1 input parameters) Name: ClearBackground Return type: void Description: Set background color (framebuffer clear color) Param[1]: color (type: Color) -Function 050: BeginDrawing() (0 input parameters) +Function 052: BeginDrawing() (0 input parameters) Name: BeginDrawing Return type: void Description: Setup canvas (framebuffer) to start drawing No input parameters -Function 051: EndDrawing() (0 input parameters) +Function 053: EndDrawing() (0 input parameters) Name: EndDrawing Return type: void Description: End canvas drawing and swap buffers (double buffering) No input parameters -Function 052: BeginMode2D() (1 input parameters) +Function 054: BeginMode2D() (1 input parameters) Name: BeginMode2D Return type: void Description: Begin 2D mode with custom camera (2D) Param[1]: camera (type: Camera2D) -Function 053: EndMode2D() (0 input parameters) +Function 055: EndMode2D() (0 input parameters) Name: EndMode2D Return type: void Description: Ends 2D mode with custom camera No input parameters -Function 054: BeginMode3D() (1 input parameters) +Function 056: BeginMode3D() (1 input parameters) Name: BeginMode3D Return type: void Description: Begin 3D mode with custom camera (3D) Param[1]: camera (type: Camera3D) -Function 055: EndMode3D() (0 input parameters) +Function 057: EndMode3D() (0 input parameters) Name: EndMode3D Return type: void Description: Ends 3D mode and returns to default 2D orthographic mode No input parameters -Function 056: BeginTextureMode() (1 input parameters) +Function 058: BeginTextureMode() (1 input parameters) Name: BeginTextureMode Return type: void Description: Begin drawing to render texture Param[1]: target (type: RenderTexture2D) -Function 057: EndTextureMode() (0 input parameters) +Function 059: EndTextureMode() (0 input parameters) Name: EndTextureMode Return type: void Description: Ends drawing to render texture No input parameters -Function 058: BeginShaderMode() (1 input parameters) +Function 060: BeginShaderMode() (1 input parameters) Name: BeginShaderMode Return type: void Description: Begin custom shader drawing Param[1]: shader (type: Shader) -Function 059: EndShaderMode() (0 input parameters) +Function 061: EndShaderMode() (0 input parameters) Name: EndShaderMode Return type: void Description: End custom shader drawing (use default shader) No input parameters -Function 060: BeginBlendMode() (1 input parameters) +Function 062: BeginBlendMode() (1 input parameters) Name: BeginBlendMode Return type: void Description: Begin blending mode (alpha, additive, multiplied, subtract, custom) Param[1]: mode (type: int) -Function 061: EndBlendMode() (0 input parameters) +Function 063: EndBlendMode() (0 input parameters) Name: EndBlendMode Return type: void Description: End blending mode (reset to default: alpha blending) No input parameters -Function 062: BeginScissorMode() (4 input parameters) +Function 064: BeginScissorMode() (4 input parameters) Name: BeginScissorMode Return type: void Description: Begin scissor mode (define screen area for following drawing) @@ -915,56 +925,56 @@ Function 062: BeginScissorMode() (4 input parameters) Param[2]: y (type: int) Param[3]: width (type: int) Param[4]: height (type: int) -Function 063: EndScissorMode() (0 input parameters) +Function 065: EndScissorMode() (0 input parameters) Name: EndScissorMode Return type: void Description: End scissor mode No input parameters -Function 064: BeginVrStereoMode() (1 input parameters) +Function 066: BeginVrStereoMode() (1 input parameters) Name: BeginVrStereoMode Return type: void Description: Begin stereo rendering (requires VR simulator) Param[1]: config (type: VrStereoConfig) -Function 065: EndVrStereoMode() (0 input parameters) +Function 067: EndVrStereoMode() (0 input parameters) Name: EndVrStereoMode Return type: void Description: End stereo rendering (requires VR simulator) No input parameters -Function 066: LoadVrStereoConfig() (1 input parameters) +Function 068: LoadVrStereoConfig() (1 input parameters) Name: LoadVrStereoConfig Return type: VrStereoConfig Description: Load VR stereo config for VR simulator device parameters Param[1]: device (type: VrDeviceInfo) -Function 067: UnloadVrStereoConfig() (1 input parameters) +Function 069: UnloadVrStereoConfig() (1 input parameters) Name: UnloadVrStereoConfig Return type: void Description: Unload VR stereo config Param[1]: config (type: VrStereoConfig) -Function 068: LoadShader() (2 input parameters) +Function 070: LoadShader() (2 input parameters) Name: LoadShader Return type: Shader Description: Load shader from files and bind default locations Param[1]: vsFileName (type: const char *) Param[2]: fsFileName (type: const char *) -Function 069: LoadShaderFromMemory() (2 input parameters) +Function 071: LoadShaderFromMemory() (2 input parameters) Name: LoadShaderFromMemory Return type: Shader Description: Load shader from code strings and bind default locations Param[1]: vsCode (type: const char *) Param[2]: fsCode (type: const char *) -Function 070: GetShaderLocation() (2 input parameters) +Function 072: GetShaderLocation() (2 input parameters) Name: GetShaderLocation Return type: int Description: Get shader uniform location Param[1]: shader (type: Shader) Param[2]: uniformName (type: const char *) -Function 071: GetShaderLocationAttrib() (2 input parameters) +Function 073: GetShaderLocationAttrib() (2 input parameters) Name: GetShaderLocationAttrib Return type: int Description: Get shader attribute location Param[1]: shader (type: Shader) Param[2]: attribName (type: const char *) -Function 072: SetShaderValue() (4 input parameters) +Function 074: SetShaderValue() (4 input parameters) Name: SetShaderValue Return type: void Description: Set shader uniform value @@ -972,7 +982,7 @@ Function 072: SetShaderValue() (4 input parameters) Param[2]: locIndex (type: int) Param[3]: value (type: const void *) Param[4]: uniformType (type: int) -Function 073: SetShaderValueV() (5 input parameters) +Function 075: SetShaderValueV() (5 input parameters) Name: SetShaderValueV Return type: void Description: Set shader uniform value vector @@ -981,48 +991,48 @@ Function 073: SetShaderValueV() (5 input parameters) Param[3]: value (type: const void *) Param[4]: uniformType (type: int) Param[5]: count (type: int) -Function 074: SetShaderValueMatrix() (3 input parameters) +Function 076: SetShaderValueMatrix() (3 input parameters) Name: SetShaderValueMatrix Return type: void Description: Set shader uniform value (matrix 4x4) Param[1]: shader (type: Shader) Param[2]: locIndex (type: int) Param[3]: mat (type: Matrix) -Function 075: SetShaderValueTexture() (3 input parameters) +Function 077: SetShaderValueTexture() (3 input parameters) Name: SetShaderValueTexture Return type: void Description: Set shader uniform value for texture (sampler2d) Param[1]: shader (type: Shader) Param[2]: locIndex (type: int) Param[3]: texture (type: Texture2D) -Function 076: UnloadShader() (1 input parameters) +Function 078: UnloadShader() (1 input parameters) Name: UnloadShader Return type: void Description: Unload shader from GPU memory (VRAM) Param[1]: shader (type: Shader) -Function 077: GetMouseRay() (2 input parameters) +Function 079: GetMouseRay() (2 input parameters) Name: GetMouseRay Return type: Ray Description: Get a ray trace from mouse position Param[1]: mousePosition (type: Vector2) Param[2]: camera (type: Camera) -Function 078: GetCameraMatrix() (1 input parameters) +Function 080: GetCameraMatrix() (1 input parameters) Name: GetCameraMatrix Return type: Matrix Description: Get camera transform matrix (view matrix) Param[1]: camera (type: Camera) -Function 079: GetCameraMatrix2D() (1 input parameters) +Function 081: GetCameraMatrix2D() (1 input parameters) Name: GetCameraMatrix2D Return type: Matrix Description: Get camera 2d transform matrix Param[1]: camera (type: Camera2D) -Function 080: GetWorldToScreen() (2 input parameters) +Function 082: GetWorldToScreen() (2 input parameters) Name: GetWorldToScreen Return type: Vector2 Description: Get the screen space position for a 3d world space position Param[1]: position (type: Vector3) Param[2]: camera (type: Camera) -Function 081: GetWorldToScreenEx() (4 input parameters) +Function 083: GetWorldToScreenEx() (4 input parameters) Name: GetWorldToScreenEx Return type: Vector2 Description: Get size position for a 3d world space position @@ -1030,521 +1040,521 @@ Function 081: GetWorldToScreenEx() (4 input parameters) Param[2]: camera (type: Camera) Param[3]: width (type: int) Param[4]: height (type: int) -Function 082: GetWorldToScreen2D() (2 input parameters) +Function 084: GetWorldToScreen2D() (2 input parameters) Name: GetWorldToScreen2D Return type: Vector2 Description: Get the screen space position for a 2d camera world space position Param[1]: position (type: Vector2) Param[2]: camera (type: Camera2D) -Function 083: GetScreenToWorld2D() (2 input parameters) +Function 085: GetScreenToWorld2D() (2 input parameters) Name: GetScreenToWorld2D Return type: Vector2 Description: Get the world space position for a 2d camera screen space position Param[1]: position (type: Vector2) Param[2]: camera (type: Camera2D) -Function 084: SetTargetFPS() (1 input parameters) +Function 086: SetTargetFPS() (1 input parameters) Name: SetTargetFPS Return type: void Description: Set target FPS (maximum) Param[1]: fps (type: int) -Function 085: GetFPS() (0 input parameters) +Function 087: GetFPS() (0 input parameters) Name: GetFPS Return type: int Description: Get current FPS No input parameters -Function 086: GetFrameTime() (0 input parameters) +Function 088: GetFrameTime() (0 input parameters) Name: GetFrameTime Return type: float Description: Get time in seconds for last frame drawn (delta time) No input parameters -Function 087: GetTime() (0 input parameters) +Function 089: GetTime() (0 input parameters) Name: GetTime Return type: double Description: Get elapsed time in seconds since InitWindow() No input parameters -Function 088: GetRandomValue() (2 input parameters) +Function 090: GetRandomValue() (2 input parameters) Name: GetRandomValue Return type: int Description: Get a random value between min and max (both included) Param[1]: min (type: int) Param[2]: max (type: int) -Function 089: SetRandomSeed() (1 input parameters) +Function 091: SetRandomSeed() (1 input parameters) Name: SetRandomSeed Return type: void Description: Set the seed for the random number generator Param[1]: seed (type: unsigned int) -Function 090: TakeScreenshot() (1 input parameters) +Function 092: TakeScreenshot() (1 input parameters) Name: TakeScreenshot Return type: void Description: Takes a screenshot of current screen (filename extension defines format) Param[1]: fileName (type: const char *) -Function 091: SetConfigFlags() (1 input parameters) +Function 093: SetConfigFlags() (1 input parameters) Name: SetConfigFlags Return type: void Description: Setup init configuration flags (view FLAGS) Param[1]: flags (type: unsigned int) -Function 092: TraceLog() (3 input parameters) +Function 094: TraceLog() (3 input parameters) Name: TraceLog Return type: void Description: Show trace log messages (LOG_DEBUG, LOG_INFO, LOG_WARNING, LOG_ERROR...) Param[1]: logLevel (type: int) Param[2]: text (type: const char *) Param[3]: (type: ) -Function 093: SetTraceLogLevel() (1 input parameters) +Function 095: SetTraceLogLevel() (1 input parameters) Name: SetTraceLogLevel Return type: void Description: Set the current threshold (minimum) log level Param[1]: logLevel (type: int) -Function 094: MemAlloc() (1 input parameters) +Function 096: MemAlloc() (1 input parameters) Name: MemAlloc Return type: void * Description: Internal memory allocator Param[1]: size (type: int) -Function 095: MemRealloc() (2 input parameters) +Function 097: MemRealloc() (2 input parameters) Name: MemRealloc Return type: void * Description: Internal memory reallocator Param[1]: ptr (type: void *) Param[2]: size (type: int) -Function 096: MemFree() (1 input parameters) +Function 098: MemFree() (1 input parameters) Name: MemFree Return type: void Description: Internal memory free Param[1]: ptr (type: void *) -Function 097: SetTraceLogCallback() (1 input parameters) +Function 099: SetTraceLogCallback() (1 input parameters) Name: SetTraceLogCallback Return type: void Description: Set custom trace log Param[1]: callback (type: TraceLogCallback) -Function 098: SetLoadFileDataCallback() (1 input parameters) +Function 100: SetLoadFileDataCallback() (1 input parameters) Name: SetLoadFileDataCallback Return type: void Description: Set custom file binary data loader Param[1]: callback (type: LoadFileDataCallback) -Function 099: SetSaveFileDataCallback() (1 input parameters) +Function 101: SetSaveFileDataCallback() (1 input parameters) Name: SetSaveFileDataCallback Return type: void Description: Set custom file binary data saver Param[1]: callback (type: SaveFileDataCallback) -Function 100: SetLoadFileTextCallback() (1 input parameters) +Function 102: SetLoadFileTextCallback() (1 input parameters) Name: SetLoadFileTextCallback Return type: void Description: Set custom file text data loader Param[1]: callback (type: LoadFileTextCallback) -Function 101: SetSaveFileTextCallback() (1 input parameters) +Function 103: SetSaveFileTextCallback() (1 input parameters) Name: SetSaveFileTextCallback Return type: void Description: Set custom file text data saver Param[1]: callback (type: SaveFileTextCallback) -Function 102: LoadFileData() (2 input parameters) +Function 104: LoadFileData() (2 input parameters) Name: LoadFileData Return type: unsigned char * Description: Load file data as byte array (read) Param[1]: fileName (type: const char *) Param[2]: bytesRead (type: unsigned int *) -Function 103: UnloadFileData() (1 input parameters) +Function 105: UnloadFileData() (1 input parameters) Name: UnloadFileData Return type: void Description: Unload file data allocated by LoadFileData() Param[1]: data (type: unsigned char *) -Function 104: SaveFileData() (3 input parameters) +Function 106: SaveFileData() (3 input parameters) Name: SaveFileData Return type: bool Description: Save data to file from byte array (write), returns true on success Param[1]: fileName (type: const char *) Param[2]: data (type: void *) Param[3]: bytesToWrite (type: unsigned int) -Function 105: LoadFileText() (1 input parameters) +Function 107: LoadFileText() (1 input parameters) Name: LoadFileText Return type: char * Description: Load text data from file (read), returns a '\0' terminated string Param[1]: fileName (type: const char *) -Function 106: UnloadFileText() (1 input parameters) +Function 108: UnloadFileText() (1 input parameters) Name: UnloadFileText Return type: void Description: Unload file text data allocated by LoadFileText() Param[1]: text (type: char *) -Function 107: SaveFileText() (2 input parameters) +Function 109: SaveFileText() (2 input parameters) Name: SaveFileText Return type: bool Description: Save text data to file (write), string must be '\0' terminated, returns true on success Param[1]: fileName (type: const char *) Param[2]: text (type: char *) -Function 108: FileExists() (1 input parameters) +Function 110: FileExists() (1 input parameters) Name: FileExists Return type: bool Description: Check if file exists Param[1]: fileName (type: const char *) -Function 109: DirectoryExists() (1 input parameters) +Function 111: DirectoryExists() (1 input parameters) Name: DirectoryExists Return type: bool Description: Check if a directory path exists Param[1]: dirPath (type: const char *) -Function 110: IsFileExtension() (2 input parameters) +Function 112: IsFileExtension() (2 input parameters) Name: IsFileExtension Return type: bool Description: Check file extension (including point: .png, .wav) Param[1]: fileName (type: const char *) Param[2]: ext (type: const char *) -Function 111: GetFileExtension() (1 input parameters) +Function 113: GetFileExtension() (1 input parameters) Name: GetFileExtension Return type: const char * Description: Get pointer to extension for a filename string (includes dot: '.png') Param[1]: fileName (type: const char *) -Function 112: GetFileName() (1 input parameters) +Function 114: GetFileName() (1 input parameters) Name: GetFileName Return type: const char * Description: Get pointer to filename for a path string Param[1]: filePath (type: const char *) -Function 113: GetFileNameWithoutExt() (1 input parameters) +Function 115: GetFileNameWithoutExt() (1 input parameters) Name: GetFileNameWithoutExt Return type: const char * Description: Get filename string without extension (uses static string) Param[1]: filePath (type: const char *) -Function 114: GetDirectoryPath() (1 input parameters) +Function 116: GetDirectoryPath() (1 input parameters) Name: GetDirectoryPath Return type: const char * Description: Get full path for a given fileName with path (uses static string) Param[1]: filePath (type: const char *) -Function 115: GetPrevDirectoryPath() (1 input parameters) +Function 117: GetPrevDirectoryPath() (1 input parameters) Name: GetPrevDirectoryPath Return type: const char * Description: Get previous directory path for a given path (uses static string) Param[1]: dirPath (type: const char *) -Function 116: GetWorkingDirectory() (0 input parameters) +Function 118: GetWorkingDirectory() (0 input parameters) Name: GetWorkingDirectory Return type: const char * Description: Get current working directory (uses static string) No input parameters -Function 117: GetDirectoryFiles() (2 input parameters) +Function 119: GetDirectoryFiles() (2 input parameters) Name: GetDirectoryFiles Return type: char ** Description: Get filenames in a directory path (memory should be freed) Param[1]: dirPath (type: const char *) Param[2]: count (type: int *) -Function 118: ClearDirectoryFiles() (0 input parameters) +Function 120: ClearDirectoryFiles() (0 input parameters) Name: ClearDirectoryFiles Return type: void Description: Clear directory files paths buffers (free memory) No input parameters -Function 119: ChangeDirectory() (1 input parameters) +Function 121: ChangeDirectory() (1 input parameters) Name: ChangeDirectory Return type: bool Description: Change working directory, return true on success Param[1]: dir (type: const char *) -Function 120: IsFileDropped() (0 input parameters) +Function 122: IsFileDropped() (0 input parameters) Name: IsFileDropped Return type: bool Description: Check if a file has been dropped into window No input parameters -Function 121: GetDroppedFiles() (1 input parameters) +Function 123: GetDroppedFiles() (1 input parameters) Name: GetDroppedFiles Return type: char ** Description: Get dropped files names (memory should be freed) Param[1]: count (type: int *) -Function 122: ClearDroppedFiles() (0 input parameters) +Function 124: ClearDroppedFiles() (0 input parameters) Name: ClearDroppedFiles Return type: void Description: Clear dropped files paths buffer (free memory) No input parameters -Function 123: GetFileModTime() (1 input parameters) +Function 125: GetFileModTime() (1 input parameters) Name: GetFileModTime Return type: long Description: Get file modification time (last write time) Param[1]: fileName (type: const char *) -Function 124: CompressData() (3 input parameters) +Function 126: CompressData() (3 input parameters) Name: CompressData Return type: unsigned char * Description: Compress data (DEFLATE algorithm) Param[1]: data (type: unsigned char *) Param[2]: dataLength (type: int) Param[3]: compDataLength (type: int *) -Function 125: DecompressData() (3 input parameters) +Function 127: DecompressData() (3 input parameters) Name: DecompressData Return type: unsigned char * Description: Decompress data (DEFLATE algorithm) Param[1]: compData (type: unsigned char *) Param[2]: compDataLength (type: int) Param[3]: dataLength (type: int *) -Function 126: EncodeDataBase64() (3 input parameters) +Function 128: EncodeDataBase64() (3 input parameters) Name: EncodeDataBase64 Return type: char * Description: Encode data to Base64 string Param[1]: data (type: const unsigned char *) Param[2]: dataLength (type: int) Param[3]: outputLength (type: int *) -Function 127: DecodeDataBase64() (2 input parameters) +Function 129: DecodeDataBase64() (2 input parameters) Name: DecodeDataBase64 Return type: unsigned char * Description: Decode Base64 string data Param[1]: data (type: unsigned char *) Param[2]: outputLength (type: int *) -Function 128: SaveStorageValue() (2 input parameters) +Function 130: SaveStorageValue() (2 input parameters) Name: SaveStorageValue Return type: bool Description: Save integer value to storage file (to defined position), returns true on success Param[1]: position (type: unsigned int) Param[2]: value (type: int) -Function 129: LoadStorageValue() (1 input parameters) +Function 131: LoadStorageValue() (1 input parameters) Name: LoadStorageValue Return type: int Description: Load integer value from storage file (from defined position) Param[1]: position (type: unsigned int) -Function 130: OpenURL() (1 input parameters) +Function 132: OpenURL() (1 input parameters) Name: OpenURL Return type: void Description: Open URL with default system browser (if available) Param[1]: url (type: const char *) -Function 131: IsKeyPressed() (1 input parameters) +Function 133: IsKeyPressed() (1 input parameters) Name: IsKeyPressed Return type: bool Description: Check if a key has been pressed once Param[1]: key (type: int) -Function 132: IsKeyDown() (1 input parameters) +Function 134: IsKeyDown() (1 input parameters) Name: IsKeyDown Return type: bool Description: Check if a key is being pressed Param[1]: key (type: int) -Function 133: IsKeyReleased() (1 input parameters) +Function 135: IsKeyReleased() (1 input parameters) Name: IsKeyReleased Return type: bool Description: Check if a key has been released once Param[1]: key (type: int) -Function 134: IsKeyUp() (1 input parameters) +Function 136: IsKeyUp() (1 input parameters) Name: IsKeyUp Return type: bool Description: Check if a key is NOT being pressed Param[1]: key (type: int) -Function 135: SetExitKey() (1 input parameters) +Function 137: SetExitKey() (1 input parameters) Name: SetExitKey Return type: void Description: Set a custom key to exit program (default is ESC) Param[1]: key (type: int) -Function 136: GetKeyPressed() (0 input parameters) +Function 138: GetKeyPressed() (0 input parameters) Name: GetKeyPressed Return type: int Description: Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty No input parameters -Function 137: GetCharPressed() (0 input parameters) +Function 139: GetCharPressed() (0 input parameters) Name: GetCharPressed Return type: int Description: Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty No input parameters -Function 138: IsGamepadAvailable() (1 input parameters) +Function 140: IsGamepadAvailable() (1 input parameters) Name: IsGamepadAvailable Return type: bool Description: Check if a gamepad is available Param[1]: gamepad (type: int) -Function 139: GetGamepadName() (1 input parameters) +Function 141: GetGamepadName() (1 input parameters) Name: GetGamepadName Return type: const char * Description: Get gamepad internal name id Param[1]: gamepad (type: int) -Function 140: IsGamepadButtonPressed() (2 input parameters) +Function 142: IsGamepadButtonPressed() (2 input parameters) Name: IsGamepadButtonPressed Return type: bool Description: Check if a gamepad button has been pressed once Param[1]: gamepad (type: int) Param[2]: button (type: int) -Function 141: IsGamepadButtonDown() (2 input parameters) +Function 143: IsGamepadButtonDown() (2 input parameters) Name: IsGamepadButtonDown Return type: bool Description: Check if a gamepad button is being pressed Param[1]: gamepad (type: int) Param[2]: button (type: int) -Function 142: IsGamepadButtonReleased() (2 input parameters) +Function 144: IsGamepadButtonReleased() (2 input parameters) Name: IsGamepadButtonReleased Return type: bool Description: Check if a gamepad button has been released once Param[1]: gamepad (type: int) Param[2]: button (type: int) -Function 143: IsGamepadButtonUp() (2 input parameters) +Function 145: IsGamepadButtonUp() (2 input parameters) Name: IsGamepadButtonUp Return type: bool Description: Check if a gamepad button is NOT being pressed Param[1]: gamepad (type: int) Param[2]: button (type: int) -Function 144: GetGamepadButtonPressed() (0 input parameters) +Function 146: GetGamepadButtonPressed() (0 input parameters) Name: GetGamepadButtonPressed Return type: int Description: Get the last gamepad button pressed No input parameters -Function 145: GetGamepadAxisCount() (1 input parameters) +Function 147: GetGamepadAxisCount() (1 input parameters) Name: GetGamepadAxisCount Return type: int Description: Get gamepad axis count for a gamepad Param[1]: gamepad (type: int) -Function 146: GetGamepadAxisMovement() (2 input parameters) +Function 148: GetGamepadAxisMovement() (2 input parameters) Name: GetGamepadAxisMovement Return type: float Description: Get axis movement value for a gamepad axis Param[1]: gamepad (type: int) Param[2]: axis (type: int) -Function 147: SetGamepadMappings() (1 input parameters) +Function 149: SetGamepadMappings() (1 input parameters) Name: SetGamepadMappings Return type: int Description: Set internal gamepad mappings (SDL_GameControllerDB) Param[1]: mappings (type: const char *) -Function 148: IsMouseButtonPressed() (1 input parameters) +Function 150: IsMouseButtonPressed() (1 input parameters) Name: IsMouseButtonPressed Return type: bool Description: Check if a mouse button has been pressed once Param[1]: button (type: int) -Function 149: IsMouseButtonDown() (1 input parameters) +Function 151: IsMouseButtonDown() (1 input parameters) Name: IsMouseButtonDown Return type: bool Description: Check if a mouse button is being pressed Param[1]: button (type: int) -Function 150: IsMouseButtonReleased() (1 input parameters) +Function 152: IsMouseButtonReleased() (1 input parameters) Name: IsMouseButtonReleased Return type: bool Description: Check if a mouse button has been released once Param[1]: button (type: int) -Function 151: IsMouseButtonUp() (1 input parameters) +Function 153: IsMouseButtonUp() (1 input parameters) Name: IsMouseButtonUp Return type: bool Description: Check if a mouse button is NOT being pressed Param[1]: button (type: int) -Function 152: GetMouseX() (0 input parameters) +Function 154: GetMouseX() (0 input parameters) Name: GetMouseX Return type: int Description: Get mouse position X No input parameters -Function 153: GetMouseY() (0 input parameters) +Function 155: GetMouseY() (0 input parameters) Name: GetMouseY Return type: int Description: Get mouse position Y No input parameters -Function 154: GetMousePosition() (0 input parameters) +Function 156: GetMousePosition() (0 input parameters) Name: GetMousePosition Return type: Vector2 Description: Get mouse position XY No input parameters -Function 155: GetMouseDelta() (0 input parameters) +Function 157: GetMouseDelta() (0 input parameters) Name: GetMouseDelta Return type: Vector2 Description: Get mouse delta between frames No input parameters -Function 156: SetMousePosition() (2 input parameters) +Function 158: SetMousePosition() (2 input parameters) Name: SetMousePosition Return type: void Description: Set mouse position XY Param[1]: x (type: int) Param[2]: y (type: int) -Function 157: SetMouseOffset() (2 input parameters) +Function 159: SetMouseOffset() (2 input parameters) Name: SetMouseOffset Return type: void Description: Set mouse offset Param[1]: offsetX (type: int) Param[2]: offsetY (type: int) -Function 158: SetMouseScale() (2 input parameters) +Function 160: SetMouseScale() (2 input parameters) Name: SetMouseScale Return type: void Description: Set mouse scaling Param[1]: scaleX (type: float) Param[2]: scaleY (type: float) -Function 159: GetMouseWheelMove() (0 input parameters) +Function 161: GetMouseWheelMove() (0 input parameters) Name: GetMouseWheelMove Return type: float Description: Get mouse wheel movement Y No input parameters -Function 160: SetMouseCursor() (1 input parameters) +Function 162: SetMouseCursor() (1 input parameters) Name: SetMouseCursor Return type: void Description: Set mouse cursor Param[1]: cursor (type: int) -Function 161: GetTouchX() (0 input parameters) +Function 163: GetTouchX() (0 input parameters) Name: GetTouchX Return type: int Description: Get touch position X for touch point 0 (relative to screen size) No input parameters -Function 162: GetTouchY() (0 input parameters) +Function 164: GetTouchY() (0 input parameters) Name: GetTouchY Return type: int Description: Get touch position Y for touch point 0 (relative to screen size) No input parameters -Function 163: GetTouchPosition() (1 input parameters) +Function 165: GetTouchPosition() (1 input parameters) Name: GetTouchPosition Return type: Vector2 Description: Get touch position XY for a touch point index (relative to screen size) Param[1]: index (type: int) -Function 164: GetTouchPointId() (1 input parameters) +Function 166: GetTouchPointId() (1 input parameters) Name: GetTouchPointId Return type: int Description: Get touch point identifier for given index Param[1]: index (type: int) -Function 165: GetTouchPointCount() (0 input parameters) +Function 167: GetTouchPointCount() (0 input parameters) Name: GetTouchPointCount Return type: int Description: Get number of touch points No input parameters -Function 166: SetGesturesEnabled() (1 input parameters) +Function 168: SetGesturesEnabled() (1 input parameters) Name: SetGesturesEnabled Return type: void Description: Enable a set of gestures using flags Param[1]: flags (type: unsigned int) -Function 167: IsGestureDetected() (1 input parameters) +Function 169: IsGestureDetected() (1 input parameters) Name: IsGestureDetected Return type: bool Description: Check if a gesture have been detected Param[1]: gesture (type: int) -Function 168: GetGestureDetected() (0 input parameters) +Function 170: GetGestureDetected() (0 input parameters) Name: GetGestureDetected Return type: int Description: Get latest detected gesture No input parameters -Function 169: GetGestureHoldDuration() (0 input parameters) +Function 171: GetGestureHoldDuration() (0 input parameters) Name: GetGestureHoldDuration Return type: float Description: Get gesture hold time in milliseconds No input parameters -Function 170: GetGestureDragVector() (0 input parameters) +Function 172: GetGestureDragVector() (0 input parameters) Name: GetGestureDragVector Return type: Vector2 Description: Get gesture drag vector No input parameters -Function 171: GetGestureDragAngle() (0 input parameters) +Function 173: GetGestureDragAngle() (0 input parameters) Name: GetGestureDragAngle Return type: float Description: Get gesture drag angle No input parameters -Function 172: GetGesturePinchVector() (0 input parameters) +Function 174: GetGesturePinchVector() (0 input parameters) Name: GetGesturePinchVector Return type: Vector2 Description: Get gesture pinch delta No input parameters -Function 173: GetGesturePinchAngle() (0 input parameters) +Function 175: GetGesturePinchAngle() (0 input parameters) Name: GetGesturePinchAngle Return type: float Description: Get gesture pinch angle No input parameters -Function 174: SetCameraMode() (2 input parameters) +Function 176: SetCameraMode() (2 input parameters) Name: SetCameraMode Return type: void Description: Set camera mode (multiple camera modes available) Param[1]: camera (type: Camera) Param[2]: mode (type: int) -Function 175: UpdateCamera() (1 input parameters) +Function 177: UpdateCamera() (1 input parameters) Name: UpdateCamera Return type: void Description: Update camera position for selected mode Param[1]: camera (type: Camera *) -Function 176: SetCameraPanControl() (1 input parameters) +Function 178: SetCameraPanControl() (1 input parameters) Name: SetCameraPanControl Return type: void Description: Set camera pan key to combine with mouse movement (free camera) Param[1]: keyPan (type: int) -Function 177: SetCameraAltControl() (1 input parameters) +Function 179: SetCameraAltControl() (1 input parameters) Name: SetCameraAltControl Return type: void Description: Set camera alt key to combine with mouse movement (free camera) Param[1]: keyAlt (type: int) -Function 178: SetCameraSmoothZoomControl() (1 input parameters) +Function 180: SetCameraSmoothZoomControl() (1 input parameters) Name: SetCameraSmoothZoomControl Return type: void Description: Set camera smooth zoom key to combine with mouse (free camera) Param[1]: keySmoothZoom (type: int) -Function 179: SetCameraMoveControls() (6 input parameters) +Function 181: SetCameraMoveControls() (6 input parameters) Name: SetCameraMoveControls Return type: void Description: Set camera move controls (1st person and 3rd person cameras) @@ -1554,26 +1564,26 @@ Function 179: SetCameraMoveControls() (6 input parameters) Param[4]: keyLeft (type: int) Param[5]: keyUp (type: int) Param[6]: keyDown (type: int) -Function 180: SetShapesTexture() (2 input parameters) +Function 182: SetShapesTexture() (2 input parameters) Name: SetShapesTexture Return type: void Description: Set texture and rectangle to be used on shapes drawing Param[1]: texture (type: Texture2D) Param[2]: source (type: Rectangle) -Function 181: DrawPixel() (3 input parameters) +Function 183: DrawPixel() (3 input parameters) Name: DrawPixel Return type: void Description: Draw a pixel Param[1]: posX (type: int) Param[2]: posY (type: int) Param[3]: color (type: Color) -Function 182: DrawPixelV() (2 input parameters) +Function 184: DrawPixelV() (2 input parameters) Name: DrawPixelV Return type: void Description: Draw a pixel (Vector version) Param[1]: position (type: Vector2) Param[2]: color (type: Color) -Function 183: DrawLine() (5 input parameters) +Function 185: DrawLine() (5 input parameters) Name: DrawLine Return type: void Description: Draw a line @@ -1582,14 +1592,14 @@ Function 183: DrawLine() (5 input parameters) Param[3]: endPosX (type: int) Param[4]: endPosY (type: int) Param[5]: color (type: Color) -Function 184: DrawLineV() (3 input parameters) +Function 186: DrawLineV() (3 input parameters) Name: DrawLineV Return type: void Description: Draw a line (Vector version) Param[1]: startPos (type: Vector2) Param[2]: endPos (type: Vector2) Param[3]: color (type: Color) -Function 185: DrawLineEx() (4 input parameters) +Function 187: DrawLineEx() (4 input parameters) Name: DrawLineEx Return type: void Description: Draw a line defining thickness @@ -1597,7 +1607,7 @@ Function 185: DrawLineEx() (4 input parameters) Param[2]: endPos (type: Vector2) Param[3]: thick (type: float) Param[4]: color (type: Color) -Function 186: DrawLineBezier() (4 input parameters) +Function 188: DrawLineBezier() (4 input parameters) Name: DrawLineBezier Return type: void Description: Draw a line using cubic-bezier curves in-out @@ -1605,7 +1615,7 @@ Function 186: DrawLineBezier() (4 input parameters) Param[2]: endPos (type: Vector2) Param[3]: thick (type: float) Param[4]: color (type: Color) -Function 187: DrawLineBezierQuad() (5 input parameters) +Function 189: DrawLineBezierQuad() (5 input parameters) Name: DrawLineBezierQuad Return type: void Description: Draw line using quadratic bezier curves with a control point @@ -1614,7 +1624,7 @@ Function 187: DrawLineBezierQuad() (5 input parameters) Param[3]: controlPos (type: Vector2) Param[4]: thick (type: float) Param[5]: color (type: Color) -Function 188: DrawLineBezierCubic() (6 input parameters) +Function 190: DrawLineBezierCubic() (6 input parameters) Name: DrawLineBezierCubic Return type: void Description: Draw line using cubic bezier curves with 2 control points @@ -1624,14 +1634,14 @@ Function 188: DrawLineBezierCubic() (6 input parameters) Param[4]: endControlPos (type: Vector2) Param[5]: thick (type: float) Param[6]: color (type: Color) -Function 189: DrawLineStrip() (3 input parameters) +Function 191: DrawLineStrip() (3 input parameters) Name: DrawLineStrip Return type: void Description: Draw lines sequence Param[1]: points (type: Vector2 *) Param[2]: pointCount (type: int) Param[3]: color (type: Color) -Function 190: DrawCircle() (4 input parameters) +Function 192: DrawCircle() (4 input parameters) Name: DrawCircle Return type: void Description: Draw a color-filled circle @@ -1639,7 +1649,7 @@ Function 190: DrawCircle() (4 input parameters) Param[2]: centerY (type: int) Param[3]: radius (type: float) Param[4]: color (type: Color) -Function 191: DrawCircleSector() (6 input parameters) +Function 193: DrawCircleSector() (6 input parameters) Name: DrawCircleSector Return type: void Description: Draw a piece of a circle @@ -1649,7 +1659,7 @@ Function 191: DrawCircleSector() (6 input parameters) Param[4]: endAngle (type: float) Param[5]: segments (type: int) Param[6]: color (type: Color) -Function 192: DrawCircleSectorLines() (6 input parameters) +Function 194: DrawCircleSectorLines() (6 input parameters) Name: DrawCircleSectorLines Return type: void Description: Draw circle sector outline @@ -1659,7 +1669,7 @@ Function 192: DrawCircleSectorLines() (6 input parameters) Param[4]: endAngle (type: float) Param[5]: segments (type: int) Param[6]: color (type: Color) -Function 193: DrawCircleGradient() (5 input parameters) +Function 195: DrawCircleGradient() (5 input parameters) Name: DrawCircleGradient Return type: void Description: Draw a gradient-filled circle @@ -1668,14 +1678,14 @@ Function 193: DrawCircleGradient() (5 input parameters) Param[3]: radius (type: float) Param[4]: color1 (type: Color) Param[5]: color2 (type: Color) -Function 194: DrawCircleV() (3 input parameters) +Function 196: DrawCircleV() (3 input parameters) Name: DrawCircleV Return type: void Description: Draw a color-filled circle (Vector version) Param[1]: center (type: Vector2) Param[2]: radius (type: float) Param[3]: color (type: Color) -Function 195: DrawCircleLines() (4 input parameters) +Function 197: DrawCircleLines() (4 input parameters) Name: DrawCircleLines Return type: void Description: Draw circle outline @@ -1683,7 +1693,7 @@ Function 195: DrawCircleLines() (4 input parameters) Param[2]: centerY (type: int) Param[3]: radius (type: float) Param[4]: color (type: Color) -Function 196: DrawEllipse() (5 input parameters) +Function 198: DrawEllipse() (5 input parameters) Name: DrawEllipse Return type: void Description: Draw ellipse @@ -1692,7 +1702,7 @@ Function 196: DrawEllipse() (5 input parameters) Param[3]: radiusH (type: float) Param[4]: radiusV (type: float) Param[5]: color (type: Color) -Function 197: DrawEllipseLines() (5 input parameters) +Function 199: DrawEllipseLines() (5 input parameters) Name: DrawEllipseLines Return type: void Description: Draw ellipse outline @@ -1701,7 +1711,7 @@ Function 197: DrawEllipseLines() (5 input parameters) Param[3]: radiusH (type: float) Param[4]: radiusV (type: float) Param[5]: color (type: Color) -Function 198: DrawRing() (7 input parameters) +Function 200: DrawRing() (7 input parameters) Name: DrawRing Return type: void Description: Draw ring @@ -1712,7 +1722,7 @@ Function 198: DrawRing() (7 input parameters) Param[5]: endAngle (type: float) Param[6]: segments (type: int) Param[7]: color (type: Color) -Function 199: DrawRingLines() (7 input parameters) +Function 201: DrawRingLines() (7 input parameters) Name: DrawRingLines Return type: void Description: Draw ring outline @@ -1723,7 +1733,7 @@ Function 199: DrawRingLines() (7 input parameters) Param[5]: endAngle (type: float) Param[6]: segments (type: int) Param[7]: color (type: Color) -Function 200: DrawRectangle() (5 input parameters) +Function 202: DrawRectangle() (5 input parameters) Name: DrawRectangle Return type: void Description: Draw a color-filled rectangle @@ -1732,20 +1742,20 @@ Function 200: DrawRectangle() (5 input parameters) Param[3]: width (type: int) Param[4]: height (type: int) Param[5]: color (type: Color) -Function 201: DrawRectangleV() (3 input parameters) +Function 203: DrawRectangleV() (3 input parameters) Name: DrawRectangleV Return type: void Description: Draw a color-filled rectangle (Vector version) Param[1]: position (type: Vector2) Param[2]: size (type: Vector2) Param[3]: color (type: Color) -Function 202: DrawRectangleRec() (2 input parameters) +Function 204: DrawRectangleRec() (2 input parameters) Name: DrawRectangleRec Return type: void Description: Draw a color-filled rectangle Param[1]: rec (type: Rectangle) Param[2]: color (type: Color) -Function 203: DrawRectanglePro() (4 input parameters) +Function 205: DrawRectanglePro() (4 input parameters) Name: DrawRectanglePro Return type: void Description: Draw a color-filled rectangle with pro parameters @@ -1753,7 +1763,7 @@ Function 203: DrawRectanglePro() (4 input parameters) Param[2]: origin (type: Vector2) Param[3]: rotation (type: float) Param[4]: color (type: Color) -Function 204: DrawRectangleGradientV() (6 input parameters) +Function 206: DrawRectangleGradientV() (6 input parameters) Name: DrawRectangleGradientV Return type: void Description: Draw a vertical-gradient-filled rectangle @@ -1763,7 +1773,7 @@ Function 204: DrawRectangleGradientV() (6 input parameters) Param[4]: height (type: int) Param[5]: color1 (type: Color) Param[6]: color2 (type: Color) -Function 205: DrawRectangleGradientH() (6 input parameters) +Function 207: DrawRectangleGradientH() (6 input parameters) Name: DrawRectangleGradientH Return type: void Description: Draw a horizontal-gradient-filled rectangle @@ -1773,7 +1783,7 @@ Function 205: DrawRectangleGradientH() (6 input parameters) Param[4]: height (type: int) Param[5]: color1 (type: Color) Param[6]: color2 (type: Color) -Function 206: DrawRectangleGradientEx() (5 input parameters) +Function 208: DrawRectangleGradientEx() (5 input parameters) Name: DrawRectangleGradientEx Return type: void Description: Draw a gradient-filled rectangle with custom vertex colors @@ -1782,7 +1792,7 @@ Function 206: DrawRectangleGradientEx() (5 input parameters) Param[3]: col2 (type: Color) Param[4]: col3 (type: Color) Param[5]: col4 (type: Color) -Function 207: DrawRectangleLines() (5 input parameters) +Function 209: DrawRectangleLines() (5 input parameters) Name: DrawRectangleLines Return type: void Description: Draw rectangle outline @@ -1791,14 +1801,14 @@ Function 207: DrawRectangleLines() (5 input parameters) Param[3]: width (type: int) Param[4]: height (type: int) Param[5]: color (type: Color) -Function 208: DrawRectangleLinesEx() (3 input parameters) +Function 210: DrawRectangleLinesEx() (3 input parameters) Name: DrawRectangleLinesEx Return type: void Description: Draw rectangle outline with extended parameters Param[1]: rec (type: Rectangle) Param[2]: lineThick (type: float) Param[3]: color (type: Color) -Function 209: DrawRectangleRounded() (4 input parameters) +Function 211: DrawRectangleRounded() (4 input parameters) Name: DrawRectangleRounded Return type: void Description: Draw rectangle with rounded edges @@ -1806,7 +1816,7 @@ Function 209: DrawRectangleRounded() (4 input parameters) Param[2]: roundness (type: float) Param[3]: segments (type: int) Param[4]: color (type: Color) -Function 210: DrawRectangleRoundedLines() (5 input parameters) +Function 212: DrawRectangleRoundedLines() (5 input parameters) Name: DrawRectangleRoundedLines Return type: void Description: Draw rectangle with rounded edges outline @@ -1815,7 +1825,7 @@ Function 210: DrawRectangleRoundedLines() (5 input parameters) Param[3]: segments (type: int) Param[4]: lineThick (type: float) Param[5]: color (type: Color) -Function 211: DrawTriangle() (4 input parameters) +Function 213: DrawTriangle() (4 input parameters) Name: DrawTriangle Return type: void Description: Draw a color-filled triangle (vertex in counter-clockwise order!) @@ -1823,7 +1833,7 @@ Function 211: DrawTriangle() (4 input parameters) Param[2]: v2 (type: Vector2) Param[3]: v3 (type: Vector2) Param[4]: color (type: Color) -Function 212: DrawTriangleLines() (4 input parameters) +Function 214: DrawTriangleLines() (4 input parameters) Name: DrawTriangleLines Return type: void Description: Draw triangle outline (vertex in counter-clockwise order!) @@ -1831,21 +1841,21 @@ Function 212: DrawTriangleLines() (4 input parameters) Param[2]: v2 (type: Vector2) Param[3]: v3 (type: Vector2) Param[4]: color (type: Color) -Function 213: DrawTriangleFan() (3 input parameters) +Function 215: DrawTriangleFan() (3 input parameters) Name: DrawTriangleFan Return type: void Description: Draw a triangle fan defined by points (first vertex is the center) Param[1]: points (type: Vector2 *) Param[2]: pointCount (type: int) Param[3]: color (type: Color) -Function 214: DrawTriangleStrip() (3 input parameters) +Function 216: DrawTriangleStrip() (3 input parameters) Name: DrawTriangleStrip Return type: void Description: Draw a triangle strip defined by points Param[1]: points (type: Vector2 *) Param[2]: pointCount (type: int) Param[3]: color (type: Color) -Function 215: DrawPoly() (5 input parameters) +Function 217: DrawPoly() (5 input parameters) Name: DrawPoly Return type: void Description: Draw a regular polygon (Vector version) @@ -1854,7 +1864,7 @@ Function 215: DrawPoly() (5 input parameters) Param[3]: radius (type: float) Param[4]: rotation (type: float) Param[5]: color (type: Color) -Function 216: DrawPolyLines() (5 input parameters) +Function 218: DrawPolyLines() (5 input parameters) Name: DrawPolyLines Return type: void Description: Draw a polygon outline of n sides @@ -1863,7 +1873,7 @@ Function 216: DrawPolyLines() (5 input parameters) Param[3]: radius (type: float) Param[4]: rotation (type: float) Param[5]: color (type: Color) -Function 217: DrawPolyLinesEx() (6 input parameters) +Function 219: DrawPolyLinesEx() (6 input parameters) Name: DrawPolyLinesEx Return type: void Description: Draw a polygon outline of n sides with extended parameters @@ -1873,13 +1883,13 @@ Function 217: DrawPolyLinesEx() (6 input parameters) Param[4]: rotation (type: float) Param[5]: lineThick (type: float) Param[6]: color (type: Color) -Function 218: CheckCollisionRecs() (2 input parameters) +Function 220: CheckCollisionRecs() (2 input parameters) Name: CheckCollisionRecs Return type: bool Description: Check collision between two rectangles Param[1]: rec1 (type: Rectangle) Param[2]: rec2 (type: Rectangle) -Function 219: CheckCollisionCircles() (4 input parameters) +Function 221: CheckCollisionCircles() (4 input parameters) Name: CheckCollisionCircles Return type: bool Description: Check collision between two circles @@ -1887,27 +1897,27 @@ Function 219: CheckCollisionCircles() (4 input parameters) Param[2]: radius1 (type: float) Param[3]: center2 (type: Vector2) Param[4]: radius2 (type: float) -Function 220: CheckCollisionCircleRec() (3 input parameters) +Function 222: CheckCollisionCircleRec() (3 input parameters) Name: CheckCollisionCircleRec Return type: bool Description: Check collision between circle and rectangle Param[1]: center (type: Vector2) Param[2]: radius (type: float) Param[3]: rec (type: Rectangle) -Function 221: CheckCollisionPointRec() (2 input parameters) +Function 223: CheckCollisionPointRec() (2 input parameters) Name: CheckCollisionPointRec Return type: bool Description: Check if point is inside rectangle Param[1]: point (type: Vector2) Param[2]: rec (type: Rectangle) -Function 222: CheckCollisionPointCircle() (3 input parameters) +Function 224: CheckCollisionPointCircle() (3 input parameters) Name: CheckCollisionPointCircle Return type: bool Description: Check if point is inside circle Param[1]: point (type: Vector2) Param[2]: center (type: Vector2) Param[3]: radius (type: float) -Function 223: CheckCollisionPointTriangle() (4 input parameters) +Function 225: CheckCollisionPointTriangle() (4 input parameters) Name: CheckCollisionPointTriangle Return type: bool Description: Check if point is inside a triangle @@ -1915,7 +1925,7 @@ Function 223: CheckCollisionPointTriangle() (4 input parameters) Param[2]: p1 (type: Vector2) Param[3]: p2 (type: Vector2) Param[4]: p3 (type: Vector2) -Function 224: CheckCollisionLines() (5 input parameters) +Function 226: CheckCollisionLines() (5 input parameters) Name: CheckCollisionLines Return type: bool Description: Check the collision between two lines defined by two points each, returns collision point by reference @@ -1924,7 +1934,7 @@ Function 224: CheckCollisionLines() (5 input parameters) Param[3]: startPos2 (type: Vector2) Param[4]: endPos2 (type: Vector2) Param[5]: collisionPoint (type: Vector2 *) -Function 225: CheckCollisionPointLine() (4 input parameters) +Function 227: CheckCollisionPointLine() (4 input parameters) Name: CheckCollisionPointLine Return type: bool Description: Check if point belongs to line created between two points [p1] and [p2] with defined margin in pixels [threshold] @@ -1932,18 +1942,18 @@ Function 225: CheckCollisionPointLine() (4 input parameters) Param[2]: p1 (type: Vector2) Param[3]: p2 (type: Vector2) Param[4]: threshold (type: int) -Function 226: GetCollisionRec() (2 input parameters) +Function 228: GetCollisionRec() (2 input parameters) Name: GetCollisionRec Return type: Rectangle Description: Get collision rectangle for two rectangles collision Param[1]: rec1 (type: Rectangle) Param[2]: rec2 (type: Rectangle) -Function 227: LoadImage() (1 input parameters) +Function 229: LoadImage() (1 input parameters) Name: LoadImage Return type: Image Description: Load image from file into CPU memory (RAM) Param[1]: fileName (type: const char *) -Function 228: LoadImageRaw() (5 input parameters) +Function 230: LoadImageRaw() (5 input parameters) Name: LoadImageRaw Return type: Image Description: Load image from RAW file data @@ -1952,54 +1962,54 @@ Function 228: LoadImageRaw() (5 input parameters) Param[3]: height (type: int) Param[4]: format (type: int) Param[5]: headerSize (type: int) -Function 229: LoadImageAnim() (2 input parameters) +Function 231: LoadImageAnim() (2 input parameters) Name: LoadImageAnim Return type: Image Description: Load image sequence from file (frames appended to image.data) Param[1]: fileName (type: const char *) Param[2]: frames (type: int *) -Function 230: LoadImageFromMemory() (3 input parameters) +Function 232: LoadImageFromMemory() (3 input parameters) Name: LoadImageFromMemory Return type: Image Description: Load image from memory buffer, fileType refers to extension: i.e. '.png' Param[1]: fileType (type: const char *) Param[2]: fileData (type: const unsigned char *) Param[3]: dataSize (type: int) -Function 231: LoadImageFromTexture() (1 input parameters) +Function 233: LoadImageFromTexture() (1 input parameters) Name: LoadImageFromTexture Return type: Image Description: Load image from GPU texture data Param[1]: texture (type: Texture2D) -Function 232: LoadImageFromScreen() (0 input parameters) +Function 234: LoadImageFromScreen() (0 input parameters) Name: LoadImageFromScreen Return type: Image Description: Load image from screen buffer and (screenshot) No input parameters -Function 233: UnloadImage() (1 input parameters) +Function 235: UnloadImage() (1 input parameters) Name: UnloadImage Return type: void Description: Unload image from CPU memory (RAM) Param[1]: image (type: Image) -Function 234: ExportImage() (2 input parameters) +Function 236: ExportImage() (2 input parameters) Name: ExportImage Return type: bool Description: Export image data to file, returns true on success Param[1]: image (type: Image) Param[2]: fileName (type: const char *) -Function 235: ExportImageAsCode() (2 input parameters) +Function 237: ExportImageAsCode() (2 input parameters) Name: ExportImageAsCode Return type: bool Description: Export image as code file defining an array of bytes, returns true on success Param[1]: image (type: Image) Param[2]: fileName (type: const char *) -Function 236: GenImageColor() (3 input parameters) +Function 238: GenImageColor() (3 input parameters) Name: GenImageColor Return type: Image Description: Generate image: plain color Param[1]: width (type: int) Param[2]: height (type: int) Param[3]: color (type: Color) -Function 237: GenImageGradientV() (4 input parameters) +Function 239: GenImageGradientV() (4 input parameters) Name: GenImageGradientV Return type: Image Description: Generate image: vertical gradient @@ -2007,7 +2017,7 @@ Function 237: GenImageGradientV() (4 input parameters) Param[2]: height (type: int) Param[3]: top (type: Color) Param[4]: bottom (type: Color) -Function 238: GenImageGradientH() (4 input parameters) +Function 240: GenImageGradientH() (4 input parameters) Name: GenImageGradientH Return type: Image Description: Generate image: horizontal gradient @@ -2015,7 +2025,7 @@ Function 238: GenImageGradientH() (4 input parameters) Param[2]: height (type: int) Param[3]: left (type: Color) Param[4]: right (type: Color) -Function 239: GenImageGradientRadial() (5 input parameters) +Function 241: GenImageGradientRadial() (5 input parameters) Name: GenImageGradientRadial Return type: Image Description: Generate image: radial gradient @@ -2024,7 +2034,7 @@ Function 239: GenImageGradientRadial() (5 input parameters) Param[3]: density (type: float) Param[4]: inner (type: Color) Param[5]: outer (type: Color) -Function 240: GenImageChecked() (6 input parameters) +Function 242: GenImageChecked() (6 input parameters) Name: GenImageChecked Return type: Image Description: Generate image: checked @@ -2034,39 +2044,39 @@ Function 240: GenImageChecked() (6 input parameters) Param[4]: checksY (type: int) Param[5]: col1 (type: Color) Param[6]: col2 (type: Color) -Function 241: GenImageWhiteNoise() (3 input parameters) +Function 243: GenImageWhiteNoise() (3 input parameters) Name: GenImageWhiteNoise Return type: Image Description: Generate image: white noise Param[1]: width (type: int) Param[2]: height (type: int) Param[3]: factor (type: float) -Function 242: GenImageCellular() (3 input parameters) +Function 244: GenImageCellular() (3 input parameters) Name: GenImageCellular Return type: Image Description: Generate image: cellular algorithm, bigger tileSize means bigger cells Param[1]: width (type: int) Param[2]: height (type: int) Param[3]: tileSize (type: int) -Function 243: ImageCopy() (1 input parameters) +Function 245: ImageCopy() (1 input parameters) Name: ImageCopy Return type: Image Description: Create an image duplicate (useful for transformations) Param[1]: image (type: Image) -Function 244: ImageFromImage() (2 input parameters) +Function 246: ImageFromImage() (2 input parameters) Name: ImageFromImage Return type: Image Description: Create an image from another image piece Param[1]: image (type: Image) Param[2]: rec (type: Rectangle) -Function 245: ImageText() (3 input parameters) +Function 247: ImageText() (3 input parameters) Name: ImageText Return type: Image Description: Create an image from text (default font) Param[1]: text (type: const char *) Param[2]: fontSize (type: int) Param[3]: color (type: Color) -Function 246: ImageTextEx() (5 input parameters) +Function 248: ImageTextEx() (5 input parameters) Name: ImageTextEx Return type: Image Description: Create an image from text (custom sprite font) @@ -2075,63 +2085,63 @@ Function 246: ImageTextEx() (5 input parameters) Param[3]: fontSize (type: float) Param[4]: spacing (type: float) Param[5]: tint (type: Color) -Function 247: ImageFormat() (2 input parameters) +Function 249: ImageFormat() (2 input parameters) Name: ImageFormat Return type: void Description: Convert image data to desired format Param[1]: image (type: Image *) Param[2]: newFormat (type: int) -Function 248: ImageToPOT() (2 input parameters) +Function 250: ImageToPOT() (2 input parameters) Name: ImageToPOT Return type: void Description: Convert image to POT (power-of-two) Param[1]: image (type: Image *) Param[2]: fill (type: Color) -Function 249: ImageCrop() (2 input parameters) +Function 251: ImageCrop() (2 input parameters) Name: ImageCrop Return type: void Description: Crop an image to a defined rectangle Param[1]: image (type: Image *) Param[2]: crop (type: Rectangle) -Function 250: ImageAlphaCrop() (2 input parameters) +Function 252: ImageAlphaCrop() (2 input parameters) Name: ImageAlphaCrop Return type: void Description: Crop image depending on alpha value Param[1]: image (type: Image *) Param[2]: threshold (type: float) -Function 251: ImageAlphaClear() (3 input parameters) +Function 253: ImageAlphaClear() (3 input parameters) Name: ImageAlphaClear Return type: void Description: Clear alpha channel to desired color Param[1]: image (type: Image *) Param[2]: color (type: Color) Param[3]: threshold (type: float) -Function 252: ImageAlphaMask() (2 input parameters) +Function 254: ImageAlphaMask() (2 input parameters) Name: ImageAlphaMask Return type: void Description: Apply alpha mask to image Param[1]: image (type: Image *) Param[2]: alphaMask (type: Image) -Function 253: ImageAlphaPremultiply() (1 input parameters) +Function 255: ImageAlphaPremultiply() (1 input parameters) Name: ImageAlphaPremultiply Return type: void Description: Premultiply alpha channel Param[1]: image (type: Image *) -Function 254: ImageResize() (3 input parameters) +Function 256: ImageResize() (3 input parameters) Name: ImageResize Return type: void Description: Resize image (Bicubic scaling algorithm) Param[1]: image (type: Image *) Param[2]: newWidth (type: int) Param[3]: newHeight (type: int) -Function 255: ImageResizeNN() (3 input parameters) +Function 257: ImageResizeNN() (3 input parameters) Name: ImageResizeNN Return type: void Description: Resize image (Nearest-Neighbor scaling algorithm) Param[1]: image (type: Image *) Param[2]: newWidth (type: int) Param[3]: newHeight (type: int) -Function 256: ImageResizeCanvas() (6 input parameters) +Function 258: ImageResizeCanvas() (6 input parameters) Name: ImageResizeCanvas Return type: void Description: Resize canvas and fill with color @@ -2141,12 +2151,12 @@ Function 256: ImageResizeCanvas() (6 input parameters) Param[4]: offsetX (type: int) Param[5]: offsetY (type: int) Param[6]: fill (type: Color) -Function 257: ImageMipmaps() (1 input parameters) +Function 259: ImageMipmaps() (1 input parameters) Name: ImageMipmaps Return type: void Description: Compute all mipmap levels for a provided image Param[1]: image (type: Image *) -Function 258: ImageDither() (5 input parameters) +Function 260: ImageDither() (5 input parameters) Name: ImageDither Return type: void Description: Dither image data to 16bpp or lower (Floyd-Steinberg dithering) @@ -2155,103 +2165,103 @@ Function 258: ImageDither() (5 input parameters) Param[3]: gBpp (type: int) Param[4]: bBpp (type: int) Param[5]: aBpp (type: int) -Function 259: ImageFlipVertical() (1 input parameters) +Function 261: ImageFlipVertical() (1 input parameters) Name: ImageFlipVertical Return type: void Description: Flip image vertically Param[1]: image (type: Image *) -Function 260: ImageFlipHorizontal() (1 input parameters) +Function 262: ImageFlipHorizontal() (1 input parameters) Name: ImageFlipHorizontal Return type: void Description: Flip image horizontally Param[1]: image (type: Image *) -Function 261: ImageRotateCW() (1 input parameters) +Function 263: ImageRotateCW() (1 input parameters) Name: ImageRotateCW Return type: void Description: Rotate image clockwise 90deg Param[1]: image (type: Image *) -Function 262: ImageRotateCCW() (1 input parameters) +Function 264: ImageRotateCCW() (1 input parameters) Name: ImageRotateCCW Return type: void Description: Rotate image counter-clockwise 90deg Param[1]: image (type: Image *) -Function 263: ImageColorTint() (2 input parameters) +Function 265: ImageColorTint() (2 input parameters) Name: ImageColorTint Return type: void Description: Modify image color: tint Param[1]: image (type: Image *) Param[2]: color (type: Color) -Function 264: ImageColorInvert() (1 input parameters) +Function 266: ImageColorInvert() (1 input parameters) Name: ImageColorInvert Return type: void Description: Modify image color: invert Param[1]: image (type: Image *) -Function 265: ImageColorGrayscale() (1 input parameters) +Function 267: ImageColorGrayscale() (1 input parameters) Name: ImageColorGrayscale Return type: void Description: Modify image color: grayscale Param[1]: image (type: Image *) -Function 266: ImageColorContrast() (2 input parameters) +Function 268: ImageColorContrast() (2 input parameters) Name: ImageColorContrast Return type: void Description: Modify image color: contrast (-100 to 100) Param[1]: image (type: Image *) Param[2]: contrast (type: float) -Function 267: ImageColorBrightness() (2 input parameters) +Function 269: ImageColorBrightness() (2 input parameters) Name: ImageColorBrightness Return type: void Description: Modify image color: brightness (-255 to 255) Param[1]: image (type: Image *) Param[2]: brightness (type: int) -Function 268: ImageColorReplace() (3 input parameters) +Function 270: ImageColorReplace() (3 input parameters) Name: ImageColorReplace Return type: void Description: Modify image color: replace color Param[1]: image (type: Image *) Param[2]: color (type: Color) Param[3]: replace (type: Color) -Function 269: LoadImageColors() (1 input parameters) +Function 271: LoadImageColors() (1 input parameters) Name: LoadImageColors Return type: Color * Description: Load color data from image as a Color array (RGBA - 32bit) Param[1]: image (type: Image) -Function 270: LoadImagePalette() (3 input parameters) +Function 272: LoadImagePalette() (3 input parameters) Name: LoadImagePalette Return type: Color * Description: Load colors palette from image as a Color array (RGBA - 32bit) Param[1]: image (type: Image) Param[2]: maxPaletteSize (type: int) Param[3]: colorCount (type: int *) -Function 271: UnloadImageColors() (1 input parameters) +Function 273: UnloadImageColors() (1 input parameters) Name: UnloadImageColors Return type: void Description: Unload color data loaded with LoadImageColors() Param[1]: colors (type: Color *) -Function 272: UnloadImagePalette() (1 input parameters) +Function 274: UnloadImagePalette() (1 input parameters) Name: UnloadImagePalette Return type: void Description: Unload colors palette loaded with LoadImagePalette() Param[1]: colors (type: Color *) -Function 273: GetImageAlphaBorder() (2 input parameters) +Function 275: GetImageAlphaBorder() (2 input parameters) Name: GetImageAlphaBorder Return type: Rectangle Description: Get image alpha border rectangle Param[1]: image (type: Image) Param[2]: threshold (type: float) -Function 274: GetImageColor() (3 input parameters) +Function 276: GetImageColor() (3 input parameters) Name: GetImageColor Return type: Color Description: Get image pixel color at (x, y) position Param[1]: image (type: Image) Param[2]: x (type: int) Param[3]: y (type: int) -Function 275: ImageClearBackground() (2 input parameters) +Function 277: ImageClearBackground() (2 input parameters) Name: ImageClearBackground Return type: void Description: Clear image background with given color Param[1]: dst (type: Image *) Param[2]: color (type: Color) -Function 276: ImageDrawPixel() (4 input parameters) +Function 278: ImageDrawPixel() (4 input parameters) Name: ImageDrawPixel Return type: void Description: Draw pixel within an image @@ -2259,14 +2269,14 @@ Function 276: ImageDrawPixel() (4 input parameters) Param[2]: posX (type: int) Param[3]: posY (type: int) Param[4]: color (type: Color) -Function 277: ImageDrawPixelV() (3 input parameters) +Function 279: ImageDrawPixelV() (3 input parameters) Name: ImageDrawPixelV Return type: void Description: Draw pixel within an image (Vector version) Param[1]: dst (type: Image *) Param[2]: position (type: Vector2) Param[3]: color (type: Color) -Function 278: ImageDrawLine() (6 input parameters) +Function 280: ImageDrawLine() (6 input parameters) Name: ImageDrawLine Return type: void Description: Draw line within an image @@ -2276,7 +2286,7 @@ Function 278: ImageDrawLine() (6 input parameters) Param[4]: endPosX (type: int) Param[5]: endPosY (type: int) Param[6]: color (type: Color) -Function 279: ImageDrawLineV() (4 input parameters) +Function 281: ImageDrawLineV() (4 input parameters) Name: ImageDrawLineV Return type: void Description: Draw line within an image (Vector version) @@ -2284,7 +2294,7 @@ Function 279: ImageDrawLineV() (4 input parameters) Param[2]: start (type: Vector2) Param[3]: end (type: Vector2) Param[4]: color (type: Color) -Function 280: ImageDrawCircle() (5 input parameters) +Function 282: ImageDrawCircle() (5 input parameters) Name: ImageDrawCircle Return type: void Description: Draw circle within an image @@ -2293,7 +2303,7 @@ Function 280: ImageDrawCircle() (5 input parameters) Param[3]: centerY (type: int) Param[4]: radius (type: int) Param[5]: color (type: Color) -Function 281: ImageDrawCircleV() (4 input parameters) +Function 283: ImageDrawCircleV() (4 input parameters) Name: ImageDrawCircleV Return type: void Description: Draw circle within an image (Vector version) @@ -2301,7 +2311,7 @@ Function 281: ImageDrawCircleV() (4 input parameters) Param[2]: center (type: Vector2) Param[3]: radius (type: int) Param[4]: color (type: Color) -Function 282: ImageDrawRectangle() (6 input parameters) +Function 284: ImageDrawRectangle() (6 input parameters) Name: ImageDrawRectangle Return type: void Description: Draw rectangle within an image @@ -2311,7 +2321,7 @@ Function 282: ImageDrawRectangle() (6 input parameters) Param[4]: width (type: int) Param[5]: height (type: int) Param[6]: color (type: Color) -Function 283: ImageDrawRectangleV() (4 input parameters) +Function 285: ImageDrawRectangleV() (4 input parameters) Name: ImageDrawRectangleV Return type: void Description: Draw rectangle within an image (Vector version) @@ -2319,14 +2329,14 @@ Function 283: ImageDrawRectangleV() (4 input parameters) Param[2]: position (type: Vector2) Param[3]: size (type: Vector2) Param[4]: color (type: Color) -Function 284: ImageDrawRectangleRec() (3 input parameters) +Function 286: ImageDrawRectangleRec() (3 input parameters) Name: ImageDrawRectangleRec Return type: void Description: Draw rectangle within an image Param[1]: dst (type: Image *) Param[2]: rec (type: Rectangle) Param[3]: color (type: Color) -Function 285: ImageDrawRectangleLines() (4 input parameters) +Function 287: ImageDrawRectangleLines() (4 input parameters) Name: ImageDrawRectangleLines Return type: void Description: Draw rectangle lines within an image @@ -2334,7 +2344,7 @@ Function 285: ImageDrawRectangleLines() (4 input parameters) Param[2]: rec (type: Rectangle) Param[3]: thick (type: int) Param[4]: color (type: Color) -Function 286: ImageDraw() (5 input parameters) +Function 288: ImageDraw() (5 input parameters) Name: ImageDraw Return type: void Description: Draw a source image within a destination image (tint applied to source) @@ -2343,7 +2353,7 @@ Function 286: ImageDraw() (5 input parameters) Param[3]: srcRec (type: Rectangle) Param[4]: dstRec (type: Rectangle) Param[5]: tint (type: Color) -Function 287: ImageDrawText() (6 input parameters) +Function 289: ImageDrawText() (6 input parameters) Name: ImageDrawText Return type: void Description: Draw text (using default font) within an image (destination) @@ -2353,7 +2363,7 @@ Function 287: ImageDrawText() (6 input parameters) Param[4]: posY (type: int) Param[5]: fontSize (type: int) Param[6]: color (type: Color) -Function 288: ImageDrawTextEx() (7 input parameters) +Function 290: ImageDrawTextEx() (7 input parameters) Name: ImageDrawTextEx Return type: void Description: Draw text (custom sprite font) within an image (destination) @@ -2364,69 +2374,69 @@ Function 288: ImageDrawTextEx() (7 input parameters) Param[5]: fontSize (type: float) Param[6]: spacing (type: float) Param[7]: tint (type: Color) -Function 289: LoadTexture() (1 input parameters) +Function 291: LoadTexture() (1 input parameters) Name: LoadTexture Return type: Texture2D Description: Load texture from file into GPU memory (VRAM) Param[1]: fileName (type: const char *) -Function 290: LoadTextureFromImage() (1 input parameters) +Function 292: LoadTextureFromImage() (1 input parameters) Name: LoadTextureFromImage Return type: Texture2D Description: Load texture from image data Param[1]: image (type: Image) -Function 291: LoadTextureCubemap() (2 input parameters) +Function 293: LoadTextureCubemap() (2 input parameters) Name: LoadTextureCubemap Return type: TextureCubemap Description: Load cubemap from image, multiple image cubemap layouts supported Param[1]: image (type: Image) Param[2]: layout (type: int) -Function 292: LoadRenderTexture() (2 input parameters) +Function 294: LoadRenderTexture() (2 input parameters) Name: LoadRenderTexture Return type: RenderTexture2D Description: Load texture for rendering (framebuffer) Param[1]: width (type: int) Param[2]: height (type: int) -Function 293: UnloadTexture() (1 input parameters) +Function 295: UnloadTexture() (1 input parameters) Name: UnloadTexture Return type: void Description: Unload texture from GPU memory (VRAM) Param[1]: texture (type: Texture2D) -Function 294: UnloadRenderTexture() (1 input parameters) +Function 296: UnloadRenderTexture() (1 input parameters) Name: UnloadRenderTexture Return type: void Description: Unload render texture from GPU memory (VRAM) Param[1]: target (type: RenderTexture2D) -Function 295: UpdateTexture() (2 input parameters) +Function 297: UpdateTexture() (2 input parameters) Name: UpdateTexture Return type: void Description: Update GPU texture with new data Param[1]: texture (type: Texture2D) Param[2]: pixels (type: const void *) -Function 296: UpdateTextureRec() (3 input parameters) +Function 298: UpdateTextureRec() (3 input parameters) Name: UpdateTextureRec Return type: void Description: Update GPU texture rectangle with new data Param[1]: texture (type: Texture2D) Param[2]: rec (type: Rectangle) Param[3]: pixels (type: const void *) -Function 297: GenTextureMipmaps() (1 input parameters) +Function 299: GenTextureMipmaps() (1 input parameters) Name: GenTextureMipmaps Return type: void Description: Generate GPU mipmaps for a texture Param[1]: texture (type: Texture2D *) -Function 298: SetTextureFilter() (2 input parameters) +Function 300: SetTextureFilter() (2 input parameters) Name: SetTextureFilter Return type: void Description: Set texture scaling filter mode Param[1]: texture (type: Texture2D) Param[2]: filter (type: int) -Function 299: SetTextureWrap() (2 input parameters) +Function 301: SetTextureWrap() (2 input parameters) Name: SetTextureWrap Return type: void Description: Set texture wrapping mode Param[1]: texture (type: Texture2D) Param[2]: wrap (type: int) -Function 300: DrawTexture() (4 input parameters) +Function 302: DrawTexture() (4 input parameters) Name: DrawTexture Return type: void Description: Draw a Texture2D @@ -2434,14 +2444,14 @@ Function 300: DrawTexture() (4 input parameters) Param[2]: posX (type: int) Param[3]: posY (type: int) Param[4]: tint (type: Color) -Function 301: DrawTextureV() (3 input parameters) +Function 303: DrawTextureV() (3 input parameters) Name: DrawTextureV Return type: void Description: Draw a Texture2D with position defined as Vector2 Param[1]: texture (type: Texture2D) Param[2]: position (type: Vector2) Param[3]: tint (type: Color) -Function 302: DrawTextureEx() (5 input parameters) +Function 304: DrawTextureEx() (5 input parameters) Name: DrawTextureEx Return type: void Description: Draw a Texture2D with extended parameters @@ -2450,7 +2460,7 @@ Function 302: DrawTextureEx() (5 input parameters) Param[3]: rotation (type: float) Param[4]: scale (type: float) Param[5]: tint (type: Color) -Function 303: DrawTextureRec() (4 input parameters) +Function 305: DrawTextureRec() (4 input parameters) Name: DrawTextureRec Return type: void Description: Draw a part of a texture defined by a rectangle @@ -2458,7 +2468,7 @@ Function 303: DrawTextureRec() (4 input parameters) Param[2]: source (type: Rectangle) Param[3]: position (type: Vector2) Param[4]: tint (type: Color) -Function 304: DrawTextureQuad() (5 input parameters) +Function 306: DrawTextureQuad() (5 input parameters) Name: DrawTextureQuad Return type: void Description: Draw texture quad with tiling and offset parameters @@ -2467,7 +2477,7 @@ Function 304: DrawTextureQuad() (5 input parameters) Param[3]: offset (type: Vector2) Param[4]: quad (type: Rectangle) Param[5]: tint (type: Color) -Function 305: DrawTextureTiled() (7 input parameters) +Function 307: DrawTextureTiled() (7 input parameters) Name: DrawTextureTiled Return type: void Description: Draw part of a texture (defined by a rectangle) with rotation and scale tiled into dest. @@ -2478,7 +2488,7 @@ Function 305: DrawTextureTiled() (7 input parameters) Param[5]: rotation (type: float) Param[6]: scale (type: float) Param[7]: tint (type: Color) -Function 306: DrawTexturePro() (6 input parameters) +Function 308: DrawTexturePro() (6 input parameters) Name: DrawTexturePro Return type: void Description: Draw a part of a texture defined by a rectangle with 'pro' parameters @@ -2488,7 +2498,7 @@ Function 306: DrawTexturePro() (6 input parameters) Param[4]: origin (type: Vector2) Param[5]: rotation (type: float) Param[6]: tint (type: Color) -Function 307: DrawTextureNPatch() (6 input parameters) +Function 309: DrawTextureNPatch() (6 input parameters) Name: DrawTextureNPatch Return type: void Description: Draws a texture (or part of it) that stretches or shrinks nicely @@ -2498,7 +2508,7 @@ Function 307: DrawTextureNPatch() (6 input parameters) Param[4]: origin (type: Vector2) Param[5]: rotation (type: float) Param[6]: tint (type: Color) -Function 308: DrawTexturePoly() (6 input parameters) +Function 310: DrawTexturePoly() (6 input parameters) Name: DrawTexturePoly Return type: void Description: Draw a textured polygon @@ -2508,88 +2518,88 @@ Function 308: DrawTexturePoly() (6 input parameters) Param[4]: texcoords (type: Vector2 *) Param[5]: pointCount (type: int) Param[6]: tint (type: Color) -Function 309: Fade() (2 input parameters) +Function 311: Fade() (2 input parameters) Name: Fade Return type: Color Description: Get color with alpha applied, alpha goes from 0.0f to 1.0f Param[1]: color (type: Color) Param[2]: alpha (type: float) -Function 310: ColorToInt() (1 input parameters) +Function 312: ColorToInt() (1 input parameters) Name: ColorToInt Return type: int Description: Get hexadecimal value for a Color Param[1]: color (type: Color) -Function 311: ColorNormalize() (1 input parameters) +Function 313: ColorNormalize() (1 input parameters) Name: ColorNormalize Return type: Vector4 Description: Get Color normalized as float [0..1] Param[1]: color (type: Color) -Function 312: ColorFromNormalized() (1 input parameters) +Function 314: ColorFromNormalized() (1 input parameters) Name: ColorFromNormalized Return type: Color Description: Get Color from normalized values [0..1] Param[1]: normalized (type: Vector4) -Function 313: ColorToHSV() (1 input parameters) +Function 315: ColorToHSV() (1 input parameters) Name: ColorToHSV Return type: Vector3 Description: Get HSV values for a Color, hue [0..360], saturation/value [0..1] Param[1]: color (type: Color) -Function 314: ColorFromHSV() (3 input parameters) +Function 316: ColorFromHSV() (3 input parameters) Name: ColorFromHSV Return type: Color Description: Get a Color from HSV values, hue [0..360], saturation/value [0..1] Param[1]: hue (type: float) Param[2]: saturation (type: float) Param[3]: value (type: float) -Function 315: ColorAlpha() (2 input parameters) +Function 317: ColorAlpha() (2 input parameters) Name: ColorAlpha Return type: Color Description: Get color with alpha applied, alpha goes from 0.0f to 1.0f Param[1]: color (type: Color) Param[2]: alpha (type: float) -Function 316: ColorAlphaBlend() (3 input parameters) +Function 318: ColorAlphaBlend() (3 input parameters) Name: ColorAlphaBlend Return type: Color Description: Get src alpha-blended into dst color with tint Param[1]: dst (type: Color) Param[2]: src (type: Color) Param[3]: tint (type: Color) -Function 317: GetColor() (1 input parameters) +Function 319: GetColor() (1 input parameters) Name: GetColor Return type: Color Description: Get Color structure from hexadecimal value Param[1]: hexValue (type: unsigned int) -Function 318: GetPixelColor() (2 input parameters) +Function 320: GetPixelColor() (2 input parameters) Name: GetPixelColor Return type: Color Description: Get Color from a source pixel pointer of certain format Param[1]: srcPtr (type: void *) Param[2]: format (type: int) -Function 319: SetPixelColor() (3 input parameters) +Function 321: SetPixelColor() (3 input parameters) Name: SetPixelColor Return type: void Description: Set color formatted into destination pixel pointer Param[1]: dstPtr (type: void *) Param[2]: color (type: Color) Param[3]: format (type: int) -Function 320: GetPixelDataSize() (3 input parameters) +Function 322: GetPixelDataSize() (3 input parameters) Name: GetPixelDataSize Return type: int Description: Get pixel data size in bytes for certain format Param[1]: width (type: int) Param[2]: height (type: int) Param[3]: format (type: int) -Function 321: GetFontDefault() (0 input parameters) +Function 323: GetFontDefault() (0 input parameters) Name: GetFontDefault Return type: Font Description: Get the default Font No input parameters -Function 322: LoadFont() (1 input parameters) +Function 324: LoadFont() (1 input parameters) Name: LoadFont Return type: Font Description: Load font from file into GPU memory (VRAM) Param[1]: fileName (type: const char *) -Function 323: LoadFontEx() (4 input parameters) +Function 325: LoadFontEx() (4 input parameters) Name: LoadFontEx Return type: Font Description: Load font from file with extended parameters @@ -2597,14 +2607,14 @@ Function 323: LoadFontEx() (4 input parameters) Param[2]: fontSize (type: int) Param[3]: fontChars (type: int *) Param[4]: glyphCount (type: int) -Function 324: LoadFontFromImage() (3 input parameters) +Function 326: LoadFontFromImage() (3 input parameters) Name: LoadFontFromImage Return type: Font Description: Load font from Image (XNA style) Param[1]: image (type: Image) Param[2]: key (type: Color) Param[3]: firstChar (type: int) -Function 325: LoadFontFromMemory() (6 input parameters) +Function 327: LoadFontFromMemory() (6 input parameters) Name: LoadFontFromMemory Return type: Font Description: Load font from memory buffer, fileType refers to extension: i.e. '.ttf' @@ -2614,7 +2624,7 @@ Function 325: LoadFontFromMemory() (6 input parameters) Param[4]: fontSize (type: int) Param[5]: fontChars (type: int *) Param[6]: glyphCount (type: int) -Function 326: LoadFontData() (6 input parameters) +Function 328: LoadFontData() (6 input parameters) Name: LoadFontData Return type: GlyphInfo * Description: Load font data for further use @@ -2624,7 +2634,7 @@ Function 326: LoadFontData() (6 input parameters) Param[4]: fontChars (type: int *) Param[5]: glyphCount (type: int) Param[6]: type (type: int) -Function 327: GenImageFontAtlas() (6 input parameters) +Function 329: GenImageFontAtlas() (6 input parameters) Name: GenImageFontAtlas Return type: Image Description: Generate image font atlas using chars info @@ -2634,24 +2644,24 @@ Function 327: GenImageFontAtlas() (6 input parameters) Param[4]: fontSize (type: int) Param[5]: padding (type: int) Param[6]: packMethod (type: int) -Function 328: UnloadFontData() (2 input parameters) +Function 330: UnloadFontData() (2 input parameters) Name: UnloadFontData Return type: void Description: Unload font chars info data (RAM) Param[1]: chars (type: GlyphInfo *) Param[2]: glyphCount (type: int) -Function 329: UnloadFont() (1 input parameters) +Function 331: UnloadFont() (1 input parameters) Name: UnloadFont Return type: void Description: Unload Font from GPU memory (VRAM) Param[1]: font (type: Font) -Function 330: DrawFPS() (2 input parameters) +Function 332: DrawFPS() (2 input parameters) Name: DrawFPS Return type: void Description: Draw current FPS Param[1]: posX (type: int) Param[2]: posY (type: int) -Function 331: DrawText() (5 input parameters) +Function 333: DrawText() (5 input parameters) Name: DrawText Return type: void Description: Draw text (using default font) @@ -2660,7 +2670,7 @@ Function 331: DrawText() (5 input parameters) Param[3]: posY (type: int) Param[4]: fontSize (type: int) Param[5]: color (type: Color) -Function 332: DrawTextEx() (6 input parameters) +Function 334: DrawTextEx() (6 input parameters) Name: DrawTextEx Return type: void Description: Draw text using font and additional parameters @@ -2670,7 +2680,7 @@ Function 332: DrawTextEx() (6 input parameters) Param[4]: fontSize (type: float) Param[5]: spacing (type: float) Param[6]: tint (type: Color) -Function 333: DrawTextPro() (8 input parameters) +Function 335: DrawTextPro() (8 input parameters) Name: DrawTextPro Return type: void Description: Draw text using Font and pro parameters (rotation) @@ -2682,7 +2692,7 @@ Function 333: DrawTextPro() (8 input parameters) Param[6]: fontSize (type: float) Param[7]: spacing (type: float) Param[8]: tint (type: Color) -Function 334: DrawTextCodepoint() (5 input parameters) +Function 336: DrawTextCodepoint() (5 input parameters) Name: DrawTextCodepoint Return type: void Description: Draw one character (codepoint) @@ -2691,13 +2701,13 @@ Function 334: DrawTextCodepoint() (5 input parameters) Param[3]: position (type: Vector2) Param[4]: fontSize (type: float) Param[5]: tint (type: Color) -Function 335: MeasureText() (2 input parameters) +Function 337: MeasureText() (2 input parameters) Name: MeasureText Return type: int Description: Measure string width for default font Param[1]: text (type: const char *) Param[2]: fontSize (type: int) -Function 336: MeasureTextEx() (4 input parameters) +Function 338: MeasureTextEx() (4 input parameters) Name: MeasureTextEx Return type: Vector2 Description: Measure string size for Font @@ -2705,163 +2715,163 @@ Function 336: MeasureTextEx() (4 input parameters) Param[2]: text (type: const char *) Param[3]: fontSize (type: float) Param[4]: spacing (type: float) -Function 337: GetGlyphIndex() (2 input parameters) +Function 339: GetGlyphIndex() (2 input parameters) Name: GetGlyphIndex Return type: int Description: Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found Param[1]: font (type: Font) Param[2]: codepoint (type: int) -Function 338: GetGlyphInfo() (2 input parameters) +Function 340: GetGlyphInfo() (2 input parameters) Name: GetGlyphInfo Return type: GlyphInfo Description: Get glyph font info data for a codepoint (unicode character), fallback to '?' if not found Param[1]: font (type: Font) Param[2]: codepoint (type: int) -Function 339: GetGlyphAtlasRec() (2 input parameters) +Function 341: GetGlyphAtlasRec() (2 input parameters) Name: GetGlyphAtlasRec Return type: Rectangle Description: Get glyph rectangle in font atlas for a codepoint (unicode character), fallback to '?' if not found Param[1]: font (type: Font) Param[2]: codepoint (type: int) -Function 340: LoadCodepoints() (2 input parameters) +Function 342: LoadCodepoints() (2 input parameters) Name: LoadCodepoints Return type: int * Description: Load all codepoints from a UTF-8 text string, codepoints count returned by parameter Param[1]: text (type: const char *) Param[2]: count (type: int *) -Function 341: UnloadCodepoints() (1 input parameters) +Function 343: UnloadCodepoints() (1 input parameters) Name: UnloadCodepoints Return type: void Description: Unload codepoints data from memory Param[1]: codepoints (type: int *) -Function 342: GetCodepointCount() (1 input parameters) +Function 344: GetCodepointCount() (1 input parameters) Name: GetCodepointCount Return type: int Description: Get total number of codepoints in a UTF-8 encoded string Param[1]: text (type: const char *) -Function 343: GetCodepoint() (2 input parameters) +Function 345: GetCodepoint() (2 input parameters) Name: GetCodepoint Return type: int Description: Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure Param[1]: text (type: const char *) Param[2]: bytesProcessed (type: int *) -Function 344: CodepointToUTF8() (2 input parameters) +Function 346: CodepointToUTF8() (2 input parameters) Name: CodepointToUTF8 Return type: const char * Description: Encode one codepoint into UTF-8 byte array (array length returned as parameter) Param[1]: codepoint (type: int) Param[2]: byteSize (type: int *) -Function 345: TextCodepointsToUTF8() (2 input parameters) +Function 347: TextCodepointsToUTF8() (2 input parameters) Name: TextCodepointsToUTF8 Return type: char * Description: Encode text as codepoints array into UTF-8 text string (WARNING: memory must be freed!) Param[1]: codepoints (type: int *) Param[2]: length (type: int) -Function 346: TextCopy() (2 input parameters) +Function 348: TextCopy() (2 input parameters) Name: TextCopy Return type: int Description: Copy one string to another, returns bytes copied Param[1]: dst (type: char *) Param[2]: src (type: const char *) -Function 347: TextIsEqual() (2 input parameters) +Function 349: TextIsEqual() (2 input parameters) Name: TextIsEqual Return type: bool Description: Check if two text string are equal Param[1]: text1 (type: const char *) Param[2]: text2 (type: const char *) -Function 348: TextLength() (1 input parameters) +Function 350: TextLength() (1 input parameters) Name: TextLength Return type: unsigned int Description: Get text length, checks for '\0' ending Param[1]: text (type: const char *) -Function 349: TextFormat() (2 input parameters) +Function 351: TextFormat() (2 input parameters) Name: TextFormat Return type: const char * Description: Text formatting with variables (sprintf() style) Param[1]: text (type: const char *) Param[2]: (type: ) -Function 350: TextSubtext() (3 input parameters) +Function 352: TextSubtext() (3 input parameters) Name: TextSubtext Return type: const char * Description: Get a piece of a text string Param[1]: text (type: const char *) Param[2]: position (type: int) Param[3]: length (type: int) -Function 351: TextReplace() (3 input parameters) +Function 353: TextReplace() (3 input parameters) Name: TextReplace Return type: char * Description: Replace text string (WARNING: memory must be freed!) Param[1]: text (type: char *) Param[2]: replace (type: const char *) Param[3]: by (type: const char *) -Function 352: TextInsert() (3 input parameters) +Function 354: TextInsert() (3 input parameters) Name: TextInsert Return type: char * Description: Insert text in a position (WARNING: memory must be freed!) Param[1]: text (type: const char *) Param[2]: insert (type: const char *) Param[3]: position (type: int) -Function 353: TextJoin() (3 input parameters) +Function 355: TextJoin() (3 input parameters) Name: TextJoin Return type: const char * Description: Join text strings with delimiter Param[1]: textList (type: const char **) Param[2]: count (type: int) Param[3]: delimiter (type: const char *) -Function 354: TextSplit() (3 input parameters) +Function 356: TextSplit() (3 input parameters) Name: TextSplit Return type: const char ** Description: Split text into multiple strings Param[1]: text (type: const char *) Param[2]: delimiter (type: char) Param[3]: count (type: int *) -Function 355: TextAppend() (3 input parameters) +Function 357: TextAppend() (3 input parameters) Name: TextAppend Return type: void Description: Append text at specific position and move cursor! Param[1]: text (type: char *) Param[2]: append (type: const char *) Param[3]: position (type: int *) -Function 356: TextFindIndex() (2 input parameters) +Function 358: TextFindIndex() (2 input parameters) Name: TextFindIndex Return type: int Description: Find first text occurrence within a string Param[1]: text (type: const char *) Param[2]: find (type: const char *) -Function 357: TextToUpper() (1 input parameters) +Function 359: TextToUpper() (1 input parameters) Name: TextToUpper Return type: const char * Description: Get upper case version of provided string Param[1]: text (type: const char *) -Function 358: TextToLower() (1 input parameters) +Function 360: TextToLower() (1 input parameters) Name: TextToLower Return type: const char * Description: Get lower case version of provided string Param[1]: text (type: const char *) -Function 359: TextToPascal() (1 input parameters) +Function 361: TextToPascal() (1 input parameters) Name: TextToPascal Return type: const char * Description: Get Pascal case notation version of provided string Param[1]: text (type: const char *) -Function 360: TextToInteger() (1 input parameters) +Function 362: TextToInteger() (1 input parameters) Name: TextToInteger Return type: int Description: Get integer value from text (negative values not supported) Param[1]: text (type: const char *) -Function 361: DrawLine3D() (3 input parameters) +Function 363: DrawLine3D() (3 input parameters) Name: DrawLine3D Return type: void Description: Draw a line in 3D world space Param[1]: startPos (type: Vector3) Param[2]: endPos (type: Vector3) Param[3]: color (type: Color) -Function 362: DrawPoint3D() (2 input parameters) +Function 364: DrawPoint3D() (2 input parameters) Name: DrawPoint3D Return type: void Description: Draw a point in 3D space, actually a small line Param[1]: position (type: Vector3) Param[2]: color (type: Color) -Function 363: DrawCircle3D() (5 input parameters) +Function 365: DrawCircle3D() (5 input parameters) Name: DrawCircle3D Return type: void Description: Draw a circle in 3D world space @@ -2870,7 +2880,7 @@ Function 363: DrawCircle3D() (5 input parameters) Param[3]: rotationAxis (type: Vector3) Param[4]: rotationAngle (type: float) Param[5]: color (type: Color) -Function 364: DrawTriangle3D() (4 input parameters) +Function 366: DrawTriangle3D() (4 input parameters) Name: DrawTriangle3D Return type: void Description: Draw a color-filled triangle (vertex in counter-clockwise order!) @@ -2878,14 +2888,14 @@ Function 364: DrawTriangle3D() (4 input parameters) Param[2]: v2 (type: Vector3) Param[3]: v3 (type: Vector3) Param[4]: color (type: Color) -Function 365: DrawTriangleStrip3D() (3 input parameters) +Function 367: DrawTriangleStrip3D() (3 input parameters) Name: DrawTriangleStrip3D Return type: void Description: Draw a triangle strip defined by points Param[1]: points (type: Vector3 *) Param[2]: pointCount (type: int) Param[3]: color (type: Color) -Function 366: DrawCube() (5 input parameters) +Function 368: DrawCube() (5 input parameters) Name: DrawCube Return type: void Description: Draw cube @@ -2894,14 +2904,14 @@ Function 366: DrawCube() (5 input parameters) Param[3]: height (type: float) Param[4]: length (type: float) Param[5]: color (type: Color) -Function 367: DrawCubeV() (3 input parameters) +Function 369: DrawCubeV() (3 input parameters) Name: DrawCubeV Return type: void Description: Draw cube (Vector version) Param[1]: position (type: Vector3) Param[2]: size (type: Vector3) Param[3]: color (type: Color) -Function 368: DrawCubeWires() (5 input parameters) +Function 370: DrawCubeWires() (5 input parameters) Name: DrawCubeWires Return type: void Description: Draw cube wires @@ -2910,14 +2920,14 @@ Function 368: DrawCubeWires() (5 input parameters) Param[3]: height (type: float) Param[4]: length (type: float) Param[5]: color (type: Color) -Function 369: DrawCubeWiresV() (3 input parameters) +Function 371: DrawCubeWiresV() (3 input parameters) Name: DrawCubeWiresV Return type: void Description: Draw cube wires (Vector version) Param[1]: position (type: Vector3) Param[2]: size (type: Vector3) Param[3]: color (type: Color) -Function 370: DrawCubeTexture() (6 input parameters) +Function 372: DrawCubeTexture() (6 input parameters) Name: DrawCubeTexture Return type: void Description: Draw cube textured @@ -2927,7 +2937,7 @@ Function 370: DrawCubeTexture() (6 input parameters) Param[4]: height (type: float) Param[5]: length (type: float) Param[6]: color (type: Color) -Function 371: DrawCubeTextureRec() (7 input parameters) +Function 373: DrawCubeTextureRec() (7 input parameters) Name: DrawCubeTextureRec Return type: void Description: Draw cube with a region of a texture @@ -2938,14 +2948,14 @@ Function 371: DrawCubeTextureRec() (7 input parameters) Param[5]: height (type: float) Param[6]: length (type: float) Param[7]: color (type: Color) -Function 372: DrawSphere() (3 input parameters) +Function 374: DrawSphere() (3 input parameters) Name: DrawSphere Return type: void Description: Draw sphere Param[1]: centerPos (type: Vector3) Param[2]: radius (type: float) Param[3]: color (type: Color) -Function 373: DrawSphereEx() (5 input parameters) +Function 375: DrawSphereEx() (5 input parameters) Name: DrawSphereEx Return type: void Description: Draw sphere with extended parameters @@ -2954,7 +2964,7 @@ Function 373: DrawSphereEx() (5 input parameters) Param[3]: rings (type: int) Param[4]: slices (type: int) Param[5]: color (type: Color) -Function 374: DrawSphereWires() (5 input parameters) +Function 376: DrawSphereWires() (5 input parameters) Name: DrawSphereWires Return type: void Description: Draw sphere wires @@ -2963,7 +2973,7 @@ Function 374: DrawSphereWires() (5 input parameters) Param[3]: rings (type: int) Param[4]: slices (type: int) Param[5]: color (type: Color) -Function 375: DrawCylinder() (6 input parameters) +Function 377: DrawCylinder() (6 input parameters) Name: DrawCylinder Return type: void Description: Draw a cylinder/cone @@ -2973,7 +2983,7 @@ Function 375: DrawCylinder() (6 input parameters) Param[4]: height (type: float) Param[5]: slices (type: int) Param[6]: color (type: Color) -Function 376: DrawCylinderEx() (6 input parameters) +Function 378: DrawCylinderEx() (6 input parameters) Name: DrawCylinderEx Return type: void Description: Draw a cylinder with base at startPos and top at endPos @@ -2983,7 +2993,7 @@ Function 376: DrawCylinderEx() (6 input parameters) Param[4]: endRadius (type: float) Param[5]: sides (type: int) Param[6]: color (type: Color) -Function 377: DrawCylinderWires() (6 input parameters) +Function 379: DrawCylinderWires() (6 input parameters) Name: DrawCylinderWires Return type: void Description: Draw a cylinder/cone wires @@ -2993,7 +3003,7 @@ Function 377: DrawCylinderWires() (6 input parameters) Param[4]: height (type: float) Param[5]: slices (type: int) Param[6]: color (type: Color) -Function 378: DrawCylinderWiresEx() (6 input parameters) +Function 380: DrawCylinderWiresEx() (6 input parameters) Name: DrawCylinderWiresEx Return type: void Description: Draw a cylinder wires with base at startPos and top at endPos @@ -3003,51 +3013,51 @@ Function 378: DrawCylinderWiresEx() (6 input parameters) Param[4]: endRadius (type: float) Param[5]: sides (type: int) Param[6]: color (type: Color) -Function 379: DrawPlane() (3 input parameters) +Function 381: DrawPlane() (3 input parameters) Name: DrawPlane Return type: void Description: Draw a plane XZ Param[1]: centerPos (type: Vector3) Param[2]: size (type: Vector2) Param[3]: color (type: Color) -Function 380: DrawRay() (2 input parameters) +Function 382: DrawRay() (2 input parameters) Name: DrawRay Return type: void Description: Draw a ray line Param[1]: ray (type: Ray) Param[2]: color (type: Color) -Function 381: DrawGrid() (2 input parameters) +Function 383: DrawGrid() (2 input parameters) Name: DrawGrid Return type: void Description: Draw a grid (centered at (0, 0, 0)) Param[1]: slices (type: int) Param[2]: spacing (type: float) -Function 382: LoadModel() (1 input parameters) +Function 384: LoadModel() (1 input parameters) Name: LoadModel Return type: Model Description: Load model from files (meshes and materials) Param[1]: fileName (type: const char *) -Function 383: LoadModelFromMesh() (1 input parameters) +Function 385: LoadModelFromMesh() (1 input parameters) Name: LoadModelFromMesh Return type: Model Description: Load model from generated mesh (default material) Param[1]: mesh (type: Mesh) -Function 384: UnloadModel() (1 input parameters) +Function 386: UnloadModel() (1 input parameters) Name: UnloadModel Return type: void Description: Unload model (including meshes) from memory (RAM and/or VRAM) Param[1]: model (type: Model) -Function 385: UnloadModelKeepMeshes() (1 input parameters) +Function 387: UnloadModelKeepMeshes() (1 input parameters) Name: UnloadModelKeepMeshes Return type: void Description: Unload model (but not meshes) from memory (RAM and/or VRAM) Param[1]: model (type: Model) -Function 386: GetModelBoundingBox() (1 input parameters) +Function 388: GetModelBoundingBox() (1 input parameters) Name: GetModelBoundingBox Return type: BoundingBox Description: Compute model bounding box limits (considers all meshes) Param[1]: model (type: Model) -Function 387: DrawModel() (4 input parameters) +Function 389: DrawModel() (4 input parameters) Name: DrawModel Return type: void Description: Draw a model (with texture if set) @@ -3055,7 +3065,7 @@ Function 387: DrawModel() (4 input parameters) Param[2]: position (type: Vector3) Param[3]: scale (type: float) Param[4]: tint (type: Color) -Function 388: DrawModelEx() (6 input parameters) +Function 390: DrawModelEx() (6 input parameters) Name: DrawModelEx Return type: void Description: Draw a model with extended parameters @@ -3065,7 +3075,7 @@ Function 388: DrawModelEx() (6 input parameters) Param[4]: rotationAngle (type: float) Param[5]: scale (type: Vector3) Param[6]: tint (type: Color) -Function 389: DrawModelWires() (4 input parameters) +Function 391: DrawModelWires() (4 input parameters) Name: DrawModelWires Return type: void Description: Draw a model wires (with texture if set) @@ -3073,7 +3083,7 @@ Function 389: DrawModelWires() (4 input parameters) Param[2]: position (type: Vector3) Param[3]: scale (type: float) Param[4]: tint (type: Color) -Function 390: DrawModelWiresEx() (6 input parameters) +Function 392: DrawModelWiresEx() (6 input parameters) Name: DrawModelWiresEx Return type: void Description: Draw a model wires (with texture if set) with extended parameters @@ -3083,13 +3093,13 @@ Function 390: DrawModelWiresEx() (6 input parameters) Param[4]: rotationAngle (type: float) Param[5]: scale (type: Vector3) Param[6]: tint (type: Color) -Function 391: DrawBoundingBox() (2 input parameters) +Function 393: DrawBoundingBox() (2 input parameters) Name: DrawBoundingBox Return type: void Description: Draw bounding box (wires) Param[1]: box (type: BoundingBox) Param[2]: color (type: Color) -Function 392: DrawBillboard() (5 input parameters) +Function 394: DrawBillboard() (5 input parameters) Name: DrawBillboard Return type: void Description: Draw a billboard texture @@ -3098,7 +3108,7 @@ Function 392: DrawBillboard() (5 input parameters) Param[3]: position (type: Vector3) Param[4]: size (type: float) Param[5]: tint (type: Color) -Function 393: DrawBillboardRec() (6 input parameters) +Function 395: DrawBillboardRec() (6 input parameters) Name: DrawBillboardRec Return type: void Description: Draw a billboard texture defined by source @@ -3108,7 +3118,7 @@ Function 393: DrawBillboardRec() (6 input parameters) Param[4]: position (type: Vector3) Param[5]: size (type: Vector2) Param[6]: tint (type: Color) -Function 394: DrawBillboardPro() (9 input parameters) +Function 396: DrawBillboardPro() (9 input parameters) Name: DrawBillboardPro Return type: void Description: Draw a billboard texture defined by source and rotation @@ -3121,13 +3131,13 @@ Function 394: DrawBillboardPro() (9 input parameters) Param[7]: origin (type: Vector2) Param[8]: rotation (type: float) Param[9]: tint (type: Color) -Function 395: UploadMesh() (2 input parameters) +Function 397: UploadMesh() (2 input parameters) Name: UploadMesh Return type: void Description: Upload mesh vertex data in GPU and provide VAO/VBO ids Param[1]: mesh (type: Mesh *) Param[2]: dynamic (type: bool) -Function 396: UpdateMeshBuffer() (5 input parameters) +Function 398: UpdateMeshBuffer() (5 input parameters) Name: UpdateMeshBuffer Return type: void Description: Update mesh vertex data in GPU for a specific buffer index @@ -3136,19 +3146,19 @@ Function 396: UpdateMeshBuffer() (5 input parameters) Param[3]: data (type: void *) Param[4]: dataSize (type: int) Param[5]: offset (type: int) -Function 397: UnloadMesh() (1 input parameters) +Function 399: UnloadMesh() (1 input parameters) Name: UnloadMesh Return type: void Description: Unload mesh data from CPU and GPU Param[1]: mesh (type: Mesh) -Function 398: DrawMesh() (3 input parameters) +Function 400: DrawMesh() (3 input parameters) Name: DrawMesh Return type: void Description: Draw a 3d mesh with material and transform Param[1]: mesh (type: Mesh) Param[2]: material (type: Material) Param[3]: transform (type: Matrix) -Function 399: DrawMeshInstanced() (4 input parameters) +Function 401: DrawMeshInstanced() (4 input parameters) Name: DrawMeshInstanced Return type: void Description: Draw multiple mesh instances with material and different transforms @@ -3156,34 +3166,34 @@ Function 399: DrawMeshInstanced() (4 input parameters) Param[2]: material (type: Material) Param[3]: transforms (type: Matrix *) Param[4]: instances (type: int) -Function 400: ExportMesh() (2 input parameters) +Function 402: ExportMesh() (2 input parameters) Name: ExportMesh Return type: bool Description: Export mesh data to file, returns true on success Param[1]: mesh (type: Mesh) Param[2]: fileName (type: const char *) -Function 401: GetMeshBoundingBox() (1 input parameters) +Function 403: GetMeshBoundingBox() (1 input parameters) Name: GetMeshBoundingBox Return type: BoundingBox Description: Compute mesh bounding box limits Param[1]: mesh (type: Mesh) -Function 402: GenMeshTangents() (1 input parameters) +Function 404: GenMeshTangents() (1 input parameters) Name: GenMeshTangents Return type: void Description: Compute mesh tangents Param[1]: mesh (type: Mesh *) -Function 403: GenMeshBinormals() (1 input parameters) +Function 405: GenMeshBinormals() (1 input parameters) Name: GenMeshBinormals Return type: void Description: Compute mesh binormals Param[1]: mesh (type: Mesh *) -Function 404: GenMeshPoly() (2 input parameters) +Function 406: GenMeshPoly() (2 input parameters) Name: GenMeshPoly Return type: Mesh Description: Generate polygonal mesh Param[1]: sides (type: int) Param[2]: radius (type: float) -Function 405: GenMeshPlane() (4 input parameters) +Function 407: GenMeshPlane() (4 input parameters) Name: GenMeshPlane Return type: Mesh Description: Generate plane mesh (with subdivisions) @@ -3191,42 +3201,42 @@ Function 405: GenMeshPlane() (4 input parameters) Param[2]: length (type: float) Param[3]: resX (type: int) Param[4]: resZ (type: int) -Function 406: GenMeshCube() (3 input parameters) +Function 408: GenMeshCube() (3 input parameters) Name: GenMeshCube Return type: Mesh Description: Generate cuboid mesh Param[1]: width (type: float) Param[2]: height (type: float) Param[3]: length (type: float) -Function 407: GenMeshSphere() (3 input parameters) +Function 409: GenMeshSphere() (3 input parameters) Name: GenMeshSphere Return type: Mesh Description: Generate sphere mesh (standard sphere) Param[1]: radius (type: float) Param[2]: rings (type: int) Param[3]: slices (type: int) -Function 408: GenMeshHemiSphere() (3 input parameters) +Function 410: GenMeshHemiSphere() (3 input parameters) Name: GenMeshHemiSphere Return type: Mesh Description: Generate half-sphere mesh (no bottom cap) Param[1]: radius (type: float) Param[2]: rings (type: int) Param[3]: slices (type: int) -Function 409: GenMeshCylinder() (3 input parameters) +Function 411: GenMeshCylinder() (3 input parameters) Name: GenMeshCylinder Return type: Mesh Description: Generate cylinder mesh Param[1]: radius (type: float) Param[2]: height (type: float) Param[3]: slices (type: int) -Function 410: GenMeshCone() (3 input parameters) +Function 412: GenMeshCone() (3 input parameters) Name: GenMeshCone Return type: Mesh Description: Generate cone/pyramid mesh Param[1]: radius (type: float) Param[2]: height (type: float) Param[3]: slices (type: int) -Function 411: GenMeshTorus() (4 input parameters) +Function 413: GenMeshTorus() (4 input parameters) Name: GenMeshTorus Return type: Mesh Description: Generate torus mesh @@ -3234,7 +3244,7 @@ Function 411: GenMeshTorus() (4 input parameters) Param[2]: size (type: float) Param[3]: radSeg (type: int) Param[4]: sides (type: int) -Function 412: GenMeshKnot() (4 input parameters) +Function 414: GenMeshKnot() (4 input parameters) Name: GenMeshKnot Return type: Mesh Description: Generate trefoil knot mesh @@ -3242,79 +3252,79 @@ Function 412: GenMeshKnot() (4 input parameters) Param[2]: size (type: float) Param[3]: radSeg (type: int) Param[4]: sides (type: int) -Function 413: GenMeshHeightmap() (2 input parameters) +Function 415: GenMeshHeightmap() (2 input parameters) Name: GenMeshHeightmap Return type: Mesh Description: Generate heightmap mesh from image data Param[1]: heightmap (type: Image) Param[2]: size (type: Vector3) -Function 414: GenMeshCubicmap() (2 input parameters) +Function 416: GenMeshCubicmap() (2 input parameters) Name: GenMeshCubicmap Return type: Mesh Description: Generate cubes-based map mesh from image data Param[1]: cubicmap (type: Image) Param[2]: cubeSize (type: Vector3) -Function 415: LoadMaterials() (2 input parameters) +Function 417: LoadMaterials() (2 input parameters) Name: LoadMaterials Return type: Material * Description: Load materials from model file Param[1]: fileName (type: const char *) Param[2]: materialCount (type: int *) -Function 416: LoadMaterialDefault() (0 input parameters) +Function 418: LoadMaterialDefault() (0 input parameters) Name: LoadMaterialDefault Return type: Material Description: Load default material (Supports: DIFFUSE, SPECULAR, NORMAL maps) No input parameters -Function 417: UnloadMaterial() (1 input parameters) +Function 419: UnloadMaterial() (1 input parameters) Name: UnloadMaterial Return type: void Description: Unload material from GPU memory (VRAM) Param[1]: material (type: Material) -Function 418: SetMaterialTexture() (3 input parameters) +Function 420: SetMaterialTexture() (3 input parameters) Name: SetMaterialTexture Return type: void Description: Set texture for a material map type (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...) Param[1]: material (type: Material *) Param[2]: mapType (type: int) Param[3]: texture (type: Texture2D) -Function 419: SetModelMeshMaterial() (3 input parameters) +Function 421: SetModelMeshMaterial() (3 input parameters) Name: SetModelMeshMaterial Return type: void Description: Set material for a mesh Param[1]: model (type: Model *) Param[2]: meshId (type: int) Param[3]: materialId (type: int) -Function 420: LoadModelAnimations() (2 input parameters) +Function 422: LoadModelAnimations() (2 input parameters) Name: LoadModelAnimations Return type: ModelAnimation * Description: Load model animations from file Param[1]: fileName (type: const char *) Param[2]: animCount (type: unsigned int *) -Function 421: UpdateModelAnimation() (3 input parameters) +Function 423: UpdateModelAnimation() (3 input parameters) Name: UpdateModelAnimation Return type: void Description: Update model animation pose Param[1]: model (type: Model) Param[2]: anim (type: ModelAnimation) Param[3]: frame (type: int) -Function 422: UnloadModelAnimation() (1 input parameters) +Function 424: UnloadModelAnimation() (1 input parameters) Name: UnloadModelAnimation Return type: void Description: Unload animation data Param[1]: anim (type: ModelAnimation) -Function 423: UnloadModelAnimations() (2 input parameters) +Function 425: UnloadModelAnimations() (2 input parameters) Name: UnloadModelAnimations Return type: void Description: Unload animation array data Param[1]: animations (type: ModelAnimation*) Param[2]: count (type: unsigned int) -Function 424: IsModelAnimationValid() (2 input parameters) +Function 426: IsModelAnimationValid() (2 input parameters) Name: IsModelAnimationValid Return type: bool Description: Check model animation skeleton match Param[1]: model (type: Model) Param[2]: anim (type: ModelAnimation) -Function 425: CheckCollisionSpheres() (4 input parameters) +Function 427: CheckCollisionSpheres() (4 input parameters) Name: CheckCollisionSpheres Return type: bool Description: Check collision between two spheres @@ -3322,46 +3332,46 @@ Function 425: CheckCollisionSpheres() (4 input parameters) Param[2]: radius1 (type: float) Param[3]: center2 (type: Vector3) Param[4]: radius2 (type: float) -Function 426: CheckCollisionBoxes() (2 input parameters) +Function 428: CheckCollisionBoxes() (2 input parameters) Name: CheckCollisionBoxes Return type: bool Description: Check collision between two bounding boxes Param[1]: box1 (type: BoundingBox) Param[2]: box2 (type: BoundingBox) -Function 427: CheckCollisionBoxSphere() (3 input parameters) +Function 429: CheckCollisionBoxSphere() (3 input parameters) Name: CheckCollisionBoxSphere Return type: bool Description: Check collision between box and sphere Param[1]: box (type: BoundingBox) Param[2]: center (type: Vector3) Param[3]: radius (type: float) -Function 428: GetRayCollisionSphere() (3 input parameters) +Function 430: GetRayCollisionSphere() (3 input parameters) Name: GetRayCollisionSphere Return type: RayCollision Description: Get collision info between ray and sphere Param[1]: ray (type: Ray) Param[2]: center (type: Vector3) Param[3]: radius (type: float) -Function 429: GetRayCollisionBox() (2 input parameters) +Function 431: GetRayCollisionBox() (2 input parameters) Name: GetRayCollisionBox Return type: RayCollision Description: Get collision info between ray and box Param[1]: ray (type: Ray) Param[2]: box (type: BoundingBox) -Function 430: GetRayCollisionModel() (2 input parameters) +Function 432: GetRayCollisionModel() (2 input parameters) Name: GetRayCollisionModel Return type: RayCollision Description: Get collision info between ray and model Param[1]: ray (type: Ray) Param[2]: model (type: Model) -Function 431: GetRayCollisionMesh() (3 input parameters) +Function 433: GetRayCollisionMesh() (3 input parameters) Name: GetRayCollisionMesh Return type: RayCollision Description: Get collision info between ray and mesh Param[1]: ray (type: Ray) Param[2]: mesh (type: Mesh) Param[3]: transform (type: Matrix) -Function 432: GetRayCollisionTriangle() (4 input parameters) +Function 434: GetRayCollisionTriangle() (4 input parameters) Name: GetRayCollisionTriangle Return type: RayCollision Description: Get collision info between ray and triangle @@ -3369,7 +3379,7 @@ Function 432: GetRayCollisionTriangle() (4 input parameters) Param[2]: p1 (type: Vector3) Param[3]: p2 (type: Vector3) Param[4]: p3 (type: Vector3) -Function 433: GetRayCollisionQuad() (5 input parameters) +Function 435: GetRayCollisionQuad() (5 input parameters) Name: GetRayCollisionQuad Return type: RayCollision Description: Get collision info between ray and quad @@ -3378,130 +3388,130 @@ Function 433: GetRayCollisionQuad() (5 input parameters) Param[3]: p2 (type: Vector3) Param[4]: p3 (type: Vector3) Param[5]: p4 (type: Vector3) -Function 434: InitAudioDevice() (0 input parameters) +Function 436: InitAudioDevice() (0 input parameters) Name: InitAudioDevice Return type: void Description: Initialize audio device and context No input parameters -Function 435: CloseAudioDevice() (0 input parameters) +Function 437: CloseAudioDevice() (0 input parameters) Name: CloseAudioDevice Return type: void Description: Close the audio device and context No input parameters -Function 436: IsAudioDeviceReady() (0 input parameters) +Function 438: IsAudioDeviceReady() (0 input parameters) Name: IsAudioDeviceReady Return type: bool Description: Check if audio device has been initialized successfully No input parameters -Function 437: SetMasterVolume() (1 input parameters) +Function 439: SetMasterVolume() (1 input parameters) Name: SetMasterVolume Return type: void Description: Set master volume (listener) Param[1]: volume (type: float) -Function 438: LoadWave() (1 input parameters) +Function 440: LoadWave() (1 input parameters) Name: LoadWave Return type: Wave Description: Load wave data from file Param[1]: fileName (type: const char *) -Function 439: LoadWaveFromMemory() (3 input parameters) +Function 441: LoadWaveFromMemory() (3 input parameters) Name: LoadWaveFromMemory Return type: Wave Description: Load wave from memory buffer, fileType refers to extension: i.e. '.wav' Param[1]: fileType (type: const char *) Param[2]: fileData (type: const unsigned char *) Param[3]: dataSize (type: int) -Function 440: LoadSound() (1 input parameters) +Function 442: LoadSound() (1 input parameters) Name: LoadSound Return type: Sound Description: Load sound from file Param[1]: fileName (type: const char *) -Function 441: LoadSoundFromWave() (1 input parameters) +Function 443: LoadSoundFromWave() (1 input parameters) Name: LoadSoundFromWave Return type: Sound Description: Load sound from wave data Param[1]: wave (type: Wave) -Function 442: UpdateSound() (3 input parameters) +Function 444: UpdateSound() (3 input parameters) Name: UpdateSound Return type: void Description: Update sound buffer with new data Param[1]: sound (type: Sound) Param[2]: data (type: const void *) Param[3]: sampleCount (type: int) -Function 443: UnloadWave() (1 input parameters) +Function 445: UnloadWave() (1 input parameters) Name: UnloadWave Return type: void Description: Unload wave data Param[1]: wave (type: Wave) -Function 444: UnloadSound() (1 input parameters) +Function 446: UnloadSound() (1 input parameters) Name: UnloadSound Return type: void Description: Unload sound Param[1]: sound (type: Sound) -Function 445: ExportWave() (2 input parameters) +Function 447: ExportWave() (2 input parameters) Name: ExportWave Return type: bool Description: Export wave data to file, returns true on success Param[1]: wave (type: Wave) Param[2]: fileName (type: const char *) -Function 446: ExportWaveAsCode() (2 input parameters) +Function 448: ExportWaveAsCode() (2 input parameters) Name: ExportWaveAsCode Return type: bool Description: Export wave sample data to code (.h), returns true on success Param[1]: wave (type: Wave) Param[2]: fileName (type: const char *) -Function 447: PlaySound() (1 input parameters) +Function 449: PlaySound() (1 input parameters) Name: PlaySound Return type: void Description: Play a sound Param[1]: sound (type: Sound) -Function 448: StopSound() (1 input parameters) +Function 450: StopSound() (1 input parameters) Name: StopSound Return type: void Description: Stop playing a sound Param[1]: sound (type: Sound) -Function 449: PauseSound() (1 input parameters) +Function 451: PauseSound() (1 input parameters) Name: PauseSound Return type: void Description: Pause a sound Param[1]: sound (type: Sound) -Function 450: ResumeSound() (1 input parameters) +Function 452: ResumeSound() (1 input parameters) Name: ResumeSound Return type: void Description: Resume a paused sound Param[1]: sound (type: Sound) -Function 451: PlaySoundMulti() (1 input parameters) +Function 453: PlaySoundMulti() (1 input parameters) Name: PlaySoundMulti Return type: void Description: Play a sound (using multichannel buffer pool) Param[1]: sound (type: Sound) -Function 452: StopSoundMulti() (0 input parameters) +Function 454: StopSoundMulti() (0 input parameters) Name: StopSoundMulti Return type: void Description: Stop any sound playing (using multichannel buffer pool) No input parameters -Function 453: GetSoundsPlaying() (0 input parameters) +Function 455: GetSoundsPlaying() (0 input parameters) Name: GetSoundsPlaying Return type: int Description: Get number of sounds playing in the multichannel No input parameters -Function 454: IsSoundPlaying() (1 input parameters) +Function 456: IsSoundPlaying() (1 input parameters) Name: IsSoundPlaying Return type: bool Description: Check if a sound is currently playing Param[1]: sound (type: Sound) -Function 455: SetSoundVolume() (2 input parameters) +Function 457: SetSoundVolume() (2 input parameters) Name: SetSoundVolume Return type: void Description: Set volume for a sound (1.0 is max level) Param[1]: sound (type: Sound) Param[2]: volume (type: float) -Function 456: SetSoundPitch() (2 input parameters) +Function 458: SetSoundPitch() (2 input parameters) Name: SetSoundPitch Return type: void Description: Set pitch for a sound (1.0 is base level) Param[1]: sound (type: Sound) Param[2]: pitch (type: float) -Function 457: WaveFormat() (4 input parameters) +Function 459: WaveFormat() (4 input parameters) Name: WaveFormat Return type: void Description: Convert wave data to desired format @@ -3509,165 +3519,165 @@ Function 457: WaveFormat() (4 input parameters) Param[2]: sampleRate (type: int) Param[3]: sampleSize (type: int) Param[4]: channels (type: int) -Function 458: WaveCopy() (1 input parameters) +Function 460: WaveCopy() (1 input parameters) Name: WaveCopy Return type: Wave Description: Copy a wave to a new wave Param[1]: wave (type: Wave) -Function 459: WaveCrop() (3 input parameters) +Function 461: WaveCrop() (3 input parameters) Name: WaveCrop Return type: void Description: Crop a wave to defined samples range Param[1]: wave (type: Wave *) Param[2]: initSample (type: int) Param[3]: finalSample (type: int) -Function 460: LoadWaveSamples() (1 input parameters) +Function 462: LoadWaveSamples() (1 input parameters) Name: LoadWaveSamples Return type: float * Description: Load samples data from wave as a floats array Param[1]: wave (type: Wave) -Function 461: UnloadWaveSamples() (1 input parameters) +Function 463: UnloadWaveSamples() (1 input parameters) Name: UnloadWaveSamples Return type: void Description: Unload samples data loaded with LoadWaveSamples() Param[1]: samples (type: float *) -Function 462: LoadMusicStream() (1 input parameters) +Function 464: LoadMusicStream() (1 input parameters) Name: LoadMusicStream Return type: Music Description: Load music stream from file Param[1]: fileName (type: const char *) -Function 463: LoadMusicStreamFromMemory() (3 input parameters) +Function 465: LoadMusicStreamFromMemory() (3 input parameters) Name: LoadMusicStreamFromMemory Return type: Music Description: Load music stream from data Param[1]: fileType (type: const char *) Param[2]: data (type: unsigned char *) Param[3]: dataSize (type: int) -Function 464: UnloadMusicStream() (1 input parameters) +Function 466: UnloadMusicStream() (1 input parameters) Name: UnloadMusicStream Return type: void Description: Unload music stream Param[1]: music (type: Music) -Function 465: PlayMusicStream() (1 input parameters) +Function 467: PlayMusicStream() (1 input parameters) Name: PlayMusicStream Return type: void Description: Start music playing Param[1]: music (type: Music) -Function 466: IsMusicStreamPlaying() (1 input parameters) +Function 468: IsMusicStreamPlaying() (1 input parameters) Name: IsMusicStreamPlaying Return type: bool Description: Check if music is playing Param[1]: music (type: Music) -Function 467: UpdateMusicStream() (1 input parameters) +Function 469: UpdateMusicStream() (1 input parameters) Name: UpdateMusicStream Return type: void Description: Updates buffers for music streaming Param[1]: music (type: Music) -Function 468: StopMusicStream() (1 input parameters) +Function 470: StopMusicStream() (1 input parameters) Name: StopMusicStream Return type: void Description: Stop music playing Param[1]: music (type: Music) -Function 469: PauseMusicStream() (1 input parameters) +Function 471: PauseMusicStream() (1 input parameters) Name: PauseMusicStream Return type: void Description: Pause music playing Param[1]: music (type: Music) -Function 470: ResumeMusicStream() (1 input parameters) +Function 472: ResumeMusicStream() (1 input parameters) Name: ResumeMusicStream Return type: void Description: Resume playing paused music Param[1]: music (type: Music) -Function 471: SeekMusicStream() (2 input parameters) +Function 473: SeekMusicStream() (2 input parameters) Name: SeekMusicStream Return type: void Description: Seek music to a position (in seconds) Param[1]: music (type: Music) Param[2]: position (type: float) -Function 472: SetMusicVolume() (2 input parameters) +Function 474: SetMusicVolume() (2 input parameters) Name: SetMusicVolume Return type: void Description: Set volume for music (1.0 is max level) Param[1]: music (type: Music) Param[2]: volume (type: float) -Function 473: SetMusicPitch() (2 input parameters) +Function 475: SetMusicPitch() (2 input parameters) Name: SetMusicPitch Return type: void Description: Set pitch for a music (1.0 is base level) Param[1]: music (type: Music) Param[2]: pitch (type: float) -Function 474: GetMusicTimeLength() (1 input parameters) +Function 476: GetMusicTimeLength() (1 input parameters) Name: GetMusicTimeLength Return type: float Description: Get music time length (in seconds) Param[1]: music (type: Music) -Function 475: GetMusicTimePlayed() (1 input parameters) +Function 477: GetMusicTimePlayed() (1 input parameters) Name: GetMusicTimePlayed Return type: float Description: Get current music time played (in seconds) Param[1]: music (type: Music) -Function 476: LoadAudioStream() (3 input parameters) +Function 478: LoadAudioStream() (3 input parameters) Name: LoadAudioStream Return type: AudioStream Description: Load audio stream (to stream raw audio pcm data) Param[1]: sampleRate (type: unsigned int) Param[2]: sampleSize (type: unsigned int) Param[3]: channels (type: unsigned int) -Function 477: UnloadAudioStream() (1 input parameters) +Function 479: UnloadAudioStream() (1 input parameters) Name: UnloadAudioStream Return type: void Description: Unload audio stream and free memory Param[1]: stream (type: AudioStream) -Function 478: UpdateAudioStream() (3 input parameters) +Function 480: UpdateAudioStream() (3 input parameters) Name: UpdateAudioStream Return type: void Description: Update audio stream buffers with data Param[1]: stream (type: AudioStream) Param[2]: data (type: const void *) Param[3]: frameCount (type: int) -Function 479: IsAudioStreamProcessed() (1 input parameters) +Function 481: IsAudioStreamProcessed() (1 input parameters) Name: IsAudioStreamProcessed Return type: bool Description: Check if any audio stream buffers requires refill Param[1]: stream (type: AudioStream) -Function 480: PlayAudioStream() (1 input parameters) +Function 482: PlayAudioStream() (1 input parameters) Name: PlayAudioStream Return type: void Description: Play audio stream Param[1]: stream (type: AudioStream) -Function 481: PauseAudioStream() (1 input parameters) +Function 483: PauseAudioStream() (1 input parameters) Name: PauseAudioStream Return type: void Description: Pause audio stream Param[1]: stream (type: AudioStream) -Function 482: ResumeAudioStream() (1 input parameters) +Function 484: ResumeAudioStream() (1 input parameters) Name: ResumeAudioStream Return type: void Description: Resume audio stream Param[1]: stream (type: AudioStream) -Function 483: IsAudioStreamPlaying() (1 input parameters) +Function 485: IsAudioStreamPlaying() (1 input parameters) Name: IsAudioStreamPlaying Return type: bool Description: Check if audio stream is playing Param[1]: stream (type: AudioStream) -Function 484: StopAudioStream() (1 input parameters) +Function 486: StopAudioStream() (1 input parameters) Name: StopAudioStream Return type: void Description: Stop audio stream Param[1]: stream (type: AudioStream) -Function 485: SetAudioStreamVolume() (2 input parameters) +Function 487: SetAudioStreamVolume() (2 input parameters) Name: SetAudioStreamVolume Return type: void Description: Set volume for audio stream (1.0 is max level) Param[1]: stream (type: AudioStream) Param[2]: volume (type: float) -Function 486: SetAudioStreamPitch() (2 input parameters) +Function 488: SetAudioStreamPitch() (2 input parameters) Name: SetAudioStreamPitch Return type: void Description: Set pitch for audio stream (1.0 is base level) Param[1]: stream (type: AudioStream) Param[2]: pitch (type: float) -Function 487: SetAudioStreamBufferSizeDefault() (1 input parameters) +Function 489: SetAudioStreamBufferSizeDefault() (1 input parameters) Name: SetAudioStreamBufferSizeDefault Return type: void Description: Default size for new audio streams diff --git a/parser/raylib_api.xml b/parser/raylib_api.xml index 87bb4a73..47bc9de7 100644 --- a/parser/raylib_api.xml +++ b/parser/raylib_api.xml @@ -208,341 +208,341 @@ - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - + + + + + + + + + + - - - - - + + + + + - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + - - - - - - - + + + + + + + - - - - - + + + + + - - - - - - - + + + + + + + - - - - + + + + - - - - - - - + + + + + + + - - - - - - - - - - - - + + + + + + + + + + + + - - - - - - + + + + + + - - - + + + - - - - + + + + - + @@ -610,6 +610,10 @@ + + + + diff --git a/parser/raylib_parser.c b/parser/raylib_parser.c index 70279098..6b94c7d3 100644 --- a/parser/raylib_parser.c +++ b/parser/raylib_parser.c @@ -105,7 +105,7 @@ typedef struct EnumInfo { int valueCount; // Number of values in enumerator char valueName[MAX_ENUM_VALUES][64]; // Value name definition int valueInteger[MAX_ENUM_VALUES]; // Value integer - char valueDesc[MAX_ENUM_VALUES][64]; // Value description + char valueDesc[MAX_ENUM_VALUES][128]; // Value description } EnumInfo; // Output format for parsed data @@ -139,7 +139,7 @@ static void GetDataTypeAndName(const char *typeName, int typeNameLen, char *type static unsigned int TextLength(const char *text); // Get text length in bytes, check for \0 character static bool IsTextEqual(const char *text1, const char *text2, unsigned int count); static void MemoryCopy(void *dest, const void *src, unsigned int count); -static char* CharReplace(char* text, char search, char replace); +static char* EscapeBackslashes(char *text); static void ExportParsedData(const char *fileName, int format); // Export parsed data in desired format @@ -186,7 +186,7 @@ int main(int argc, char* argv[]) } // Read structs data (multiple lines, read directly from buffer) - // TODO: Parse structs data from "lines" instead of "buffer" -> Easier to get struct definition + // TODO: Parse structs data from "lines" instead of "buffer" -> Easier to get struct definition and description for (int i = 0; i < length; i++) { // Read struct data (starting with "typedef struct", ending with '} ... ;') @@ -261,6 +261,8 @@ int main(int argc, char* argv[]) { int structLineOffset = 0; + // TODO: Get struct description + // Get struct name: typedef struct name { for (int c = 15; c < 64 + 15; c++) { @@ -332,7 +334,20 @@ int main(int argc, char* argv[]) for (int i = 0; i < enumCount; i++) { - // TODO: Get enum description from lines[enumLines[i] - 1] + + // Parse enum description + // NOTE: This is not necessarily from the line immediately before, + // some of the enums have extra lines between the "description" + // and the typedef enum + for (int j = enumLines[i] - 1; j > 0; j--) + { + char *linePtr = lines[j]; + if ((linePtr[0] != '/') || (linePtr[2] != ' ')) + { + MemoryCopy(enums[i].desc, &lines[j + 1][0], sizeof(enums[i].desc) - 1); + break; + } + } for (int j = 1; j < MAX_ENUM_VALUES*2; j++) // Maximum number of lines following enum first line { @@ -367,7 +382,7 @@ int main(int argc, char* argv[]) // '=' -> value is provided // ' ' -> value is equal to previous + 1, there could be a description if not '\0' bool foundValue = false; - while (linePtr[c] != '\0') + while ((linePtr[c] != '\0') && (linePtr[c] != '/')) { if (linePtr[c] == '=') { foundValue = true; break; } c++; @@ -392,11 +407,17 @@ int main(int argc, char* argv[]) else enums[i].valueInteger[enums[i].valueCount] = atoi(integer); } else enums[i].valueInteger[enums[i].valueCount] = (enums[i].valueInteger[enums[i].valueCount - 1] + 1); - - // TODO: Parse value description if any } else enums[i].valueInteger[enums[i].valueCount] = (enums[i].valueInteger[enums[i].valueCount - 1] + 1); + // Look for description or end of line + while ((linePtr[c] != '/') && (linePtr[c] != '\0')) { c++; } + if (linePtr[c] == '/') + { + // Parse value description + MemoryCopy(enums[i].valueDesc[enums[i].valueCount], &linePtr[c], sizeof(enums[0].valueDesc[0]) - c - 1); + } + enums[i].valueCount++; } else if (linePtr[0] == '}') @@ -743,13 +764,19 @@ static bool IsTextEqual(const char *text1, const char *text2, unsigned int count return result; } -// Search and replace a character within a string. -static char* CharReplace(char* text, char search, char replace) +// Escape backslashes in a string, writing the escaped string into a static buffer +static char* EscapeBackslashes(char *text) { - for (int i = 0; text[i] != '\0'; i++) - if (text[i] == search) - text[i] = replace; - return text; + static char buf[256]; + char *a = text; + char *b = buf; + do + { + if (*a == '\\') *b++ = '\\'; + *b++ = *a; + } + while (*a++); + return buf; } /* @@ -855,14 +882,14 @@ static void ExportParsedData(const char *fileName, int format) { fprintf(outFile, " {\n"); fprintf(outFile, " name = \"%s\",\n", structs[i].name); - fprintf(outFile, " description = \"%s\",\n", structs[i].desc); + fprintf(outFile, " description = \"%s\",\n", EscapeBackslashes(structs[i].desc + 3)); fprintf(outFile, " fields = {\n"); for (int f = 0; f < structs[i].fieldCount; f++) { fprintf(outFile, " {\n"); - fprintf(outFile, " name = \"%s\",\n", structs[i].fieldName[f]), - fprintf(outFile, " type = \"%s\",\n", structs[i].fieldType[f]), - fprintf(outFile, " description = \"%s\"\n", structs[i].fieldDesc[f] + 3), + fprintf(outFile, " name = \"%s\",\n", structs[i].fieldName[f]); + fprintf(outFile, " type = \"%s\",\n", structs[i].fieldType[f]); + fprintf(outFile, " description = \"%s\"\n", EscapeBackslashes(structs[i].fieldDesc[f] + 3)); fprintf(outFile, " }"); if (f < structs[i].fieldCount - 1) fprintf(outFile, ",\n"); else fprintf(outFile, "\n"); @@ -880,14 +907,14 @@ static void ExportParsedData(const char *fileName, int format) { fprintf(outFile, " {\n"); fprintf(outFile, " name = \"%s\",\n", enums[i].name); - fprintf(outFile, " description = \"%s\",\n", enums[i].desc + 3); + fprintf(outFile, " description = \"%s\",\n", EscapeBackslashes(enums[i].desc + 3)); fprintf(outFile, " values = {\n"); for (int e = 0; e < enums[i].valueCount; e++) { fprintf(outFile, " {\n"); - fprintf(outFile, " name = \"%s\",\n", enums[i].valueName[e]), - fprintf(outFile, " value = %i,\n", enums[i].valueInteger[e]), - fprintf(outFile, " description = \"%s\"\n", enums[i].valueDesc[e] + 3), + fprintf(outFile, " name = \"%s\",\n", enums[i].valueName[e]); + fprintf(outFile, " value = %i,\n", enums[i].valueInteger[e]); + fprintf(outFile, " description = \"%s\"\n", EscapeBackslashes(enums[i].valueDesc[e] + 3)); fprintf(outFile, " }"); if (e < enums[i].valueCount - 1) fprintf(outFile, ",\n"); else fprintf(outFile, "\n"); @@ -905,7 +932,7 @@ static void ExportParsedData(const char *fileName, int format) { fprintf(outFile, " {\n"); fprintf(outFile, " name = \"%s\",\n", funcs[i].name); - fprintf(outFile, " description = \"%s\",\n", CharReplace(funcs[i].desc, '\\', ' ') + 3); + fprintf(outFile, " description = \"%s\",\n", EscapeBackslashes(funcs[i].desc + 3)); fprintf(outFile, " returnType = \"%s\"", funcs[i].retType); if (funcs[i].paramCount == 0) fprintf(outFile, "\n"); @@ -938,14 +965,14 @@ static void ExportParsedData(const char *fileName, int format) { fprintf(outFile, " {\n"); fprintf(outFile, " \"name\": \"%s\",\n", structs[i].name); - fprintf(outFile, " \"description\": \"%s\",\n", structs[i].desc); + fprintf(outFile, " \"description\": \"%s\",\n", EscapeBackslashes(structs[i].desc + 3)); fprintf(outFile, " \"fields\": [\n"); for (int f = 0; f < structs[i].fieldCount; f++) { fprintf(outFile, " {\n"); - fprintf(outFile, " \"name\": \"%s\",\n", structs[i].fieldName[f]), - fprintf(outFile, " \"type\": \"%s\",\n", structs[i].fieldType[f]), - fprintf(outFile, " \"description\": \"%s\"\n", structs[i].fieldDesc[f] + 3), + fprintf(outFile, " \"name\": \"%s\",\n", structs[i].fieldName[f]); + fprintf(outFile, " \"type\": \"%s\",\n", structs[i].fieldType[f]); + fprintf(outFile, " \"description\": \"%s\"\n", EscapeBackslashes(structs[i].fieldDesc[f] + 3)); fprintf(outFile, " }"); if (f < structs[i].fieldCount - 1) fprintf(outFile, ",\n"); else fprintf(outFile, "\n"); @@ -963,14 +990,14 @@ static void ExportParsedData(const char *fileName, int format) { fprintf(outFile, " {\n"); fprintf(outFile, " \"name\": \"%s\",\n", enums[i].name); - fprintf(outFile, " \"description\": \"%s\",\n", enums[i].desc + 3); + fprintf(outFile, " \"description\": \"%s\",\n", EscapeBackslashes(enums[i].desc + 3)); fprintf(outFile, " \"values\": [\n"); for (int e = 0; e < enums[i].valueCount; e++) { fprintf(outFile, " {\n"); - fprintf(outFile, " \"name\": \"%s\",\n", enums[i].valueName[e]), - fprintf(outFile, " \"value\": %i,\n", enums[i].valueInteger[e]), - fprintf(outFile, " \"description\": \"%s\"\n", enums[i].valueDesc[e] + 3), + fprintf(outFile, " \"name\": \"%s\",\n", enums[i].valueName[e]); + fprintf(outFile, " \"value\": %i,\n", enums[i].valueInteger[e]); + fprintf(outFile, " \"description\": \"%s\"\n", EscapeBackslashes(enums[i].valueDesc[e] + 3)); fprintf(outFile, " }"); if (e < enums[i].valueCount - 1) fprintf(outFile, ",\n"); else fprintf(outFile, "\n"); @@ -988,7 +1015,7 @@ static void ExportParsedData(const char *fileName, int format) { fprintf(outFile, " {\n"); fprintf(outFile, " \"name\": \"%s\",\n", funcs[i].name); - fprintf(outFile, " \"description\": \"%s\",\n", CharReplace(funcs[i].desc, '\\', ' ') + 3); + fprintf(outFile, " \"description\": \"%s\",\n", EscapeBackslashes(funcs[i].desc + 3)); fprintf(outFile, " \"returnType\": \"%s\"", funcs[i].retType); if (funcs[i].paramCount == 0) fprintf(outFile, "\n");