Update binding

This commit is contained in:
TSnake41 2022-02-15 12:45:32 +01:00
parent b5247f7b61
commit c008f46e82
3 changed files with 5 additions and 1 deletions

2
raylib

@ -1 +1 @@
Subproject commit bec27a6ebc05e3ff59f69a19ccf8ed268aa5fdd1
Subproject commit b54e9db7647ae6e5ed86a8a5d92dbd63157c89ac

View File

@ -597,6 +597,7 @@ ffi.cdef [[
BLEND_MULTIPLIED,
BLEND_ADD_COLORS,
BLEND_SUBTRACT_COLORS,
BLEND_ALPHA_PREMUL,
BLEND_CUSTOM
} BlendMode;
@ -702,6 +703,7 @@ ffi.cdef [[
RL_BLEND_MULTIPLIED,
RL_BLEND_ADD_COLORS,
RL_BLEND_SUBTRACT_COLORS,
RL_BLEND_ALPHA_PREMUL,
RL_BLEND_CUSTOM
} rlBlendMode;

View File

@ -107,6 +107,7 @@ bool SaveFileText(const char *fileName, char *text)
bool FileExists(const char *fileName)
bool DirectoryExists(const char *dirPath)
bool IsFileExtension(const char *fileName, const char *ext)
int GetFileLength(const char *fileName)
const char *GetFileExtension(const char *fileName)
const char *GetFileName(const char *filePath)
const char *GetFileNameWithoutExt(const char *filePath)
@ -333,6 +334,7 @@ void DrawText(const char *text, int posX, int posY, int fontSize, Color color)
void DrawTextEx(Font font, const char *text, Vector2 position, float fontSize, float spacing, Color tint)
void DrawTextPro(Font font, const char *text, Vector2 position, Vector2 origin, float rotation, float fontSize, float spacing, Color tint)
void DrawTextCodepoint(Font font, int codepoint, Vector2 position, float fontSize, Color tint)
void DrawTextCodepoints(Font font, int *codepoints, int count, Vector2 position, float fontSize, float spacing, Color tint)
int MeasureText(const char *text, int fontSize)
Vector2 MeasureTextEx(Font font, const char *text, float fontSize, float spacing)
int GetGlyphIndex(Font font, int codepoint)