mirror of
https://github.com/Qsgs-Fans/FreeKill.git
synced 2024-11-16 11:42:45 +08:00
a02410c282
* splash screen when app is loading * doRaceRequest * prepare to add fkparse feature * player mark operation * dont call lua in regular room * dont call lua in lobby * clean up * idle_room in Cpp's class Server * fix many small bugs * Security enhancement (#27) * use RSA encryption when sending password * update fkp's url so other can clone it * add salt to password * save password * fix default config bug * fix room reuse bug * disable empty usr name * how to compile (#28) * add some doc * how to compile * update readme * Actions (#29) * judge(not tested) * logic of chat * sendlog at most scenario * adjust ui, add shortcuts * ui, z axis of cardArea * create server cli, improve logging * basic shell using * use gnu readline instead * use static QRegularExp * fix android build * fix automoc problem * MD5 check * md5 check bugfix * cardEffectEvent (#30) * cardEffectEvent * add TODOs * thinking Co-authored-by: Ho-spair <62695577+Ho-spair@users.noreply.github.com>
29 lines
650 B
Lua
29 lines
650 B
Lua
-- Fundemental script for FreeKill
|
|
-- Load mods, init the engine, etc.
|
|
|
|
package.path = package.path .. ";./lua/lib/?.lua"
|
|
.. ";./lua/?.lua"
|
|
|
|
-- load libraries
|
|
|
|
class = require "middleclass"
|
|
json = require "json"
|
|
|
|
local GroupUtils = require "core.util"
|
|
TargetGroup, AimGroup = table.unpack(GroupUtils)
|
|
dofile "lua/core/debug.lua"
|
|
|
|
math.randomseed(os.time())
|
|
|
|
-- load core classes
|
|
Engine = require "core.engine"
|
|
Package = require "core.package"
|
|
General = require "core.general"
|
|
Card = require "core.card"
|
|
Skill = require "core.skill"
|
|
Player = require "core.player"
|
|
|
|
-- load packages
|
|
dofile "lua/fk_ex.lua"
|
|
Fk = Engine:new()
|