mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 03:32:34 +08:00
redo (#327)
重新添加轮次和回合的锁视和手牌上限提醒 --------- Co-authored-by: notify <notify-ctrl@qq.com>
This commit is contained in:
parent
dfbe59e2b6
commit
1209ca43fa
|
@ -1,6 +1,6 @@
|
|||
# ChangeLog
|
||||
|
||||
## v0.4.8
|
||||
## v0.4.8 & v0.4.9
|
||||
|
||||
- Qml: 新增leval函数可获得lua表达式的值
|
||||
- 新增AbstractRoom类 去除冗余
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
project(FreeKill VERSION 0.4.8)
|
||||
project(FreeKill VERSION 0.4.9)
|
||||
add_definitions(-DFK_VERSION=\"${CMAKE_PROJECT_VERSION}\")
|
||||
|
||||
find_package(Qt6 REQUIRED COMPONENTS
|
||||
|
|
|
@ -3,8 +3,8 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.notify.FreeKill"
|
||||
android:installLocation="preferExternal"
|
||||
android:versionCode="408"
|
||||
android:versionName="0.4.8">
|
||||
android:versionCode="409"
|
||||
android:versionName="0.4.9">
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||
|
|
|
@ -321,7 +321,7 @@ FreeKill使用的是libgit2的C API,与此同时使用Git完成拓展包的下
|
|||
["Resume"] = "继续",
|
||||
|
||||
["Bulletin Info"] = [==[
|
||||
## v0.4.8
|
||||
## v0.4.9
|
||||
|
||||
修复投降莫名奇妙把对面杀了的bug
|
||||
|
||||
|
|
|
@ -187,6 +187,11 @@ GameEvent.cleaners[GameEvent.Round] = function(self)
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
for _, p in ipairs(room.players) do
|
||||
p:filterHandcards()
|
||||
room:broadcastProperty(p, "MaxCards")
|
||||
end
|
||||
end
|
||||
|
||||
GameEvent.prepare_funcs[GameEvent.Turn] = function(self)
|
||||
|
@ -262,6 +267,11 @@ GameEvent.cleaners[GameEvent.Turn] = function(self)
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
for _, p in ipairs(room.players) do
|
||||
p:filterHandcards()
|
||||
room:broadcastProperty(p, "MaxCards")
|
||||
end
|
||||
end
|
||||
|
||||
GameEvent.functions[GameEvent.Phase] = function(self)
|
||||
|
|
Loading…
Reference in New Issue
Block a user