d67edb591a
Support KXT image file export
...
[textures] Added SaveKTX()
[rlgl] Exposed rlGetGlTextureFormats()
2018-10-01 15:30:48 +02:00
2bd18ab91e
Support ExportImage() as raw pixel data
...
Added note on KTX 2.2
2018-09-17 19:00:51 +02:00
f503fded67
Support image export
2018-09-17 17:06:58 +02:00
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
ac31f51c5e
Corrected issue with font tint
2018-09-05 10:47:57 +02:00
00f5f2ead2
Merge pull request #616 from overdev/master
...
[Feature Request] 9-patch drawing function
2018-08-09 22:42:05 +02:00
dab78d59f3
Update textures.c
...
See raylib/examples/textures/textures_image_9patch.c for how to use `DrawTextureNPatch` function.
2018-08-08 16:42:39 -03:00
b042fe12e6
Reviewed spacings on latest PR
2018-08-06 20:49:47 +02:00
b2cac82fa0
Fix compiler warings in texture.c and more.
2018-08-05 00:34:35 +02:00
28424141f0
Update textures.c
...
Added support form vertical and horizontal 3-patches.
Corrected the distortion caused when destRec size is smaller than 4x4. Now even 1x10 or 0x0 sizes are drawn correctly.
2018-08-03 20:53:15 -03:00
7cc2a5585b
Update textures.c
...
Added DrawNinePatch() function implementation.
2018-08-03 04:51:26 -03:00
548dbeb1ca
Fix typo (s/proedural/procedural)
2018-07-29 13:04:16 +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
74fd0e7ca4
Added function: ImageColorReplace()
2018-07-03 00:57:58 +02:00
276974de05
Removed function prototype
...
This function was added in text module as GenImageFontAtlas()
2018-07-02 16:39:04 +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
372e4a1139
Reviewed some functions
...
- GetImageData()
- GetImageDataNormalized()
2018-06-12 16:30:03 +02:00
64804f30e6
Comment review
2018-06-12 13:27:41 +02:00
59fd261491
Added function: GetImageDataNormalized()
...
Reviewed: GetImageData()
Reviewed: ImageFormat()
2018-06-12 13:13:09 +02:00
7d0e09ff4c
Corrected bug
2018-06-12 12:05:28 +02:00
b48d225a43
Propose new function: GenImageFont()
2018-06-10 19:29:01 +02:00
817ae07505
Some comments cleaning
...
ImageDraw() code tweak
2018-06-06 00:43:52 +02:00
0e6458cfee
Added ImageRotate*() functions
2018-06-03 21:05:01 +02:00
b1b4a11bdb
Corrected issue with function definition
2018-06-02 13:05:23 +02:00
afc4181752
Work on ImageResizeCanvas()
2018-06-02 12:47:05 +02:00
2536bea379
Added: ImageResizeCanvas() -WIP-
...
Added note idea on ImageFormat() for future redesign (to support
16bit-32bit pixel-formats)
2018-06-01 00:53:40 +02:00
129c890a28
Removed assert()
...
Not used in raylib this mechanism
2018-05-30 00:06:23 +02:00
8f4b53384c
Replaced tabs by spaces
2018-05-29 09:09:40 +02:00
dbff40944a
Corrected issue with floats on TCC
...
It seems TCC was not casting correctly int values to float in some
specific situations
2018-05-28 00:48:07 +02:00
8f4fa5006b
Added a note
2018-05-22 12:09:12 +02:00
e025e62445
cmake: Fix PLATFORM_WEB build
...
Did this ever work? Surely, doesn't look like it...
2018-05-21 12:15:39 +02:00
2aae62cea2
Header tweak and comments
2018-05-17 00:04:36 +02:00
bb43755a9d
Corrected issue on LoadASTC()
2018-05-12 23:33:03 +02:00
9ea2a69bfd
Corrected issue on rectangle drawing
2018-05-09 00:23:56 +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
c51203ae7e
Corrected alpha blending on ImageDraw()
2018-04-29 18:39:57 +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
b8bd1d2ea6
Remove unnecesary NPOT check
...
Now PLATFORM checks only used on core and utils modules
2018-04-05 19:22:45 +02:00
005f2ffb75
Simplified some code
2018-04-05 19:18:44 +02:00
931b672c92
Added: ImageDrawRectangle()
...
Renamed SaveImageAs() to ExportImage() for consistency on what actually happens with data.
2018-04-04 12:02:20 +02:00
533780aadf
Review ImageDraw() alpha blending
...
Not sure if math is ok... just left a commented piece of code that uses pre-multiplied alpha.
2018-04-03 12:42:22 +02:00
28a9a181cb
Fix use after free
2018-04-02 13:30:19 +02:00
0958904eac
Added comments to review function ImageTextEx()
2018-02-18 19:29:13 +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
1ce8c80de9
Corrected several issues...
2018-01-28 16:52:18 +01:00
2dcaddc81c
Review mipmaps generation issue
...
When changing image format, mipmaps are lost and regenerated from
scratch
2018-01-23 13:23:34 +01:00
04af83ff99
Improved pixel formats support
...
Review rlLoadTexture() function to make it simpler, now OpenGL texture
glInternalFormat, glFormat and glType are retrieved with new function
GetGlFormats()
2018-01-22 00:20:42 +01:00
a2edc9d641
MSVC: Fix void pointer arithmetic error
...
GNU C allows it as a compiler extension, but MSVC doesn't.
2018-01-18 13:20:13 +01:00