nitro-engine/include
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
..
NE2D.h library: Support setting texture coordinates in sprites 2024-03-24 16:14:21 +00:00
NEAlloc.h chore: Simplify copyright years in notices 2024-03-09 01:42:29 +00:00
NEAnimation.h library: Handle failures correctly 2023-04-21 18:19:02 +01:00
NECamera.h Use stdint.h types instead of libnds custom types 2024-07-29 00:09:41 +01:00
NEDisplayList.h library: Let user choose how to draw display lists 2023-10-09 00:59:23 +01:00
NEFAT.h chore: Simplify copyright years in notices 2024-03-09 01:42:29 +00:00
NEFormats.h chore: Simplify copyright years in notices 2024-03-09 01:42:29 +00:00
NEGeneral.h chore: Simplify copyright years in notices 2024-03-09 01:42:29 +00:00
NEGUI.h chore: Simplify copyright years in notices 2024-03-09 01:42:29 +00:00
NEMain.h docs: library: Update changelog and version number to 0.15.3 2025-03-26 18:08:47 +00:00
NEModel.h library: Allow users to specify model transformation matrices 2024-10-11 13:33:21 +02:00
NEPalette.h chore: Simplify copyright years in notices 2024-03-09 01:42:29 +00:00
NEPhysics.h chore: Simplify copyright years in notices 2024-03-09 01:42:29 +00:00
NEPolygon.h chore: Simplify copyright years in notices 2024-03-09 01:42:29 +00:00
NERichText.h rich text: Allow the number of fonts to be specified dynamically 2025-05-24 09:37:46 -07:00
NEText.h chore: Simplify copyright years in notices 2024-03-09 01:42:29 +00:00
NETexture.h chore: Simplify copyright years in notices 2024-03-09 01:42:29 +00:00