This commit is contained in:
Ray
2025-09-18 15:51:27 +02:00
4 changed files with 827 additions and 507 deletions

View File

@@ -4414,6 +4414,96 @@
}
]
},
{
"name": "FileRename",
"description": "Rename file (if exists)",
"returnType": "int",
"params": [
{
"type": "const char *",
"name": "fileName"
},
{
"type": "const char *",
"name": "fileRename"
}
]
},
{
"name": "FileRemove",
"description": "Remove file (if exists)",
"returnType": "int",
"params": [
{
"type": "const char *",
"name": "fileName"
}
]
},
{
"name": "FileCopy",
"description": "Copy file from one path to another, dstPath created if it doesn't exist",
"returnType": "int",
"params": [
{
"type": "const char *",
"name": "srcPath"
},
{
"type": "const char *",
"name": "dstPath"
}
]
},
{
"name": "FileMove",
"description": "Move file from one directory to another, dstPath created if it doesn't exist",
"returnType": "int",
"params": [
{
"type": "const char *",
"name": "srcPath"
},
{
"type": "const char *",
"name": "dstPath"
}
]
},
{
"name": "FileTextReplace",
"description": "Replace text in an existing file",
"returnType": "int",
"params": [
{
"type": "const char *",
"name": "fileName"
},
{
"type": "const char *",
"name": "search"
},
{
"type": "const char *",
"name": "replacement"
}
]
},
{
"name": "FileTextFindIndex",
"description": "Find text in existing file",
"returnType": "int",
"params": [
{
"type": "const char *",
"name": "fileName"
},
{
"type": "const char *",
"name": "search"
}
]
},
{
"name": "FileExists",
"description": "Check if file exists",
@@ -4462,6 +4552,17 @@
}
]
},
{
"name": "GetFileModTime",
"description": "Get file modification time (last write time)",
"returnType": "long",
"params": [
{
"type": "const char *",
"name": "fileName"
}
]
},
{
"name": "GetFileExtension",
"description": "Get pointer to extension for a filename string (includes dot: '.png')",
@@ -4633,17 +4734,6 @@
}
]
},
{
"name": "GetFileModTime",
"description": "Get file modification time (last write time)",
"returnType": "long",
"params": [
{
"type": "const char *",
"name": "fileName"
}
]
},
{
"name": "CompressData",
"description": "Compress data (DEFLATE algorithm), memory must be MemFree()",
@@ -9714,6 +9804,36 @@
}
]
},
{
"name": "TextRemoveSpaces",
"description": "Remove text spaces, concat words",
"returnType": "const char *",
"params": [
{
"type": "const char *",
"name": "text"
}
]
},
{
"name": "GetTextBetween",
"description": "Get text between two strings",
"returnType": "char *",
"params": [
{
"type": "const char *",
"name": "text"
},
{
"type": "const char *",
"name": "begin"
},
{
"type": "const char *",
"name": "end"
}
]
},
{
"name": "TextReplace",
"description": "Replace text string (WARNING: memory must be freed!)",
@@ -9725,11 +9845,34 @@
},
{
"type": "const char *",
"name": "replace"
"name": "search"
},
{
"type": "const char *",
"name": "by"
"name": "replacement"
}
]
},
{
"name": "TextReplaceBetween",
"description": "Replace text between two specific strings (WARNING: memory must be freed!)",
"returnType": "char *",
"params": [
{
"type": "const char *",
"name": "text"
},
{
"type": "const char *",
"name": "begin"
},
{
"type": "const char *",
"name": "end"
},
{
"type": "const char *",
"name": "replacement"
}
]
},
@@ -9792,7 +9935,7 @@
},
{
"name": "TextAppend",
"description": "Append text at specific position and move cursor!",
"description": "Append text at specific position and move cursor",
"returnType": "void",
"params": [
{
@@ -9820,7 +9963,7 @@
},
{
"type": "const char *",
"name": "find"
"name": "search"
}
]
},

View File

@@ -4009,6 +4009,60 @@ return {
{type = "const char *", name = "text"}
}
},
{
name = "FileRename",
description = "Rename file (if exists)",
returnType = "int",
params = {
{type = "const char *", name = "fileName"},
{type = "const char *", name = "fileRename"}
}
},
{
name = "FileRemove",
description = "Remove file (if exists)",
returnType = "int",
params = {
{type = "const char *", name = "fileName"}
}
},
{
name = "FileCopy",
description = "Copy file from one path to another, dstPath created if it doesn't exist",
returnType = "int",
params = {
{type = "const char *", name = "srcPath"},
{type = "const char *", name = "dstPath"}
}
},
{
name = "FileMove",
description = "Move file from one directory to another, dstPath created if it doesn't exist",
returnType = "int",
params = {
{type = "const char *", name = "srcPath"},
{type = "const char *", name = "dstPath"}
}
},
{
name = "FileTextReplace",
description = "Replace text in an existing file",
returnType = "int",
params = {
{type = "const char *", name = "fileName"},
{type = "const char *", name = "search"},
{type = "const char *", name = "replacement"}
}
},
{
name = "FileTextFindIndex",
description = "Find text in existing file",
returnType = "int",
params = {
{type = "const char *", name = "fileName"},
{type = "const char *", name = "search"}
}
},
{
name = "FileExists",
description = "Check if file exists",
@@ -4042,6 +4096,14 @@ return {
{type = "const char *", name = "fileName"}
}
},
{
name = "GetFileModTime",
description = "Get file modification time (last write time)",
returnType = "long",
params = {
{type = "const char *", name = "fileName"}
}
},
{
name = "GetFileExtension",
description = "Get pointer to extension for a filename string (includes dot: '.png')",
@@ -4168,14 +4230,6 @@ return {
{type = "FilePathList", name = "files"}
}
},
{
name = "GetFileModTime",
description = "Get file modification time (last write time)",
returnType = "long",
params = {
{type = "const char *", name = "fileName"}
}
},
{
name = "CompressData",
description = "Compress data (DEFLATE algorithm), memory must be MemFree()",
@@ -6909,14 +6963,43 @@ return {
{type = "int", name = "length"}
}
},
{
name = "TextRemoveSpaces",
description = "Remove text spaces, concat words",
returnType = "const char *",
params = {
{type = "const char *", name = "text"}
}
},
{
name = "GetTextBetween",
description = "Get text between two strings",
returnType = "char *",
params = {
{type = "const char *", name = "text"},
{type = "const char *", name = "begin"},
{type = "const char *", name = "end"}
}
},
{
name = "TextReplace",
description = "Replace text string (WARNING: memory must be freed!)",
returnType = "char *",
params = {
{type = "const char *", name = "text"},
{type = "const char *", name = "replace"},
{type = "const char *", name = "by"}
{type = "const char *", name = "search"},
{type = "const char *", name = "replacement"}
}
},
{
name = "TextReplaceBetween",
description = "Replace text between two specific strings (WARNING: memory must be freed!)",
returnType = "char *",
params = {
{type = "const char *", name = "text"},
{type = "const char *", name = "begin"},
{type = "const char *", name = "end"},
{type = "const char *", name = "replacement"}
}
},
{
@@ -6951,7 +7034,7 @@ return {
},
{
name = "TextAppend",
description = "Append text at specific position and move cursor!",
description = "Append text at specific position and move cursor",
returnType = "void",
params = {
{type = "char *", name = "text"},
@@ -6965,7 +7048,7 @@ return {
returnType = "int",
params = {
{type = "const char *", name = "text"},
{type = "const char *", name = "find"}
{type = "const char *", name = "search"}
}
},
{

File diff suppressed because it is too large Load Diff

View File

@@ -679,7 +679,7 @@
<Param type="unsigned int" name="frames" desc="" />
</Callback>
</Callbacks>
<Functions count="586">
<Functions count="595">
<Function name="InitWindow" retType="void" paramCount="3" desc="Initialize window and OpenGL context">
<Param type="int" name="width" desc="" />
<Param type="int" name="height" desc="" />
@@ -1048,6 +1048,30 @@
<Param type="const char *" name="fileName" desc="" />
<Param type="const char *" name="text" desc="" />
</Function>
<Function name="FileRename" retType="int" paramCount="2" desc="Rename file (if exists)">
<Param type="const char *" name="fileName" desc="" />
<Param type="const char *" name="fileRename" desc="" />
</Function>
<Function name="FileRemove" retType="int" paramCount="1" desc="Remove file (if exists)">
<Param type="const char *" name="fileName" desc="" />
</Function>
<Function name="FileCopy" retType="int" paramCount="2" desc="Copy file from one path to another, dstPath created if it doesn't exist">
<Param type="const char *" name="srcPath" desc="" />
<Param type="const char *" name="dstPath" desc="" />
</Function>
<Function name="FileMove" retType="int" paramCount="2" desc="Move file from one directory to another, dstPath created if it doesn't exist">
<Param type="const char *" name="srcPath" desc="" />
<Param type="const char *" name="dstPath" desc="" />
</Function>
<Function name="FileTextReplace" retType="int" paramCount="3" desc="Replace text in an existing file">
<Param type="const char *" name="fileName" desc="" />
<Param type="const char *" name="search" desc="" />
<Param type="const char *" name="replacement" desc="" />
</Function>
<Function name="FileTextFindIndex" retType="int" paramCount="2" desc="Find text in existing file">
<Param type="const char *" name="fileName" desc="" />
<Param type="const char *" name="search" desc="" />
</Function>
<Function name="FileExists" retType="bool" paramCount="1" desc="Check if file exists">
<Param type="const char *" name="fileName" desc="" />
</Function>
@@ -1061,6 +1085,9 @@
<Function name="GetFileLength" retType="int" paramCount="1" desc="Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)">
<Param type="const char *" name="fileName" desc="" />
</Function>
<Function name="GetFileModTime" retType="long" paramCount="1" desc="Get file modification time (last write time)">
<Param type="const char *" name="fileName" desc="" />
</Function>
<Function name="GetFileExtension" retType="const char *" paramCount="1" desc="Get pointer to extension for a filename string (includes dot: '.png')">
<Param type="const char *" name="fileName" desc="" />
</Function>
@@ -1110,9 +1137,6 @@
<Function name="UnloadDroppedFiles" retType="void" paramCount="1" desc="Unload dropped filepaths">
<Param type="FilePathList" name="files" desc="" />
</Function>
<Function name="GetFileModTime" retType="long" paramCount="1" desc="Get file modification time (last write time)">
<Param type="const char *" name="fileName" desc="" />
</Function>
<Function name="CompressData" retType="unsigned char *" paramCount="3" desc="Compress data (DEFLATE algorithm), memory must be MemFree()">
<Param type="const unsigned char *" name="data" desc="" />
<Param type="int" name="dataSize" desc="" />
@@ -2464,10 +2488,24 @@
<Param type="int" name="position" desc="" />
<Param type="int" name="length" desc="" />
</Function>
<Function name="TextRemoveSpaces" retType="const char *" paramCount="1" desc="Remove text spaces, concat words">
<Param type="const char *" name="text" desc="" />
</Function>
<Function name="GetTextBetween" retType="char *" paramCount="3" desc="Get text between two strings">
<Param type="const char *" name="text" desc="" />
<Param type="const char *" name="begin" desc="" />
<Param type="const char *" name="end" desc="" />
</Function>
<Function name="TextReplace" retType="char *" paramCount="3" desc="Replace text string (WARNING: memory must be freed!)">
<Param type="const char *" name="text" desc="" />
<Param type="const char *" name="replace" desc="" />
<Param type="const char *" name="by" desc="" />
<Param type="const char *" name="search" desc="" />
<Param type="const char *" name="replacement" desc="" />
</Function>
<Function name="TextReplaceBetween" retType="char *" paramCount="4" desc="Replace text between two specific strings (WARNING: memory must be freed!)">
<Param type="const char *" name="text" desc="" />
<Param type="const char *" name="begin" desc="" />
<Param type="const char *" name="end" desc="" />
<Param type="const char *" name="replacement" desc="" />
</Function>
<Function name="TextInsert" retType="char *" paramCount="3" desc="Insert text in a position (WARNING: memory must be freed!)">
<Param type="const char *" name="text" desc="" />
@@ -2484,14 +2522,14 @@
<Param type="char" name="delimiter" desc="" />
<Param type="int *" name="count" desc="" />
</Function>
<Function name="TextAppend" retType="void" paramCount="3" desc="Append text at specific position and move cursor!">
<Function name="TextAppend" retType="void" paramCount="3" desc="Append text at specific position and move cursor">
<Param type="char *" name="text" desc="" />
<Param type="const char *" name="append" desc="" />
<Param type="int *" name="position" desc="" />
</Function>
<Function name="TextFindIndex" retType="int" paramCount="2" desc="Find first text occurrence within a string, -1 if not found">
<Param type="const char *" name="text" desc="" />
<Param type="const char *" name="find" desc="" />
<Param type="const char *" name="search" desc="" />
</Function>
<Function name="TextToUpper" retType="char *" paramCount="1" desc="Get upper case version of provided string">
<Param type="const char *" name="text" desc="" />