Ray
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.
il y a 8 ans
raysan5
61f6b0f707
Removed GetNextPOT(), review TraceLog()
il y a 8 ans
raysan5
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
il y a 8 ans
raysan5
852f3d4fd0
Review comments and formatting
il y a 8 ans
Ray
377dcb025f
Corrected some warnings
il y a 8 ans
raysan5
481ce3d39d
Corrected bug with alpha mask on font
Mask was wrongly applied to 8-bit font image, it generated dark borders
on the font. Grayscale image has to be considered as the alpha mask for
a completely white image to use it correctly.
il y a 8 ans
raysan5
6d1b712a96
Reviewed modules comments
il y a 8 ans
Ray
38df2cad25
Improved text measurement
Still not working correctly, font offsets are not considered
correctly...
il y a 8 ans
raysan5
aa945055fa
Corrected issue on chars drawing
Support by default unordered charsets
il y a 8 ans
raysan5
6d3b11ef91
Support unordered charset, neither fixed first char
Still requires some testing...
il y a 8 ans
raysan5
3393fda384
Improve TTF loading
il y a 8 ans
raysan5
cc917fbac6
Improve SpriteFont support
LoadSpriteFontTTF() - TTF font loading with custom parameters
il y a 8 ans
raysan5
137057f499
Function added: GenSpriteFont()
il y a 8 ans
raysan5
6d34adbd60
Improving sprite fonts support...
Support grayscale (8 bit) textures for fonts
Load unordered chars data above char 126
il y a 8 ans
Ray
efa286a550
Allow no default font loading
Useful if text module is not required...
il y a 8 ans
raysan5
7f0880a735
Review spacing formatting
raylib uses spaces between '+' and '-' signs but not between '*' and '/'
signs, it's a chosen convention
il y a 8 ans
raysan5
a9ab516dae
Formatting tweaks
il y a 8 ans
raysan5
f1c3f2870b
Added TraceLog info on image spritefont loading
il y a 8 ans
raysan5
959a228815
Removed useless spacing
il y a 8 ans
raysan5
ed387d00aa
Corrected issue with VS
il y a 8 ans
raysan5
f69f930b51
Some functions review
il y a 8 ans
raysan5
8fd4507847
Corrected bug on Raspberry Pi with strcat()
il y a 8 ans
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.
il y a 9 ans
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.
il y a 9 ans
raysan5
e94acf86f8
Reorganized internal funcs
il y a 9 ans
raysan5
a167067cbd
Security check for unsupported BMFonts
- Check if first character is the expected Space char (32)
- Check if characters are ordered in definition file (.fnt)
il y a 9 ans
raysan5
823abf666e
Reviewed code TODOs
il y a 9 ans
raysan5
f98c4dc82b
Corrected bug on fonts loading
il y a 9 ans
raysan5
fa057f512f
Improved fonts support
Added LoadBMFont() to load AngelCode fonts (.fnt)
Implemented LoadTTF() to load .ttf fonts (crappy packaging)
il y a 9 ans
raysan5
da28cff0f6
Added function: SubText()
Useful to get a piece of text, could be used for text typing animations
il y a 9 ans
raysan5
f144b6bae4
MeasureTextEx() - Added support for multi-line size measure
il y a 9 ans
raysan5
b62f7c3057
Corrected bug
il y a 9 ans
raysan5
85908befea
Corrected bug on spritefont loading
il y a 9 ans
Ray
2fa7e00f16
Variables initialization
il y a 9 ans
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);
il y a 9 ans
Ray San
f13b30d606
Feature: Line-break support for text
il y a 9 ans
raysan5
e9792ef771
Convert to UTF-8
il y a 9 ans
raysan5
9af10686b2
Added comments and more...
Corrected bug on defaultFont.size
Renamed funcs:
ImageConvertFormat() -> ImageFormat()
ImageConvertToPOT() -> ImageToPOT()
il y a 9 ans
raysan5
4879106096
Reviewed to work on Raspberry Pi
[rlgl] Extensions strings loading was redone to avoid a Segmentation
Fault on Raspberry Pi
il y a 9 ans
raysan5
92bcf09c53
Redesigned SpriteFont struct
il y a 9 ans
raysan5
c52ba520ce
Small tweaks
il y a 9 ans
Ray
a42bfa7794
Added trace log for data unloading
il y a 9 ans
raysan5
7834a4e2fc
Replaced old mail by twitter user
il y a 9 ans
raysan5
66556b8b47
Added some functions and renamed some others
Added:
- LoadImageRaw()
- ImageCopy()
Renamed:
- GetPixelData() -> GetImageData()
il y a 9 ans
raysan5
c944d62374
Improved mipmaps support and image loading
il y a 9 ans
Marc Palau
4c6c182023
Corrected gesture tap issue and text scaling issue
il y a 10 ans
raysan5
a7714c842f
raymath module review and other changes
Complete review of matrix rotation math
Check compressed textures support
WIP: LoadImageFromData()
il y a 10 ans
raysan5
eae98e1c34
Big batch of changes, check description:
- Camera system moved to a separate module [camera.c]
- WIP: Added customization functions for camera controls
- Added custom shaders support on batch drawing
- Complete redesign of textures module to support multiple texture
formats (compressed and uncompressed)
il y a 10 ans
raysan5
a632a04a30
Big batch of changes! Check description:
Support multiple texture formats (uncompressed and compressed)
Postprocessing shaders support
Model struct redefined and improved
Extended loading functions for Textures and Models
Simplified functions: DrawPlane(), DrawQuad()
Deleted functions: DrawPlaneEx(), DrawGizmoEx()
Now Text module only depends on Textures module
Shapes: Reviewed functions to low lines/triangles usage
Removed useless tabs and spaces around code
il y a 10 ans
nicobwah
2b4a1f295a
Added support for Latin-1 Supplement characters
Extended default raylib font system to support Latin-1 Supplement
characters
il y a 10 ans