| Age | Commit message (Collapse) | Author |
|
* Fix some warnings in examples.
* cleanups from review
Co-authored-by: Jeffery Myers <[email protected]>
|
|
|
|
|
|
|
|
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.
|
|
* Fixed #1455
Fixed writing out of array bounds
Adjusted FPS comment to match value
Deleted unused function at the end, which has never been in use in the history of this file
* Fixed #1455
Readded the function
|
|
|
|
* [core] Added desktop cursor getter and setter functions
* Example: Set mouse cursor in text input box
* Setup standard cursors _after_ GLFW window initialization
* Remove old `int GetMouseWheelMove` declaration
|
|
|
|
Replaced Vector3 by direct values, easier to use and understand
|
|
This function was renamed for consistency in raylib 3.0, just unified all examples to use TextFormat() instead of FormatText()
|
|
|
|
|
|
|
|
|
|
Now examples can be compiled by module, that's useful when compilation fails at some point
|
|
|
|
- Renamed GetGlyphIndex() parameter
- Review DrawTextEx() implementation
- Review DrawTextRecEx() implementation
|
|
Keeping original API
|
|
|
|
|
|
|
|
|
|
Changes:
- Font structure has been redesigned, CharInfo structure contained character rectangle within font texture, it has not much sense, considering that it was an information relative to the font atlas generated and not the character itself, so character rectangles have been moved out from CharInfo to Font.
- CharInfo included a data parameters to contain character pixel data (usually grayscale), generated on TTF font generation. It was inconsistent with other fonts types, so, now CharInfo includes directly an Image of the glyph.
- REDESIGNED: GenImageFontAtlas(), additional recs parameter added, loaded and filled inside the function to export atlas characters rectangles, instead of silently modify the input CharInfo data.
- REVIEWED: ImageTextEx(), funtion retrieved the font atlas image from the GPU, that was slow and problematic in several platforms. Now it uses directly the CharInfo image. Support for unicode codepoints has also been added.
- REDESIGNED: ImageDraw(), now it includes an additional parameter, the color tint, not only it could be useful for several situations but also function signature is more consistent with similar functions.
- ADDED: ImageFromImage() to generate a new image from a piece of another image.
- REVIEWED: GetNextCodepoint(), renamed parameters to be more clear.
Also all examples and games that were affected by those changes have been reviewed.
|
|
|
|
|
|
|
|
|
|
|
|
Redesigns, deletes and renames
Also noted authors propertly on contributed examples
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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.
|
|
|
|
Useful for bitmaps pixelated fonts where anti-aliasing is not desired!
Change also enables additional font generation mechanisms in a future (cleartype, hinting...).
|
|
|
|
|
|
|
|
- Preparing MP3 files support
- Jumped version to raylib 2.0-dev (too many breaking changes...)
|
|
|
|
|
|
|
|
LoadSpriteFontTTF() --> LoadSpriteFontEx()
|
|
- Removed rbmf font example
- Reviewed physac examples
|
|
|