| Age | Commit message (Collapse) | Author |
|
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.
|
|
Changed parameters order for consistency with LoadFontData() and other functions when an array is passed by parameter and array size is the following parameter.
|
|
|
|
Useful in case raylib compilation want to be automated and compilation config flags provided by command line.
|
|
stb_truetype supports some .otf fonts, just exposed that functionality.
|
|
|
|
|
|
text: IsEqualText() -WIP-
audio: SaveWAV()
audio: ExportWaveAsCode()
textures: ExportImageAsCode()
|
|
|
|
|
|
|
|
|
|
GenImageFontAtlas() allocates an array of stbrp_rect for the packing functions, but it never frees them.
|
|
REVIEWED: ExportImage()
REVIEWED: ExportMesh()
ADDED: ExportWave()
REMOVED: Internal funcs: SavePNG(), SaveBMP()
NOTE: These changes break the API (parameters order)
|
|
Some minor tweaks around
|
|
Useful for bitmaps pixelated fonts where anti-aliasing is not desired!
Change also enables additional font generation mechanisms in a future (cleartype, hinting...).
|
|
|
|
|
|
|
|
|
|
Note for me: Replace All is NOT your friend...
|
|
Library consistency rename... yes, I know, it breaks the API...
|
|
|
|
|
|
Added: data to CharInfo struct
Added: LoadFontData()
Added: GenImageFontAtlas()
Removed: LoadFontEx()
Removed: LoadTTF() [internal]
Some code tweaks
|
|
|
|
|
|
|
|
- Preparing MP3 files support
- Jumped version to raylib 2.0-dev (too many breaking changes...)
|
|
- Some examples tweaks
- Reviewed ImageFormat()
- Use float for text fontSize
|
|
That way, a user needs only to touch a single file to configure what
features raylib is built with.
Include guards are left out intentionally, because config.h should only
be included in source files, not headers.
Later on, config.h can also define the raylib version (#461).
|
|
Fixes UB in #489, found by UBSan.
|
|
Width specifier doesn't include NUL terminator.
Fixes #487 found by AddressSanitizer.
|
|
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
|
|
|
|
|
|
|
|
|
|
Let the user choose if using rres external library
|
|
|
|
|
|
Moved function DrawRectangleT() from text module to shapes
Added some comments
|
|
Usefult to draw rectangles using default font texture
|
|
...to avoid possible conflicting symbols
|
|
|
|
LoadSpriteFontTTF() --> LoadSpriteFontEx()
|
|
enum LogType could require some revision...
|
|
|
|
Replaced old GetExtension() function
Make IsFileExtension() public to the API
|
|
|