Ray
df84f93938
Add security checks on file writting
2019-09-30 17:32:06 +02:00
Ray
1f730b3b35
Review ImageCrop() security checks
2019-09-20 15:55:55 +02:00
Ray
9d53e07883
Added preprocessor macros for GIF
2019-09-19 17:36:48 +02:00
Ray
d089e1cd34
ADDED: LoadAnimatedGIF() -WIP-
...
Still looking for a better way to integrate it into raylib API, maybe add a LoadImageAnim()?
2019-09-19 16:09:36 +02:00
raysan5
112874fe07
Review issue with HDR pixels loading
2019-09-14 20:07:44 +02:00
raysan5
c10348cc85
Review conditions
2019-09-14 19:01:33 +02:00
Michael Vetter
5f1990e044
Fix build caused by GetImageAlphaBorder() ( #931 )
...
Fix build failure introduced in 2a913b6587
2019-08-07 09:23:15 +02:00
Ray
2a913b6587
ADDED: GetImageAlphaBorder()
2019-08-07 00:28:05 +02:00
Leandro Gabriel
89c16baf18
Replace tabs with spaces and update year of copyright notices ( #927 )
...
* Update year of copyright notices
* Fix mistake in comment
* Fix typo ("algorythms")
* Replace tabs with spaces
* Remove trailing whitespace and fix mistake in comment
* Fix ExportImageAsCode missing comment rectangle corner
* Replace tab with spaces
* Replace tabs with spaces
2019-08-03 11:07:41 +02:00
Ray
b4d67499a7
BREAKING CHANGE: Read description
...
Changes:
- Font structure has been redesigned, CharInfo structure contained character rectangle within font texture, it has not much sense, considering that it was an information relative to the font atlas generated and not the character itself, so character rectangles have been moved out from CharInfo to Font.
- CharInfo included a data parameters to contain character pixel data (usually grayscale), generated on TTF font generation. It was inconsistent with other fonts types, so, now CharInfo includes directly an Image of the glyph.
- REDESIGNED: GenImageFontAtlas(), additional recs parameter added, loaded and filled inside the function to export atlas characters rectangles, instead of silently modify the input CharInfo data.
- REVIEWED: ImageTextEx(), funtion retrieved the font atlas image from the GPU, that was slow and problematic in several platforms. Now it uses directly the CharInfo image. Support for unicode codepoints has also been added.
- REDESIGNED: ImageDraw(), now it includes an additional parameter, the color tint, not only it could be useful for several situations but also function signature is more consistent with similar functions.
- ADDED: ImageFromImage() to generate a new image from a piece of another image.
- REVIEWED: GetNextCodepoint(), renamed parameters to be more clear.
Also all examples and games that were affected by those changes have been reviewed.
2019-07-24 15:05:14 +02:00
Ray
2433f30b4b
Reviewed ImageDraw() and ImageResizeCanvas()
...
Added security checks in case provided image to functions hasn't been properly loaded... just to avoid program crashes.
2019-07-23 22:24:25 +02:00
Ray
d21422687a
Some formatting tweaks
2019-06-16 23:36:04 +02:00
Ray
0eece03205
Corrected issue with texture flip X
2019-05-15 12:22:29 +02:00
Ray
97c8a28aaa
Remove trail spaces
2019-05-08 18:33:09 +02:00
Ray
e67ebabb02
Support custom memory management macros
...
Users can define their custom memory management macros.
NOTE: Most external libraries support custom macros in the same way, raylib should redefine those macros to raylib ones, to unify custom memory loading. That redefinition is only implemented as example for stb_image.h in [textures] module.
2019-04-23 14:55:35 +02:00
Ray
01367fcb1e
Review cubemap generation
2019-04-11 16:11:54 +02:00
Ray
b8ada4b877
Review creation years
2019-04-08 12:25:13 +02:00
ChillerDragon
f21761fbbb
Happy new year 2019
2019-04-07 17:49:12 +02:00
Ray
a103086443
Removed trail spaces
2019-04-04 13:50:52 +02:00
raysan5
f02a0334d8
ADDED: GetScreenData()
2019-03-17 11:58:02 +01:00
Ray
29d1323bd1
Work on ImageResizeCanvas()
2019-03-15 13:34:09 +01:00
Ray
cbfa35a39e
REVIEW: ImageResizeCanvas() -WIP-
2019-03-15 00:56:02 +01:00
Ray
477ea4d660
Support external config flags
2019-03-12 16:00:26 +01:00
Ray
d679a97e92
Removed some NULL pointer checks
2019-02-28 18:39:58 +01:00
Ray
374811c440
Change ternary operator formatting
2019-02-22 13:13:11 +01:00
Ray
a886f5e743
Remove TABS
2019-02-22 12:12:21 +01:00
Ray
641895b5ba
Remove end-line spaces
2019-02-21 18:45:19 +01:00
Ray
5d0ea7f110
Corrected issue #758
2019-02-18 16:43:01 +01:00
Jens Pitkanen
eed69d4127
Fix the image manipulation config flag
2019-02-15 17:56:36 +02:00
Jens Pitkanen
f9963d4ed4
Fix config.h flags
2019-02-14 13:52:18 +02:00
Ray
e7466eb0c4
Corrected function usage
2019-02-12 00:40:10 +01:00
Ray
e996fe2ff5
ADDED: GetClipboardText(), SetClipboardText()
2019-02-11 18:03:06 +01:00
Ray
db56d432e4
ADDED: rlLoadTextureDepth()
...
REDESIGNED: rlLoadRenderTexture()
ADDED: rlRenderTextureAttach()
ADDED: rlRenderTextureComplete()
2019-02-04 16:28:17 +01:00
Ray
fce48e85f4
ADDED: LoadTextureCubemap()
...
Probably uncomplete, not tested yet...
2019-02-04 13:27:36 +01:00
raysan5
414c3ee1f9
ADDED: DrawTextureQuad()
...
Useful for tiling and offset parameters definition.
2018-12-26 23:44:16 +01:00
raysan5
9a8320c52b
REVIEWED: DrawRectanglePro()
2018-12-26 10:51:13 +01:00
Ray
965a91cebb
Support PIC image format loading
2018-12-18 18:18:40 +01:00
Ray
f822650a3b
Support externally provided compilation flags
...
Useful in case raylib compilation want to be automated and compilation config flags provided by command line.
2018-12-18 00:20:08 +01:00
Ray
8b75a1a990
Improved textures wrap support
2018-12-03 12:00:05 +01:00
Ray
1774260dab
Some tweaks
2018-11-30 01:57:53 +01:00
Ray
b5c6736592
Reimplement ImageAlphaCrop()
2018-11-27 10:20:41 +01:00
Ray
5167f78d5f
ADDED: OpenURL()
...
Corrected bug on ImageDrawRectangleLines()
2018-11-09 23:09:02 +01:00
Ray
b356ef5564
Modifies some Image functions
...
REVIEWED: ImageDrawRectangle()
ADDED: ImageDrawRectangleLines()
2018-11-07 17:58:26 +01:00
Ray
fc1c9505ba
Remove end-line spaces
2018-11-06 15:10:50 +01:00
Ray
b051f7778f
Corrected typo
2018-10-29 16:39:54 +01:00
Ray
298203a41a
ADDED: Some functions...
...
text: IsEqualText() -WIP-
audio: SaveWAV()
audio: ExportWaveAsCode()
textures: ExportImageAsCode()
2018-10-29 16:18:06 +01:00
Ray
764766bfb2
Some formatting tweaks
2018-10-18 16:00:11 +02:00
Ray
126ab49221
Minor tweaks
2018-10-10 23:55:36 +02:00
Ray
2320c2febf
ADDED: ImageExtractPalette()
2018-10-08 18:57:33 +02:00
Ray
589152b658
Review void pointer incrementation
2018-10-01 15:45:01 +02:00
Ray
d67edb591a
Support KXT image file export
...
[textures] Added SaveKTX()
[rlgl] Exposed rlGetGlTextureFormats()
2018-10-01 15:30:48 +02:00
Ray
2bd18ab91e
Support ExportImage() as raw pixel data
...
Added note on KTX 2.2
2018-09-17 19:00:51 +02:00
Ray
f503fded67
Support image export
2018-09-17 17:06:58 +02:00
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)
2018-09-17 16:56:02 +02:00
Ray
ac31f51c5e
Corrected issue with font tint
2018-09-05 10:47:57 +02:00
Ray
00f5f2ead2
Merge pull request #616 from overdev/master
...
[Feature Request] 9-patch drawing function
2018-08-09 22:42:05 +02:00
Jorge A. Gomes
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
Ray
b042fe12e6
Reviewed spacings on latest PR
2018-08-06 20:49:47 +02:00
Kim Kulling
b2cac82fa0
Fix compiler warings in texture.c and more.
2018-08-05 00:34:35 +02:00
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.
2018-08-03 20:53:15 -03:00
Jorge A. Gomes
7cc2a5585b
Update textures.c
...
Added DrawNinePatch() function implementation.
2018-08-03 04:51:26 -03:00
Ahmad Fatoum
548dbeb1ca
Fix typo (s/proedural/procedural)
2018-07-29 13:04:16 +02:00
raysan5
103bc7dfc6
Corrected issue with GetFontDefault()
...
Note for me: Replace All is NOT your friend...
2018-07-05 19:17:06 +02:00
raysan5
d881c73257
Renamed GetDefaultFont() to GetFontDefault()
...
Library consistency rename... yes, I know, it breaks the API...
2018-07-05 19:08:24 +02:00
Ray
74fd0e7ca4
Added function: ImageColorReplace()
2018-07-03 00:57:58 +02:00
Ray
276974de05
Removed function prototype
...
This function was added in text module as GenImageFontAtlas()
2018-07-02 16:39:04 +02:00
Ray
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
Ray
372e4a1139
Reviewed some functions
...
- GetImageData()
- GetImageDataNormalized()
2018-06-12 16:30:03 +02:00
Ray San
64804f30e6
Comment review
2018-06-12 13:27:41 +02:00
Ray San
59fd261491
Added function: GetImageDataNormalized()
...
Reviewed: GetImageData()
Reviewed: ImageFormat()
2018-06-12 13:13:09 +02:00
Ray San
7d0e09ff4c
Corrected bug
2018-06-12 12:05:28 +02:00
raysan5
b48d225a43
Propose new function: GenImageFont()
2018-06-10 19:29:01 +02:00
Ray
817ae07505
Some comments cleaning
...
ImageDraw() code tweak
2018-06-06 00:43:52 +02:00
Ray
0e6458cfee
Added ImageRotate*() functions
2018-06-03 21:05:01 +02:00
Ray
b1b4a11bdb
Corrected issue with function definition
2018-06-02 13:05:23 +02:00
Ray
afc4181752
Work on ImageResizeCanvas()
2018-06-02 12:47:05 +02:00
Ray
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
Ray
129c890a28
Removed assert()
...
Not used in raylib this mechanism
2018-05-30 00:06:23 +02:00
Ray
8f4b53384c
Replaced tabs by spaces
2018-05-29 09:09:40 +02:00
Ray
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
Ray San
8f4fa5006b
Added a note
2018-05-22 12:09:12 +02:00
Ahmad Fatoum
e025e62445
cmake: Fix PLATFORM_WEB build
...
Did this ever work? Surely, doesn't look like it...
2018-05-21 12:15:39 +02:00
Ray
2aae62cea2
Header tweak and comments
2018-05-17 00:04:36 +02:00
Ray
bb43755a9d
Corrected issue on LoadASTC()
2018-05-12 23:33:03 +02:00
Ray
9ea2a69bfd
Corrected issue on rectangle drawing
2018-05-09 00:23:56 +02:00
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...)
2018-05-04 16:59:48 +02:00
Ray San
6324697ffd
Rectangle parameters changed to float
...
- Some examples tweaks
- Reviewed ImageFormat()
- Use float for text fontSize
2018-05-04 16:25:31 +02:00
raysan5
c51203ae7e
Corrected alpha blending on ImageDraw()
2018-04-29 18:39:57 +02:00
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 ).
2018-04-07 23:37:48 +02:00
Ray
b8bd1d2ea6
Remove unnecesary NPOT check
...
Now PLATFORM checks only used on core and utils modules
2018-04-05 19:22:45 +02:00
Ray
005f2ffb75
Simplified some code
2018-04-05 19:18:44 +02:00
Ray
931b672c92
Added: ImageDrawRectangle()
...
Renamed SaveImageAs() to ExportImage() for consistency on what actually happens with data.
2018-04-04 12:02:20 +02:00
Ray
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
Martinfx
28a9a181cb
Fix use after free
2018-04-02 13:30:19 +02:00
raysan5
0958904eac
Added comments to review function ImageTextEx()
2018-02-18 19:29:13 +01:00
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
2018-02-18 18:07:57 +01:00
Ray
1ce8c80de9
Corrected several issues...
2018-01-28 16:52:18 +01:00
Ray
2dcaddc81c
Review mipmaps generation issue
...
When changing image format, mipmaps are lost and regenerated from
scratch
2018-01-23 13:23:34 +01:00
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()
2018-01-22 00:20:42 +01:00
Ahmad Fatoum
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
Ray
ce9f191f1b
Added function: ImageMipmaps()
2018-01-18 00:23:45 +01:00
Ray
c8e97df233
Reviewed function GenImagePerlinNoise()
...
Added support for noise image offset
2018-01-17 00:43:30 +01:00
Ray
278d8575bd
Added new function: ImageAlphaCrop()
2018-01-11 10:22:32 +01:00
raysan5
e4be917d1b
Added new image functions
...
- Added: ImageAlphaClear()
- Added: ImageAlphaPremultiply()
- Reorganized some functions
2018-01-07 00:51:26 +01:00
raysan5
b97134c3e1
Review float pixel format textures support
2018-01-06 18:17:38 +01:00
raysan5
7caa3201d5
Improved pixel formats support
...
- Renamed enum TextureFormat to PixelFormat for consistency
- Added support for pixel format UNCOMPRESSED_R32
- Using GetPixelDataSize() where required
2018-01-06 13:43:48 +01:00
raysan5
7fa2861160
Added function: GetPixelDataSize()
...
Just found I need that function...
2018-01-06 02:50:20 +01:00
raysan5
e7cf03b1e4
Minor tweaks
2017-12-28 19:27:02 +01:00
raysan5
b19e155b34
Support UNCOMPRESSED_R32G32B32A32 texture format
2017-12-28 17:58:37 +01:00
Ray San
27c274bc3c
Corrected issue with SaveImageAs()
...
That function depends on SavePNG() and forces platform check on textures
module, that behaviour should be changed, platform definition should be
only required on core module...
2017-12-20 12:36:47 +01:00
Ray San
53ad53d051
Manually review previous PR
2017-12-15 13:44:31 +01:00
user
08fc886afd
added proper define checks for png-save if it's disabled
2017-12-14 11:40:08 +01:00
Ray
a6f9cc5629
Remove rres support
...
Let the user choose if using rres external library
2017-12-11 11:55:02 +01:00
Ray San
37986b26cb
Corrected issue with text drawing on image
2017-11-06 14:13:50 +01:00
Ray San
3d755d617a
Some code tweaks...
2017-11-02 20:08:52 +01:00
Ray San
415e7e972c
Review some issues, view description
...
- Review RPI compilation (core_drop_files not supported)
- Review ImageFormat(), some issues
- GetTextureData() reviewed for RPI
2017-10-30 13:51:46 +01:00
Ray
539a9ca50e
Corrected ImageTextEx()
...
- Added new function: GenImageColor()
ImageDraw() should be reviewed... specially alpha blending...
2017-10-25 01:24:17 +02:00
Ray
2068037417
Code tweak
2017-09-26 00:51:31 +02:00
raysan5
20968830c0
Added mesh generation functions
2017-09-18 00:59:22 +02:00
raysan5
b0adac96b7
Review issue with mipmaps setup
...
On DDS files mipmapCount header parameter could be unused and set to 0,
resulting in a wrong mipmap count and wrong compressed texture loading.
2017-08-24 20:33:30 +02:00
raysan5
0169b72bdc
Minor tweaks
2017-08-06 10:43:43 +02:00
raysan5
eeca607506
Review transforms to match OpenGL 1.1
2017-08-04 18:34:51 +02:00
raysan5
2227742e96
Corrected bug on texture rotation
2017-07-22 18:10:34 +02:00
Ray
6546474fa4
Manual integration of material-pbr into develop
2017-07-17 00:33:40 +02:00
raysan5
6589c808b5
Review some formatting for consistency
2017-07-02 19:29:01 +02:00
raysan5
9f09f6f550
Rename enum LogType names...
...
...to avoid possible conflicting symbols
2017-07-02 12:35:13 +02:00
Wilhem Barbier
056a494baf
Fix some other typos
2017-06-29 10:36:58 +02:00
Wilhem Barbier
786cd63057
Add a density parameter to GenImageRadialGradient
2017-06-28 17:27:47 +02:00
Ray
c3049a9b06
Merge pull request #311 from nounoursheureux/image_gen
...
Add more image generation functions: radial gradient and perlin noise
2017-06-28 16:20:25 +02:00
Wilhem Barbier
3fe268d004
Swap the two parameters
2017-06-28 15:38:34 +02:00
Wilhem Barbier
a0ac8ee2c4
Add more image generation functions: radial gradient and perlin noise
2017-06-28 15:29:56 +02:00
Wilhem Barbier
954757532a
Add the SaveImageAs function
2017-06-28 14:32:44 +02:00
Wilhem Barbier
fcd13fd5d2
Add some functions to generate images
...
Namely:
- GenImageHorizontalV
- GenImageHorizontalH
- GenImageChecked
- GenImageWhiteNoise
- GenImageCellular
The gradient implementation may be a bit naive, for example it doesn't do any gamma correction.
2017-06-28 12:56:04 +02:00
Ray
8c1f32f2fe
Additional check on file open
2017-06-12 14:21:50 +02:00
Ray
93e2fd8ea1
Some tweaks
2017-05-10 19:37:48 +02:00
Ray
7f6b16add4
HDR textures vertical flip
2017-05-09 22:32:21 +02:00
Ray
35c6aff21f
Corrected bug on HDR loading
2017-05-08 12:50:24 +02:00
Ray
50c887cb0a
Support HDR R32G32B32 float textures loading
2017-05-08 12:31:47 +02:00
Ray
2d5c8e61b1
Some code tweaks
2017-05-03 14:16:53 +02:00
Ray
d593bd0081
Some code tweaks
2017-04-30 13:03:31 +02:00
raysan5
0b869948c6
TraceLog() output tweak
2017-04-23 19:27:48 +02:00
Ray
ecfe31bf1d
Make TraceLog() public to the API
...
enum LogType could require some revision...
2017-04-21 00:08:00 +02:00
Ray
1df7a8b4a6
Update some files
2017-04-20 18:09:30 +02:00
raysan5
c67cffea38
Updated STB libs to latest version
2017-04-16 14:06:04 +02:00
Ray
99affa0caf
Corrected issue when retrieving texture from GPU
2017-04-04 23:44:36 +02:00
Ray
080a79f0b0
Added IsFileExtension()
...
Replaced old GetExtension() function
Make IsFileExtension() public to the API
2017-03-29 00:35:42 +02:00
Ray
5387b45431
Working on configuration flags
2017-03-25 12:01:01 +01:00
Ray
59652c75b4
Review some comments
2017-03-20 20:34:44 +01:00
Ray
05cff44d0a
Improved modules description -IN PROGRESS-
...
Working in modules configuration flags...
2017-02-16 00:50:02 +01:00
raysan5
afcd748fdf
Reviewed fread() usage around the code
2017-02-11 23:17:56 +01:00
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.
2017-02-05 02:59:39 +01:00
Ray
c85dfd4bc6
Remove unecessary spaces...
2017-01-28 23:02:30 +01:00
raysan5
61f6b0f707
Removed GetNextPOT(), review TraceLog()
2017-01-15 01:10:23 +01:00
raysan5
bf3a213e44
Some functions review and additions
...
- Improved ImageCopy() to support compressed formats
- Renaming file-formats header structs for consistency
- Review variables naming on ImageDither() for consistency
- Improved LoadImagePro() to make a copy of data
- Preliminary support of rRES file format on LoadImage()
2016-12-27 17:40:59 +01:00
raysan5
14cdd7fbff
Added raw image file reading data check
2016-12-25 20:41:36 +01:00
raysan5
6d6c542a1d
Review some functions for consistency
...
Removed: LoadTextureEx()
Added: LoadImagePro()
2016-12-25 02:00:36 +01:00
Ray
814507906f
Improving rRES custom format support -IN PROGRESS-
...
Start removing old rRES functions.
2016-12-17 19:05:40 +01:00
Ray
377dcb025f
Corrected some warnings
2016-12-05 01:14:18 +01:00
Ray
f1bcfc1352
Corrected bug on GenTextureMipmaps()
...
texture.mipmaps value needs to be updated, so, texture must be passed by
reference instead of by value
2016-11-22 12:14:55 +01:00
raysan5
6d1b712a96
Reviewed modules comments
2016-11-16 18:46:13 +01:00
raysan5
673dcf9436
Comments tweaks
2016-10-31 20:39:03 +01:00
raysan5
988d39029f
Support textures filtering
2016-10-29 22:17:19 +02:00
raysan5
5c80f65082
Funtions added to set texture parameters
...
SetTextureFilter()
SetTextureWrap()
2016-10-27 13:40:17 +02:00
raysan5
6d34adbd60
Improving sprite fonts support...
...
Support grayscale (8 bit) textures for fonts
Load unordered chars data above char 126
2016-10-24 19:11:29 +02:00
Ray
8f60996b64
Corrected some warnings
2016-10-17 00:03:38 +02:00
Ray
b4a3f294bf
Correct warning
2016-10-09 13:07:55 +02:00
raysan5
4a65b19f0f
Simplify supported image formats
...
Removed support for some unusual image formats
2016-09-22 14:35:50 +02:00
raysan5
7f0880a735
Review spacing formatting
...
raylib uses spaces between '+' and '-' signs but not between '*' and '/'
signs, it's a chosen convention
2016-09-12 19:36:41 +02:00
raysan5
173f199313
Corrected text drawing within an image
2016-09-12 19:25:58 +02:00
Ray
10280c4b91
Some code tweaks
2016-09-07 23:14:16 +02:00
Ray
9d66bc4a05
Added function: ImageAlphaMask()
2016-09-05 10:08:28 +02:00
raysan5
a9ab516dae
Formatting tweaks
2016-08-31 10:27:29 +02:00
raysan5
959a228815
Removed useless spacing
2016-08-16 11:09:55 +02:00
raysan5
f69f930b51
Some functions review
2016-08-07 13:38:48 +02:00
raysan5
afe033412b
Code tweak
2016-06-21 13:45:13 +02:00
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.
2016-06-06 14:34:43 +02:00
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.
2016-06-02 01:26:44 +02:00
raysan5
897179a06c
Corrected some issues on OpenGL 1.1
2016-06-01 12:37:51 +02:00
raysan5
ea5b00528b
Improved render to texture
...
Support render texture size different than screen size
2016-05-29 11:49:13 +02:00
raysan5
aa22d97983
Simplified texture flip and added comments
2016-04-07 13:31:53 +02:00
raysan5
66b096d978
Added support for render to texture (use RenderTexture2D)
...
Now it's possible to render to texture, old postprocessing system will
be removed on next raylib version.
2016-03-30 20:09:16 +02:00
raysan5
8b7ca8b670
Review comments
2016-03-27 18:34:05 +02:00
raysan5
d0e7195a16
Added new functions to draw text on image
2016-03-06 19:28:58 +01:00
raysan5
fffbf48dec
Added support for Nearest-Neighbor image scaling
...
Specially useful on default font scaling
2016-03-02 19:22:55 +01:00
raysan5
823abf666e
Reviewed code TODOs
2016-02-12 12:22:56 +01:00
raysan5
95da97fa74
Fixed bug: rlglGenerateMipmaps()
2016-01-04 15:09:44 +01:00
raysan5
b804f38150
Small code tweaks
2016-01-02 10:41:37 +01:00
raysan5
5dbb93dbb4
Added function: ImageDither()
...
Corrected some code details
2015-12-30 13:32:41 +01:00
raysan5
2bd7245508
DrawTextureRec() function review to allow flipped rectangle
2015-12-09 20:22:42 +01:00
Ray
88e1fd9530
Added texture retrieval support on OpenGL ES 2.0
...
Updated functions:
Image GetTextureData(Texture2D texture);
void *rlglReadTexturePixels(Texture2D texture);
2015-11-05 12:32:47 +01:00
Ray
76024b5036
Added some texture functionality (view details)
...
LoadTextureEx() - Simplified parameters
UpdateTexture() - Added, allows updating GPU texture data
2015-11-04 18:33:46 +01:00
Ray
67423ff64b
Removed unneeded comment
2015-10-27 19:24:14 +01:00
Ray San
fb4105cf8a
Corrected bug on web
2015-10-26 11:50:28 +01:00
Ray
afdf357fbe
Added some image manipulation functions
...
Added (or completed functions):
Image ImageText(const char *text, int fontSize, Color color);
Image ImageTextEx(SpriteFont font, const char *text, int fontSize, int
spacing, Color tint);
void ImageFlipVertical(Image *image);
void ImageFlipHorizontal(Image *image);
void ImageColorTint(Image *image, Color color);
void ImageColorInvert(Image *image);
void ImageColorGrayscale(Image *image);
void ImageColorContrast(Image *image, float contrast);
void ImageColorBrightness(Image *image, int brightness);
2015-10-25 01:50:15 +02:00
Ray
8c117cfb57
Reviewed NPOT messages and usage
2015-10-24 11:19:04 +02:00
raysan5
9bf411f580
Added a bunch of image manipulation functions:
...
Renamed functions (for coherence with new ones):
- ImageConvertToPOT() -> ImageToPOT()
- ImageConvertFormat() -> ImageFormat()
New functions added (IN PROGRESS):
- ImageCopy()
- ImageCrop()
- ImageResize() (Uses stb_image_resize.h)
- ImageDraw()
- ImageDrawText()
- ImageDrawTextEx()
- ImageFlipVertical()
- ImageFlipHorizontal()
- ImageColorInvert()
- ImageColorGrayscale()
- ImageColorContrast()
- ImageColorBrightness()
2015-10-06 17:30:03 +02:00
raysan5
4879106096
Reviewed to work on Raspberry Pi
...
[rlgl] Extensions strings loading was redone to avoid a Segmentation
Fault on Raspberry Pi
2015-09-02 01:08:41 +02:00
raysan5
d7e7ef6a7d
Added some comments
2015-08-30 17:44:14 +02:00
raysan5
9dd20577cd
Corrected bugs on DDS and PKM loading
2015-08-29 17:01:25 +02:00
raysan5
07858c3a1f
Reviewed ImageConvertToPOT()
2015-08-07 18:00:28 +02:00