From 9a951fdbfec0d09a676e8bcdb3ff52974d82f774 Mon Sep 17 00:00:00 2001 From: notify Date: Sun, 9 Apr 2023 13:35:35 +0800 Subject: [PATCH] Spdx license (#109) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在所有代码中添加了许可证标记头 --- CMakeLists.txt | 2 ++ android/AndroidManifest.xml | 1 + android/copy_assets.sh | 1 + android/res/values/styles.xml | 1 + android/src/org/notify/FreeKill/Helper.java | 2 ++ docs/api/client.rst | 2 ++ docs/api/core.rst | 2 ++ docs/api/core/card.rst | 2 ++ docs/api/core/engine.rst | 2 ++ docs/api/core/game_mode.rst | 2 ++ docs/api/core/general.rst | 2 ++ docs/api/core/package.rst | 2 ++ docs/api/core/player.rst | 2 ++ docs/api/core/skill.rst | 2 ++ docs/api/index.rst | 2 ++ docs/api/server.rst | 2 ++ docs/api/server/room.rst | 2 ++ docs/dev/ai.rst | 2 ++ docs/dev/compile.rst | 2 ++ docs/dev/database.rst | 2 ++ docs/dev/gameevent.rst | 2 ++ docs/dev/gamelogic.rst | 2 ++ docs/dev/index.rst | 2 ++ docs/dev/package.rst | 2 ++ docs/dev/protocol.rst | 2 ++ docs/dev/scenario.rst | 2 ++ docs/dev/todo.rst | 2 ++ docs/dev/ui.rst | 2 ++ docs/diy/01-env.rst | 2 ++ docs/diy/02-skilltype.rst | 2 ++ docs/diy/03-events.rst | 2 ++ docs/diy/03-newgeneral.rst | 2 ++ docs/diy/04-newskill.rst | 2 ++ docs/diy/05-trigger.rst | 2 ++ docs/diy/06-active.rst | 2 ++ docs/diy/event/gameflow.rst | 2 ++ docs/diy/event/hp.rst | 2 ++ docs/diy/event/misc.rst | 2 ++ docs/diy/event/movecard.rst | 2 ++ docs/diy/event/usecard.rst | 2 ++ docs/diy/index.rst | 2 ++ docs/fkp/dev/add_more_action.rst | 2 ++ docs/fkp/dev/build_from_source.rst | 2 ++ docs/fkp/dev/how_does_it_work.rst | 2 ++ docs/fkp/dev/index.rst | 2 ++ docs/fkp/ref/all_action.rst | 2 ++ docs/fkp/ref/all_event.rst | 2 ++ docs/fkp/ref/all_function.rst | 2 ++ docs/fkp/ref/all_lexical.rst | 2 ++ docs/fkp/ref/all_property.rst | 2 ++ docs/fkp/ref/all_var.rst | 2 ++ docs/fkp/ref/cn_en.rst | 2 ++ docs/fkp/ref/index.rst | 2 ++ docs/fkp/usr/active_skill.rst | 2 ++ docs/fkp/usr/basic_grammar.rst | 2 ++ docs/fkp/usr/create_general.rst | 2 ++ docs/fkp/usr/create_skill.rst | 2 ++ docs/fkp/usr/exp_stat.rst | 2 ++ docs/fkp/usr/func_array.rst | 2 ++ docs/fkp/usr/get_started.rst | 2 ++ docs/fkp/usr/index.rst | 2 ++ docs/fkp/usr/intro.rst | 2 ++ docs/fkp/usr/status_skill.rst | 2 ++ docs/fkp/usr/style.rst | 2 ++ docs/fkp/usr/viewas_skill.rst | 2 ++ docs/index.rst | 2 ++ docs/makebook.sh | 2 ++ docs/usr/00-download.rst | 2 ++ docs/usr/01-play.rst | 2 ++ docs/usr/02-connect.rst | 2 ++ docs/usr/03-package.rst | 2 ++ docs/usr/index.rst | 2 ++ lua/client/client.lua | 2 ++ lua/client/client_util.lua | 2 ++ lua/client/clientplayer.lua | 2 ++ lua/client/i18n/en_US.lua | 2 ++ lua/client/i18n/init.lua | 2 ++ lua/client/i18n/zh_CN.lua | 2 ++ lua/core/card.lua | 2 ++ lua/core/card_type/basic.lua | 2 ++ lua/core/card_type/equip.lua | 2 ++ lua/core/card_type/trick.lua | 2 ++ lua/core/debug.lua | 2 ++ lua/core/engine.lua | 2 ++ lua/core/exppattern.lua | 2 ++ lua/core/game_mode.lua | 2 ++ lua/core/general.lua | 2 ++ lua/core/package.lua | 2 ++ lua/core/player.lua | 2 ++ lua/core/skill.lua | 2 ++ lua/core/skill_type/active.lua | 2 ++ lua/core/skill_type/attack_range.lua | 2 ++ lua/core/skill_type/distance.lua | 2 ++ lua/core/skill_type/filter.lua | 2 ++ lua/core/skill_type/invalidity.lua | 2 ++ lua/core/skill_type/max_cards.lua | 2 ++ lua/core/skill_type/prohibit.lua | 2 ++ lua/core/skill_type/status_skill.lua | 2 ++ lua/core/skill_type/target_mod.lua | 2 ++ lua/core/skill_type/trigger.lua | 2 ++ lua/core/skill_type/usable_skill.lua | 2 ++ lua/core/skill_type/view_as.lua | 2 ++ lua/core/util.lua | 2 ++ lua/fk_ex.lua | 2 ++ lua/freekill.lua | 2 ++ lua/lsp/freekill.lua | 2 ++ lua/lsp/lib.lua | 2 ++ lua/lsp/player.lua | 2 ++ lua/lsp/qt.lua | 2 ++ lua/lsp/server.lua | 2 ++ lua/lsp/sqlite.lua | 2 ++ lua/server/ai/ai.lua | 2 ++ lua/server/ai/init.lua | 2 ++ lua/server/ai/mcts.lua | 2 ++ lua/server/ai/random_ai.lua | 2 ++ lua/server/ai/trust_ai.lua | 2 ++ lua/server/event.lua | 2 ++ lua/server/events/death.lua | 2 ++ lua/server/events/gameflow.lua | 2 ++ lua/server/events/hp.lua | 2 ++ lua/server/events/init.lua | 2 ++ lua/server/events/judge.lua | 2 ++ lua/server/events/movecard.lua | 2 ++ lua/server/events/pindian.lua | 2 ++ lua/server/events/skill.lua | 2 ++ lua/server/events/usecard.lua | 2 ++ lua/server/gameevent.lua | 2 ++ lua/server/gamelogic.lua | 2 ++ lua/server/room.lua | 2 ++ lua/server/serverplayer.lua | 2 ++ lua/server/system_enum.lua | 2 ++ lua/ui-util.lua | 2 ++ packages/init.sql | 2 ++ packages/maneuvering/init.lua | 2 ++ packages/standard/aux_skills.lua | 2 ++ packages/standard/game_rule.lua | 2 ++ packages/standard/i18n/en_US.lua | 2 ++ packages/standard/i18n/init.lua | 2 ++ packages/standard/i18n/zh_CN.lua | 2 ++ packages/standard/init.lua | 2 ++ packages/standard/metadata.lua | 2 ++ packages/standard_cards/i18n/en_US.lua | 2 ++ packages/standard_cards/i18n/init.lua | 2 ++ packages/standard_cards/i18n/zh_CN.lua | 2 ++ packages/standard_cards/init.lua | 2 ++ packages/standard_cards/metadata.lua | 2 ++ packages/test/init.lua | 2 ++ qml/Config.qml | 2 ++ qml/Logic.js | 2 ++ qml/Pages/About.qml | 2 ++ qml/Pages/CardsOverview.qml | 2 ++ qml/Pages/Common/ChatBox.qml | 2 ++ qml/Pages/Common/LogEdit.qml | 2 ++ qml/Pages/GeneralsOverview.qml | 2 ++ qml/Pages/Init.qml | 2 ++ qml/Pages/Lobby.qml | 2 ++ qml/Pages/LobbyElement/CreateRoom.qml | 2 ++ qml/Pages/LobbyElement/EditProfile.qml | 2 ++ qml/Pages/LobbyElement/PersonalSettings.qml | 2 ++ qml/Pages/LobbyElement/RoomGeneralSettings.qml | 2 ++ qml/Pages/LobbyElement/RoomPackageSettings.qml | 2 ++ qml/Pages/Logic.js | 2 ++ qml/Pages/MetroButton.qml | 2 ++ qml/Pages/ModesOverview.qml | 2 ++ qml/Pages/PackageManage.qml | 2 ++ qml/Pages/Room.qml | 2 ++ qml/Pages/RoomElement/AG.qml | 2 ++ qml/Pages/RoomElement/CardArea.qml | 2 ++ qml/Pages/RoomElement/CardItem.qml | 2 ++ qml/Pages/RoomElement/Cheat/FreeAssign.qml | 2 ++ qml/Pages/RoomElement/Cheat/PlayerDetail.qml | 2 ++ qml/Pages/RoomElement/Cheat/SameConvert.qml | 2 ++ qml/Pages/RoomElement/ChoiceBox.qml | 2 ++ qml/Pages/RoomElement/ChooseGeneralBox.qml | 2 ++ qml/Pages/RoomElement/Dashboard.qml | 2 ++ qml/Pages/RoomElement/GameOverBox.qml | 2 ++ qml/Pages/RoomElement/GeneralCardItem.qml | 2 ++ qml/Pages/RoomElement/GlowText.qml | 2 ++ qml/Pages/RoomElement/GraphicsBox.qml | 2 ++ qml/Pages/RoomElement/GuanxingBox.qml | 2 ++ qml/Pages/RoomElement/HandcardArea.qml | 2 ++ qml/Pages/RoomElement/IndicatorLine.qml | 2 ++ qml/Pages/RoomElement/InvisibleCardArea.qml | 2 ++ qml/Pages/RoomElement/Photo.qml | 2 ++ qml/Pages/RoomElement/PhotoElement/DelayedTrickArea.qml | 2 ++ qml/Pages/RoomElement/PhotoElement/EquipArea.qml | 2 ++ qml/Pages/RoomElement/PhotoElement/EquipItem.qml | 2 ++ qml/Pages/RoomElement/PhotoElement/HpBar.qml | 2 ++ qml/Pages/RoomElement/PhotoElement/LimitSkillArea.qml | 2 ++ qml/Pages/RoomElement/PhotoElement/LimitSkillItem.qml | 2 ++ qml/Pages/RoomElement/PhotoElement/Magatama.qml | 2 ++ qml/Pages/RoomElement/PhotoElement/MarkArea.qml | 2 ++ qml/Pages/RoomElement/PhotoElement/RoleComboBox.qml | 2 ++ qml/Pages/RoomElement/PhotoElement/SpecialMarkArea.qml | 2 ++ qml/Pages/RoomElement/PixmapAnimation.qml | 2 ++ qml/Pages/RoomElement/PlayerCardBox.qml | 2 ++ qml/Pages/RoomElement/SkillArea.qml | 2 ++ qml/Pages/RoomElement/SkillButton.qml | 2 ++ qml/Pages/RoomElement/SkillInteraction/SkillCombo.qml | 2 ++ qml/Pages/RoomElement/SkillInvokeAnimation.qml | 2 ++ qml/Pages/RoomElement/TablePile.qml | 2 ++ qml/Pages/RoomElement/ViewPile.qml | 2 ++ qml/Pages/RoomLogic.js | 2 ++ qml/Pages/TileButton.qml | 2 ++ qml/Pages/WebInit.qml | 2 ++ qml/Pages/skin-bank.js | 2 ++ qml/Splash.qml | 2 ++ qml/Toast.qml | 2 ++ qml/ToastManager.qml | 2 ++ qml/main.qml | 2 ++ qml/util.js | 2 ++ server/init.sql | 2 ++ src/CMakeLists.txt | 2 ++ src/client/client.cpp | 2 ++ src/client/client.h | 2 ++ src/client/clientplayer.cpp | 2 ++ src/client/clientplayer.h | 2 ++ src/core/packman.cpp | 2 ++ src/core/packman.h | 2 ++ src/core/parser.cpp | 2 ++ src/core/parser.h | 2 ++ src/core/player.cpp | 2 ++ src/core/player.h | 2 ++ src/core/util.cpp | 2 ++ src/core/util.h | 2 ++ src/main.cpp | 2 ++ src/network/client_socket.cpp | 2 ++ src/network/client_socket.h | 2 ++ src/network/router.cpp | 2 ++ src/network/router.h | 2 ++ src/network/server_socket.cpp | 2 ++ src/network/server_socket.h | 2 ++ src/pch.h | 2 ++ src/server/room.cpp | 2 ++ src/server/room.h | 2 ++ src/server/server.cpp | 2 ++ src/server/server.h | 2 ++ src/server/serverplayer.cpp | 2 ++ src/server/serverplayer.h | 2 ++ src/server/shell.cpp | 2 ++ src/server/shell.h | 2 ++ src/swig/client.i | 2 ++ src/swig/freekill-nogui.i | 2 ++ src/swig/freekill-wasm.i | 2 ++ src/swig/freekill.i | 2 ++ src/swig/naturalvar.i | 2 ++ src/swig/player.i | 2 ++ src/swig/qt.i | 2 ++ src/swig/server.i | 2 ++ src/swig/sqlite3.i | 2 ++ src/ui/qmlbackend.cpp | 2 ++ src/ui/qmlbackend.h | 2 ++ 252 files changed, 501 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 68231433..e8caedf0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,3 +1,5 @@ +# SPDX-License-Identifier: GPL-3.0-or-later + cmake_minimum_required(VERSION 3.16) project(FreeKill VERSION 0.0.7) diff --git a/android/AndroidManifest.xml b/android/AndroidManifest.xml index 2410e9c2..0efad464 100644 --- a/android/AndroidManifest.xml +++ b/android/AndroidManifest.xml @@ -1,4 +1,5 @@ +