MiMoEngine ASM: x86-64 MASM汇编+C混合架构游戏引擎
核心热路径(数学/内存/字符串/性能分析)用MASM汇编(SSE/AVX2) 外围系统(窗口/渲染/ECS/音频/UI/脚本)用C语言 含自研编辑器、VisualScript积木编程、中文渲染(glyph_atlas)
This commit is contained in:
commit
2d56cb3bc9
91 files changed
+9988
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#pragma once
|
||||
|
||||
// ============================================================================
|
||||
// block_serializer.h - JSON 序列化
|
||||
// ============================================================================
|
||||
|
||||
#include "block_workspace.h"
|
||||
|
||||
// 保存工作区到文件
|
||||
int serializer_save(BlockWorkspace* ws, const char* filepath);
|
||||
|
||||
// 从文件加载工作区
|
||||
int serializer_load(BlockWorkspace* ws, const char* filepath);
|
||||
|
||||
// 保存到字符串
|
||||
char* serializer_save_to_string(BlockWorkspace* ws);
|
||||
|
||||
// 从字符串加载
|
||||
int serializer_load_from_string(BlockWorkspace* ws, const char* json_str);
|
||||
Reference in new issue
Block a user