整理代码,部分全局变量声明移入Zframework中

This commit is contained in:
MrZ626
2021-04-28 13:51:56 +08:00
parent 28576c2c9a
commit fcae6c61e4
6 changed files with 10 additions and 9 deletions

View File

@@ -15,7 +15,6 @@
--Declaration
goto REM love=require"love"::REM::--Just tell IDE to load love-api, no actual usage
local fs=love.filesystem
NONE={}function NULL()end
DBP=print--Use this in temporary code, easy to find and remove
TIME=love.timer.getTime
YIELD=coroutine.yield
@@ -24,10 +23,7 @@ MOBILE=SYSTEM=="Android"or SYSTEM=="iOS"
SAVEDIR=fs.getSaveDirectory()
--Global Vars & Settings
LOADED=false
DAILYLAUNCH=false
EDITING=""
ERRDATA={}
--System setting
math.randomseed(os.time()*626)