summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
AgeCommit message (Collapse)Author
2018-07-02Added Quaternion typedefRay
2018-06-30Spacing tweaksRay
2018-06-30Re-added: LoadFontEx()Ray
2018-06-26Reviewed comments sectionRay
2018-06-23Added support OpenBSD, NetBSD, DragonFly[email protected]
2018-06-21Improved GenImageFontAtlas()Ray
2018-06-20Improved font generation and SDFRay
Added: data to CharInfo struct Added: LoadFontData() Added: GenImageFontAtlas() Removed: LoadFontEx() Removed: LoadTTF() [internal] Some code tweaks
2018-06-12Added function: GetImageDataNormalized()Ray San
Reviewed: GetImageData() Reviewed: ImageFormat()
2018-06-03Added ImageRotate*() functionsRay
2018-06-02Review window creation hintsRay
2018-06-02Corrected issue with function definitionRay
2018-06-01Added: ImageResizeCanvas() -WIP-Ray
Added note idea on ImageFormat() for future redesign (to support 16bit-32bit pixel-formats)
2018-05-04BREAKING CHANGE: Renamed SpriteFont type to FontRay San
- Preparing MP3 files support - Jumped version to raylib 2.0-dev (too many breaking changes...)
2018-05-04Renamed some functionsRay San
- Renamed Begin3dMode() --> BeginMode3D() - Renamed Begin2dMode() --> BeginMode2D() - Renamed End3dMode() --> EndMode3D() - Renamed End2dMode() --> EndMode2D()
2018-05-04Rectangle parameters changed to floatRay San
- Some examples tweaks - Reviewed ImageFormat() - Use float for text fontSize
2018-05-03Removed line breaks from functionsRay San
Useful to parse raylib.h to generate raylib-lua and Notepad++ intellisense XML info
2018-05-01BREAKING CHANGE: Renamed Camera -> Camera3Draysan5
Just added a fallback in the meantime...
2018-04-29Replaced ColorToFloat() by ColorNormalize()raysan5
2018-04-13Add more key definitionslumaio teon
2018-04-11Review camera definition on examplesRay San
2018-04-09Reviewed config.h formattingRay
Added raylib version to config
2018-04-07Removed useless GetCollisionRayMesh and libraylib.alumaio teon
2018-04-06Added GetCollisionRayModellumaio teon
2018-04-04Added: ImageDrawRectangle()Ray
Renamed SaveImageAs() to ExportImage() for consistency on what actually happens with data.
2018-04-02Review InitWindow() to avoid void pointerraysan5
Reviewed for PLATFORM_ANDROID and PLATFORM_UWP
2018-03-25Add 3d orthographic projection modeMax Danielsson
2018-03-16Complete review of raymath for API consistencyRay
2018-03-15Updated raylib dev versionRay
2018-03-15Merge pull request #482 from a3f/masterRay
raymath.h: Use C99 inline semantics
2018-03-11Corrected typoraysan5
2018-03-09Added new functionsRay San
- SetWindowSize() to scale Windows in runtime - SetMouseScale() to scale mouse input, useful when rendering game to a RenderTexture2D that will be scaled to Window size (used on rFXGen tool)
2018-02-26Renamed CalculateBoundingBox() to MeshBoundingBox()Ray
Renamed function for consistency with a possible Mesh manipulation functions (maybe added in a future). Naming follows Image*() manipulation functions.
2018-02-24raymath.h: Use C99 inline semanticsAhmad Fatoum
RAYMATH_EXTERN_INLINE was renamed to RAYMATH_HEADER_ONLY, which user code may define if they want to use it as header-only library. If multiple files in the same project define RAYMATH_HEADER_ONLY, they might each have duplicate out-of-line definitions of the same functions. By default, raymath.h exposes inline definitions, which instructs the compiler _not_ to generate out-of-line definitons, if out-of-line definitions are required, those of the file defined with RAYLIB_IMPLEMENTATION are used instead. There may be only one such file. In C++ mode, the compiler will select only one out-of-line definition automatically, so no need to define a RAYLIB_IMPLEMENTATION. Unfortunately, we have to remove raymath function declaration from raylib.h as those declarations would lead to duplicate out-of-line definitions which would yield linker errors. This problem didn't exist with GNU89 or C++, because there multiple defintions are ok, but in C99 they aren't.
2018-02-24Make MatrixToFloat and Vector3ToFloat reentrantAhmad Fatoum
Besides making it thread-safe, it suppresses a GCC warning when making them static inline in an upcoming patch.
2018-02-24Revert "raymath.h: Use C99 inline semantics"Ahmad Fatoum
This reverts commit 6ffc8cb7990fb4ff40f205cb53bec797b10e48a2. and commit e4d7bbec1ef08279495ac41f5f8c4be359c58cf0. which I pushed by mistake...
2018-02-24raymath.h: Use C99 inline semanticsAhmad Fatoum
RAYMATH_EXTERN_INLINE was renamed to RAYMATH_HEADER_ONLY, which user code may define if they want to use it as header-only library. If multiple files in the same project define RAYMATH_HEADER_ONLY, they might each have duplicate out-of-line definitions of the same functions. By default, raymath.h exposes inline definitions, which instructs the compiler _not_ to generate out-of-line definitons, if out-of-line definitions are required, those of the file defined with RAYLIB_IMPLEMENTATION are used instead. There may be only one such file. In C++ mode, the compiler will select only one out-of-line definition automatically, so no need to define a RAYLIB_IMPLEMENTATION. Unfortunately, we have to remove raymath function declaration from raylib.h as those declarations would lead to duplicate out-of-line definitions which would yield linker errors. This problem didn't exist with GNU89 or C++, because there multiple defintions are ok, but in C99 they aren't.
2018-02-24Make MatrixToFloat and Vector3ToFloat reentrantAhmad Fatoum
Besides making it thread-safe, it suppresses a GCC warning when making them static inline in an upcoming patch.
2018-02-24Support 4 components mesh.tangent dataRay
Added struct Vector4 for convenience
2018-02-18Support UTF8 basic characters on ImageTextEx()raysan5
Supported UTF8 range equivalent to [128..255] (80h..FFh) Exposed and renamed text function GetGlyphIndex() Renamed spriteFont parameter name to simply font Small security check on transmission mission ending screen
2018-02-12BREAKING CHANGE: Renamed function for consistencyRay
Rename: GetHexValue() renamed to ColorToInt() Added: ColorToHSV()
2018-02-05Added function LoadShaderCode()Ray
Allows loading of shader from text code string directly
2018-02-04Incremeted version to align with CMakeraysan5
2018-02-04Updated raylib versionraysan5
Note that this version is under development and could be buggy on some platforms...
2018-02-04Reviewed window initializationraysan5
In case graphic device could not be created it returns false instead of failing with an error tracelog (and consequently closing the program). Window initialization success could be checked with new function IsWindowReady()
2018-02-03Return false from InitWindow if glfwInit or glfwCreateWindow failsAhmad Fatoum
You can't do much with raylib if glfwInit or glfwCreateWindow fails, currently it just exits by means of TraceLog(LOG_ERROR. User code, however, might want to fall back to a text-only UI or display a warning if raylib can't be used.
2018-02-02Added function DrawRectangleLinesEx()Ray San
2018-01-31Corrected typoRay
2018-01-31Added missing keys definitionsRay
2018-01-18Added function: ImageMipmaps()Ray
2018-01-17Reviewed function GenImagePerlinNoise()Ray
Added support for noise image offset