Commit Graph

153 Commits

Author SHA1 Message Date
Horror Proton
b46484a069 fix: bypass a linux build error 2022-09-06 01:25:50 +08:00
MistEO
c1a01eff61 style: format 2022-09-05 23:36:27 +08:00
dantmnf
c103875cd9 fix: add variable initialization 2022-09-05 01:54:44 +08:00
dantmnf
1e20c03e32 chore: bind socket to port 0
OS will choose an available port
2022-09-05 01:17:56 +08:00
dantmnf
1585340c01 chore: use overlapped io for win32 subprocess 2022-09-05 01:17:56 +08:00
MistEO
95219c8e17 Merge pull request #1741 from MaaAssistantArknights/perf/uchar
perf: 整理并优化
2022-09-05 00:21:57 +08:00
MistEO
28d63e4e81 fix: 修复socket方式截图不可用的问题 2022-09-04 23:21:22 +08:00
zzyyyl
d10fc79cbf perf: rename string_replace_all_batch -> string_replace_all 2022-09-04 17:36:23 +08:00
zzyyyl
1dbdb9730c style: constexpr static -> static constexpr 2022-09-04 17:36:23 +08:00
zzyyyl
6889324572 refactor: use std::string instead of std::vector<uchar>
perf: 将 gzip 的接口数据类型改回 string,简化代码

style: format
2022-09-04 17:36:23 +08:00
zzyyyl
0428b109b5 perf: 优化行尾检测 2022-09-04 17:36:14 +08:00
MistEO
8f8140dc63 perf: 整理满天飞的 get_instance 2022-09-04 01:30:53 +08:00
MistEO
7c8bf92eb4 refactor: 重构 Resource 类
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1541
2022-09-04 00:27:54 +08:00
zzyyyl
4093a08ab6 feat: 用毫秒统计截图速度 2022-09-01 16:37:22 +08:00
zzyyyl
0a3358fb95 fix: 修复部分模拟器行尾变化的问题
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1719
2022-09-01 16:37:14 +08:00
zzyyyl
e9f21c0944 style: 优化部分 initializer_list 的格式 2022-08-29 12:25:55 +08:00
_ChingC
84bbe7de1e fix: 修复通用类型定义,提高cmake最低版本以禁用过老的policy 2022-08-29 10:23:08 +08:00
zzyyyl
9b80deba32 style: 优化代码格式 2022-08-28 00:31:29 +08:00
MistEO
c93dd0fe2c chore: 再整理一下日志 2022-08-28 00:02:57 +08:00
MistEO
32a8b858bd chore: 删除一些特别刷屏的日志 2022-08-27 23:48:08 +08:00
MistEO
5e82c3beaa feat: 为截图反复失败添加错误提示
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1672
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1509
2022-08-27 23:37:35 +08:00
zzyyyl
98f949346e style: clang format 2022-08-26 19:11:34 +08:00
MistEO
69a67592a3 fix: 修复编译错误和 typo 2022-08-20 03:17:07 +08:00
MistEO
b47a458b08 feat: 为controller添加退出标记
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1277
2022-08-20 02:40:03 +08:00
MistEO
05022702ff style: format 2022-08-14 03:06:10 +08:00
Horror Proton
4f27e3e162 perf: simplify for loops and lambdas, etc 2022-08-13 19:09:25 +08:00
MistEO
1815c83756 style: format 2022-08-13 18:05:02 +08:00
lhhxxxxx
2727abcc39 style. 使用字面量时间 2022-08-04 22:26:03 +08:00
lhhxxxxx
396acc47d4 perf. 使用ranges及views及<=>及其他一些c++20优化及一般优化 2022-08-02 02:59:17 +08:00
lhhxxxxx
8f23c2ae16 style. 使用宏优化编码 2022-08-02 00:03:41 +08:00
MistEO
7f9b72e0b7 Merge pull request #1391 from MaaAssistantArknights/feat/c++20
refactor: 升级c++20
2022-08-01 23:20:52 +08:00
MistEO
f9a63b3528 refactor: 将 disable cv warning 的宏额外封装了一层头文件 2022-08-01 20:16:58 +08:00
Horror Proton
b651e8e0ae feat: add Config.hpp 2022-08-01 12:12:30 +08:00
zzyyyl
2f545acedb fix: 尝试修复 clang warnings 2022-08-01 11:29:36 +08:00
lhhxxxxx
22edec16c8 fix. 漏了一个 2022-07-31 22:57:40 +08:00
Horror Proton
d0b752d719 fix: suppress -Wdeprecated-enum-enum-conversion in opencv 2022-07-31 21:39:16 +08:00
lhhxxxxx
0afff07787 style. typo大修正 2022-07-31 20:47:58 +08:00
zzyyyl
64d571ad33 refactor: 升级 c++20! 2022-07-31 16:59:31 +08:00
lhhxxxxx
a579d8b944 perf. c++ code tidy
style. typo fixed
2022-07-30 18:24:31 +08:00
lhhxxxxx
af1c051522 perf. c++ code tidy 2022-07-30 05:31:19 +08:00
MistEO
a1e9525206 fix: fix build error on linux again 2022-07-26 21:30:24 +08:00
MistEO
3ff908f0d4 fix: fix build error on Linux 2022-07-26 21:11:08 +08:00
MistEO
dedd186a0f fix: 修复连接信息uuid为空的问题,并修复一个命名问题 2022-07-23 00:18:51 +08:00
MistEO
8483755866 fix: 进一步限制分辨率,严格要求 16:9
fix https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1203
2022-07-17 21:34:42 +08:00
MistEO
6423465108 fix: 将额外的短程滑动改为向上滑,并重构小部分代码
https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1129
2022-07-10 13:38:29 +08:00
MistEO
a92dbe5c98 perf: 优化连接断开时的重连逻辑 2022-07-01 22:42:57 +08:00
MistEO
05f5abadde perf: 优化了模拟器连接断开后的重连逻辑
https://github.com/MaaAssistantArknights/MaaAssistantArknights/issues/1029
2022-06-30 00:01:45 +08:00
MistEO
194e861f66 chore: 不再支持非 16:9 分辨率 2022-06-26 20:14:57 +08:00
DESKTOP-9PHO9TI\kenko
7efe0da642 add: 增加了任务完成关闭游戏的功能 2022-06-26 00:36:49 +08:00
Horror Proton
cfda9278a6 Improve style and tidiness, simplify nested namespace 2022-06-19 23:00:40 +08:00