status102
848ebeb747
feat: ProcessTask支持特征匹配 ( #12701 )
...
* feat: ProcessTask支持特征匹配
* chore: test
* fix: test
* docs: task文档
2025-05-16 13:13:48 +08:00
status102
b9f196c3a1
feat: 特征匹配 ( #10966 )
...
* feat: 特征匹配
* chore: 测试内容
* refactor: 根据最新版本重新迁移, 移除多模板
* chore: Auto update by pre-commit hooks [skip changelog]
* chore: 测试移除
* fix: platform
* chore: docs
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-05-13 18:24:16 +08:00
Constrat
446ec8b8f6
style: precommit clang?
2025-04-20 11:26:52 +02:00
Constrat
66d49a7e81
ci: bump oxi, clang, prettier, markdownlint ( #12388 )
...
* ci: bump oxi, clang, prettier, markdownlint
* chore: Auto update by pre-commit hooks [skip changelog]
* chore: 移除不再使用clang-format的JSON文件
* chore: clang-format disable
* chore: clang版本更新
* chore: Auto update by pre-commit hooks [skip changelog]
* chore: ver注释
* docs: Modify the clang-format version restriction in the documentation to match the current changes
@zzyyyl
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: status102 <102887808+status102@users.noreply.github.com >
2025-04-20 09:42:41 +08:00
Aliothmoon
457023106c
feat: 调整按钮阴影 ( #12398 )
...
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-04-19 00:14:23 +08:00
Constrat
9ed30c5658
style: clang mass formatting
2025-04-17 09:32:58 +02:00
status102
bc81f492f2
Revert "style: clang formatting"
...
This reverts commit bfe2e29249 .
2025-02-02 23:59:46 +08:00
Constrat
bfe2e29249
style: clang formatting
...
[skip changelog]
2025-02-02 14:24:12 +01:00
status102
15bf60f397
fix: 移除二次检查
...
[skip changelog]
2025-02-02 15:44:55 +08:00
晓丶梦丶仁
ae2aaa1e6d
feat: 点刺、后勤种子存钱 & ProcessTask 添加 Input 方法 ( #11521 )
...
* feat: 为 ProcessTask 添加文本输入功能
* feat: 点刺、后勤种子存钱
* docs: 为 Input 方法添加文档
* perf: 添加循环刷钱cd检查
* perf: werror
* perf: 改变 Input 的 int 值
* perf: 减少 AsstProxy 传参,改用 c:Binding
* chore: 界面显示和获取分离
---------
Co-authored-by: uye <99072975+ABA2396@users.noreply.github.com >
2025-01-12 20:03:09 +08:00
uye
b396063d7d
chore: 修改上报抬头
2025-01-04 12:50:44 +08:00
Weiyou Wang
72119ac361
feat: 自动编队允许指定助战单位 ( #11075 )
...
* feat: 自动编队自动借助战
Revert d78fc68
fix: 招募助战后继续(缺少点击快速招募)
i18n: 翻译
style: clang-format
fix: basetask template
fix: werror
perf: 注释、format
i18n: en
perf: 完成功能实现,复用task,进行gui输出
perf: 更改默认状态
feat: BattleFormationTask
Revert 385541a (Back to c2849d2 )
* fix: 缺干员回到主界面的时候应该点确认而不是返回
* feat: 助战干员职业选择栏模版
* refactor: UseSupportUnitTaskPlugin
* chore: Auto update by pre-commit hooks [skip changelog]
* perf: 默认值适配国服
* chore: Auto update by pre-commit hooks [skip changelog]
* feat: try_find_and_apply_support_unit
* chore: Auto update by pre-commit hooks [skip changelog]
* fix: 大概可以用了
* fix: 补充 struct 的构造函数
* chore: Auto update by pre-commit hooks [skip changelog]
* fix: 添加默认构造函数
* chore: Auto update by pre-commit hooks [skip changelog]
* fix: 改改类型
* fix: callback[what] 纠正
* perf: roi及初始化优化
* perf: 简化中英文查找
* perf: rename func
* perf: click roi
* fix: 在点击助战干员的行动后添加 LoadingText
* fix: 打点 Log
* fix: remove unused function
---------
Co-authored-by: status102 <102887808+status102@users.noreply.github.com >
Co-authored-by: 晓丶梦丶仁 <74444214+Daydreamer114@users.noreply.github.com >
2024-11-06 00:37:43 +11:00
status102
a17ac2ea69
Revert "feat: 自动编队允许指定助战单位 ( #10820 )"
...
This reverts commit 3c97864f0a .
2024-11-05 17:57:24 +08:00
晓丶梦丶仁
3c97864f0a
feat: 自动编队允许指定助战单位 ( #10820 )
...
* feat: 自动编队自动借助战
Revert d78fc68
fix: 招募助战后继续(缺少点击快速招募)
i18n: 翻译
style: clang-format
fix: basetask template
fix: werror
perf: 注释、format
i18n: en
perf: 完成功能实现,复用task,进行gui输出
perf: 更改默认状态
feat: BattleFormationTask
Revert 385541a (Back to c2849d2 )
* fix: 缺干员回到主界面的时候应该点确认而不是返回
* feat: 助战干员职业选择栏模版
* refactor: UseSupportUnitTaskPlugin
* chore: Auto update by pre-commit hooks [skip changelog]
* perf: 默认值适配国服
* chore: Auto update by pre-commit hooks [skip changelog]
* feat: try_find_and_apply_support_unit
* chore: Auto update by pre-commit hooks [skip changelog]
* fix: 大概可以用了
* fix: 补充 struct 的构造函数
* chore: Auto update by pre-commit hooks [skip changelog]
* fix: 添加默认构造函数
* chore: Auto update by pre-commit hooks [skip changelog]
* fix: 改改类型
* fix: callback[what] 纠正
* perf: roi及初始化优化
* perf: 简化中英文查找
* perf: rename func
* perf: click roi
* fix: 在点击助战干员的行动后添加 LoadingText
* fix: 打点 Log
* fix: remove unused function
---------
Co-authored-by: Weiyou Wang <44151844+Alan-Charred@users.noreply.github.com >
Co-authored-by: status102 <102887808+status102@users.noreply.github.com >
2024-11-05 17:09:25 +11:00
pre-commit-ci[bot]
d3796ea4b3
chore: Auto update by pre-commit hooks [skip changelog]
2024-10-22 08:40:28 +00:00
zzyyyl
e13f4611d1
feat!: 更新保全 strategies 逻辑 ( #10314 )
...
* feat: 保全策略更新
* docs: 修改保全文档对 strategies 的描述
* style: format
[skip changelog]
* feat: 无可用工具人且无 core 时允许检查同一格的后续策略
* style: format
[skip changelog]
* feat: 不再检查干员是否暴毙
Co-authored-by: status102 <102887808+status102@users.noreply.github.com >
* fix: 修复m_all_cores可能插入空core名字导致保全战斗主要部署逻辑结束后仍然识别待部署区
* fix: var reset
---------
Co-authored-by: status102 <102887808+status102@users.noreply.github.com >
2024-08-29 19:53:52 +08:00
status102
ed8873580b
Revert "feat: 保全作战保留core不过牌且放置core后回到待部署则重放工具人和core" ( #10300 )
...
* Revert "feat: 保全作战保留core不过牌且放置core后回到待部署则重放工具人和core"
This reverts commit d57e74a2e6 .
* Revert "feat: 保全作战相同location以json写的策略顺序执行"
This reverts commit 0af22cd776 .
2024-08-20 08:00:50 +08:00
晓丶梦丶仁
0af22cd776
feat: 保全作战相同location以json写的策略顺序执行
2024-08-20 00:47:59 +08:00
status102
f70f4500e1
Revert "chore: 保全作战相同location以json写的策略顺序执行、全局保留core干员不作为过牌干员" ( #10285 )
...
Revert "chore: 保全作战相同location以json写的策略顺序执行、全局保留core干员不作为过牌干员 (#10284 )"
This reverts commit 575a0fce81 .
不该是chore吧,要发版了等发版完再进
2024-08-19 07:49:25 +08:00
晓丶梦丶仁
575a0fce81
chore: 保全作战相同location以json写的策略顺序执行、全局保留core干员不作为过牌干员 ( #10284 )
...
* feat: SSSstrategy之间同一位置需按json内写的顺序放置
* fix: 添加哈希函数
* fix: 修改错误参数
* refactor: 改用shared_ptr
* feat: 保全作业将不允许用核心干员作为工具人
* fix: 实现全局保core
* fix: 增加顺序tag减少bug
---------
Co-authored-by: Weiyou Wang <blspgzs@gmail.com >
2024-08-19 07:36:22 +08:00
zzyyyl
92f24ec988
feat!: 拆分 maskRange 与 colorScales;增加 colorWithClose 开关数色时闭运算
2024-08-17 01:22:17 +08:00
zzyyyl
8eec24a15c
feat: 删除 action ClickRand ( #10003 )
2024-08-03 09:35:43 +08:00
zzyyyl
0a2b003fce
feat: 删去 CcoeffHSV, HSVCount 时的模板匹配采用 RGB 的 Ccoeff
...
CcoeffHSV 有致命缺陷: (0, 0, 0) 与 (179, 0, 0) 应为相似颜色,因为 Hue 是循环的
* feat: HSVCount & RGBCount 的返回结果为点积
为了尽量保证 0.8 的阈值
* workaround: HSVCount & RGBCount 时 maskRange 不再对模板匹配生效
否则数色时的模板匹配结果将不准确,之后可以分开 maskRange 和 colorRange, 后者的格式可以讨论后再做决定
2024-07-28 01:11:59 +08:00
zzyyyl
1c116be819
feat!: 增加图像匹配算法 RGBCount, HSVCount
...
feat: 使用 F1-score 作为返回结果而不是 Recall
perf: 简化 F1-score 计算
2024-07-22 14:43:35 +08:00
zzyyyl
5e378259ce
feat!: mask_range 支持彩色掩码 ( #9818 )
2024-07-22 14:42:10 +08:00
zzyyyl
1573af9f54
feat: mask_range 支持彩色掩码
2024-07-22 13:12:10 +08:00
zzyyyl
334a2e5f70
feat: 删除 HashTaskInfo 相关
2024-07-21 20:33:55 +08:00
zzyyyl
fd0037ba62
feat: 支持自定义 MatchTemplate 匹配方法
2024-07-20 12:36:02 +08:00
Weiyou Wang
60d58bf93e
refactor: matcher result will contain the name of the matched template
2024-06-10 18:49:39 +10:00
Horror Proton
c4b94ace10
fix: remove incorrect use of __cpp_lib_ranges
2024-05-13 18:56:47 +08:00
Horror Proton
94efd15f91
feat: add compile def to disable emulator extras
2024-05-13 18:35:50 +08:00
dantmnf
1f9aa4c7a7
feat: Wine 支持 ( #8960 )
...
* feat: WineRuntimeInformation
* fix: system theme crash under wine
* refactor: toast notification
* feat: add destory callback
* feat: detect winegcc
* feat: use native MaaCore under Wine
* feat: libnotify integration
* chore: disable hardware accelration under Wine
* fix: distorted icon under Wine
* chore: use Environment.ProcessPath instead of cursed alternatives
* chore: don't filter *.exe when using native MaaCore
* chore: force Aero2 theme
* chore: allow build MaaWpfGui without Windows
You need to extract native .NET SDK on top of Windows .NET SDK to get a working WPF SDK.
* feat: fontconfig integration
* docs: run MaaWpfGui under Wine
2024-05-12 23:27:46 +08:00
zzyyyl
e4dbdb9017
refactor: 优化与 TaskData 的 get_raw 和 get 相关部分
...
fix: 使用 std::erase & std::erase_if, 避免使用具有不同定义的 ranges::remove & ranges::remove_if
现在 get_raw 只能获取任务的继承信息,其它详细信息会在 get 的时候解析。
另:
- 增加 TaskDerivedType 表示任务的继承类型
- 增加 TaskPipelineInfo 表示任务的流程信息(name + 5个TaskList的任务列表)
- 增加 TaskDerivedInfo 表示任务的继承信息,包含 base & prefix & TaskDerivedType
- 给各个任务类型的 shared_ptr 增加了别名;
(cherry picked from commit 6b5b0d5ec2 )
2023-11-29 19:02:42 +08:00
zzyyyl
3ccc0107d7
Revert "feat: 重构 TaskData ( #7410 )"
...
This reverts commit 782e71d4aa , reversing
changes made to 940008b448 .
2023-11-29 00:09:10 +08:00
zzyyyl
6b5b0d5ec2
refactor: 优化与 TaskData 的 get_raw 和 get 相关部分
...
fix: 使用 std::erase & std::erase_if, 避免使用具有不同定义的 ranges::remove & ranges::remove_if
现在 get_raw 只能获取任务的继承信息,其它详细信息会在 get 的时候解析。
另:
- 增加 TaskDerivedType 表示任务的继承类型
- 增加 TaskPipelineInfo 表示任务的流程信息(name + 5个TaskList的任务列表)
- 增加 TaskDerivedInfo 表示任务的继承信息,包含 base & prefix & TaskDerivedType
- 给各个任务类型的 shared_ptr 增加了别名;
2023-11-27 14:59:12 +08:00
status102
a9b00f77f3
perf: 迁移肉鸽主题、肉鸽主题检查
2023-11-14 21:00:05 +08:00
zzyyyl
fb13a0f943
style: format [skip changelog]
...
python tools\ClangFormatter\clang-formatter.py --input=src\MaaCore --ignore="[\"src/MaaCore/x64\"]"
python tools\ClangFormatter\clang-formatter.py --input=resource\ --ignore="[\"resource/Arknights-Tile-Pos\", \"resource/infrast.json\"]"
2023-10-19 14:35:06 +08:00
MistEO
a1a2b2625e
feat: support GPU OCR
2023-10-11 17:44:18 +08:00
David
8598020711
feat: operbox operator names localization ( #6726 )
...
fix #6664
2023-10-08 11:17:59 +02:00
MistEO
42762bfbb7
feat: 支持多模板匹配,任一达到阈值即视为命中
...
MultiMatcher 暂不支持,仅使用第一个模板
2023-10-01 13:54:56 +08:00
zzyyyl
a5daac889a
style: code format
2023-09-30 23:44:34 +08:00
MistEO
e7fd011cc0
feat: 基建 制造站、贸易站、控制中枢 新增支持干员编组配置 ( #6249 )
2023-09-11 22:47:06 +08:00
status102
4ae5053e74
feat: 自动战斗-自动编队 增加自动追加自定干员设置
2023-09-10 19:29:07 +08:00
status102
056a7f5c32
feat: 增加 控制中枢 支持干员编组配置,以及编组选择输出
2023-09-10 12:42:21 +08:00
status102
905d7da2fd
feat: 基建制造站和贸易站新增支持干员编组配置
2023-09-10 12:41:02 +08:00
Annoying Flower
a61d8fd631
feat: 添加对 "skill_times" 字段的支持,再也不会狂点重岳辣 ( #6007 )
2023-08-20 21:38:40 +08:00
Hao Guan
a0e977ffe4
fix: 修复对ranges支持检测的判断条件
2023-07-20 04:52:15 +10:00
Infko
3acb002ad4
fix# clang-tidy compatibility
2023-07-18 15:11:20 +00:00
DavidWang19
2b4e100f1d
feat: 适配萨米肉鸽
2023-07-14 09:29:17 +01:00
MistEO
0453f31709
fix: 将 OCR replace 改为有序
2023-06-29 10:11:26 +08:00