Ray
589152b658
Review void pointer incrementation
преди 6 години
Ray
d67edb591a
Support KXT image file export
[textures] Added SaveKTX()
[rlgl] Exposed rlGetGlTextureFormats()
преди 6 години
Ray
2bd18ab91e
Support ExportImage() as raw pixel data
Added note on KTX 2.2
преди 6 години
Ray
f503fded67
Support image export
преди 6 години
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)
преди 6 години
Ray
ac31f51c5e
Corrected issue with font tint
преди 6 години
Jorge A. Gomes
dab78d59f3
Update textures.c
See raylib/examples/textures/textures_image_9patch.c for how to use `DrawTextureNPatch` function.
преди 6 години
Ray
b042fe12e6
Reviewed spacings on latest PR
преди 6 години
Kim Kulling
b2cac82fa0
Fix compiler warings in texture.c and more.
преди 6 години
Jorge A. Gomes
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.
преди 6 години
Jorge A. Gomes
7cc2a5585b
Update textures.c
Added DrawNinePatch() function implementation.
преди 7 години
Ahmad Fatoum
548dbeb1ca
Fix typo (s/proedural/procedural)
преди 7 години
raysan5
103bc7dfc6
Corrected issue with GetFontDefault()
Note for me: Replace All is NOT your friend...
преди 7 години
raysan5
d881c73257
Renamed GetDefaultFont() to GetFontDefault()
Library consistency rename... yes, I know, it breaks the API...
преди 7 години
Ray
74fd0e7ca4
Added function: ImageColorReplace()
преди 7 години
Ray
276974de05
Removed function prototype
This function was added in text module as GenImageFontAtlas()
преди 7 години
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 години
Ray
372e4a1139
Reviewed some functions
- GetImageData()
- GetImageDataNormalized()
преди 7 години
Ray San
64804f30e6
Comment review
преди 7 години
Ray San
59fd261491
Added function: GetImageDataNormalized()
Reviewed: GetImageData()
Reviewed: ImageFormat()
преди 7 години
Ray San
7d0e09ff4c
Corrected bug
преди 7 години
raysan5
b48d225a43
Propose new function: GenImageFont()
преди 7 години
Ray
817ae07505
Some comments cleaning
ImageDraw() code tweak
преди 7 години
Ray
0e6458cfee
Added ImageRotate*() functions
преди 7 години
Ray
b1b4a11bdb
Corrected issue with function definition
преди 7 години
Ray
afc4181752
Work on ImageResizeCanvas()
преди 7 години
Ray
2536bea379
Added: ImageResizeCanvas() -WIP-
Added note idea on ImageFormat() for future redesign (to support
16bit-32bit pixel-formats)
преди 7 години
Ray
129c890a28
Removed assert()
Not used in raylib this mechanism
преди 7 години
Ray
8f4b53384c
Replaced tabs by spaces
преди 7 години
Ray
dbff40944a
Corrected issue with floats on TCC
It seems TCC was not casting correctly int values to float in some
specific situations
преди 7 години
Ray San
8f4fa5006b
Added a note
преди 7 години
Ahmad Fatoum
e025e62445
cmake: Fix PLATFORM_WEB build
Did this ever work? Surely, doesn't look like it...
преди 7 години
Ray
2aae62cea2
Header tweak and comments
преди 7 години
Ray
bb43755a9d
Corrected issue on LoadASTC()
преди 7 години
Ray
9ea2a69bfd
Corrected issue on rectangle drawing
преди 7 години
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 години
Ray San
6324697ffd
Rectangle parameters changed to float
- Some examples tweaks
- Reviewed ImageFormat()
- Use float for text fontSize
преди 7 години
raysan5
c51203ae7e
Corrected alpha blending on ImageDraw()
преди 7 години
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 години
Ray
b8bd1d2ea6
Remove unnecesary NPOT check
Now PLATFORM checks only used on core and utils modules
преди 7 години
Ray
005f2ffb75
Simplified some code
преди 7 години
Ray
931b672c92
Added: ImageDrawRectangle()
Renamed SaveImageAs() to ExportImage() for consistency on what actually happens with data.
преди 7 години
Ray
533780aadf
Review ImageDraw() alpha blending
Not sure if math is ok... just left a commented piece of code that uses pre-multiplied alpha.
преди 7 години
Martinfx
28a9a181cb
Fix use after free
преди 7 години
raysan5
0958904eac
Added comments to review function ImageTextEx()
преди 7 години
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 години
Ray
1ce8c80de9
Corrected several issues...
преди 7 години
Ray
2dcaddc81c
Review mipmaps generation issue
When changing image format, mipmaps are lost and regenerated from
scratch
преди 7 години
Ray
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()
преди 7 години
Ahmad Fatoum
a2edc9d641
MSVC: Fix void pointer arithmetic error
GNU C allows it as a compiler extension, but MSVC doesn't.
преди 7 години