mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 03:32:34 +08:00
parent
b0c2855389
commit
9a951fdbfe
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
project(FreeKill VERSION 0.0.7)
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
<?xml version="1.0"?>
|
||||
<!-- SPDX-License-Identifier: GPL-3.0-or-later !-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="org.notify.FreeKill"
|
||||
android:installLocation="preferExternal"
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/bin/sh
|
||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
rm -rf res/mipmap assets
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
<!-- SPDX-License-Identifier: GPL-3.0-or-later !-->
|
||||
<resources>
|
||||
<style name="FkTheme" parent="@android:style/Theme.NoTitleBar.Fullscreen">
|
||||
<item name="android:windowEnableSplitTouch">false</item>
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
package org.notify.FreeKill;
|
||||
|
||||
import android.app.Activity;
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
Client
|
||||
============
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
Core
|
||||
========
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
Card
|
||||
==============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
Engine
|
||||
==============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
GameMode
|
||||
==============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
General
|
||||
==============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
Package
|
||||
==============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
Player
|
||||
==============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
Skill
|
||||
==============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
API文档
|
||||
============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
Server
|
||||
============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
Room
|
||||
=============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
FreeKill 的 AI 系统
|
||||
===================
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
编译 FreeKill
|
||||
=============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
FreeKill 的数据库
|
||||
=================
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
Fk的游戏事件
|
||||
============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
游戏逻辑
|
||||
========
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
Dev文档
|
||||
============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
FreeKill 的包管理策略
|
||||
=====================
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
FreeKill 的通信
|
||||
===============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
关于扩展FreeKill玩法的思考
|
||||
==========================
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
TODO list
|
||||
=========
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
FreeKill 的UI
|
||||
=============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
Fk DIY - 环境搭建
|
||||
=================
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
fk技能类型总览
|
||||
==============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
fk中的游戏事件
|
||||
==============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
创建武将并添加技能
|
||||
==================
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
创建新技能
|
||||
==========
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
技能解析:触发技
|
||||
======================
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
技能解析:主动技
|
||||
================
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
与游戏流程有关的事件
|
||||
====================
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
与体力值相关的事件
|
||||
==================
|
||||
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
杂项事件
|
||||
=============
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
移动牌相关的事件
|
||||
=====================
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
使用牌相关的事件
|
||||
====================
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
Diy文档
|
||||
===============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
添加更多的动作语句
|
||||
==================
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
编译fkparse
|
||||
===========
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
fkparse的运行原理
|
||||
=================
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
FKP开发者指南
|
||||
=============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
所有的动作语句
|
||||
==============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
所有触发时机
|
||||
============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
所有的预定义函数
|
||||
================
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
所有词法单元
|
||||
============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
类型可以获取的属性
|
||||
==================
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
所有的预定义变量
|
||||
================
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
关键词中英文对照
|
||||
================
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
FKP参考手册
|
||||
===========
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
主动技能
|
||||
========
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
基本语法
|
||||
========
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
创建武将
|
||||
========
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
创建技能
|
||||
========
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
表达式和语句
|
||||
============
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
函数定义和调用,以及数组
|
||||
========================
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
开始使用
|
||||
========
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
FKP用户指南
|
||||
===========
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
fkparse简介
|
||||
===========
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
状态技
|
||||
======
|
||||
|
||||
|
|
|
@ -1 +1,3 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
视为技能
|
||||
========
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
.. FreeKill documentation master file, created by
|
||||
sphinx-quickstart on Sun Mar 26 02:58:53 2023.
|
||||
You can adapt this file completely to your liking, but it should at least
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
TEX_FILE=manual.tex
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
下载FK
|
||||
========
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
游玩FK
|
||||
========
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
联机游玩FK
|
||||
===========
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
拓展包管理
|
||||
===========
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
.. SPDX-License-Identifier: GFDL-1.3-or-later
|
||||
|
||||
入门FK
|
||||
========
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---@class Client
|
||||
---@field public client fk.Client
|
||||
---@field public players ClientPlayer[]
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
-- All functions in this file are used by Qml
|
||||
|
||||
function Translate(src)
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---@class ClientPlayer: Player
|
||||
---@field public player fk.Player
|
||||
---@field public known_cards integer[]
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
Fk:loadTranslationTable({
|
||||
-- Lobby
|
||||
-- ["Room List"] = "房间列表",
|
||||
|
|
|
@ -1,2 +1,4 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
dofile "lua/client/i18n/zh_CN.lua"
|
||||
dofile "lua/client/i18n/en_US.lua"
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
Fk:loadTranslationTable{
|
||||
-- Lobby
|
||||
["Room List"] = "房间列表",
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
--- Card记录了FreeKill所有卡牌的基础信息。
|
||||
---
|
||||
--- 它包含了ID、所属包、牌名、花色、点数等等
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---@class BasicCard : Card
|
||||
local BasicCard = Card:subclass("BasicCard")
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---@class EquipCard : Card
|
||||
---@field public equip_skill Skill
|
||||
local EquipCard = Card:subclass("EquipCard")
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---@class TrickCard : Card
|
||||
local TrickCard = Card:subclass("TrickCard")
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---@diagnostic disable: lowercase-global
|
||||
inspect = require "inspect"
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
--- Engine是整个FreeKill赖以运行的核心。
|
||||
---
|
||||
--- 它包含了FreeKill涉及的所有武将、卡牌、游戏模式等等
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
--[[
|
||||
|
||||
Exppattern is a string that describes cards of a same 'type', e.g. name,
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---@class GameMode: Object
|
||||
---@field public name string
|
||||
---@field public minPlayer integer
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---@class General : Object
|
||||
---@field public package Package
|
||||
---@field public name string
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
--- Package用来描述一个FreeKill拓展包。
|
||||
---
|
||||
--- 所谓拓展包,就是武将/卡牌/游戏模式的一个集合而已。
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
--- 玩家分为客户端要处理的玩家,以及服务端处理的玩家两种。
|
||||
---
|
||||
--- 客户端能知道的玩家的信息十分有限,而服务端知道一名玩家的所有细节。
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---@class Skill : Object
|
||||
---@field public name string
|
||||
---@field public trueName string
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---@class ActiveSkill : UsableSkill
|
||||
---@field public min_target_num integer
|
||||
---@field public max_target_num integer
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---@class AttackRangeSkill : StatusSkill
|
||||
local AttackRangeSkill = StatusSkill:subclass("AttackRangeSkill")
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---@class DistanceSkill : StatusSkill
|
||||
local DistanceSkill = StatusSkill:subclass("DistanceSkill")
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---@class FilterSkill: StatusSkill
|
||||
local FilterSkill = StatusSkill:subclass("FilterSkill")
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---@class InvaliditySkill : StatusSkill
|
||||
local InvaliditySkill = StatusSkill:subclass("InvaliditySkill")
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---@class MaxCardsSkill : StatusSkill
|
||||
local MaxCardsSkill = StatusSkill:subclass("MaxCardsSkill")
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---@class ProhibitSkill : StatusSkill
|
||||
local ProhibitSkill = StatusSkill:subclass("ProhibitSkill")
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---@class StatusSkill : Skill
|
||||
---@field public global boolean
|
||||
local StatusSkill = Skill:subclass("StatusSkill")
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---@class TargetModSkill : StatusSkill
|
||||
local TargetModSkill = StatusSkill:subclass("TargetModSkill")
|
||||
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
-- SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
---@class TriggerSkill : UsableSkill
|
||||
---@field public global boolean
|
||||
---@field public events Event[]
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user