ec5c9686b3
Improved data export capabilities!
...
REVIEWED: ExportImage()
REVIEWED: ExportMesh()
ADDED: ExportWave()
REMOVED: Internal funcs: SavePNG(), SaveBMP()
NOTE: These changes break the API (parameters order)
2018-09-17 16:56:02 +02:00
5b09630d45
Update mini_al to v0.8.8
...
Some minor tweaks around
2018-09-14 12:47:31 +02:00
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...).
2018-09-06 16:56:21 +02:00
d0608b031a
Corrected issue with types
2018-09-05 10:47:40 +02:00
b042fe12e6
Reviewed spacings on latest PR
2018-08-06 20:49:47 +02:00
ecf8bff4aa
Fix compiler warnings, first part
2018-08-04 10:32:16 +02:00
292499bdeb
Reviewed LoadFontData() and GenImageFontAtlas()
2018-07-15 20:03:05 +02:00
103bc7dfc6
Corrected issue with GetFontDefault()
...
Note for me: Replace All is NOT your friend...
2018-07-05 19:17:06 +02:00
d881c73257
Renamed GetDefaultFont() to GetFontDefault()
...
Library consistency rename... yes, I know, it breaks the API...
2018-07-05 19:08:24 +02:00
afe81d94ce
Re-added: LoadFontEx()
2018-06-30 19:58:44 +02:00
0e135118fd
Improved GenImageFontAtlas()
2018-06-21 00:18:13 +02:00
75ba5aca55
Improved font generation and SDF
...
Added: data to CharInfo struct
Added: LoadFontData()
Added: GenImageFontAtlas()
Removed: LoadFontEx()
Removed: LoadTTF() [internal]
Some code tweaks
2018-06-20 00:52:14 +02:00
559b9b8cc3
Corrected possible memory leak
2018-05-21 18:57:54 +02:00
25d5e907ec
Some code review (mainly comments)
2018-05-20 00:37:16 +02:00
2aae62cea2
Header tweak and comments
2018-05-17 00:04:36 +02:00
ec33e7d705
BREAKING CHANGE: Renamed SpriteFont type to Font
...
- Preparing MP3 files support
- Jumped version to raylib 2.0-dev (too many breaking changes...)
2018-05-04 16:59:48 +02:00
6324697ffd
Rectangle parameters changed to float
...
- Some examples tweaks
- Reviewed ImageFormat()
- Use float for text fontSize
2018-05-04 16:25:31 +02:00
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 ).
2018-04-07 23:37:48 +02:00
80bf636f81
Don't exceed signed int range when shifting left
...
Fixes UB in #489 , found by UBSan.
2018-02-25 03:17:57 +01:00
76aca9b0d1
Fix possible buffer overflow in LoadBMFont
...
Width specifier doesn't include NUL terminator.
Fixes #487 found by AddressSanitizer.
2018-02-25 03:03:37 +01:00
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
2018-02-18 18:07:57 +01:00
8af5f9dfe0
Avoid rendering SPACE character!
2018-02-12 11:25:00 +01:00
1ce8c80de9
Corrected several issues...
2018-01-28 16:52:18 +01:00
00c34a035c
Updated copyright year
2017-12-20 12:37:08 +01:00
54587d7fdb
proper if-clauses for disabling functionality in text.c
2017-12-14 11:41:31 +01:00
a6f9cc5629
Remove rres support
...
Let the user choose if using rres external library
2017-12-11 11:55:02 +01:00
3d755d617a
Some code tweaks...
2017-11-02 20:08:52 +01:00
cbe0dcedfe
Corrected issue with ttf font y-offset
2017-10-25 00:30:58 +02:00
12cb3afd9e
Added function DrawRectangleGradientEx()
...
Moved function DrawRectangleT() from text module to shapes
Added some comments
2017-08-27 21:02:24 +02:00
88839b093c
Added function DrawRectangleT()
...
Usefult to draw rectangles using default font texture
2017-08-06 10:44:50 +02:00
9f09f6f550
Rename enum LogType names...
...
...to avoid possible conflicting symbols
2017-07-02 12:35:13 +02:00
4c27412eff
Corrected issue #281
2017-05-09 09:33:32 +02:00
b0f8ea27e3
Renamed function for lib consistency
...
LoadSpriteFontTTF() --> LoadSpriteFontEx()
2017-04-22 19:04:54 +02:00
ecfe31bf1d
Make TraceLog() public to the API
...
enum LogType could require some revision...
2017-04-21 00:08:00 +02:00
1f56e8e5d0
Minor code tweaks
2017-04-04 12:16:13 +02:00
080a79f0b0
Added IsFileExtension()
...
Replaced old GetExtension() function
Make IsFileExtension() public to the API
2017-03-29 00:35:42 +02:00
2f65975c5e
Remove RBMF fileformat support
2017-03-29 00:02:40 +02:00
b7a8a40e71
Work on configuration flags
2017-03-26 22:49:01 +02:00
2ac7b684b5
text: configuration flags
2017-03-21 13:22:47 +01:00
59652c75b4
Review some comments
2017-03-20 20:34:44 +01:00
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...
2017-03-05 19:17:00 +01:00
05cff44d0a
Improved modules description -IN PROGRESS-
...
Working in modules configuration flags...
2017-02-16 00:50:02 +01:00
afcd748fdf
Reviewed fread() usage around the code
2017-02-11 23:17:56 +01:00
734776b923
Commented code for review
2017-02-06 00:44:21 +01:00
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.
2017-02-05 02:59:39 +01:00
c85dfd4bc6
Remove unecessary spaces...
2017-01-28 23:02:30 +01:00
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.
2017-01-28 00:56:45 +01:00
61f6b0f707
Removed GetNextPOT(), review TraceLog()
2017-01-15 01:10:23 +01:00
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
2016-12-27 17:37:35 +01:00
852f3d4fd0
Review comments and formatting
2016-12-25 02:01:13 +01:00