mirror of
https://github.com/raysan5/raylib.git
synced 2026-09-14 01:50:50 +00:00
Merge branch 'master' of https://github.com/raysan5/raylib
This commit is contained in:
@@ -1411,8 +1411,8 @@
|
||||
"description": "Camera type fallback, defaults to Camera3D"
|
||||
},
|
||||
{
|
||||
"type": "Transform",
|
||||
"name": "*ModelAnimPose",
|
||||
"type": "Transform *",
|
||||
"name": "ModelAnimPose",
|
||||
"description": "Anim pose, an array of Transform[]"
|
||||
}
|
||||
],
|
||||
@@ -4546,6 +4546,17 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "IsFileHidden",
|
||||
"description": "Check if file path (file or directory) is hidden by OS",
|
||||
"returnType": "bool",
|
||||
"params": [
|
||||
{
|
||||
"type": "const char *",
|
||||
"name": "filePath"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "GetFileLength",
|
||||
"description": "Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)",
|
||||
|
||||
@@ -1411,8 +1411,8 @@ return {
|
||||
description = "Camera type fallback, defaults to Camera3D"
|
||||
},
|
||||
{
|
||||
type = "Transform",
|
||||
name = "*ModelAnimPose",
|
||||
type = "Transform *",
|
||||
name = "ModelAnimPose",
|
||||
description = "Anim pose, an array of Transform[]"
|
||||
}
|
||||
},
|
||||
@@ -4093,6 +4093,14 @@ return {
|
||||
{type = "const char *", name = "ext"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "IsFileHidden",
|
||||
description = "Check if file path (file or directory) is hidden by OS",
|
||||
returnType = "bool",
|
||||
params = {
|
||||
{type = "const char *", name = "filePath"}
|
||||
}
|
||||
},
|
||||
{
|
||||
name = "GetFileLength",
|
||||
description = "Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)",
|
||||
|
||||
@@ -887,8 +887,8 @@
|
||||
(name "Camera")
|
||||
(description "Camera type fallback, defaults to Camera3D"))
|
||||
|
||||
((type "Transform")
|
||||
(name "*ModelAnimPose")
|
||||
((type "Transform *")
|
||||
(name "ModelAnimPose")
|
||||
(description "Anim pose, an array of Transform[]")))
|
||||
|
||||
(enums
|
||||
@@ -2970,6 +2970,12 @@
|
||||
((type "const char *") (name "fileName"))
|
||||
((type "const char *") (name "ext"))))
|
||||
|
||||
((name "IsFileHidden")
|
||||
(description "Check if file path (file or directory) is hidden by OS")
|
||||
(return-type "bool")
|
||||
(params
|
||||
((type "const char *") (name "filePath"))))
|
||||
|
||||
((name "GetFileLength")
|
||||
(description "Get file length in bytes (NOTE: GetFileSize() conflicts with windows.h)")
|
||||
(return-type "int")
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -303,7 +303,7 @@
|
||||
<Alias type="TextureCubemap" name="Texture" desc="TextureCubemap, same as Texture" />
|
||||
<Alias type="RenderTexture2D" name="RenderTexture" desc="RenderTexture2D, same as RenderTexture" />
|
||||
<Alias type="Camera" name="Camera3D" desc="Camera type fallback, defaults to Camera3D" />
|
||||
<Alias type="*ModelAnimPose" name="Transform" desc="Anim pose, an array of Transform[]" />
|
||||
<Alias type="ModelAnimPose" name="Transform *" desc="Anim pose, an array of Transform[]" />
|
||||
</Aliases>
|
||||
<Enums count="21">
|
||||
<Enum name="ConfigFlags" valueCount="16" desc="System/Window config flags">
|
||||
@@ -681,7 +681,7 @@
|
||||
<Param type="unsigned int" name="frames" desc="" />
|
||||
</Callback>
|
||||
</Callbacks>
|
||||
<Functions count="618">
|
||||
<Functions count="619">
|
||||
<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="" />
|
||||
@@ -1084,6 +1084,9 @@
|
||||
<Param type="const char *" name="fileName" desc="" />
|
||||
<Param type="const char *" name="ext" desc="" />
|
||||
</Function>
|
||||
<Function name="IsFileHidden" retType="bool" paramCount="1" desc="Check if file path (file or directory) is hidden by OS">
|
||||
<Param type="const char *" name="filePath" desc="" />
|
||||
</Function>
|
||||
<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>
|
||||
|
||||
@@ -774,14 +774,21 @@ int main(int argc, char *argv[])
|
||||
// Skip "typedef "
|
||||
int c = 8;
|
||||
|
||||
// Type
|
||||
// Type word part
|
||||
int typeStart = c;
|
||||
while(linePtr[c] != ' ') c++;
|
||||
int typeLen = c - typeStart;
|
||||
MemoryCopy(aliases[i].type, &linePtr[typeStart], typeLen);
|
||||
|
||||
|
||||
// Skip space
|
||||
c++;
|
||||
c++;
|
||||
|
||||
// Maybe type pointer part
|
||||
if (linePtr[c] == '*') {
|
||||
while(linePtr[c] == '*') c++;
|
||||
typeLen = c - typeStart;
|
||||
}
|
||||
|
||||
MemoryCopy(aliases[i].type, &linePtr[typeStart], typeLen);
|
||||
|
||||
// Name
|
||||
int nameStart = c;
|
||||
|
||||
Reference in New Issue
Block a user