feat: 添加.editorconfig文件并调整调试模式设置
添加.editorconfig文件以统一代码风格配置 将GameMap.h中的debugMode_设为true并禁用movableAreaCheckEnabled_以方便调试 更新AGENTS.md文档,添加代理偏好设置说明
This commit is contained in:
@@ -2,6 +2,11 @@
|
||||
|
||||
This guide helps agentic coding agents work effectively with the Frostbite2D 2D game engine codebase.
|
||||
|
||||
## Agent Preferences
|
||||
|
||||
- Communicate with the user in Chinese by default unless they explicitly ask for another language.
|
||||
- Treat UTF-8 as the default encoding for new or edited text and source files; do not introduce ANSI or GBK encoded files.
|
||||
|
||||
## Build Commands
|
||||
|
||||
### Basic Build
|
||||
@@ -206,4 +211,4 @@ if (asset.readTextFile("file.txt", content)) {
|
||||
- **Path separators**: Use Asset class, it handles platform differences
|
||||
- **Encoding**: Project uses UTF-8, Asset handles Windows UTF-8 paths
|
||||
- **Memory leaks**: Use smart pointers, ensure proper cleanup in destructors
|
||||
- **OpenGL context**: Initialize only after window creation
|
||||
- **OpenGL context**: Initialize only after window creation
|
||||
|
||||
Reference in New Issue
Block a user