reverting into node system

This commit is contained in:
2026-02-10 13:47:06 +01:00
parent c2f027f18f
commit 74d6b01f1b
6 changed files with 132 additions and 62 deletions
+4 -4
View File
@@ -20,7 +20,7 @@ struct Pixel
struct TextNode
{
unsigned char id;
unsigned char global_id;
char content[TEXT_MAX_LENGTH];
uint32_t color;
struct CharacterSize
@@ -38,7 +38,7 @@ struct TextNode
bool is_repeating;
TextNode() : id(0), color(0), pos_x(0), pos_y(0), character_count(0), scroll_slowness(0), scroll_progress(0), characterSize({7,5}), disappear_time(0), is_scrolling(true), is_repeating(false) {}
TextNode() : global_id(0), color(0), pos_x(0), pos_y(0), character_count(0), scroll_slowness(0), scroll_progress(0), characterSize({7,5}), disappear_time(0), is_scrolling(true), is_repeating(false) {}
};
struct RGB
@@ -63,7 +63,7 @@ struct RGBWithIndex
struct MultiColorTextNode
{
unsigned char id;
unsigned char global_id;
char content[TEXT_MAX_LENGTH];
RGBWithIndex colors[4];
@@ -82,7 +82,7 @@ struct MultiColorTextNode
bool is_scrolling;
bool is_repeating;
MultiColorTextNode() : id(0), pos_x(0), pos_y(0), character_count(0), scroll_slowness(0), scroll_progress(0), characterSize({7,5}), disappear_time(0), is_scrolling(true), color_count(0), is_repeating(false) {}
MultiColorTextNode() : global_id(0), pos_x(0), pos_y(0), character_count(0), scroll_slowness(0), scroll_progress(0), characterSize({7,5}), disappear_time(0), is_scrolling(true), color_count(0), is_repeating(false) {}
};
struct Image