Changelog: v0.4.2

This commit is contained in:
notify 2023-12-28 13:40:34 +08:00
parent 28bb10e698
commit 1005863b1e
6 changed files with 7 additions and 7 deletions

View File

@ -1,6 +1,6 @@
# ChangeLog # ChangeLog
## 0.4.1 ## v0.4.2 && v0.4.1
1. 修复和完善qml mark 1. 修复和完善qml mark
2. 修复国战野心家放副将 2. 修复国战野心家放副将

View File

@ -2,7 +2,7 @@
cmake_minimum_required(VERSION 3.16) cmake_minimum_required(VERSION 3.16)
project(FreeKill VERSION 0.4.1) project(FreeKill VERSION 0.4.2)
add_definitions(-DFK_VERSION=\"${CMAKE_PROJECT_VERSION}\") add_definitions(-DFK_VERSION=\"${CMAKE_PROJECT_VERSION}\")
find_package(Qt6 REQUIRED COMPONENTS find_package(Qt6 REQUIRED COMPONENTS

View File

@ -1309,7 +1309,7 @@ Item {
if (d.id == Self.id) { if (d.id == Self.id) {
roomScene.isOwner = d.isOwner; roomScene.isOwner = d.isOwner;
} else { } else {
Backend.callLuaFunction("ResetAddPlayer", [JSON.stringify([d.id, d.name, d.avatar, d.ready])]); Backend.callLuaFunction("ResetAddPlayer", [JSON.stringify([d.id, d.name, d.avatar, d.ready, d.gameData[3]])]);
} }
Backend.callLuaFunction("SetPlayerGameData", [d.id, d.gameData]); Backend.callLuaFunction("SetPlayerGameData", [d.id, d.gameData]);
Logic.getPhotoModel(d.id).isOwner = d.isOwner; Logic.getPhotoModel(d.id).isOwner = d.isOwner;

View File

@ -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="401" android:versionCode="402"
android:versionName="0.4.1"> android:versionName="0.4.2">
<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" />

View File

@ -288,7 +288,7 @@ fk.client_callback["AddPlayer"] = function(jsonData)
local data = json.decode(jsonData) local data = json.decode(jsonData)
local id, name, avatar, time = data[1], data[2], data[3], data[5] local id, name, avatar, time = data[1], data[2], data[3], data[5]
local player = fk.ClientInstance:addPlayer(id, name, avatar) local player = fk.ClientInstance:addPlayer(id, name, avatar)
player:addTotalGameTime(time) player:addTotalGameTime(time or 0) -- 以防再次智迟
local p = ClientPlayer:new(player) local p = ClientPlayer:new(player)
table.insert(ClientInstance.players, p) table.insert(ClientInstance.players, p)
table.insert(ClientInstance.alive_players, p) table.insert(ClientInstance.alive_players, p)

View File

@ -304,7 +304,7 @@ FreeKill使用的是libgit2的C API与此同时使用Git完成拓展包的下
["Resume"] = "继续", ["Resume"] = "继续",
["Bulletin Info"] = [==[ ["Bulletin Info"] = [==[
## v0.4.1 ## v0.4.2