Update raylib binding, raylua version v3.0d.
This commit is contained in:
parent
06d7c2f2da
commit
bd16e03fba
Binary file not shown.
After Width: | Height: | Size: 1.7 KiB |
2
raygui
2
raygui
|
@ -1 +1 @@
|
||||||
Subproject commit fa8b958a91f63e13ebcfd0ff33b7eaaa2bcefa64
|
Subproject commit 3e61557f251c5c64ed002081870434e9dbaa7ba7
|
2
raylib
2
raylib
|
@ -1 +1 @@
|
||||||
Subproject commit 485d28c43d6de12ddec3eeda2dcd23bd1346e6a5
|
Subproject commit 4f569813d2906b09edfd97e6617e6900caa4d1bb
|
|
@ -249,8 +249,8 @@ ffi.cdef [[
|
||||||
int ctxType;
|
int ctxType;
|
||||||
void *ctxData;
|
void *ctxData;
|
||||||
|
|
||||||
|
bool looping;
|
||||||
unsigned int sampleCount;
|
unsigned int sampleCount;
|
||||||
unsigned int loopCount;
|
|
||||||
|
|
||||||
AudioStream stream;
|
AudioStream stream;
|
||||||
} Music;
|
} Music;
|
||||||
|
@ -562,7 +562,8 @@ ffi.cdef [[
|
||||||
typedef enum {
|
typedef enum {
|
||||||
BLEND_ALPHA = 0,
|
BLEND_ALPHA = 0,
|
||||||
BLEND_ADDITIVE,
|
BLEND_ADDITIVE,
|
||||||
BLEND_MULTIPLIED
|
BLEND_MULTIPLIED,
|
||||||
|
BLEND_ADD_COLORS
|
||||||
} BlendMode;
|
} BlendMode;
|
||||||
|
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
|
|
||||||
local load = loadstring
|
local load = loadstring
|
||||||
|
|
||||||
raylua.version = "v3.0c"
|
raylua.version = "v3.0d"
|
||||||
|
|
||||||
function raylua.repl()
|
function raylua.repl()
|
||||||
print("> raylua " .. raylua.version .. " <")
|
print("> raylua " .. raylua.version .. " <")
|
||||||
|
|
|
@ -34,6 +34,7 @@ void HideCursor(void)
|
||||||
bool IsCursorHidden(void)
|
bool IsCursorHidden(void)
|
||||||
void EnableCursor(void)
|
void EnableCursor(void)
|
||||||
void DisableCursor(void)
|
void DisableCursor(void)
|
||||||
|
bool IsCursorOnScreen(void)
|
||||||
void ClearBackground(Color color)
|
void ClearBackground(Color color)
|
||||||
void BeginDrawing(void)
|
void BeginDrawing(void)
|
||||||
void EndDrawing(void)
|
void EndDrawing(void)
|
||||||
|
@ -214,7 +215,7 @@ void ImageResizeNN(Image *image, int newWidth,int newHeight)
|
||||||
void ImageResizeCanvas(Image *image, int newWidth, int newHeight, int offsetX, int offsetY, Color color)
|
void ImageResizeCanvas(Image *image, int newWidth, int newHeight, int offsetX, int offsetY, Color color)
|
||||||
void ImageMipmaps(Image *image)
|
void ImageMipmaps(Image *image)
|
||||||
void ImageDither(Image *image, int rBpp, int gBpp, int bBpp, int aBpp)
|
void ImageDither(Image *image, int rBpp, int gBpp, int bBpp, int aBpp)
|
||||||
Color *ImageExtractPalette(Image image, int maxPaletteSize, int *extractCount)
|
Color *GetImagePalette(Image image, int maxPaletteSize, int *extractCount)
|
||||||
Image ImageText(const char *text, int fontSize, Color color)
|
Image ImageText(const char *text, int fontSize, Color color)
|
||||||
Image ImageTextEx(Font font, const char *text, float fontSize, float spacing, Color tint)
|
Image ImageTextEx(Font font, const char *text, float fontSize, float spacing, Color tint)
|
||||||
void ImageDraw(Image *dst, Image src, Rectangle srcRec, Rectangle dstRec, Color tint)
|
void ImageDraw(Image *dst, Image src, Rectangle srcRec, Rectangle dstRec, Color tint)
|
||||||
|
@ -424,7 +425,6 @@ void ResumeMusicStream(Music music)
|
||||||
bool IsMusicPlaying(Music music)
|
bool IsMusicPlaying(Music music)
|
||||||
void SetMusicVolume(Music music, float volume)
|
void SetMusicVolume(Music music, float volume)
|
||||||
void SetMusicPitch(Music music, float pitch)
|
void SetMusicPitch(Music music, float pitch)
|
||||||
void SetMusicLoopCount(Music music, int count)
|
|
||||||
float GetMusicTimeLength(Music music)
|
float GetMusicTimeLength(Music music)
|
||||||
float GetMusicTimePlayed(Music music)
|
float GetMusicTimePlayed(Music music)
|
||||||
AudioStream InitAudioStream(unsigned int sampleRate, unsigned int sampleSize, unsigned int channels)
|
AudioStream InitAudioStream(unsigned int sampleRate, unsigned int sampleSize, unsigned int channels)
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
float Clamp(float value, float min, float max)
|
float Clamp(float value, float min, float max)
|
||||||
float Lerp(float start, float end, float amount)
|
float Lerp(float start, float end, float amount)
|
||||||
|
float Normalize(float value, float start, float end)
|
||||||
|
float Remap(float value, float inputStart, float inputEnd, float outputStart, float outputEnd)
|
||||||
Vector2 Vector2Zero(void)
|
Vector2 Vector2Zero(void)
|
||||||
Vector2 Vector2One(void)
|
Vector2 Vector2One(void)
|
||||||
Vector2 Vector2Add(Vector2 v1, Vector2 v2)
|
Vector2 Vector2Add(Vector2 v1, Vector2 v2)
|
||||||
|
|
Loading…
Reference in New Issue