ZERICO2005

Results 26 issues of ZERICO2005

both gfx_RotateScaleSprite and gfx_RotatedScaledSprite_NoClip break when scale is >= 128 (>= 200%). The documentation says that `range is about 1% to 400% scale` or 1 to 255. When the scale...

bug
lib/graphx

Not sure how `scanf` or `fscanf` would work on the CE, but it would be nice to add `sscanf` and `vsscanf` to the toolchain. ```c int sscanf(const char *__restrict buffer,...

enhancement
c
libc

```c++ /* every header in libc/include */ /* every header in libcxx/include (excluding C++20 ) */ int main(void) { return 0; } ``` This compiles fine in `c++2b c++20 c++17...

It would be nice to have an option to rotate/flip/transpose the memory view in CEmu. Especially when using the LCD in column major mode ![Image](https://github.com/user-attachments/assets/2149922b-6b27-40b2-8ca4-99a8492d8c78)

- Fixes https://github.com/CE-Programming/toolchain/issues/676 - `util.GetGlyphWidth` was removed since it was only used by `fontlib_GetGlyphWidth` - Decreases size by 1 byte. Not related to https://github.com/CE-Programming/toolchain/pull/661

`bool fontlib_SetFont(const fontlib_font_t *font_data, fontlib_load_options_t flags);` It looks like this code reads from `font_data` instead of `flags`. since the low byte of `font_data` will be non-zero 255/256 times, then I...

`fontlib_GetGlyphWidth` and `util.GetGlyphWidth` does the wrong comparison when totalGlyphs is not 256. They return an error if `(codepoint - firstGlyph) >= totalGlyphs` instead of `(codepoint - firstGlyph) < totalGlyphs)`. ```asm...

bug
lib/fontlibc

Applied some optimizations to libload to reduce size.

optimization
libload

Cleans up `asprintf_fprintf` and adds BSD `char *strsep(char **restrict stringp, const char *restrict delim)` https://man.freebsd.org/cgi/man.cgi?strsep(3) https://www.man7.org/linux/man-pages/man3/strsep.3.html

Added ``. `setlocale` and `localeconv` are basically hard-coded to return the "C" locale. The llvm/libcxx headers require locale. I have also defined prototypes for wide-char and multi-byte-char functions. This allows...