summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
AgeCommit message (Collapse)Author
2019-01-09Merge pull request #718 from MarcoLizza/shaders-uniforms-arrayRay
Shaders uniforms array
2019-01-09Adding uniform array support for shaders.Marco Lizza
2019-01-05Some code tweaksraysan5
2019-01-03REMOVED: ShowLogo()raysan5
Same functionality could be achieved using FLAGS... but also considering removing raylib logo animation...
2019-01-03REVIEWED some functions parametersraysan5
Decided to allow user to provide values directly instead of requiring a Vector2 struct, probably more confortable to use. - SetMousePosition() - SetMouseOffset() - SetMouseScale()
2019-01-02Mouse functions changedChrisDill
- SetMouseScale changed to take in a Vector2. - Added mouseOffset global which is used in mouse read functions.
2019-01-02Added SetMouseOffsetChrisDill
- Changed mouseScale to Vector2. - Added SetMouseOffset to change XY of mouseScale.
2018-12-29ADDED: DrawTextRec() and exampleraysan5
2018-12-26ADDED: DrawTextureQuad()raysan5
Useful for tiling and offset parameters definition.
2018-12-26Corrected typoraysan5
2018-12-26WARNING: BREAKING CHANGEraysan5
Added a bunch of useful text management functions. Consequently, some already available functions like `FormatText()` and `SubText()` has been renamed for consistency. Created temporal fallbacks for old names. raylib version bumped to 2.3.
2018-12-26REVIEWED: DrawRectanglePro()raysan5
2018-12-25REVIEWED: LoadFontEx()raysan5
Changed parameters order for consistency with LoadFontData() and other functions when an array is passed by parameter and array size is the following parameter.
2018-12-24Review DrawPolyEx()raysan5
Also reviewed rlCheckBufferLimit()
2018-12-20Exposed LoadFontFromImage()Ray
2018-12-15Added scissor functionalityRay
To draw only in defined area of the screen ADDED: BeginScissorMode(), EndScissorMode()
2018-12-03Improved textures wrap supportRay
2018-12-03Reviewed some commentsRay
2018-12-03Replaced #defines by enumsRay
2018-11-09ADDED: OpenURL()Ray
Corrected bug on ImageDrawRectangleLines()
2018-11-07Modifies some Image functionsRay
REVIEWED: ImageDrawRectangle() ADDED: ImageDrawRectangleLines()
2018-11-06Review parameter issue with MSVCRay
2018-11-06Remove end-line spacesRay
2018-11-06Support custom texture on shapes drawingRay
By default, internal white texture was used to draw most of the shapes; some time ago, support for white font character from default internal font was added. That way, all basic drawing (shapes, text) could be performed without a texture change and in a single drawing pass. Now, we move a step further and we allow configuring the texture (and rectangle) used to do the shapes drawing.
2018-10-29ADDED: Some functions...Ray
text: IsEqualText() -WIP- audio: SaveWAV() audio: ExportWaveAsCode() textures: ExportImageAsCode()
2018-10-23ADDED: SplitText() functionRay
2018-10-21Overhaul mouse and touch for RaspberryPi \n\nNow all '/dev/input/event*' ↵Berni8k
devices are now used for input. No longer uses '/dev/input/mouse*', keyboard and gamepad continue to use existing method\nMultitouch is now supported on RPi with 10 point multitouch\nFixed bugs with IsMouseButtonPressed(Used to constantly fire when holding button) and GetMouseWheelMove(Did not work)\n Fixed exesive CPU usage of GamepadThread
2018-10-18Some formatting tweaksRay
2018-10-16Review definesRay
2018-10-14Add FileExists() functionMichael Vetter
2018-10-13Corrected descriptionraysan5
2018-10-13Renamed new PR functionraysan5
RENAME: GetLastWriteTime() to GetFileModTime()
2018-10-12Added GetLastWriteTime to allow for file reloadingChrisDill
- Added a function to get the last write time of a file. I used this so I can reload files or resources if the time since they were last loaded changes.
2018-10-10GenImageFontAtlas prototype in raylib.h is incorrect.noshbar
The prototype of GenImageFontAtlas() in the main raylib.h header has a set of swapped parameter names. Going through the usage of the function within raylib itself, it appears as if the correct order is: 1) charsCount 2) fontSize However, it's exposed to the world as the other way around, which may cause some major confusion.
2018-10-10ADDED: GetFileNameWithoutExtRay
2018-10-08ADDED: ImageExtractPalette()Ray
2018-10-08Multiple changes, check descriptionRay
REVIEW: Reorganized global variables for consistency ADDED: GetWindowHandle() to get native window handle ADDED: GetDirectoryFiles() to get files list for a DIR
2018-10-07raylib.h: include <stdbool.h> if availableAhmad Fatoum
Previously, if <raylib.h> was #included prior to another header that defined bool, the compilation would fail. This is e.g. the case for <perl.h> and <objc/objc.h> which both fall back to the <stdbool.h> if C99 is available. The following commit includes <objc/objc.h> in src/core.c, which causes the same problem. Avoid this by checking for C99 bool like we already do for C++'s.
2018-09-30Changed monitor functions to use a indexChrisDill
- Using same idea as SetWindowMonitor to take in a index with 0 being the primary monitor.
2018-09-27Changed tabs to spacesChrisDill
- Fixed tabs used instead of 4 spaces
2018-09-27Added monitor functionsChrisDill
- Get number of monitors - Get size, physical size and name of primary monitor. Could pass monitor id instead not sure.
2018-09-18enjoy!Ray
2018-09-17Improved data export capabilities!Ray
REVIEWED: ExportImage() REVIEWED: ExportMesh() ADDED: ExportWave() REMOVED: Internal funcs: SavePNG(), SaveBMP() NOTE: These changes break the API (parameters order)
2018-09-06Support aliased font texture generationRay
Useful for bitmaps pixelated fonts where anti-aliasing is not desired! Change also enables additional font generation mechanisms in a future (cleartype, hinting...).
2018-09-05Started working on IQM/glTF loadersRay
2018-08-19Add the remaining numeric keypad keys, and a few other missing onesJustin Clift
2018-08-19Add the plus and minus keys on both the main keyboard and keypadJustin Clift
2018-08-08Update raylib.hJorge A. Gomes
2018-08-03Update raylib.hJorge A. Gomes
Added support form vertical and horizontal 3-patches. Corrected the distortion caused when destRec size is smaller than 4x4. Now even 1x10 or 0x0 sizes are drawn correctly.
2018-08-03Update raylib.hJorge A. Gomes
Added NinePatch struc definition and function prototype.