Skip to content

Commit d5ea6a8

Browse files
committed
Merge branch 'master' of https://github.com/raysan5/raylib
2 parents b16d14f + 17d9927 commit d5ea6a8

4 files changed

Lines changed: 22 additions & 15 deletions

File tree

tools/parser/output/raylib_api.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9041,7 +9041,7 @@
90419041
"name": "fontSize"
90429042
},
90439043
{
9044-
"type": "int *",
9044+
"type": "const int *",
90459045
"name": "codepoints"
90469046
},
90479047
{
@@ -9091,7 +9091,7 @@
90919091
"name": "fontSize"
90929092
},
90939093
{
9094-
"type": "int *",
9094+
"type": "const int *",
90959095
"name": "codepoints"
90969096
},
90979097
{
@@ -9129,7 +9129,7 @@
91299129
"name": "fontSize"
91309130
},
91319131
{
9132-
"type": "int *",
9132+
"type": "const int *",
91339133
"name": "codepoints"
91349134
},
91359135
{
@@ -9139,6 +9139,10 @@
91399139
{
91409140
"type": "int",
91419141
"name": "type"
9142+
},
9143+
{
9144+
"type": "int *",
9145+
"name": "glyphCount"
91429146
}
91439147
]
91449148
},

tools/parser/output/raylib_api.lua

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6550,7 +6550,7 @@ return {
65506550
params = {
65516551
{type = "const char *", name = "fileName"},
65526552
{type = "int", name = "fontSize"},
6553-
{type = "int *", name = "codepoints"},
6553+
{type = "const int *", name = "codepoints"},
65546554
{type = "int", name = "codepointCount"}
65556555
}
65566556
},
@@ -6573,7 +6573,7 @@ return {
65736573
{type = "const unsigned char *", name = "fileData"},
65746574
{type = "int", name = "dataSize"},
65756575
{type = "int", name = "fontSize"},
6576-
{type = "int *", name = "codepoints"},
6576+
{type = "const int *", name = "codepoints"},
65776577
{type = "int", name = "codepointCount"}
65786578
}
65796579
},
@@ -6593,9 +6593,10 @@ return {
65936593
{type = "const unsigned char *", name = "fileData"},
65946594
{type = "int", name = "dataSize"},
65956595
{type = "int", name = "fontSize"},
6596-
{type = "int *", name = "codepoints"},
6596+
{type = "const int *", name = "codepoints"},
65976597
{type = "int", name = "codepointCount"},
6598-
{type = "int", name = "type"}
6598+
{type = "int", name = "type"},
6599+
{type = "int *", name = "glyphCount"}
65996600
}
66006601
},
66016602
{

tools/parser/output/raylib_api.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3468,7 +3468,7 @@ Function 395: LoadFontEx() (4 input parameters)
34683468
Description: Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character set, font size is provided in pixels height
34693469
Param[1]: fileName (type: const char *)
34703470
Param[2]: fontSize (type: int)
3471-
Param[3]: codepoints (type: int *)
3471+
Param[3]: codepoints (type: const int *)
34723472
Param[4]: codepointCount (type: int)
34733473
Function 396: LoadFontFromImage() (3 input parameters)
34743474
Name: LoadFontFromImage
@@ -3485,23 +3485,24 @@ Function 397: LoadFontFromMemory() (6 input parameters)
34853485
Param[2]: fileData (type: const unsigned char *)
34863486
Param[3]: dataSize (type: int)
34873487
Param[4]: fontSize (type: int)
3488-
Param[5]: codepoints (type: int *)
3488+
Param[5]: codepoints (type: const int *)
34893489
Param[6]: codepointCount (type: int)
34903490
Function 398: IsFontValid() (1 input parameters)
34913491
Name: IsFontValid
34923492
Return type: bool
34933493
Description: Check if a font is valid (font data loaded, WARNING: GPU texture not checked)
34943494
Param[1]: font (type: Font)
3495-
Function 399: LoadFontData() (6 input parameters)
3495+
Function 399: LoadFontData() (7 input parameters)
34963496
Name: LoadFontData
34973497
Return type: GlyphInfo *
34983498
Description: Load font data for further use
34993499
Param[1]: fileData (type: const unsigned char *)
35003500
Param[2]: dataSize (type: int)
35013501
Param[3]: fontSize (type: int)
3502-
Param[4]: codepoints (type: int *)
3502+
Param[4]: codepoints (type: const int *)
35033503
Param[5]: codepointCount (type: int)
35043504
Param[6]: type (type: int)
3505+
Param[7]: glyphCount (type: int *)
35053506
Function 400: GenImageFontAtlas() (6 input parameters)
35063507
Name: GenImageFontAtlas
35073508
Return type: Image

tools/parser/output/raylib_api.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2286,7 +2286,7 @@
22862286
<Function name="LoadFontEx" retType="Font" paramCount="4" desc="Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character set, font size is provided in pixels height">
22872287
<Param type="const char *" name="fileName" desc="" />
22882288
<Param type="int" name="fontSize" desc="" />
2289-
<Param type="int *" name="codepoints" desc="" />
2289+
<Param type="const int *" name="codepoints" desc="" />
22902290
<Param type="int" name="codepointCount" desc="" />
22912291
</Function>
22922292
<Function name="LoadFontFromImage" retType="Font" paramCount="3" desc="Load font from Image (XNA style)">
@@ -2299,19 +2299,20 @@
22992299
<Param type="const unsigned char *" name="fileData" desc="" />
23002300
<Param type="int" name="dataSize" desc="" />
23012301
<Param type="int" name="fontSize" desc="" />
2302-
<Param type="int *" name="codepoints" desc="" />
2302+
<Param type="const int *" name="codepoints" desc="" />
23032303
<Param type="int" name="codepointCount" desc="" />
23042304
</Function>
23052305
<Function name="IsFontValid" retType="bool" paramCount="1" desc="Check if a font is valid (font data loaded, WARNING: GPU texture not checked)">
23062306
<Param type="Font" name="font" desc="" />
23072307
</Function>
2308-
<Function name="LoadFontData" retType="GlyphInfo *" paramCount="6" desc="Load font data for further use">
2308+
<Function name="LoadFontData" retType="GlyphInfo *" paramCount="7" desc="Load font data for further use">
23092309
<Param type="const unsigned char *" name="fileData" desc="" />
23102310
<Param type="int" name="dataSize" desc="" />
23112311
<Param type="int" name="fontSize" desc="" />
2312-
<Param type="int *" name="codepoints" desc="" />
2312+
<Param type="const int *" name="codepoints" desc="" />
23132313
<Param type="int" name="codepointCount" desc="" />
23142314
<Param type="int" name="type" desc="" />
2315+
<Param type="int *" name="glyphCount" desc="" />
23152316
</Function>
23162317
<Function name="GenImageFontAtlas" retType="Image" paramCount="6" desc="Generate image font atlas using chars info">
23172318
<Param type="const GlyphInfo *" name="glyphs" desc="" />

0 commit comments

Comments
 (0)