Skip to content

Commit fc4e187

Browse files
committed
Update dependencies
1 parent 498c610 commit fc4e187

File tree

10 files changed

+42
-19
lines changed

10 files changed

+42
-19
lines changed

nuklear/Nuklear

Submodule Nuklear updated 108 files

raylib/README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
*Raylib* _MAJOR 5 _MINOR 5 _PATCH 0 5.5
1+
*Raylib* _MAJOR 5 _MINOR 6 _PATCH 0 5.6-dev
22
=======
33
raylib is a simple and easy-to-use library to enjoy videogames programming.
44

55
https://www.raylib.com/
66

7-
Implemented APIs (631)
7+
Implemented APIs (633)
88
----------------
99

1010
| Name | Description |
@@ -200,6 +200,7 @@ Implemented APIs (631)
200200
| func GetCameraMatrix(camera) | Get camera transform matrix (view matrix) |
201201
| func GetCameraMatrix2D(camera) | Get camera 2d transform matrix |
202202
| func GetCharPressed() | Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty |
203+
| func GetClipboardImage() | Get clipboard image content |
203204
| func GetClipboardText() | Get clipboard text content |
204205
| func GetCodepoint(text, codepointSize) | Get next codepoint in a UTF-8 encoded string, 0x3f('?') is returned on failure |
205206
| func GetCodepointCount(text) | Get total number of codepoints in a UTF-8 encoded string |
@@ -231,6 +232,7 @@ Implemented APIs (631)
231232
| func GetGlyphIndex(font, codepoint) | Get glyph index position in font for a codepoint (unicode character), fallback to '?' if not found |
232233
| func GetImageAlphaBorder(image, threshold) | Get image alpha border rectangle |
233234
| func GetImageColor(image, x, y) | Get image pixel color at (x, y) position |
235+
| func GetKeyName(key) | Get name of a QWERTY key on the current keyboard layout (eg returns string 'q' for KEY_A on an AZERTY keyboard) |
234236
| func GetKeyPressed() | Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty |
235237
| func GetMasterVolume() | Get master volume (listener) |
236238
| func GetModelBoundingBox(model) | Compute model bounding box limits (considers all meshes) |
@@ -550,7 +552,7 @@ Implemented APIs (631)
550552
| sub SetRandomSeed(seed) | Set the seed for the random number generator |
551553
| sub SetShaderValue(shader, locIndex, value, uniformType) | Set shader uniform value |
552554
| sub SetShaderValueMatrix(shader, locIndex, mat) | Set shader uniform value (matrix 4x4) |
553-
| sub SetShaderValueTexture(shader, locIndex, texture) | Set shader uniform value for texture (sampler2d) |
555+
| sub SetShaderValueTexture(shader, locIndex, texture) | Set shader uniform value and bind the texture (sampler2d) |
554556
| sub SetShaderValueV(shader, locIndex, value, uniformType, count) | Set shader uniform value vector |
555557
| sub SetShapesTexture(texture, source) | Set texture and rectangle to be used on shapes drawing |
556558
| sub SetSoundPan(sound, pan) | Set pan for a sound (0.5 is center) |
@@ -590,8 +592,8 @@ Implemented APIs (631)
590592
| func TextReplace(text, replace, by) | Replace text string (WARNING: memory must be freed!) |
591593
| func TextSubtext(text, position, length) | Get a piece of a text string |
592594
| func TextToCamel(text) | Get Camel case notation version of provided string |
593-
| func TextToFloat(text) | Get float value from text (negative values not supported) |
594-
| func TextToInteger(text) | Get integer value from text (negative values not supported) |
595+
| func TextToFloat(text) | Get float value from text |
596+
| func TextToInteger(text) | Get integer value from text |
595597
| func TextToLower(text) | Get lower case version of provided string |
596598
| func TextToPascal(text) | Get Pascal case notation version of provided string |
597599
| func TextToSnake(text) | Get Snake case notation version of provided string |
@@ -627,7 +629,7 @@ Implemented APIs (631)
627629
| sub UpdateCamera(camera, mode) | Update camera position for selected mode |
628630
| sub UpdateMeshBuffer(mesh, index, data, dataSize, offset) | Update mesh vertex data in GPU for a specific buffer index |
629631
| sub UpdateModelAnimation(model, anim, frame) | Update model animation pose (CPU) |
630-
| sub UpdateModelAnimationBoneMatrices(model, anim, frame) | Update model animation mesh bone matrices (GPU skinning) |
632+
| sub UpdateModelAnimationBones(model, anim, frame) | Update model animation mesh bone matrices (GPU skinning) |
631633
| sub UpdateMusicStream(music) | Updates buffers for music streaming |
632634
| func updatePhysics() | n/a |
633635
| sub UpdateSound(sound, data, sampleCount) | Update sound buffer with new data |
@@ -646,8 +648,8 @@ Unimplemented APIs
646648

647649
| Name | Description |
648650
|---------|---------------|
649-
| AttachAudioMixedProcessor | Attach audio stream processor to the entire audio pipeline, receives the samples as 'float' |
650-
| AttachAudioStreamProcessor | Attach audio stream processor to stream, receives the samples as 'float' |
651+
| AttachAudioMixedProcessor | Attach audio stream processor to the entire audio pipeline, receives frames x 2 samples as 'float' (stereo) |
652+
| AttachAudioStreamProcessor | Attach audio stream processor to stream, receives frames x 2 samples as 'float' (stereo) |
651653
| BeginVrStereoMode | Begin stereo rendering (requires VR simulator) |
652654
| DetachAudioMixedProcessor | Detach audio stream processor from the entire audio pipeline |
653655
| DetachAudioStreamProcessor | Detach audio stream processor from stream |

raylib/func-def.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@
6969
{1, 1, "GETCAMERAMATRIX", cmd_getcameramatrix},
7070
{1, 1, "GETCAMERAMATRIX2D", cmd_getcameramatrix2d},
7171
{0, 0, "GETCHARPRESSED", cmd_getcharpressed},
72+
{0, 0, "GETCLIPBOARDIMAGE", cmd_getclipboardimage},
7273
{0, 0, "GETCLIPBOARDTEXT", cmd_getclipboardtext},
7374
{1, 1, "GETCODEPOINT", cmd_getcodepoint},
7475
{1, 1, "GETCODEPOINTCOUNT", cmd_getcodepointcount},
@@ -100,6 +101,7 @@
100101
{2, 2, "GETGLYPHINDEX", cmd_getglyphindex},
101102
{2, 2, "GETIMAGEALPHABORDER", cmd_getimagealphaborder},
102103
{3, 3, "GETIMAGECOLOR", cmd_getimagecolor},
104+
{1, 1, "GETKEYNAME", cmd_getkeyname},
103105
{0, 0, "GETKEYPRESSED", cmd_getkeypressed},
104106
{0, 0, "GETMASTERVOLUME", cmd_getmastervolume},
105107
{1, 1, "GETMODELBOUNDINGBOX", cmd_getmodelboundingbox},

raylib/func.h

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,15 @@ static int cmd_getcharpressed(int argc, slib_par_t *params, var_t *retval) {
894894
return 1;
895895
}
896896

897+
//
898+
// Get clipboard image content
899+
//
900+
static int cmd_getclipboardimage(int argc, slib_par_t *params, var_t *retval) {
901+
auto fnResult = GetClipboardImage();
902+
v_setimage(retval, fnResult);
903+
return 1;
904+
}
905+
897906
//
898907
// Get clipboard text content
899908
//
@@ -1226,6 +1235,16 @@ static int cmd_getimagecolor(int argc, slib_par_t *params, var_t *retval) {
12261235
return result;
12271236
}
12281237

1238+
//
1239+
// Get name of a QWERTY key on the current keyboard layout (eg returns string 'q' for KEY_A on an AZERTY keyboard)
1240+
//
1241+
static int cmd_getkeyname(int argc, slib_par_t *params, var_t *retval) {
1242+
auto key = get_param_int(argc, params, 0, 0);
1243+
auto fnResult = (const char *)GetKeyName(key);
1244+
v_setstr(retval, fnResult);
1245+
return 1;
1246+
}
1247+
12291248
//
12301249
// Get key pressed (keycode), call it multiple times for keys queued, returns 0 when the queue is empty
12311250
//
@@ -3104,7 +3123,7 @@ static int cmd_texttocamel(int argc, slib_par_t *params, var_t *retval) {
31043123
}
31053124

31063125
//
3107-
// Get float value from text (negative values not supported)
3126+
// Get float value from text
31083127
//
31093128
static int cmd_texttofloat(int argc, slib_par_t *params, var_t *retval) {
31103129
auto text = get_param_str(argc, params, 0, 0);
@@ -3114,7 +3133,7 @@ static int cmd_texttofloat(int argc, slib_par_t *params, var_t *retval) {
31143133
}
31153134

31163135
//
3117-
// Get integer value from text (negative values not supported)
3136+
// Get integer value from text
31183137
//
31193138
static int cmd_texttointeger(int argc, slib_par_t *params, var_t *retval) {
31203139
auto text = get_param_str(argc, params, 0, 0);

raylib/proc-def.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@
262262
{3, 3, "UPDATEAUDIOSTREAM", cmd_updateaudiostream},
263263
{5, 5, "UPDATEMESHBUFFER", cmd_updatemeshbuffer},
264264
{3, 3, "UPDATEMODELANIMATION", cmd_updatemodelanimation},
265-
{3, 3, "UPDATEMODELANIMATIONBONEMATRICES", cmd_updatemodelanimationbonematrices},
265+
{3, 3, "UPDATEMODELANIMATIONBONES", cmd_updatemodelanimationbones},
266266
{1, 1, "UPDATEMUSICSTREAM", cmd_updatemusicstream},
267267
{3, 3, "UPDATESOUND", cmd_updatesound},
268268
{3, 3, "UPDATETEXTUREREC", cmd_updatetexturerec},

raylib/proc.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2769,7 +2769,7 @@ static int cmd_setshadervaluematrix(int argc, slib_par_t *params, var_t *retval)
27692769
}
27702770

27712771
//
2772-
// Set shader uniform value for texture (sampler2d)
2772+
// Set shader uniform value and bind the texture (sampler2d)
27732773
//
27742774
static int cmd_setshadervaluetexture(int argc, slib_par_t *params, var_t *retval) {
27752775
int result;
@@ -3513,13 +3513,13 @@ static int cmd_updatemodelanimation(int argc, slib_par_t *params, var_t *retval)
35133513
//
35143514
// Update model animation mesh bone matrices (GPU skinning)
35153515
//
3516-
static int cmd_updatemodelanimationbonematrices(int argc, slib_par_t *params, var_t *retval) {
3516+
static int cmd_updatemodelanimationbones(int argc, slib_par_t *params, var_t *retval) {
35173517
int result;
35183518
int model_id = get_model_id(argc, params, 0, retval);
35193519
int anim_id = get_model_animation_id(argc, params, 1, retval);
35203520
if (model_id != -1 && anim_id != -1) {
35213521
auto frame = get_param_int(argc, params, 2, 0);
3522-
UpdateModelAnimationBoneMatrices(_modelMap.at(model_id), _modelAnimationMap.at(anim_id), frame);
3522+
UpdateModelAnimationBones(_modelMap.at(model_id), _modelAnimationMap.at(anim_id), frame);
35233523
result = 1;
35243524
} else {
35253525
result = 0;

raylib/raylib

Submodule raylib updated 483 files

websocket/mongoose

Submodule mongoose updated 2294 files

0 commit comments

Comments
 (0)