Skip to content

Commit 8d685d5

Browse files
committed
Update dependencies
1 parent 46650c1 commit 8d685d5

11 files changed

Lines changed: 155 additions & 59 deletions

File tree

raylib/Makefile.am

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ AM_CPPFLAGS = -Iraylib/src -Iraylib/src/external/glfw/include -Iraylib/src/exter
3535

3636
lib_LTLIBRARIES = libraylib.la
3737

38-
if WITH_STATIC_INCLUDE
39-
libraylib_la_SOURCES = \
38+
libraylib_la_SOURCES = \
4039
raylib/src/rglfw.c \
4140
raylib/src/rmodels.c \
4241
raylib/src/raudio.c \
@@ -50,14 +49,6 @@ if WITH_STATIC_INCLUDE
5049
physac.cpp \
5150
raygui.cpp \
5251
main.cpp
53-
else
54-
libraylib_la_SOURCES = \
55-
../include/param.cpp \
56-
../include/hashmap.cpp \
57-
physac.cpp \
58-
raygui.cpp \
59-
main.cpp
60-
endif
6152

6253
libraylib_la_LDFLAGS = -module -rpath '$(libdir)' @RAYLIB_LDFLAGS@ @PLATFORM_LDFLAGS@
6354

raylib/README.md

Lines changed: 22 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ raylib is a simple and easy-to-use library to enjoy videogames programming.
44

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

7-
Implemented APIs (573)
7+
Implemented APIs (580)
88
----------------
99

1010
| Name | Description |
@@ -85,6 +85,8 @@ Implemented APIs (573)
8585
| sub DrawLineBezier(startPos, endPos, thick, color) | Draw a line using cubic-bezier curves in-out |
8686
| sub DrawLineBezierCubic(startPos, endPos, startControlPos, endControlPos, thick, color) | Draw line using cubic bezier curves with 2 control points |
8787
| sub DrawLineBezierQuad(startPos, endPos, controlPos, thick, color) | Draw line using quadratic bezier curves with a control point |
88+
| sub DrawLineBSpline(points, pointCount, thick, color) | Draw a B-Spline line, minimum 4 points |
89+
| sub DrawLineCatmullRom(points, pointCount, thick, color) | Draw a Catmull Rom spline line, minimum 4 points |
8890
| sub DrawLineEx(startPos, endPos, thick, color) | Draw a line defining thickness |
8991
| sub DrawLineStrip(points, pointCount, color) | Draw lines sequence |
9092
| sub DrawLineV(startPos, endPos, color) | Draw a line (Vector version) |
@@ -118,7 +120,7 @@ Implemented APIs (573)
118120
| sub DrawSphereWires(centerPos, radius, rings, slices, color) | Draw sphere wires |
119121
| sub DrawText(text, posX, posY, fontSize, color) | Draw text (using default font) |
120122
| sub DrawTextCodepoint(font, codepoint, position, fontSize, tint) | Draw one character (codepoint) |
121-
| sub DrawTextCodepoints(font, codepoints, count, position, fontSize, spacing, tint) | Draw multiple character (codepoint) |
123+
| sub DrawTextCodepoints(font, codepoints, codepointCount, position, fontSize, spacing, tint) | Draw multiple character (codepoint) |
122124
| sub DrawTextEx(font, text, position, fontSize, spacing, tint) | Draw text using font and additional parameters |
123125
| sub DrawTextPro(font, text, position, origin, rotation, fontSize, spacing, tint) | Draw text using Font and pro parameters (rotation) |
124126
| sub DrawTexture(texture, posX, posY, tint) | Draw a Texture2D |
@@ -144,7 +146,7 @@ Implemented APIs (573)
144146
| sub EndShaderMode() | End custom shader drawing (use default shader) |
145147
| sub EndTextureMode() | Ends drawing to render texture |
146148
| sub EndVrStereoMode() | End stereo rendering (requires VR simulator) |
147-
| func ExportDataAsCode(data, size, fileName) | Export data to code (.h), returns true on success |
149+
| func ExportDataAsCode(data, dataSize, fileName) | Export data to code (.h), returns true on success |
148150
| func ExportFontAsCode(font, fileName) | Export font as code file, returns true on success |
149151
| func ExportImage(image, fileName) | Export image data to file, returns true on success |
150152
| func ExportImageAsCode(image, fileName) | Export image as code file defining an array of bytes, returns true on success |
@@ -176,7 +178,7 @@ Implemented APIs (573)
176178
| sub GenMeshTangents(mesh) | Compute mesh tangents |
177179
| func GenMeshTorus(radius, size, radSeg, sides) | Generate torus mesh |
178180
| sub GenTextureMipmaps(texture) | Generate GPU mipmaps for a texture |
179-
| func GetApplicationDirectory() | Get the directory if the running application (uses static string) |
181+
| func GetApplicationDirectory() | Get the directory of the running application (uses static string) |
180182
| func GetCameraMatrix(camera) | Get camera transform matrix (view matrix) |
181183
| func GetCameraMatrix2D(camera) | Get camera 2d transform matrix |
182184
| func GetCharPressed() | Get char pressed (unicode), call it multiple times for chars queued, returns 0 when the queue is empty |
@@ -215,7 +217,7 @@ Implemented APIs (573)
215217
| func GetModelBoundingBox(model) | Compute model bounding box limits (considers all meshes) |
216218
| func GetMonitorCount() | Get number of connected monitors |
217219
| func GetMonitorHeight(monitor) | Get specified monitor height (current video mode used by monitor) |
218-
| func GetMonitorName(monitor) | Get the human-readable, UTF-8 encoded name of the primary monitor |
220+
| func GetMonitorName(monitor) | Get the human-readable, UTF-8 encoded name of the specified monitor |
219221
| func GetMonitorPhysicalHeight(monitor) | Get specified monitor physical height in millimetres |
220222
| func GetMonitorPhysicalWidth(monitor) | Get specified monitor physical width in millimetres |
221223
| func GetMonitorPosition(monitor) | Get specified monitor position |
@@ -274,7 +276,6 @@ Implemented APIs (573)
274276
| func guidropdownbox() | n/a |
275277
| func guidummyrec() | n/a |
276278
| func guienable() | n/a |
277-
| func guifade() | n/a |
278279
| func guigetstyle() | n/a |
279280
| func guigrid() | n/a |
280281
| func guigroupbox() | n/a |
@@ -369,6 +370,7 @@ Implemented APIs (573)
369370
| func IsImageReady(image) | Check if an image is ready |
370371
| func IsKeyDown(key) | Check if a key is being pressed |
371372
| func IsKeyPressed(key) | Check if a key has been pressed once |
373+
| func IsKeyPressedRepeat(key) | Check if a key has been pressed again (Only PLATFORM_DESKTOP) |
372374
| func IsKeyReleased(key) | Check if a key has been released once |
373375
| func IsKeyUp(key) | Check if a key is NOT being pressed |
374376
| func IsModelAnimationValid(model, anim) | Check model animation skeleton match |
@@ -399,12 +401,12 @@ Implemented APIs (573)
399401
| func LoadDirectoryFiles(dirPath) | Load directory filepaths |
400402
| func LoadDirectoryFilesEx(basePath, filter, scanSubdirs) | Load directory filepaths with extension filtering and recursive directory scan |
401403
| func LoadDroppedFiles() | Load dropped filepaths |
402-
| func LoadFileData(fileName, bytesRead) | Load file data as byte array (read) |
404+
| func LoadFileData(fileName, dataSize) | Load file data as byte array (read) |
403405
| func LoadFileText(fileName) | Load text data from file (read), returns a '\\0' terminated string |
404406
| func LoadFont(fileName) | Load font from file into GPU memory (VRAM) |
405-
| func LoadFontEx(fileName, fontSize, fontChars, glyphCount) | Load font from file with extended parameters, use NULL for fontChars and 0 for glyphCount to load the default character set |
407+
| func LoadFontEx(fileName, fontSize, codepoints, codepointCount) | Load font from file with extended parameters, use NULL for codepoints and 0 for codepointCount to load the default character setFont |
406408
| func LoadFontFromImage(image, key, firstChar) | Load font from Image (XNA style) |
407-
| func LoadFontFromMemory(fileType, fileData, dataSize, fontSize, fontChars, glyphCount) | Load font from memory buffer, fileType refers to extension: i.e. '.ttf' |
409+
| func LoadFontFromMemory(fileType, fileData, dataSize, fontSize, codepoints, codepointCount) | Load font from memory buffer, fileType refers to extension: i.e. '.ttf' |
408410
| func LoadImage(fileName) | Load image from file into CPU memory (RAM) |
409411
| func LoadImageAnim(fileName, frames) | Load image sequence from file (frames appended to image.data) |
410412
| func LoadImageColors(image) | Load color data from image as a Color array (RGBA - 32bit) |
@@ -413,6 +415,7 @@ Implemented APIs (573)
413415
| func LoadImageFromTexture(texture) | Load image from GPU texture data |
414416
| func LoadImagePalette(image, maxPaletteSize, colorCount) | Load colors palette from image as a Color array (RGBA - 32bit) |
415417
| func LoadImageRaw(fileName, width, height, format, headerSize) | Load image from RAW file data |
418+
| func LoadImageSvg(fileNameOrString, width, height) | Load image from SVG file data or string with specified size |
416419
| func LoadModel(fileName) | Load model from files (meshes and materials) |
417420
| func LoadModelAnimations(fileName, animCount) | Load model animations from file |
418421
| func LoadModelFromMesh(mesh) | Load model from generated mesh (default material) |
@@ -422,6 +425,7 @@ Implemented APIs (573)
422425
| func LoadShader(vsFileName, fsFileName) | Load shader from files and bind default locations |
423426
| func LoadShaderFromMemory(vsCode, fsCode) | Load shader from code strings and bind default locations |
424427
| func LoadSound(fileName) | Load sound from file |
428+
| func LoadSoundAlias(source) | Create a new sound that shares the same sample data as the source sound, does not own the sound data |
425429
| func LoadSoundFromWave(wave) | Load sound from wave data |
426430
| func LoadTexture(fileName) | Load texture from file into GPU memory (VRAM) |
427431
| func LoadTextureCubemap(image, layout) | Load cubemap from image, multiple image cubemap layouts supported |
@@ -456,7 +460,7 @@ Implemented APIs (573)
456460
| sub ResumeAudioStream(stream) | Resume audio stream |
457461
| sub ResumeMusicStream(music) | Resume playing paused music |
458462
| sub ResumeSound(sound) | Resume a paused sound |
459-
| func SaveFileData(fileName, data, bytesToWrite) | Save data to file from byte array (write), returns true on success |
463+
| func SaveFileData(fileName, data, dataSize) | Save data to file from byte array (write), returns true on success |
460464
| func SaveFileText(fileName, text) | Save text data to file (write), string must be '\\0' terminated, returns true on success |
461465
| sub SeekMusicStream(music, position) | Seek music to a position (in seconds) |
462466
| sub SetAudioStreamBufferSizeDefault(size) | Default size for new audio streams |
@@ -517,13 +521,14 @@ Implemented APIs (573)
517521
| sub SetWindowFocused() | Set window focused (only PLATFORM_DESKTOP) |
518522
| sub SetWindowIcon(image) | Set icon for window (single image, RGBA 32bit, only PLATFORM_DESKTOP) |
519523
| sub SetWindowIcons(images, count) | Set icon for window (multiple images, RGBA 32bit, only PLATFORM_DESKTOP) |
524+
| sub SetWindowMaxSize(width, height) | Set window maximum dimensions (for FLAG_WINDOW_RESIZABLE) |
520525
| sub SetWindowMinSize(width, height) | Set window minimum dimensions (for FLAG_WINDOW_RESIZABLE) |
521-
| sub SetWindowMonitor(monitor) | Set monitor for the current window (fullscreen mode) |
526+
| sub SetWindowMonitor(monitor) | Set monitor for the current window |
522527
| sub SetWindowOpacity(opacity) | Set window opacity [0.0f..1.0f] (only PLATFORM_DESKTOP) |
523528
| sub SetWindowPosition(x, y) | Set window position on screen (only PLATFORM_DESKTOP) |
524529
| sub SetWindowSize(width, height) | Set window dimensions |
525530
| sub SetWindowState(flags) | Set window configuration state using flags (only PLATFORM_DESKTOP) |
526-
| sub SetWindowTitle(title) | Set title for window (only PLATFORM_DESKTOP) |
531+
| sub SetWindowTitle(title) | Set title for window (only PLATFORM_DESKTOP and PLATFORM_WEB) |
527532
| sub ShowCursor() | Shows cursor |
528533
| sub StopAudioStream(stream) | Stop audio stream |
529534
| sub StopMusicStream(music) | Stop music playing |
@@ -543,6 +548,7 @@ Implemented APIs (573)
543548
| func TextToLower(text) | Get lower case version of provided string |
544549
| func TextToPascal(text) | Get Pascal case notation version of provided string |
545550
| func TextToUpper(text) | Get upper case version of provided string |
551+
| sub ToggleBorderlessWindowed() | Toggle window state: borderless windowed (only PLATFORM_DESKTOP) |
546552
| sub ToggleFullscreen() | Toggle window state: fullscreen/windowed (only PLATFORM_DESKTOP) |
547553
| sub UnloadAudioStream(stream) | Unload audio stream and free memory |
548554
| sub UnloadCodepoints(codepoints) | Unload codepoints data from memory |
@@ -557,11 +563,12 @@ Implemented APIs (573)
557563
| sub UnloadMesh(mesh) | Unload mesh data from CPU and GPU |
558564
| sub UnloadModel(model) | Unload model (including meshes) from memory (RAM and/or VRAM) |
559565
| sub UnloadModelAnimation(anim) | Unload animation data |
560-
| sub UnloadModelAnimations(animations, count) | Unload animation array data |
566+
| sub UnloadModelAnimations(animations, animCount) | Unload animation array data |
561567
| sub UnloadMusicStream(music) | Unload music stream |
562568
| sub UnloadRenderTexture(target) | Unload render texture from GPU memory (VRAM) |
563569
| sub UnloadShader(shader) | Unload shader from GPU memory (VRAM) |
564570
| sub UnloadSound(sound) | Unload sound |
571+
| sub UnloadSoundAlias(alias) | Unload a sound alias (does not deallocate sample data) |
565572
| sub UnloadTexture(texture) | Unload texture from GPU memory (VRAM) |
566573
| sub UnloadUTF8(text) | Unload UTF-8 text encoded from codepoints array |
567574
| sub UnloadWave(wave) | Unload wave data |
@@ -588,8 +595,8 @@ Unimplemented APIs
588595

589596
| Name | Description |
590597
|---------|---------------|
591-
| AttachAudioMixedProcessor | Attach audio stream processor to the entire audio pipeline |
592-
| AttachAudioStreamProcessor | Attach audio stream processor to stream |
598+
| AttachAudioMixedProcessor | Attach audio stream processor to the entire audio pipeline, receives the samples as <float>s |
599+
| AttachAudioStreamProcessor | Attach audio stream processor to stream, receives the samples as <float>s |
593600
| BeginVrStereoMode | Begin stereo rendering (requires VR simulator) |
594601
| DetachAudioMixedProcessor | Detach audio stream processor from the entire audio pipeline |
595602
| DetachAudioStreamProcessor | Detach audio stream processor from stream |

raylib/func-def.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@
162162
{1, 1, "ISIMAGEREADY", cmd_isimageready},
163163
{1, 1, "ISKEYDOWN", cmd_iskeydown},
164164
{1, 1, "ISKEYPRESSED", cmd_iskeypressed},
165+
{1, 1, "ISKEYPRESSEDREPEAT", cmd_iskeypressedrepeat},
165166
{1, 1, "ISKEYRELEASED", cmd_iskeyreleased},
166167
{1, 1, "ISKEYUP", cmd_iskeyup},
167168
{2, 2, "ISMODELANIMATIONVALID", cmd_ismodelanimationvalid},
@@ -192,7 +193,7 @@
192193
{1, 1, "LOADDIRECTORYFILES", cmd_loaddirectoryfiles},
193194
{3, 3, "LOADDIRECTORYFILESEX", cmd_loaddirectoryfilesex},
194195
{0, 0, "LOADDROPPEDFILES", cmd_loaddroppedfiles},
195-
{2, 2, "LOADFILEDATA", cmd_loadfiledata},
196+
{1, 1, "LOADFILEDATA", cmd_loadfiledata},
196197
{1, 1, "LOADFILETEXT", cmd_loadfiletext},
197198
{1, 1, "LOADFONT", cmd_loadfont},
198199
{3, 3, "LOADFONTEX", cmd_loadfontex},
@@ -206,12 +207,14 @@
206207
{1, 1, "LOADIMAGEFROMTEXTURE", cmd_loadimagefromtexture},
207208
{2, 2, "LOADIMAGEPALETTE", cmd_loadimagepalette},
208209
{5, 5, "LOADIMAGERAW", cmd_loadimageraw},
210+
{3, 3, "LOADIMAGESVG", cmd_loadimagesvg},
209211
{1, 1, "LOADMODEL", cmd_loadmodel},
210212
{1, 1, "LOADMODELFROMMESH", cmd_loadmodelfrommesh},
211213
{1, 1, "LOADMUSICSTREAM", cmd_loadmusicstream},
212214
{3, 3, "LOADMUSICSTREAMFROMMEMORY", cmd_loadmusicstreamfrommemory},
213215
{2, 2, "LOADSHADERFROMMEMORY", cmd_loadshaderfrommemory},
214216
{1, 1, "LOADSOUND", cmd_loadsound},
217+
{1, 1, "LOADSOUNDALIAS", cmd_loadsoundalias},
215218
{1, 1, "LOADSOUNDFROMWAVE", cmd_loadsoundfromwave},
216219
{1, 1, "LOADTEXTURE", cmd_loadtexture},
217220
{2, 2, "LOADTEXTURECUBEMAP", cmd_loadtexturecubemap},

0 commit comments

Comments
 (0)