feat(ui, game, build): 添加游戏图标展示功能,更新版本至2.6.54

- 新增badge_game_art.h头文件,定义游戏图标类型枚举,涵盖木鱼、音效、电台、摇卦、圣杯五类图标
- 扩展game_registry结构体,新增artwork字段并为所有内置游戏配置对应图标参数
- 修改badge_ui_render函数,新增游戏图标参数并实现各类图标的UI绘制逻辑
- 更新主程序main.c与所有测试脚本,调用badge_ui_render时传入正确的图标参数
- 新增test_idf.bat、run_idf.bat、build_firmware.bat三个Windows平台ESP-IDF构建辅助脚本
- 更新badge_profile.h中的版本号配置
This commit is contained in:
hex2077 committed 2026-09-22 22:21:17 +08:00
1 parent 6a7f4e010b
commit 332e2f1c8c
12 files changed
+109 -19

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
@echo off
set "MSYSTEM="
set "IDF_PATH=C:\Users\home\Documents\Codex\2026-09-15\https-github-com-folotoy-ai-passport\work\esp-idf"
set "IDF_TOOLS_PATH=C:\Users\home\Documents\Codex\2026-09-15\https-github-com-folotoy-ai-passport\work\idf-tools"
set "IDF_PYTHON_ENV_PATH=C:\Users\home\Documents\Codex\2026-09-15\https-github-com-folotoy-ai-passport\work\idf-tools\python_env\idf5.5_py3.12_env"
set "PYTHON=%IDF_PYTHON_ENV_PATH%\Scripts\python.exe"
set "PATH=C:\Users\home\Documents\Codex\2026-09-15\https-github-com-folotoy-ai-passport\work\idf-tools\tools\ninja\1.12.1;C:\Users\home\Documents\Codex\2026-09-15\https-github-com-folotoy-ai-passport\work\idf-tools\tools\cmake\3.30.2\bin;C:\Users\home\Documents\Codex\2026-09-15\https-github-com-folotoy-ai-passport\work\idf-tools\tools\riscv32-esp-elf\esp-14.2.0_20251107\riscv32-esp-elf\bin;%IDF_PYTHON_ENV_PATH%\Scripts;C:\Windows\system32;C:\Windows"
echo Reconfiguring and building in build-portrait...
"%PYTHON%" "%IDF_PATH%\tools\idf.py" -B build-portrait fullclean
"%PYTHON%" "%IDF_PATH%\tools\idf.py" -B build-portrait build
+10
View File
@@ -0,0 +1,10 @@
#pragma once
typedef enum {
BADGE_GAME_ART_NONE,
BADGE_GAME_ART_MUYU,
BADGE_GAME_ART_VOICE,
BADGE_GAME_ART_RADIO,
BADGE_GAME_ART_YAO,
BADGE_GAME_ART_CUPS,
} badge_game_art_t;
+1 -1
View File
@@ -3,7 +3,7 @@
* the generated font; regenerate after adding Chinese characters. */
#define BADGE_DISPLAY_NAME "FOLO MAKER"
#define BADGE_DISPLAY_ROLE "网络安全部 / L03"
#define BADGE_VERSION "2.6.53"
#define BADGE_VERSION "2.6.54"
Loaded 3 of 12 files, more files were not shown because too many files have changed in this diff. Show more