raysan5
b00ab118c6
[examples] text_font_sdf - Corrected bug
4 år sedan
raysan5
c43e889e39
Corrected bug on TextJoin()
4 år sedan
raysan5
b95673f701
Use RL_FREE() instead of free()
4 år sedan
raysan5
c1e0978555
Replaced strncat() by memcpy() in some functions
4 år sedan
raysan5
c1bb051e61
Avoid some warnings
4 år sedan
raysan5
76f8e84901
Reviewed LoadBMFont() to load data from memory #1232
4 år sedan
raysan5
65b7047111
Remove some [textures] function dependencies
- LoadFontDefault() -> Some code simplifications
- LoadFontFromImage() -> Avoid LoadImageEx()
- LoadFontData() -> Avoid GenImageColor(), ImageFormat()
- LoadBMFont() -> Avoid ImageCopy(), ImageFormat()
4 år sedan
raysan5
ca6016cc71
TextToInteger() always exposed
4 år sedan
raysan5
7efed56b66
Added [text] flag: SUPPORT_TEXT_MANIPULATION
4 år sedan
raysan5
959447d8ed
Reorganized texture functions
Removed ImageAlphaMask() dependency on [text] LoadBMFont()
4 år sedan
raysan5
6fa6757a8b
Comment tweak
4 år sedan
raysan5
fdad1f023b
Avoid all MSVC compile warnings
Most warning were related to types conversion (casting required) and unsigned/signed types comparisons.
Added preprocessor directives (_CRT_SECURE_NO_DEPRECATE; _CRT_NONSTDC_NO_DEPRECATE) to avoid warnings about unsafe functions, those functions are safe while used properly and recommended alternatives are MS only.
Some external libraries still generate warnings.
4 år sedan
raysan5
51c3bef497
Review exposed #defines and allow user re-defining
There are multiple #define values around raylib, usually not exposed for redefinition, just reviewed all of them to allow users redefining them on compile time if required.
Also, multiple #define have been renamed and commented.
4 år sedan
Benjamin Stigsen
2d6303e9fe
Allow for empty replacement string ( #1178 )
5 år sedan
Benjamin Stigsen
9c280bc7af
TextReplace changes ( #1172 )
- Added NULL return if the replacement string (`by`) is empty
- Reordered sanity checks since there's no need to initialize variables if the strings are invalid.
5 år sedan
SasLuca
8444c3f705
Fixed offset check in GenImageFontAtlas ( #1171 )
* Fixed offset check in GenImageFontAtlas
* Fixed code formatting to follow raylib notation rules
5 år sedan
raysan5
e8a8d544c5
Review formating and signegness issues
5 år sedan
raysan5
d28e73849b
Review TRACELOG() messages
5 år sedan
raysan5
b5842434c2
Corrected missing semicolon
5 år sedan
raysan5
bc2c6251f8
[text] Review TRACELOG() messages, categorized
5 år sedan
raysan5
7ae7a87f8a
Remove trail spaces
5 år sedan
Random
e07281f8bd
Fixed DrawTextRecEx() selection when wordwrap is ON (again) ( #1149 )
5 år sedan
raysan5
4af4483f5f
Added security check in case init fails #1135
5 år sedan
Ray
7fa12844ed
[text] TextToUpper(): Added note on diacritics
5 år sedan
Ray
c3386300d3
Remove comment
5 år sedan
Ray
1be68d8cfe
Tweak on variable init
5 år sedan
Ray
5ff0776235
Remove trail spaces and some tweaks
5 år sedan
Ray
b029fb6d31
REDESIGNED: LoadFontEx()
Using new file I/O ABI
5 år sedan
Ray
c5d5d19443
Remove trail spaces
5 år sedan
Ray
a77273d8d8
Make sure current text buffer is empty #1109
5 år sedan
Ray
d62a2f793f
Improved GetFPS() calculation for average
5 år sedan
Ray
39e73ccc4d
[text] TextLength() security check
5 år sedan
Ray
484c6b360f
Reviewed Cppcheck issues #1098
5 år sedan
raysan5
34fafb733f
Corrected issue with toupper() usage
5 år sedan
Ray
f4ca5b378a
Review missing include
5 år sedan
Ray
86bdf60887
Corrected issue with TextToUpper() and TextToLower()
This issue was breaking multiple things...
5 år sedan
Ray
b5fe41f41a
Review libc dependencies and remove when possible
Just for clarification, no plans to remove libc dependency, just did some code analysis to see how much raylib depend on stardard C library. My conclusions:
- stdlib.h: primary dependency is for malloc() and free()
- stdio.h: primary dependency is for FILE access, maybe it could go through a custom ABI?
- string.h: just around 8 functions required
- math.h: just around 8 functions required
- others: 1-2 functions required for some other headers
5 år sedan
Ray
c3f06b7470
Remove all trail spaces
5 år sedan
Ray
cde26c743c
Replace TraceLog() function by TRACELOG macro
Added SUPPORT_TRACELOG_DEBUG config
5 år sedan
Ray
5ec87c4c6f
ADDED: TextCopy() #1083
5 år sedan
Ray
7ae426c377
Redesigned TextToInteger()
5 år sedan
Ray
49b723e76d
Correct issue with define
5 år sedan
raysan5
9c52a4932d
Corrected issue with types
5 år sedan
raysan5
bec467705e
Review custom allocators
5 år sedan
Ray
1f82b0d847
Comment tweak
5 år sedan
Ray
b0ce16b460
LoadFontData(): generate empty image for space
This could be required on texture packing ;)
5 år sedan
raysan5
b5b3bbb30b
Review variable name
5 år sedan
raysan5
21c30f43d4
Update year to 2020
5 år sedan
raysan5
08adb4b8c3
Check and testing timming #865
5 år sedan
Ray
3ffe34f9bb
ADDED: DrawTextCodepoint()
- Renamed GetGlyphIndex() parameter
- Review DrawTextEx() implementation
- Review DrawTextRecEx() implementation
5 år sedan