Ray San
00c34a035c
Updated copyright year
7 years ago
user
54587d7fdb
proper if-clauses for disabling functionality in text.c
7 years ago
Ray
a6f9cc5629
Remove rres support
Let the user choose if using rres external library
7 years ago
Ray San
3d755d617a
Some code tweaks...
7 years ago
Ray
cbe0dcedfe
Corrected issue with ttf font y-offset
7 years ago
raysan5
12cb3afd9e
Added function DrawRectangleGradientEx()
Moved function DrawRectangleT() from text module to shapes
Added some comments
8 years ago
raysan5
88839b093c
Added function DrawRectangleT()
Usefult to draw rectangles using default font texture
8 years ago
raysan5
9f09f6f550
Rename enum LogType names...
...to avoid possible conflicting symbols
8 years ago
Ray
4c27412eff
Corrected issue #281
8 years ago
raysan5
b0f8ea27e3
Renamed function for lib consistency
LoadSpriteFontTTF() --> LoadSpriteFontEx()
8 years ago
Ray
ecfe31bf1d
Make TraceLog() public to the API
enum LogType could require some revision...
8 years ago
Ray
1f56e8e5d0
Minor code tweaks
8 years ago
Ray
080a79f0b0
Added IsFileExtension()
Replaced old GetExtension() function
Make IsFileExtension() public to the API
8 years ago
Ray
2f65975c5e
Remove RBMF fileformat support
8 years ago
Ray
b7a8a40e71
Work on configuration flags
8 years ago
Ray
2ac7b684b5
text: configuration flags
8 years ago
Ray
59652c75b4
Review some comments
8 years ago
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 years ago
Ray
05cff44d0a
Improved modules description -IN PROGRESS-
Working in modules configuration flags...
8 years ago
raysan5
afcd748fdf
Reviewed fread() usage around the code
8 years ago
Ray
734776b923
Commented code for review
8 years ago
raysan5
1a879ba08e
Refactor SpriteFont struct
Now it uses CharInfo data, this way, it's better aligned with the future
RRES file format data layout for sprite font characters.
8 years ago
Ray
c85dfd4bc6
Remove unecessary spaces...
8 years ago
Ray
b681e8c277
Implemented Wait()
Now program is halted (OS signal call) for required amount of time every
frame, so CPU usage drops to zero, instead of using a busy wait loop.
8 years ago
raysan5
61f6b0f707
Removed GetNextPOT(), review TraceLog()
8 years ago
raysan5
e7464d5fc3
Review some formatting and naming
- Renamed WritePNG() to SavePNG() for consistency with other file
loading functions
- Renamed WriteBitmap() to SaveBMP() for consistency with other file
loading functions
- Redesigned SaveBMP() to use stb_image_write
8 years ago
raysan5
852f3d4fd0
Review comments and formatting
8 years ago
Ray
377dcb025f
Corrected some warnings
8 years ago
raysan5
481ce3d39d
Corrected bug with alpha mask on font
Mask was wrongly applied to 8-bit font image, it generated dark borders
on the font. Grayscale image has to be considered as the alpha mask for
a completely white image to use it correctly.
8 years ago
raysan5
6d1b712a96
Reviewed modules comments
8 years ago
Ray
38df2cad25
Improved text measurement
Still not working correctly, font offsets are not considered
correctly...
8 years ago
raysan5
aa945055fa
Corrected issue on chars drawing
Support by default unordered charsets
8 years ago
raysan5
6d3b11ef91
Support unordered charset, neither fixed first char
Still requires some testing...
8 years ago
raysan5
3393fda384
Improve TTF loading
8 years ago
raysan5
cc917fbac6
Improve SpriteFont support
LoadSpriteFontTTF() - TTF font loading with custom parameters
8 years ago
raysan5
137057f499
Function added: GenSpriteFont()
8 years ago
raysan5
6d34adbd60
Improving sprite fonts support...
Support grayscale (8 bit) textures for fonts
Load unordered chars data above char 126
8 years ago
Ray
efa286a550
Allow no default font loading
Useful if text module is not required...
8 years ago
raysan5
7f0880a735
Review spacing formatting
raylib uses spaces between '+' and '-' signs but not between '*' and '/'
signs, it's a chosen convention
8 years ago
raysan5
a9ab516dae
Formatting tweaks
9 years ago
raysan5
f1c3f2870b
Added TraceLog info on image spritefont loading
9 years ago
raysan5
959a228815
Removed useless spacing
9 years ago
raysan5
ed387d00aa
Corrected issue with VS
9 years ago
raysan5
f69f930b51
Some functions review
9 years ago
raysan5
8fd4507847
Corrected bug on Raspberry Pi with strcat()
9 years ago
Ray
29d505c98e
Reorganize external libraries - BREAKING CHANGE -
Moved all external libraries used by raylib to external folder inside
raylib src. Makefile has already been update and also the different
includes in raylib modules.
9 years ago
Ray
17878550b1
Review heades usage
This is a first step toward a bigger project. Some modules could be
ported to header-only to be used as standalone.
9 years ago
raysan5
e94acf86f8
Reorganized internal funcs
9 years ago
raysan5
a167067cbd
Security check for unsupported BMFonts
- Check if first character is the expected Space char (32)
- Check if characters are ordered in definition file (.fnt)
9 years ago
raysan5
823abf666e
Reviewed code TODOs
9 years ago