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 лет назад
Ray
ce9f191f1b
Added function: ImageMipmaps()
7 лет назад
Ray
c8e97df233
Reviewed function GenImagePerlinNoise()
Added support for noise image offset
7 лет назад
Ray
278d8575bd
Added new function: ImageAlphaCrop()
7 лет назад
raysan5
e4be917d1b
Added new image functions
- Added: ImageAlphaClear()
- Added: ImageAlphaPremultiply()
- Reorganized some functions
7 лет назад
raysan5
b97134c3e1
Review float pixel format textures support
7 лет назад
raysan5
7caa3201d5
Improved pixel formats support
- Renamed enum TextureFormat to PixelFormat for consistency
- Added support for pixel format UNCOMPRESSED_R32
- Using GetPixelDataSize() where required
7 лет назад
raysan5
7fa2861160
Added function: GetPixelDataSize()
Just found I need that function...
7 лет назад
raysan5
e7cf03b1e4
Minor tweaks
7 лет назад
raysan5
b19e155b34
Support UNCOMPRESSED_R32G32B32A32 texture format
7 лет назад
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...
7 лет назад
Ray San
53ad53d051
Manually review previous PR
7 лет назад
user
08fc886afd
added proper define checks for png-save if it's disabled
7 лет назад