Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
696 commits
Select commit Hold shift + click to select a range
6eaac0b
更新改动说明
CrimRecya Aug 17, 2025
77005e3
加上注释
CrimRecya Aug 17, 2025
7d22313
右上角加一个小按钮
CrimRecya Aug 17, 2025
acf2c2b
更新眼
CrimRecya Aug 17, 2025
68e8225
修复错误
CrimRecya Aug 17, 2025
0531e02
记录一个待解决问题
CrimRecya Aug 18, 2025
7b60d58
更新说明
CrimRecya Aug 18, 2025
562b276
抛射体更新
CrimRecya Aug 18, 2025
77b2759
修复发射位置
CrimRecya Aug 18, 2025
b3114cd
移除无用代码
CrimRecya Aug 18, 2025
d2b6c02
切割抛体说明
CrimRecya Aug 19, 2025
d97ca65
切割抛体优化
CrimRecya Aug 19, 2025
ddb0e7f
修复超时空后会返回原位
CrimRecya Aug 19, 2025
fdd3d30
更新说明
CrimRecya Aug 19, 2025
071b28d
修复部署问题
CrimRecya Aug 19, 2025
f2ed41a
更新说明
CrimRecya Aug 19, 2025
4c2e9f7
修复合并
CrimRecya Aug 19, 2025
baafebf
更新说明
CrimRecya Aug 20, 2025
b895237
拓展到追踪抛体
CrimRecya Aug 20, 2025
e62fa51
修复小问题
CrimRecya Aug 20, 2025
1c5cee6
代码移动和风格
CrimRecya Aug 21, 2025
3682819
小更新
CrimRecya Aug 21, 2025
09ba972
低于最小速度就不动
CrimRecya Aug 21, 2025
02361c0
自己画自己的
CrimRecya Aug 21, 2025
e658503
进入坦克碉堡不倒车
CrimRecya Aug 21, 2025
639efcf
不允许死亡单位放置
CrimRecya Aug 21, 2025
1f4d234
Merge branch 'develop' into Mix-ECpack
CrimRecya Aug 21, 2025
4e149f4
更新说明
CrimRecya Aug 21, 2025
17eb415
退回修改
CrimRecya Aug 22, 2025
dd9d87c
空气墙检测
CrimRecya Aug 22, 2025
e7088c1
按键显示不同格子
CrimRecya Aug 22, 2025
df1e4dd
按键显示坐标轴
CrimRecya Aug 22, 2025
6e10914
版本号更新
CrimRecya Aug 22, 2025
acd7c8e
补更新说明
CrimRecya Aug 22, 2025
57ea168
移除不必要的括号
CrimRecya Aug 23, 2025
6d9f283
功能说明
CrimRecya Aug 23, 2025
8076dc2
悬浮
CrimRecya Aug 23, 2025
e40ad9f
记录一下待修复问题
CrimRecya Aug 24, 2025
a470cf5
修复预测显示高度
CrimRecya Aug 24, 2025
962ffab
Merge branch 'develop' into Mix-ECpack
CrimRecya Aug 24, 2025
6782ac3
头文件更新
CrimRecya Aug 24, 2025
305b828
Merge branch 'develop' into Mix-ECpack
CrimRecya Aug 26, 2025
91e269f
调整数据位置
CrimRecya Aug 26, 2025
2720fe0
悬浮单位旋转时可移动且有最大悬浮高度
CrimRecya Aug 26, 2025
0803d3e
功能说明
CrimRecya Aug 26, 2025
0eb54b5
修复取消附加单位建筑的崩溃
CrimRecya Aug 26, 2025
259d96d
修复激光围墙的错误判断
CrimRecya Aug 27, 2025
1d30be6
电脑工厂吃电磁脉冲控制
CrimRecya Aug 29, 2025
7bd852b
修复错误的建筑外轮廓
CrimRecya Aug 30, 2025
c109ac9
Merge branch 'develop' into Mix-ECpack
CrimRecya Aug 30, 2025
400de45
更新改动说明
CrimRecya Aug 30, 2025
6f7ae34
扫射飞机不被打断
CrimRecya Aug 30, 2025
82a7f97
版本号更新和更新改动说明
CrimRecya Aug 30, 2025
ba9d772
修复飞机问题
CrimRecya Aug 30, 2025
2f1202c
固定维修距离
CrimRecya Aug 30, 2025
df8df40
更新说明
CrimRecya Aug 31, 2025
46ab797
更新抛体
CrimRecya Aug 31, 2025
4f55e36
修复键名
CrimRecya Aug 31, 2025
b888a71
修复一个致命错误
CrimRecya Aug 31, 2025
9701e92
Merge branch 'develop' into Mix-ECpack
CrimRecya Aug 31, 2025
066a095
移除不必要的修改
CrimRecya Aug 31, 2025
07b7070
更新说明
CrimRecya Aug 31, 2025
ee1be96
一些修复
CrimRecya Sep 1, 2025
ce22420
简化一个判断
CrimRecya Sep 1, 2025
d934b99
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 1, 2025
d2850b1
更新说明
CrimRecya Sep 1, 2025
3ffa073
一些小修复
CrimRecya Sep 2, 2025
35deca4
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 2, 2025
92c5318
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 2, 2025
8b07765
改为调用
CrimRecya Sep 2, 2025
33de2ce
优化伤害函数的钩子
CrimRecya Sep 2, 2025
67184d2
再修寻路
CrimRecya Sep 2, 2025
811a843
优化防卡重工
CrimRecya Sep 3, 2025
9499130
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 3, 2025
1c83801
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 6, 2025
bdfd96d
修复合并
CrimRecya Sep 6, 2025
833ac6e
更新文档
CrimRecya Sep 6, 2025
2081760
更新改动说明
CrimRecya Sep 6, 2025
f98c64a
飞机区域警戒任务
CrimRecya Sep 6, 2025
2edeba7
更新说明
CrimRecya Sep 6, 2025
93f7fce
版本号更新和更新说明
CrimRecya Sep 7, 2025
0d9ea22
小修飞机
CrimRecya Sep 7, 2025
346a58f
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 7, 2025
9c61c81
更新说明
CrimRecya Sep 7, 2025
f82547f
修复动画错误
CrimRecya Sep 7, 2025
504ed16
修复错误
CrimRecya Sep 8, 2025
9b4ed32
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 8, 2025
b62a751
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 8, 2025
754952b
倒车时不朝向目的地
CrimRecya Sep 8, 2025
271fa94
修复高等路径学
CrimRecya Sep 8, 2025
8f13e9e
更换写法
CrimRecya Sep 9, 2025
416d45d
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 9, 2025
58d7956
版本号重置
CrimRecya Sep 9, 2025
b8fdc20
修复输出日志
CrimRecya Sep 9, 2025
5eb1e7c
简化代码
CrimRecya Sep 9, 2025
87bc24d
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 9, 2025
83e8c7a
增加一个处理
CrimRecya Sep 10, 2025
3fe2f16
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 10, 2025
0f77677
更新说明
CrimRecya Sep 10, 2025
d1bcf74
标记
CrimRecya Sep 12, 2025
47a5376
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 12, 2025
de569cb
适配新按钮
CrimRecya Sep 13, 2025
4357697
通用底部栏按钮
CrimRecya Sep 13, 2025
6ba2a20
代码风格
CrimRecya Sep 13, 2025
4b8a84f
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 13, 2025
df9b076
更新说明
CrimRecya Sep 13, 2025
dd1d8e2
飞机新全局标签
CrimRecya Sep 13, 2025
31bcbe7
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 13, 2025
ce620d7
Update Hooks.Others.cpp (#80)
TaranDahl Sep 13, 2025
95fa3d0
Merge branch 'Mix-ECpack' of https://github.com/CrimRecya/Phobos-Mix …
CrimRecya Sep 13, 2025
9a2f7af
更新说明
CrimRecya Sep 13, 2025
7064721
修复新抛体命中
CrimRecya Sep 14, 2025
2192836
更新说明
CrimRecya Sep 14, 2025
c17e708
移除旧的位移武器
CrimRecya Sep 14, 2025
00f22ee
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 14, 2025
1611c68
更新说明
CrimRecya Sep 14, 2025
f1770b2
简化代码和版本号更新
CrimRecya Sep 14, 2025
77c1269
修复遗漏的补丁
CrimRecya Sep 14, 2025
7c33873
小更新
CrimRecya Sep 14, 2025
a2d2e72
修复退出时的问题
CrimRecya Sep 15, 2025
054e8f6
再次小更新
CrimRecya Sep 15, 2025
0e6cdd9
寻路
CrimRecya Sep 15, 2025
b973b91
增加注释
CrimRecya Sep 16, 2025
26348bb
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 17, 2025
70ad61d
修复括号
CrimRecya Sep 19, 2025
ae5c2cb
更多输出
CrimRecya Sep 19, 2025
17bf4a3
修牢问题
CrimRecya Sep 19, 2025
dd4b5b3
修复和引用并更新寻路
CrimRecya Sep 20, 2025
083a2c5
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 20, 2025
98ba926
update (#81)
TaranDahl Sep 20, 2025
f81f165
Merge branch 'Mix-ECpack' of https://github.com/CrimRecya/Phobos-Mix …
CrimRecya Sep 20, 2025
67bc93f
修复钩子
CrimRecya Sep 20, 2025
a611cb7
更新说明
CrimRecya Sep 20, 2025
7874a10
修复对建筑目的地
CrimRecya Sep 20, 2025
5872301
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 20, 2025
b8d7db9
修复和版本号更新
CrimRecya Sep 20, 2025
a65cd3b
修复英文说明书
CrimRecya Sep 21, 2025
e33f2ab
修复一些可能的边缘错误
CrimRecya Sep 21, 2025
06ebc62
update (#82)
TaranDahl Sep 22, 2025
37de12b
Merge branch 'Mix-ECpack' of https://github.com/CrimRecya/Phobos-Mix …
CrimRecya Sep 22, 2025
44ddc59
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 22, 2025
1624b33
更新飞机
CrimRecya Sep 26, 2025
be5b25e
更新说明
CrimRecya Sep 26, 2025
0f4a052
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 26, 2025
e26073d
update (#83)
TaranDahl Sep 26, 2025
4cd63c4
code (#84)
TaranDahl Sep 26, 2025
c655269
Merge branch 'Mix-ECpack' of https://github.com/CrimRecya/Phobos-Mix …
CrimRecya Sep 26, 2025
357fb06
代码风格和更新说明
CrimRecya Sep 26, 2025
7f62509
寻路
CrimRecya Sep 27, 2025
b2ac380
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 27, 2025
75ce1c9
更新变量名并修复错误的堆插入计数
CrimRecya Sep 28, 2025
6106e5a
修复并使用重写的分层寻路
CrimRecya Sep 28, 2025
d197dc6
Merge branch 'develop' into Mix-ECpack
CrimRecya Sep 28, 2025
cefebe2
改正变量名并修复错误
CrimRecya Sep 30, 2025
91d3a92
更换代码位置
CrimRecya Oct 1, 2025
698a9a5
Merge branch 'develop' into Mix-ECpack
CrimRecya Oct 1, 2025
19ec028
Update Body.cpp (#86)
TaranDahl Oct 1, 2025
8bd2c87
Update Hooks.Others.cpp (#87)
TaranDahl Oct 1, 2025
3b1e6e7
更新说明
CrimRecya Oct 1, 2025
7d01201
Merge branch 'Mix-ECpack' of https://github.com/CrimRecya/Phobos-Mix …
CrimRecya Oct 1, 2025
d1bb749
更新说明
CrimRecya Oct 1, 2025
9dccbe5
改变所属时清除管理器目标修正 (#88)
TaranDahl Oct 1, 2025
4d65c61
code (#89)
TaranDahl Oct 1, 2025
e94ff19
code (#90)
TaranDahl Oct 1, 2025
5bb031c
载入游戏界面显示小提示 (#91)
TaranDahl Oct 1, 2025
8dd1681
代码风格和功能说明
CrimRecya Oct 1, 2025
9b4663b
消息栏背景不透明度
CrimRecya Oct 1, 2025
8cd71db
Merge branch 'develop' into Mix-ECpack
CrimRecya Oct 1, 2025
17ec436
版本号更新和更新说明
CrimRecya Oct 1, 2025
a90ae92
优化计算和重命名变量
CrimRecya Oct 1, 2025
81e4edc
小作文
CrimRecya Oct 1, 2025
ba63fcc
寻路优化
CrimRecya Oct 3, 2025
d755342
数据可视化
CrimRecya Oct 3, 2025
0379e1b
修复洪水填充遗漏的标志位
CrimRecya Oct 3, 2025
fb52f56
优化掉无用检查
CrimRecya Oct 3, 2025
3c676f9
移除临时可视化显示
CrimRecya Oct 3, 2025
b7eb5b4
抛射体补充说明
CrimRecya Oct 4, 2025
1b310d1
更多输出信息
CrimRecya Oct 4, 2025
23d4d35
代码优化
CrimRecya Oct 4, 2025
959370f
修复变量名和跨区域移动问题
CrimRecya Oct 5, 2025
fb466f5
临时输出用
CrimRecya Oct 5, 2025
8a2e276
优化逻辑
CrimRecya Oct 5, 2025
ec5e1d6
Merge branch 'develop' into Mix-ECpack
CrimRecya Oct 5, 2025
2536230
修 (#92)
TaranDahl Oct 5, 2025
94f8407
code (#93)
TaranDahl Oct 5, 2025
a73aaf2
code (#94)
TaranDahl Oct 5, 2025
bf9c7bb
Merge branch 'Mix-ECpack' of https://github.com/CrimRecya/Phobos-Mix …
CrimRecya Oct 5, 2025
6deac37
版本号更新和更新改动说明
CrimRecya Oct 5, 2025
096ff03
更新疏散功能
CrimRecya Oct 6, 2025
cdf39d8
更新说明书
CrimRecya Oct 6, 2025
f869993
Merge branch 'develop' into Mix-ECpack
CrimRecya Oct 6, 2025
e92a24e
小修复变动
CrimRecya Oct 11, 2025
1f749fd
雷达事件
CrimRecya Oct 11, 2025
2770391
更新说明
CrimRecya Oct 11, 2025
e08ac31
AI索敌空军修复 (#95)
TaranDahl Oct 11, 2025
9befb24
Merge branch 'Mix-ECpack' of https://github.com/CrimRecya/Phobos-Mix …
CrimRecya Oct 11, 2025
b26aabc
Merge branch 'develop' into Mix-ECpack
CrimRecya Oct 11, 2025
bd82cdc
修复合并
CrimRecya Oct 11, 2025
854f457
删掉无效部分
CrimRecya Oct 11, 2025
a1c744a
修复钩子
CrimRecya Oct 11, 2025
f7d0154
版本号更新
CrimRecya Oct 11, 2025
6a160b8
功能说明
CrimRecya Oct 11, 2025
42393a0
移除作用不明显的洪水填充修复
CrimRecya Oct 11, 2025
bb209f6
移除没用的注释
CrimRecya Oct 14, 2025
df80857
Merge branch 'develop' into Mix-ECpack
CrimRecya Oct 27, 2025
087c468
修复更新
CrimRecya Oct 27, 2025
0e5e065
code (#103)
TaranDahl Oct 27, 2025
fab7cca
Merge branch 'Mix-ECpack' of https://github.com/CrimRecya/Phobos-Mix …
CrimRecya Oct 27, 2025
3b5866e
恢复编码格式
CrimRecya Oct 27, 2025
28c9a15
输出工厂产品数量
CrimRecya Oct 27, 2025
2013cac
小修复
CrimRecya Oct 27, 2025
943decd
修复错误逻辑
CrimRecya Oct 29, 2025
f93955d
Merge branch 'develop' into Mix-ECpack
CrimRecya Oct 29, 2025
b22466b
ReorganizeToWhenDefeated.Excluded (#96)
TaranDahl Oct 29, 2025
b8680b8
小队集结行为优化 (#97)
TaranDahl Oct 29, 2025
351b0bf
单位消失保留附着的动画 (#98)
TaranDahl Oct 29, 2025
fa4a8d7
修正编码和格式
CrimRecya Oct 29, 2025
923decb
修编辑器问题
CrimRecya Oct 29, 2025
4cf8078
NoAutoFire增强 (#99)
TaranDahl Oct 29, 2025
ec8e53e
JJ无视建筑高度 (#100)
TaranDahl Oct 29, 2025
28a34fe
导弹被拦截不引爆 (#101)
TaranDahl Oct 29, 2025
da76b98
AI防御基地自定义 (#102)
TaranDahl Oct 29, 2025
2d8567d
Merge branch 'develop' into Mix-ECpack
CrimRecya Oct 29, 2025
26c9307
修复编码和格式并移除重复内容
CrimRecya Oct 29, 2025
2f8772f
更新说明
CrimRecya Oct 29, 2025
44ac44c
小修复
CrimRecya Nov 3, 2025
ff16c1b
恢复说明
CrimRecya Nov 3, 2025
df60c4c
修复错误返回地址
CrimRecya Nov 5, 2025
05b2299
代码风格
CrimRecya Nov 8, 2025
98a92e8
抛体新功能和小修复
CrimRecya Nov 8, 2025
e2c4fa8
功能说明
CrimRecya Nov 8, 2025
9bd70f2
修复说明
CrimRecya Nov 8, 2025
0d7139d
Merge remote-tracking branch 'upstream/develop' into Mix-ECpack
CrimRecya Dec 1, 2025
b644fb6
修复合并
CrimRecya Dec 1, 2025
98e7be3
版本号更新和更新说明
CrimRecya Dec 2, 2025
c2f1435
修复问题
CrimRecya Dec 2, 2025
b940ba8
修复分配
CrimRecya Dec 10, 2025
ecfe364
应用IHCore对换行行为的修正 (#105)
IronHammer-Std Dec 19, 2025
2d8cd97
底边栏修改:选择建筑时,以“攻速增益”显示替换“速度增益”显示 (#104)
Flactine Dec 19, 2025
2c4597a
Merge branch 'Mix-ECpack' of https://github.com/CrimRecya/Phobos-Mix …
CrimRecya Dec 19, 2025
1d99806
优化代码
CrimRecya Dec 19, 2025
2fc2319
Merge remote-tracking branch 'upstream/develop' into Mix-ECpack
CrimRecya Dec 19, 2025
183abff
优化代码
CrimRecya Dec 19, 2025
ab43532
版本更新
CrimRecya Dec 19, 2025
7541a51
Fix issues with DeployToLand=no SimpleDeployer jumpjets and simplify …
Starkku Jan 1, 2026
9ec56b7
Merge remote-tracking branch 'upstream/develop' into Mix-ECpack
CrimRecya Jan 1, 2026
d8f323e
修复合并
CrimRecya Jan 1, 2026
c24bfb3
修复工具集过度优化导致的问题
CrimRecya Jan 1, 2026
c14614d
暂停更新
CrimRecya Jan 1, 2026
1fbcbfd
加个防爆保险
CrimRecya Jan 1, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 1 addition & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
<!-- Please manually add a label named [No Documentation Needed] if this change should not be mentioned in documentation, what's new and no credit needs to be given.
If the changes are solely made to the documentation, please set the target branch to the pull request named "Weekly Regular Documentation Revisions", rather than the repository's existing branches. -->
<!-- 注意提交请求时选择分支 Mix-ECpack ,并将功能说明和改动内容填写进《整合包说明》中的对应文档 -->
4 changes: 1 addition & 3 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ name: Nightly Build
on:
push:
branches:
- master
- main
- develop
- Mix-ECpack

env:
# Path to the solution file relative to the root of the project.
Expand Down
46 changes: 9 additions & 37 deletions .github/workflows/pr-doc-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- labeled
- unlabeled
env:
BASE_BRANCH: ${{ github.event.pull_request.base.ref }}
BASE_REF: ${{ github.event.pull_request.base.sha }}

jobs:
Changelog-Check:
Expand All @@ -23,34 +23,13 @@ jobs:
- name: Check that Changelog has been updated
run: |
# Check that Changelog has been updated
if (git diff --name-only $(git merge-base origin/$BASE_BRANCH HEAD) | grep ^docs/Whats-New.md$)
if ! git diff --quiet $(git merge-base $BASE_REF HEAD) -- "整合包说明/更新改动说明.md";
then
echo "Thank you for remembering to update the Changelog! 😋"
echo "感谢您记得更新变更日志!😋"
exit 0
else
echo "It looks like you forgot to update the Changelog! 🧐"
echo "Please, mention your changes in 'docs/Whats-New.md' or use [No Documentation Needed] label for your Pull Request."
exit 1
fi

Credits-Check:
name: Credits List Mention
# If the No Documentation Needed or Bugfix label is set, then workflow will not be executed
if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Documentation Needed') && !contains(github.event.pull_request.labels.*.name, 'Bugfix') }}
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Check that Credits List has been updated
run: |
# Check that Credits List has been updated
if (git diff --name-only $(git merge-base origin/$BASE_BRANCH HEAD) | grep ^CREDITS.md$)
then
echo "Thank you for remembering to update the Credits List! 😋"
exit 0
else
echo "It looks like you forgot to update the Credits List! 🧐"
echo "Please, mention your contribution in 'CREDITS.md' or use [No Documentation Needed] label for your Pull Request."
echo "你好像忘了更新变更日志!🧐"
echo "请在“整合包说明/更新改动说明”中提及您的更改。"
exit 1
fi

Expand All @@ -65,19 +44,12 @@ jobs:
- name: Check that Documentation has been updated
run: |
# Check that Documentation has been updated
if (git diff --name-only $(git merge-base origin/$BASE_BRANCH HEAD) | \
grep \
-e ^docs/New-or-Enhanced-Logics.md$ \
-e ^docs/Fixed-or-Improved-Logics.md$ \
-e ^docs/AI-Scripting-and-Mapping.md$ \
-e ^docs/User-Interface.md$ \
-e ^docs/Miscellanous.md$ \
)
if ! git diff --quiet $(git merge-base $BASE_REF HEAD) -- "整合包说明/额外功能说明.md";
then
echo "Thank you for remembering to add your changes to the docs! 😋"
echo "感谢您记得更新功能说明!😋"
exit 0
else
echo "It looks like you forgot to add your changes to the docs! 🧐"
echo "Please, document your changes or use [No Documentation Needed] label for your Pull Request."
echo "你好像忘了更新功能说明!🧐"
echo "请在“整合包说明/额外功能说明”中提及您的更改。"
exit 1
fi
10 changes: 10 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,16 @@
"panel": "shared",
"showReuseMessage": false
}
},
{
"label": "Convert to UTF-8 with BOM",
"type": "shell",
"command": "powershell",
"args": [
"-Command",
"Get-ChildItem -Recurse -Include *.cpp,*.h,*.hpp,*.c | ForEach-Object { $content = Get-Content $_.FullName -Raw; [System.IO.File]::WriteAllText($_.FullName, $content, [System.Text.Encoding]::UTF8) }"
],
"problemMatcher": []
}
],
"inputs": [
Expand Down
10 changes: 8 additions & 2 deletions CREDITS.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ This page lists all the individual contributions to the project by their author.
- Recursive transport killer fix
- Custom locomotors example implementation and piggybacking test warheads
- Initial jumpjet facing fix
- Techno Attachment logic
- Migration utility
- GitHub Actions setup
- Official docs
Expand Down Expand Up @@ -147,6 +148,7 @@ This page lists all the individual contributions to the project by their author.
- Shared ammo logic
- Customizable FLH when infantry is prone or deployed
- Initial strength for cloned infantry
- Grant new superweapons in superweapons
- Map Events 604 & 605 for checking if a specific Techno enters in a cell
- Warhead that can not kill
- `Pips.HideIfNoStrength` and `SelfHealing.EnabledBy` additions for shields
Expand Down Expand Up @@ -261,6 +263,8 @@ This page lists all the individual contributions to the project by their author.
- Customizable ChronoSphere teleport delays for units
- Allowed and disallowed types for `FactoryPlant`
- Forbidding parallel AI queues for specific TechnoTypes
- Vehicles keeping target on move command
- Reimplemented `Airburst` & `Splits` logic with more customization options
- Nonprovocative Warheads
- Customizing effect of level lighting on air units
- Reimplemented `Airburst` & `Splits` logic with more customization options
Expand Down Expand Up @@ -514,7 +518,7 @@ This page lists all the individual contributions to the project by their author.
- Use 2D distance instead of 3D to check whether in air team members have arrived destination
- No rearm and reload in EMP or temporal
- Enhanced Straight trajectory
- Enable Building Production Queue
- Enable building production queue
- Fix for sidebar not updating queued unit numbers when on hold
- New Parabola trajectory
- Enhanced Bombard trajectory
Expand Down Expand Up @@ -665,7 +669,9 @@ This page lists all the individual contributions to the project by their author.
- **tyuah8**:
- Drive/Jumpjet/Ship/Teleport locomotor did not power on when it is un-piggybacked bugfix
- Destroyed unit leaves sensors bugfix
- **Aephiex** - initial fix for Ares academy not working on the initial payloads of vehicles built from a war factory
- **Aephiex**:
- initial fix for Ares academy not working on the initial payloads of vehicles built from a war factory
- Aggressive stance toggle command (auto target unarmed enemy buildings)
- **Multfinite** - Allow to toggle main exception handler via command line argument `-ExceptionHandler=boolean`
- **hejiajun107, Xkein** - Fix a jumpjet crash related to voxel shadow drawing
- **Ares developers**:
Expand Down
79 changes: 79 additions & 0 deletions ECSDK/EC.Listener.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
#pragma once
#include "IH.Loader.h"


struct ExceptionAnalyzer
{
//行为受SyringeIH是否存在影响,可以通过 HasSyringeIH() 确定是否存在。
void (CALLBACK* AnalyzeAddr)(DWORD /*In*/ Addr, size_t /*In*/ BaseDescBufSize, DWORD& /*Out*/ RelAddr, char* /*Out GBK*/ BaseDesc);
void (CALLBACK* GetAccessStr)(LPVOID /*In*/ Addr, size_t /*In*/ BaseDescBufSize, char* /*Out GBK*/ AccessStr);
bool (CALLBACK* IsAddrExecutable)(LPVOID /*In*/ Addr);
void (CALLBACK* WriteToExceptIH)(const char* /*In GBK*/ Format, ...);

int Reserved[4];
};

/*
前排:
EC监听器的实现还是初始服务接口
本质是一个叫做EC::Internal::ListenerAccess的服务
以后一些乱七八糟的功能也会用服务接口给
(或许这样初始服务看起来会不那么废物?)
*/

namespace ECListener
{
void Set(const char* ListenerType, LibFuncHandle Function);

LibFuncHandle Get(const char* ListenerType);

void Remove(const char* ListenerType);

std::vector<LibFuncHandle> GetAll(const char* ListenerType);

//!!一个库每件事只能有一个监听器!!

//在EXE的最开始,全局对象初始化完成,内存可分配,Winmain顶头位置
//完成一些必要的初始化工作
typedef void (CALLBACK* Listener_InitBeforeEverything)();
void Listen_InitBeforeEverything(Listener_InitBeforeEverything Func);

//在读入rules(如rulesmd.ini,地图文件)等时触发
//Listen_LoadBeforeTypeData在原版的类型读取前触发
//Listen_LoadAfterTypeData在原版的类型读取后触发
//载入或更新设置
typedef void (CALLBACK* Listener_OnLoadGame)(const CCINIClass* pIni);
void Listen_LoadBeforeTypeData(Listener_OnLoadGame Func);
void Listen_LoadAfterTypeData(Listener_OnLoadGame Func);

//在触发FE时调用,入参为一组在异常状态下可以安全分析内存的函数
//记录必要的错误信息,转存入except_ih.txt
typedef void (CALLBACK* Listener_BeginWritingExceptIH)(const ExceptionAnalyzer& Anal);
void Listen_BeginWritingExceptIH(Listener_BeginWritingExceptIH Func);

//在载入CSF条目时调用,可以截留CSF的解析
//如果想要修改解析的结果,可以返回非零值作为新的解析结果,要求返回的const wchar_t*是非临时值,生命期一直保持
//监听函数返回nullptr,则返回原有查找策略
typedef const wchar_t* (CALLBACK* Listener_LoadCSFString)(const char* pLabel);
void Listen_LoadCSFString(Listener_LoadCSFString Func);

//对局从INI载入时,载入过程当中触发
typedef void (CALLBACK* Listener_LoadScenario)();
void Listen_LoadScenario(Listener_LoadScenario Func);

//从存档载入对局时,载入完成后将会调用
// HasWIC() == true 时可以工作
// 什么,不要问我为什么这个必样的函数执行的时候Swizzle怎么还没生效
typedef void (CALLBACK* Listener_AfterLoadGame)();
void Listen_AfterLoadGame(Listener_AfterLoadGame Func);

//从INI、地图载入对局时,载入完成后将会调用
// HasWIC() == true 时可以工作
typedef void (CALLBACK* Listener_AfterLoadINI)();
void Listen_AfterLoadINI(Listener_AfterLoadINI Func);

//对局结束,清理数据时将会调用
// HasWIC() == true 时可以工作
typedef void (CALLBACK* Listener_ClearScenario)();
void Listen_ClearScenario(Listener_ClearScenario Func);
}
Loading