feat(game): 添加基础游戏引擎和渲染模块

- 新增游戏引擎核心模块,包括初始化和运行逻辑
- 实现基本的渲染功能,支持控制台输出
- 添加物理引擎基础,包括碰撞检测
- 集成日志系统,用于调试和信息输出
- 创建窗口和输入管理模块
This commit is contained in:
ZZY
2025-06-24 02:16:01 +08:00
commit 5ce660e3a6
30 changed files with 2056 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#ifndef __GE_ENTIRY_H__
#define __GE_ENTIRY_H__
#include "../ge_config.h"
#include "../math/ge_vector2i.h"
typedef struct {
uint16_t id;
uint16_t components;
} ge_entity_t;
typedef struct {
ge_vector2i_t position;
unsigned char z;
} ge_position_t;
#endif // __GE_ENTIRY_H__