Ray
fc1c9505ba
Remove end-line spaces
7 år sedan
Ray
298203a41a
ADDED: Some functions...
text: IsEqualText() -WIP-
audio: SaveWAV()
audio: ExportWaveAsCode()
textures: ExportImageAsCode()
7 år sedan
Ray
72431c6c36
Code tweaks
7 år sedan
Ray
550dd40cb3
ADDED: SplitText() function
7 år sedan
Ray
3b674cd281
Some security checks on font loading
7 år sedan
Ray
764766bfb2
Some formatting tweaks
7 år sedan
noshbar
ec6b21bd91
Fixes memory leak in text.c
GenImageFontAtlas() allocates an array of stbrp_rect for the packing functions, but it never frees them.
7 år sedan
Ray
ec5c9686b3
Improved data export capabilities!
REVIEWED: ExportImage()
REVIEWED: ExportMesh()
ADDED: ExportWave()
REMOVED: Internal funcs: SavePNG(), SaveBMP()
NOTE: These changes break the API (parameters order)
7 år sedan
Ray
5b09630d45
Update mini_al to v0.8.8
Some minor tweaks around
7 år sedan
Ray
dfb8837c46
Support aliased font texture generation
Useful for bitmaps pixelated fonts where anti-aliasing is not desired!
Change also enables additional font generation mechanisms in a future (cleartype, hinting...).
7 år sedan
Ray
d0608b031a
Corrected issue with types
7 år sedan
Ray
b042fe12e6
Reviewed spacings on latest PR
7 år sedan
Kim Kulling
ecf8bff4aa
Fix compiler warnings, first part
7 år sedan
Ray
292499bdeb
Reviewed LoadFontData() and GenImageFontAtlas()
7 år sedan
raysan5
103bc7dfc6
Corrected issue with GetFontDefault()
Note for me: Replace All is NOT your friend...
7 år sedan
raysan5
d881c73257
Renamed GetDefaultFont() to GetFontDefault()
Library consistency rename... yes, I know, it breaks the API...
7 år sedan
Ray
afe81d94ce
Re-added: LoadFontEx()
7 år sedan
Ray
0e135118fd
Improved GenImageFontAtlas()
7 år sedan
Ray
75ba5aca55
Improved font generation and SDF
Added: data to CharInfo struct
Added: LoadFontData()
Added: GenImageFontAtlas()
Removed: LoadFontEx()
Removed: LoadTTF() [internal]
Some code tweaks
7 år sedan
raysan5
559b9b8cc3
Corrected possible memory leak
7 år sedan
raysan5
25d5e907ec
Some code review (mainly comments)
7 år sedan
Ray
2aae62cea2
Header tweak and comments
7 år sedan
Ray San
ec33e7d705
BREAKING CHANGE: Renamed SpriteFont type to Font
- Preparing MP3 files support
- Jumped version to raylib 2.0-dev (too many breaking changes...)
7 år sedan
Ray San
6324697ffd
Rectangle parameters changed to float
- Some examples tweaks
- Reviewed ImageFormat()
- Use float for text fontSize
7 år sedan
Ahmad Fatoum
1841afad11
Refactor all #define SUPPORT_* into a config.h
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 ).
7 år sedan
Ahmad Fatoum
80bf636f81
Don't exceed signed int range when shifting left
Fixes UB in #489 , found by UBSan.
7 år sedan
Ahmad Fatoum
76aca9b0d1
Fix possible buffer overflow in LoadBMFont
Width specifier doesn't include NUL terminator.
Fixes #487 found by AddressSanitizer.
7 år sedan
raysan5
4492a70a4b
Support UTF8 basic characters on ImageTextEx()
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
7 år sedan
Ray
8af5f9dfe0
Avoid rendering SPACE character!
7 år sedan
Ray
1ce8c80de9
Corrected several issues...
7 år sedan
Ray San
00c34a035c
Updated copyright year
8 år sedan
user
54587d7fdb
proper if-clauses for disabling functionality in text.c
8 år sedan
Ray
a6f9cc5629
Remove rres support
Let the user choose if using rres external library
8 år sedan
Ray San
3d755d617a
Some code tweaks...
8 år sedan
Ray
cbe0dcedfe
Corrected issue with ttf font y-offset
8 år sedan
raysan5
12cb3afd9e
Added function DrawRectangleGradientEx()
Moved function DrawRectangleT() from text module to shapes
Added some comments
8 år sedan
raysan5
88839b093c
Added function DrawRectangleT()
Usefult to draw rectangles using default font texture
8 år sedan
raysan5
9f09f6f550
Rename enum LogType names...
...to avoid possible conflicting symbols
8 år sedan
Ray
4c27412eff
Corrected issue #281
8 år sedan
raysan5
b0f8ea27e3
Renamed function for lib consistency
LoadSpriteFontTTF() --> LoadSpriteFontEx()
8 år sedan
Ray
ecfe31bf1d
Make TraceLog() public to the API
enum LogType could require some revision...
8 år sedan
Ray
1f56e8e5d0
Minor code tweaks
8 år sedan
Ray
080a79f0b0
Added IsFileExtension()
Replaced old GetExtension() function
Make IsFileExtension() public to the API
8 år sedan
Ray
2f65975c5e
Remove RBMF fileformat support
8 år sedan
Ray
b7a8a40e71
Work on configuration flags
8 år sedan
Ray
2ac7b684b5
text: configuration flags
8 år sedan
Ray
59652c75b4
Review some comments
8 år sedan
raysan5
d1c9afd1d8
Work on timming functions...
It seems Sleep() behaves weird on my computer, disabled by default
returning to the busy wait loop... also re-implemented DrawFPS() to
avoid frame blitting...
8 år sedan
Ray
05cff44d0a
Improved modules description -IN PROGRESS-
Working in modules configuration flags...
8 år sedan
raysan5
afcd748fdf
Reviewed fread() usage around the code
8 år sedan