修改OpenGl渲染底层之前

This commit is contained in:
2025-10-20 20:50:12 +08:00
parent 1b011b9b68
commit 2b888aae5b
61 changed files with 1609 additions and 680 deletions

View File

@@ -0,0 +1,26 @@
#pragma once
#include <string>
#include <vector>
#include <map>
namespace GlobalMonsterScript
{
// 怪物配置
struct MonsterConfig
{
//编号
int id = -1;
//名称
std::string name = "none";
//动作动画
std::map<std::string, std::string> animationPath;
//所在文件夹
std::string folder = "none";
};
// 读取怪物列表
std::map<int, std::string> InitMonsterLst();
// 读取怪物数据
MonsterConfig ReadMonsterConfig(std::string path);
}