summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
AgeCommit message (Collapse)Author
2021-03-14Implement UnloadModelAnimations (#1648)Hristo Stamenov
2021-03-14WARNING: VERY BREAKING CHANGE: Renamed some enum values for consistencyRay
Some enums values have been renamed to be more consistent and also provide a more detailed description: - ShaderLocationIndex: LOC_VERTEX_POSITION -> SHADER_SHADER_LOC_VERTEX_POSITION - ShaderUniformDataType: UNIFORM_VEC2 -> SHADER_UNIFORM_VEC2 - MaterialMapType: MAP_ALBEDO -> MATERIAL_MAP_ALBEDO - PixelFormat: UNCOMPRESSED_GRAYSCALE -> PIXELFORMAT_UNCOMPRESSED_GRAYSCALE
2021-03-12Renamed some functions to use latest raylib versionRay
2021-03-08ADDED: Required callbacksRay
Removed memory allocation callbacks
2021-03-04Update some comments to warn users about callbacksRay
2021-03-04FEATURE: Several callbacks added -WIP- #1523 #1329Ray
NOTE: This feature is still under consideration and not complete.
2021-03-03WARNING: BREAKING: RENAMED: enums valuesRay
RENAMED: TextureFilterMode values RENAMED: TextureWrapMode values
2021-03-03WARNING: BREAKING: RENAMED enum valuesRay
RENAMED: CubemapLayoutType and NPatchType
2021-03-02REVIEWED: GetFileExtension() to include the dot #1523Ray
2021-02-22LoadMusicStreamFromMemory (#1606)Agnis "NeZvērs" Aldiņš
* define SUPPORT_FILEFORMAT_MOD in config.h * RLAPI LoadModuleFromData() definition in raylib.h * LoadModuleFromData() definition in raudio.h * LoadModuleFromData implementation in raudio.c * Rename API to LoadMusicStreamFromMemory & default unload. * raudio.c tabs to spaces * Styling curly bracket and removing dev debugging TRACELOG Co-authored-by: nezvers <[email protected]>
2021-02-14Possible callbacks -WIP-raysan5
2021-02-07Review formating for latest PRraysan5
2021-02-05REMOVED: MeshNormalsSmooth() #1421raysan5
Current implementation is probably wrong and it should be reimplemented from scratch, in the meantime, I prefer to remove the function.
2021-02-05REMOVED: SetTraceLogExit()raysan5
I feel nobody has ever used this function...
2021-02-05Designing some callbacks -WIP-Ray
2021-01-31REVIEWED: Gamepad system, specially for RPIraysan5
2021-01-22ADDED: UploadMesh() #1529Ray
Upload mesh data to GPU and get VAO/VBO identifiers
2021-01-22Review typoRay
2021-01-21ADDED: SetGamepadMappings() #1506Ray
2021-01-15Review commentRay
2021-01-02Update year to 2021raysan5
2020-12-29Monitor utilites (#1485)hristo
* Added a new utility function to get the current monitor. Some of the other functions rely on passing on a monitor id but we only have a function for querying the count of monitors available. * Updated the comment to correctly reflect the function action
2020-12-26Review DrawLineBezierQuad(), formating and aprameters orderraysan5
2020-12-26Add Quadratic Bezier drawing (#1468)Violet White
* Add quadratic bezier to shapes.c * Add DrawLineBezierQuad to header
2020-12-23Remove trailing spacesraysan5
2020-12-23ADDED: CheckCollisionLines()raysan5
Removed function from raymath
2020-12-19Camera funcs, review params namesRay
Just for a better consistency
2020-12-19REVIEW: CheckCollisionSpheres() params namingRay
2020-12-19Minor tweakRay
2020-12-19ADDED: MemAlloc() / MemFree() #1440Ray
Exposing internal memory allocator/free, useful for advance users when required
2020-12-19Update raylib.hRay
2020-12-19Avoid *Rec suffix in some variablesRay
Pefixing/Suffixing some data type identifier in the variables is not a convention used in raylib, just reviewed it for consistency... Still, I kept the *Rec suffix in some functions.
2020-12-19Support font chars padding on drawing #1432Ray
Previous implementation did not consider any padding while drawing the characters on screen (despite being available on the font atlas), so, only minimum character area was drawn. If some text effect shader was required (shadow, glow, outline...), there was no space in the drawn quad to draw that pixels effect. This commit corrects that issue.
2020-12-19Minimal tweakRay
2020-12-18WARNING: RENAMED several functions for consistency #1440Ray
This is a BREAKING CHANGE! To address the linked issue, several functions have been renamed and couterpart functions have been created to free loaded memory: - RENAMED: GetImageData() -> LoadImageColors() - RENAMED: GetImagePalette() -> LoadImagePalette() - RENAMED: GetWaveData() -> LoadWaveSamples() - ADDED: UnloadImageColors() - ADDED: UnloadImagePalette() - ADDED: UnloadWaveSamples()
2020-12-18WARNING: GetKeyPressed() <-> GetCharPressed() #1336Ray
Previous GetKeyPressed() method was actually returning unicode codepoints equivalent values instead of the key-code of the pressed key. So, it has been replaced by GetCharPressed(), returning unicode codepoints and GetKeyPressed() now returns key-codes.
2020-12-14REVIEWED: Font struct, added charsPadding #1432 -WIP-Ray
Not implemented usage of this variable yet but already setup for the future... some functions require review to consider it on drawing...
2020-12-14ADDED: UnloadFileData() / UnloadFileText() #1440Ray
2020-12-14Add mesh collision function so we can check meshes directly instead of ↵Jeffery Myers
having to put them in a model. (#1459) Make model collision function call the mesh function.
2020-12-05Add function to get the position of a monitor (and fix some comments) (#1449)Jeffery Myers
2020-12-01ADDED: UnloadModelKeepMeshes() #1441Ray
2020-11-28REMOVED: GetImageDataNormalized()raysan5
Let the advance users manage it as they want...
2020-11-28ADDED: UnloadFontData()raysan5
2020-11-23REVIEWED: Window state flags -WIP-Ray
WARNING: Several functions removed, replaced by SetWindowState() / ClearWindowState() equivalents, only for advance users. ADDED: ClearWindowState() to reset window state REMOVED: HideWindow() / UnhideWindow() REMOVED: DecorateWindow() / UndecorateWindow()
2020-11-23REDESIGNED: Window state config #1367 -WIP-Ray
Some flags not working properly yet...
2020-11-22Added some commentsRay
2020-11-22Exposing some file access results to user layer #1420Ray
2020-11-15[text] Consider characters padding -WIP- #1432raysan5
2020-11-03Remove trailing spacesRay
2020-11-01Reverted ChangeDirectory() redesignRay
It returns true on success again