nitro-engine/examples
Antonio Niño Díaz 86955bc0a0
Some checks failed
Documentation / Generate website (push) Has been cancelled
Documentation / Publish website with GitHub pages (push) Has been cancelled
rich text: Allow the number of fonts to be specified dynamically
This switches the rich text library from using a constant for the max
number of fonts to allowing the user to specify how many fonts should be
used dynamically. To accomplish this, a new method is introduced to the
rich text system: `NE_RichTextStartSystem`, which accepts the number of
slots to allocate. Those slots are allocated and then freed when
`NE_RichTextResetSystem` is called.

To maintain compatibility, I have not removed `NE_MAX_RICH_TEXT_FONTS`
(instead opting to mark it as deprecated), and have added functionality
to automatically call `NE_RichTextStartSystem` with that old value (8)
if the user decides to init a rich text slot before calling
`NE_RichTextStartSystem` (which would likely be the previous default
behavior).
2025-05-25 01:32:55 +02:00
..
2d_system build: docs: Remove outdated devkitARM makefiles 2025-03-24 21:03:01 +00:00
assets examples: Stop using img2ds and switch to grit 2024-01-27 18:25:38 +00:00
effects build: docs: Remove outdated devkitARM makefiles 2025-03-24 21:03:01 +00:00
loading examples: Use BLOCKSDS environment variables to find tools 2025-03-24 21:18:00 +00:00
other build: docs: Remove outdated devkitARM makefiles 2025-03-24 21:03:01 +00:00
physics build: docs: Remove outdated devkitARM makefiles 2025-03-24 21:03:01 +00:00
templates build: docs: Remove outdated devkitARM makefiles 2025-03-24 21:03:01 +00:00
text rich text: Allow the number of fonts to be specified dynamically 2025-05-25 01:32:55 +02:00
.gitignore Add gitignore for examples folder 2019-06-04 16:55:33 +01:00
assets.sh build: Add scripts to build assets in all examples 2023-04-01 13:33:38 +01:00
Makefile docs: build: library: examples: Set BlocksDS as main toolchain 2024-06-02 17:38:52 +01:00
Makefile.example examples: Update BlocksDS Makefiles 2024-08-14 00:43:55 +01:00