feat(game): 添加基础游戏引擎和渲染模块
- 新增游戏引擎核心模块,包括初始化和运行逻辑 - 实现基本的渲染功能,支持控制台输出 - 添加物理引擎基础,包括碰撞检测 - 集成日志系统,用于调试和信息输出 - 创建窗口和输入管理模块
This commit is contained in:
27
game_engine/ge_config.h
Normal file
27
game_engine/ge_config.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef __GE_CONFIG_H__
|
||||
#define __GE_CONFIG_H__
|
||||
|
||||
#define GE_VEC2_USE_SHORT_NAMES
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
typedef int8_t ge_i8_t;
|
||||
typedef int16_t ge_i16_t;
|
||||
typedef int32_t ge_i32_t;
|
||||
|
||||
typedef uint8_t ge_u8_t;
|
||||
typedef uint16_t ge_u16_t;
|
||||
typedef uint32_t ge_u32_t;
|
||||
|
||||
typedef intptr_t ge_iptr_t;
|
||||
typedef uintptr_t ge_uptr_t;
|
||||
typedef int ge_int_t;
|
||||
typedef unsigned int ge_uint_t;
|
||||
|
||||
typedef uint32_t ge_size_t;
|
||||
typedef uint32_t ge_color_t;
|
||||
|
||||
typedef ge_uint_t ge_uid_t;
|
||||
|
||||
#endif // __GE_CONFIG_H__
|
||||
Reference in New Issue
Block a user