summaryrefslogtreecommitdiffhomepage
path: root/src/raylib.h
AgeCommit message (Collapse)Author
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
2018-01-11Added new function: ImageAlphaCrop()Ray
2018-01-07Added new image functionsraysan5
- Added: ImageAlphaClear() - Added: ImageAlphaPremultiply() - Reorganized some functions
2018-01-06Improved pixel formats supportraysan5
- Renamed enum TextureFormat to PixelFormat for consistency - Added support for pixel format UNCOMPRESSED_R32 - Using GetPixelDataSize() where required
2018-01-06Added function declarationraysan5
2018-01-06Added function: GetPixelDataSize()raysan5
Just found I need that function...
2018-01-02Added function GetFileName()raysan5
Review comments
2018-01-01Removed function DrawRectangleT()raysan5
Functionality integrated in DrawRectangle() and selectable with config flag USE_DEFAULT_FONT_TEXTURE
2017-12-28Support UNCOMPRESSED_R32G32B32A32 texture formatraysan5
2017-12-24Renamed function to SetTraceLog()raysan5
I think is clearer this way...
2017-12-24Added function SetTraceLogTypes()raysan5
Trace log messages could be configured with this function to select wich ones are shown
2017-12-20Some code tweaksRay
Audio module requires a complete formatting review....
2017-12-19Expose GetTime() function to usersRay San
Monotonic time since InitWindow() could be retrieved with this function.
2017-12-15Manually review previous PRRay San
2017-12-14make raylib not clash with windows-headeruser
2017-12-14make GetTime available to user of libraryuser
2017-12-14fix for GetMatrixModelview (former cl)user
2017-12-11Remove rres supportRay
Let the user choose if using rres external library
2017-12-05Updated library features and dependenciesRay San
2017-12-05Merge pull request #413 from mackron/dr/mini_alRay
mini_al integration
2017-12-05Change version number for developRay
Updated raylib version to 1.9-dev for development pourposes. Next raylib version is planned to implement a big amount of changes, so the version bump.