Compare commits
5 Commits
pre0.17.1-
...
pre0.17.1-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a0596acfde | ||
|
|
6954ed06a6 | ||
|
|
00919c1067 | ||
|
|
ceb77e46c3 | ||
|
|
ae15281db0 |
3
.github/actions/automatic-test/action.yml
vendored
3
.github/actions/automatic-test/action.yml
vendored
@@ -4,7 +4,6 @@ description: 'Check for obvious errors.'
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ./.github/actions/build-love
|
||||
with:
|
||||
file-path: Techmino.love
|
||||
@@ -21,4 +20,4 @@ runs:
|
||||
uses: GabrielBB/xvfb-action@v1
|
||||
with:
|
||||
run: |
|
||||
./dest/love Techmino.love --test
|
||||
./dest/love Techmino.love --test
|
||||
|
||||
16
.github/workflows/dev.yml
vendored
16
.github/workflows/dev.yml
vendored
@@ -31,6 +31,8 @@ jobs:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: ./.github/actions/automatic-test
|
||||
|
||||
build-windows:
|
||||
@@ -38,6 +40,8 @@ jobs:
|
||||
needs: get-info
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: ./.github/actions/update-version
|
||||
with:
|
||||
commit: ${{ needs.get-info.outputs.commit }}
|
||||
@@ -60,6 +64,8 @@ jobs:
|
||||
needs: get-info
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: ./.github/actions/update-version
|
||||
with:
|
||||
commit: ${{ needs.get-info.outputs.commit }}
|
||||
@@ -78,6 +84,8 @@ jobs:
|
||||
needs: get-info
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: ./.github/actions/update-version
|
||||
with:
|
||||
commit: ${{ needs.get-info.outputs.commit }}
|
||||
@@ -103,6 +111,8 @@ jobs:
|
||||
needs: get-info
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: ./.github/actions/update-version
|
||||
with:
|
||||
commit: ${{ needs.get-info.outputs.commit }}
|
||||
@@ -131,6 +141,8 @@ jobs:
|
||||
needs: get-info
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: ./.github/actions/update-version
|
||||
with:
|
||||
commit: ${{ needs.get-info.outputs.commit }}
|
||||
@@ -159,6 +171,8 @@ jobs:
|
||||
needs: get-info
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: ./.github/actions/update-version
|
||||
with:
|
||||
commit: ${{ needs.get-info.outputs.commit }}
|
||||
@@ -192,6 +206,8 @@ jobs:
|
||||
needs: get-info
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: ./.github/actions/update-version
|
||||
- uses: ./.github/actions/build-love
|
||||
with:
|
||||
|
||||
12
.github/workflows/release.yml
vendored
12
.github/workflows/release.yml
vendored
@@ -41,6 +41,8 @@ jobs:
|
||||
needs: get-info
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: ./.github/actions/update-version
|
||||
- uses: ./.github/actions/build-windows
|
||||
with:
|
||||
@@ -62,6 +64,8 @@ jobs:
|
||||
needs: get-info
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: ./.github/actions/update-version
|
||||
- uses: ./.github/actions/build-windows
|
||||
with:
|
||||
@@ -83,6 +87,8 @@ jobs:
|
||||
needs: get-info
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: ./.github/actions/update-version
|
||||
- uses: ./.github/actions/build-linux
|
||||
with:
|
||||
@@ -99,6 +105,8 @@ jobs:
|
||||
needs: get-info
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: ./.github/actions/update-version
|
||||
- uses: ./.github/actions/build-android
|
||||
with:
|
||||
@@ -121,6 +129,8 @@ jobs:
|
||||
needs: get-info
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: ./.github/actions/update-version
|
||||
- uses: ./.github/actions/build-macos
|
||||
with:
|
||||
@@ -148,6 +158,8 @@ jobs:
|
||||
needs: get-info
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: ./.github/actions/update-version
|
||||
- uses: ./.github/actions/build-ios
|
||||
with:
|
||||
|
||||
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
@@ -33,6 +33,8 @@ jobs:
|
||||
needs: get-info
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: ./.github/actions/update-version
|
||||
with:
|
||||
commit: ${{ needs.get-info.outputs.commit }}
|
||||
@@ -55,6 +57,8 @@ jobs:
|
||||
needs: get-info
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: ./.github/actions/update-version
|
||||
with:
|
||||
commit: ${{ needs.get-info.outputs.commit }}
|
||||
@@ -73,6 +77,8 @@ jobs:
|
||||
needs: get-info
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: ./.github/actions/update-version
|
||||
with:
|
||||
commit: ${{ needs.get-info.outputs.commit }}
|
||||
@@ -98,6 +104,8 @@ jobs:
|
||||
needs: get-info
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: ./.github/actions/update-version
|
||||
with:
|
||||
commit: ${{ needs.get-info.outputs.commit }}
|
||||
@@ -125,6 +133,8 @@ jobs:
|
||||
needs: get-info
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
submodules: 'recursive'
|
||||
- uses: ./.github/actions/update-version
|
||||
with:
|
||||
commit: ${{ needs.get-info.outputs.commit }}
|
||||
|
||||
@@ -58,6 +58,8 @@ function bot_cc:thread()
|
||||
local m=rem(move,1)
|
||||
if m<4 then
|
||||
ins(keys,m+1)
|
||||
elseif m==5 then
|
||||
ins(keys, 5)
|
||||
elseif not self.data._20G then
|
||||
ins(keys,13)
|
||||
end
|
||||
|
||||
@@ -83,7 +83,7 @@ end
|
||||
function BOT.new(P,data)
|
||||
local bot={P=P,data=data}
|
||||
if data.type=="CC"then
|
||||
P:setRS('SRS')
|
||||
P:setRS('TRS')
|
||||
bot.keys={}
|
||||
bot.bufferedNexts={}
|
||||
bot.delay=data.delay
|
||||
|
||||
@@ -119,6 +119,18 @@ do--function applySettings()
|
||||
color={-.2,1.2},
|
||||
}
|
||||
function applySettings()
|
||||
--Apply language
|
||||
text=LANG.get(SETTING.locale)
|
||||
WIDGET.setLang(text.WidgetText)
|
||||
for k,v in next,TEXTOBJ do
|
||||
if rawget(text,k)then
|
||||
v:set(text[k])
|
||||
end
|
||||
end
|
||||
|
||||
--Apply cursor
|
||||
love.mouse.setVisible(SETTING.sysCursor)
|
||||
|
||||
--Apply fullscreen
|
||||
love.window.setFullscreen(SETTING.fullscreen)
|
||||
love.resize(gc.getWidth(),gc.getHeight())
|
||||
@@ -147,18 +159,6 @@ do--function applySettings()
|
||||
SHADER.fieldSatur:send('b',m[1])
|
||||
SHADER.fieldSatur:send('k',m[2])
|
||||
|
||||
--Apply language
|
||||
text=LANG.get(SETTING.locale)
|
||||
WIDGET.setLang(text.WidgetText)
|
||||
for k,v in next,TEXTOBJ do
|
||||
if rawget(text,k)then
|
||||
v:set(text[k])
|
||||
end
|
||||
end
|
||||
|
||||
--Apply cursor
|
||||
love.mouse.setVisible(SETTING.sysCursor)
|
||||
|
||||
--Apply BG
|
||||
if SETTING.bg=='on'then
|
||||
BG.unlock()
|
||||
|
||||
@@ -124,7 +124,7 @@ local commands={}do
|
||||
tree(path..name.."/",subName,depth+1)
|
||||
end
|
||||
else
|
||||
log("Unkown item type: %s (%s)"):format(name,info.type)
|
||||
log("Unknown item type: %s (%s)"):format(name,info.type)
|
||||
end
|
||||
end
|
||||
commands.tree={
|
||||
@@ -181,7 +181,7 @@ local commands={}do
|
||||
elseif info.type=='directory'then
|
||||
recursiveDelDir(path)
|
||||
else
|
||||
log("Unkown item type: %s (%s)"):format(name,info.type)
|
||||
log("Unknown item type: %s (%s)"):format(name,info.type)
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -207,7 +207,7 @@ local commands={}do
|
||||
elseif info.type=='directory'then
|
||||
(recursive and recursiveDelDir or delDir)(name)
|
||||
else
|
||||
log("Unkown item type: %s (%s)"):format(name,info.type)
|
||||
log("Unknown item type: %s (%s)"):format(name,info.type)
|
||||
end
|
||||
else
|
||||
log{C.R,("No file called '%s'"):format(name)}
|
||||
@@ -745,7 +745,7 @@ local commands={}do
|
||||
elseif code=="7126"then
|
||||
sumode=true
|
||||
log{C.Y,"* SU MODE ON - DO NOT RUN ANY CODES IF YOU DO NOT KNOW WHAT THEY DO *"}
|
||||
log{C.Y,"* Use function _SCLOG(message) to print message here *"}
|
||||
log{C.Y,"* Use the _SCLOG(message) function to print into this console *"}
|
||||
log{C.Y,"* 最高权限模式开启, 请不要执行任何自己不懂确切含义的代码 *"}
|
||||
log{C.Y,"* 使用_SCLOG(信息)函数在控制台打印信息 *"}
|
||||
else
|
||||
@@ -1122,7 +1122,7 @@ function scene.keyDown(key)
|
||||
end
|
||||
|
||||
if #res>1 then
|
||||
log(">Commands start with '"..str.."' :")
|
||||
log(">Commands that start with '"..str.."' :")
|
||||
table.sort(res)
|
||||
for i=1,#res do log{COLOR.lH,res[i]}end
|
||||
elseif #res==1 then
|
||||
|
||||
@@ -27,8 +27,7 @@ function scene.sceneInit()
|
||||
scrollX=tipLength
|
||||
|
||||
--Set quick-play-button text
|
||||
local qpModeName=text.modes[STAT.lastPlay]and text.modes[STAT.lastPlay][1]or"["..STAT.lastPlay.."]"
|
||||
scene.widgetList[2]:setObject(text.WidgetText.main.qplay..": "..qpModeName)
|
||||
scene.resize()
|
||||
|
||||
--Create demo player
|
||||
destroyPlayers()
|
||||
@@ -38,6 +37,11 @@ function scene.sceneInit()
|
||||
PLAYERS[1]:setPosition(520,140,.8)
|
||||
end
|
||||
|
||||
function scene.resize()
|
||||
local qpModeName=text.modes[STAT.lastPlay]and text.modes[STAT.lastPlay][1]or"["..STAT.lastPlay.."]"
|
||||
scene.widgetList[2]:setObject(text.WidgetText.main.qplay..": "..qpModeName)
|
||||
end
|
||||
|
||||
function scene.mouseDown(x,y)
|
||||
if x>=400 and x<=880 and y>=10 and y<=110 then
|
||||
enterConsole()
|
||||
|
||||
@@ -47,6 +47,7 @@ return[=[
|
||||
修复:
|
||||
BGM模块资源管理问题导致的一些音频bug #557
|
||||
自定义场地界面按超过第三个的鼠标键会报错
|
||||
主菜单开关全屏会让快速开始按钮文本错误 #566
|
||||
经典模式h和u难度没有干旱计数器 #546
|
||||
自定义场地16号色的方块名位置显示错误
|
||||
联网对战结算的l'pm公式错写成lpm的
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
return{
|
||||
["apkCode"]=425,
|
||||
["apkCode"]=426,
|
||||
["code"]=1701,
|
||||
["string"]="V0.17.1",
|
||||
["room"]="ver A-3",
|
||||
|
||||
Reference in New Issue
Block a user