额解耦1

This commit is contained in:
Passthem
2025-04-14 15:54:07 +08:00
parent 97369d1039
commit d9c6c1b4b7
7 changed files with 123 additions and 79 deletions

View File

@ -1,5 +1,10 @@
#include "shader.h"
void init_status(Status* status) {
status->index = 0;
status->time = 0;
}
Color shader(Status* status) {
if (status->index == 0) {
return hex_to_color(0xFFFFFF);