Commit Graph

26 Commits

Author SHA1 Message Date
Imple Lee
fe29cc532d fix many warnings (#889)
* fix many warnings

some of them can be solved by using a prototype-based system
maybe I can try to use some of these systems to reform backgrounds...

* Update app_mahjong.lua

---------

Co-authored-by: MrZ_26 <1046101471@qq.com>
2023-05-03 00:27:54 +08:00
MrZ_26
dd872a72b2 整理代码,return后面跟空格 2022-10-29 00:59:41 +08:00
MrZ_26
f8d17b23b6 注释后加空格
联网稍微推进
2022-10-03 02:43:51 +08:00
MrZ_26
06f4bb4e1a 整 理 代 码
(应该没有改到字符串里面的东西吧…)起码不直接影响运行
2022-10-01 11:32:11 +08:00
MrZ_26
1fb741d7c2 大幅降低高难ai速度 2022-01-25 23:00:24 +08:00
Imple Lee
00919c1067 cc techmino-alize (#579)
this should only be used with imple/techmino-alize branch
on 26F-Studio/cold_clear_ai_love2d_wrapper
2022-01-05 12:57:54 +08:00
MrZ626
e7b4518d73 【警告:需要测试】
调整玩家能hold/移动/旋转方块的条件
修复cc复活后小bug
整理代码
2021-12-01 15:46:12 +08:00
MrZ626
83bdd9f2c4 【警告:可能有bug,需要测试】
较大规模整理玩家相关代码
较大规模整理玩家相关代码,重构出块延迟和消行延迟逻辑,现在0是真的无延迟,不再有1帧等待了
添加出块延迟打断(即ARE打断)(不包括消行延迟,默认为打断至无穷大,相当于无此功能)
自定义游戏和自定义房间ui跟进
close #471
2021-11-23 20:26:31 +08:00
MrZ626
137d9296cd 移除一个TODO的注释 2021-10-30 15:57:34 +08:00
Particle_G
e236be7a62 Ci ios (#395)
* merge get-cc-url into get-version

* add `get-cc`

* remove `apt update`

* rename `get-version` -> `get-info`

* rm unnecessary file

* - Add support for ios
- Fix missing top folder for macos

* - Fix directory names

* - Fix with binary r/w

* iOS的plist文件先转换为明文

* add IOS

* 整合新action

* Finishing touch

* Update action.yml

* Test chmod

* - Xcode build test

* - Build with default keychain

* - Test iOS only

* - Use macos-11

* - Change keychain operations' sequence

* - Allow provisioning updates

* - Set build directory

* - Specify build path

* - Pack bare app

* - Add quiet option

* 测试:输出touchrelease位置

* - Test with ad hoc cert

* - Fix wrong variable

* - Use Release instead of Distribution

* - Chmod CCloader to add execute permission

* 继续测试ios触屏问题

* 继续测试ios触屏问题

* - Use macos latest
- Re-enable other runs

* - Sign CCloader after build

* - Remove redundant inputs in build.yml

* - Install test

* - Export test

* - install test

* - Try fastlane

* - Use builtin ruby

* - CI Test

* - Update python script to fix ios versioning

* - Use static lib

* - Test static cc

* - Fix locations

* Update readme.md

Co-authored-by: Imple Lee <80144331+ImpleLee@users.noreply.github.com>
Co-authored-by: Trebor-Huang <2300936257@qq.com>
Co-authored-by: Trebor Huang <41145779+Trebor-Huang@users.noreply.github.com>
Co-authored-by: YunyushuLiu <kunluntree@qq.com>
Co-authored-by: MrZ626 <1046101471@qq.com>
Co-authored-by: 梦飞翔 <1149761294@qq.com>
2021-10-20 13:07:51 +08:00
MrZ626
57497dbd74 整理代码,较复杂的单行if-then-end拆成多行 2021-09-03 00:28:08 +08:00
MrZ626
a6d80667c1 减慢使用默认update模板函数的bot线程结束后拍硬降的速度 2021-08-28 22:25:35 +08:00
MrZ626
a1c6f720a2 代码规范:所有文件以空行结尾 2021-08-28 16:46:10 +08:00
MrZ626
660946215e tab缩进换成空格 2021-08-27 22:40:03 +08:00
MrZ626
3c02c5957e 加载cc失败的时候不会报错了 2021-08-27 00:02:24 +08:00
MrZ626
f6826432d0 修正主界面cc的bag模式为true
cc移动加速
2021-08-26 17:09:16 +08:00
MrZ626
15d43f6313 修复机器人更新协程结束后不会让机器人进入自杀模式 2021-08-26 15:46:50 +08:00
MrZ626
de1a1cbe9a 修正cc初始化时的一些小问题 2021-08-26 15:19:40 +08:00
MrZ626
27a0e8ee3a 整理代码 2021-08-26 15:08:24 +08:00
Trebor Huang
db4f193046 适配CC API (#233)
* 适配CC API

* 修正上游代码
2021-08-26 14:29:41 +08:00
MrZ626
f77d8d5219 修改/添加bot的api
更新ccBot相关代码(需要修正)
2021-08-26 02:43:16 +08:00
MrZ626
295e79984f 代码规范:把所有的tab换成空格 2021-08-25 04:28:52 +08:00
MrZ626
8f910f95f4 整理代码,调整local函数名规范(较边缘的代码不必遵守,比如外部的库和小程序):
特别临时性的用全大写字母缩写或者单字母
TASK模块用到的任务函数和检查函数开头分别为task_和check_
其他函数开头添加下划线作为指示
2021-08-25 02:40:01 +08:00
MrZ626
7817499da7 AITemplate小模块合并至BOT模块并优化参数样式
修改所有之前的AITemplate至新格式
启用9s的hold开关(之前有开关但是没用)
准备好cc对接相关代码模板(不能用所以注释了,需要修改)
2021-08-24 05:15:27 +08:00
MrZ626
1c43e92577 增加尝试接入CC的代码模板(注释),等待后续修改 2021-08-24 01:46:59 +08:00
MrZ626
491c4d25d7 重构ai模块,等待使用新wrapper接入cc,bot数据结构未定 2021-08-23 23:02:35 +08:00