tag
This commit is contained in:
parent
05f65ef284
commit
2d1382d9cf
|
@ -2,6 +2,12 @@
|
||||||
|
|
||||||
___
|
___
|
||||||
|
|
||||||
|
## v0.3.8
|
||||||
|
|
||||||
|
为国战添加专属ui,修复一些bug。
|
||||||
|
|
||||||
|
___
|
||||||
|
|
||||||
## v0.3.7
|
## v0.3.7
|
||||||
|
|
||||||
新老bug一起修复!
|
新老bug一起修复!
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
cmake_minimum_required(VERSION 3.16)
|
cmake_minimum_required(VERSION 3.16)
|
||||||
|
|
||||||
project(FreeKill VERSION 0.3.7)
|
project(FreeKill VERSION 0.3.8)
|
||||||
add_definitions(-DFK_VERSION=\"${CMAKE_PROJECT_VERSION}\")
|
add_definitions(-DFK_VERSION=\"${CMAKE_PROJECT_VERSION}\")
|
||||||
|
|
||||||
find_package(Qt6 REQUIRED COMPONENTS
|
find_package(Qt6 REQUIRED COMPONENTS
|
||||||
|
|
|
@ -3,8 +3,8 @@
|
||||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
package="org.notify.FreeKill"
|
package="org.notify.FreeKill"
|
||||||
android:installLocation="preferExternal"
|
android:installLocation="preferExternal"
|
||||||
android:versionCode="307"
|
android:versionCode="308"
|
||||||
android:versionName="0.3.7">
|
android:versionName="0.3.8">
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||||
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
|
||||||
|
|
|
@ -288,11 +288,10 @@ FreeKill使用的是libgit2的C API,与此同时使用Git完成拓展包的下
|
||||||
["Resume"] = "继续",
|
["Resume"] = "继续",
|
||||||
|
|
||||||
["Bulletin Info"] = [==[
|
["Bulletin Info"] = [==[
|
||||||
## v0.3.7
|
## v0.3.8
|
||||||
|
|
||||||
0.3.7版本,修复bug,下载拓展不会闪退(但愿如此)。
|
为国战添加专属ui,修复一些bug。
|
||||||
|
|
||||||
移除了谋徐盛。
|
|
||||||
]==],
|
]==],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,15 +27,6 @@ local function tellRoomToObserver(self, player)
|
||||||
end
|
end
|
||||||
player:doNotify("ArrangeSeats", json.encode(player_circle))
|
player:doNotify("ArrangeSeats", json.encode(player_circle))
|
||||||
|
|
||||||
for _, p in ipairs(self.players) do
|
|
||||||
self:notifyProperty(player, p, "general")
|
|
||||||
self:notifyProperty(player, p, "deputyGeneral")
|
|
||||||
p:marshal(player, true)
|
|
||||||
end
|
|
||||||
|
|
||||||
player:doNotify("UpdateDrawPile", #self.draw_pile)
|
|
||||||
player:doNotify("UpdateRoundNum", self:getTag("RoundCount") or 0)
|
|
||||||
|
|
||||||
-- send printed_cards
|
-- send printed_cards
|
||||||
for i = -2, -math.huge, -1 do
|
for i = -2, -math.huge, -1 do
|
||||||
local c = Fk.printed_cards[i]
|
local c = Fk.printed_cards[i]
|
||||||
|
@ -44,12 +35,21 @@ local function tellRoomToObserver(self, player)
|
||||||
end
|
end
|
||||||
|
|
||||||
-- send card marks
|
-- send card marks
|
||||||
for id, marks in pairs(room.card_marks) do
|
for id, marks in pairs(self.card_marks) do
|
||||||
for k, v in pairs(marks) do
|
for k, v in pairs(marks) do
|
||||||
player:doNotify("SetCardMark", json.encode{ id, k, v })
|
player:doNotify("SetCardMark", json.encode{ id, k, v })
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
for _, p in ipairs(self.players) do
|
||||||
|
self:notifyProperty(player, p, "general")
|
||||||
|
self:notifyProperty(player, p, "deputyGeneral")
|
||||||
|
p:marshal(player, true)
|
||||||
|
end
|
||||||
|
|
||||||
|
player:doNotify("UpdateDrawPile", #self.draw_pile)
|
||||||
|
player:doNotify("UpdateRoundNum", self:getTag("RoundCount") or 0)
|
||||||
|
|
||||||
table.insert(self.observers, {observee.id, player, player:getId()})
|
table.insert(self.observers, {observee.id, player, player:getId()})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
@ -346,15 +346,6 @@ function ServerPlayer:reconnect()
|
||||||
end
|
end
|
||||||
self:doNotify("ArrangeSeats", json.encode(player_circle))
|
self:doNotify("ArrangeSeats", json.encode(player_circle))
|
||||||
|
|
||||||
for _, p in ipairs(room.players) do
|
|
||||||
room:notifyProperty(self, p, "general")
|
|
||||||
room:notifyProperty(self, p, "deputyGeneral")
|
|
||||||
p:marshal(self)
|
|
||||||
end
|
|
||||||
|
|
||||||
self:doNotify("UpdateDrawPile", #room.draw_pile)
|
|
||||||
self:doNotify("UpdateRoundNum", room:getTag("RoundCount") or 0)
|
|
||||||
|
|
||||||
-- send printed_cards
|
-- send printed_cards
|
||||||
for i = -2, -math.huge, -1 do
|
for i = -2, -math.huge, -1 do
|
||||||
local c = Fk.printed_cards[i]
|
local c = Fk.printed_cards[i]
|
||||||
|
@ -369,6 +360,15 @@ function ServerPlayer:reconnect()
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
for _, p in ipairs(room.players) do
|
||||||
|
room:notifyProperty(self, p, "general")
|
||||||
|
room:notifyProperty(self, p, "deputyGeneral")
|
||||||
|
p:marshal(self)
|
||||||
|
end
|
||||||
|
|
||||||
|
self:doNotify("UpdateDrawPile", #room.draw_pile)
|
||||||
|
self:doNotify("UpdateRoundNum", room:getTag("RoundCount") or 0)
|
||||||
|
|
||||||
-- send fake skills
|
-- send fake skills
|
||||||
for _, s in ipairs(self._manually_fake_skills) do
|
for _, s in ipairs(self._manually_fake_skills) do
|
||||||
self:doNotify("AddSkill", json.encode{ self.id, s.name, true })
|
self:doNotify("AddSkill", json.encode{ self.id, s.name, true })
|
||||||
|
|
Loading…
Reference in New Issue