修正上一个提交的小问题

This commit is contained in:
MrZ_26
2022-12-16 21:16:58 +08:00
parent eb1e7fd15a
commit e521f0fea0
3 changed files with 48 additions and 48 deletions

View File

@@ -1,51 +1,48 @@
SYSTEM=love._os if SYSTEM=='OS X' then SYSTEM='macOS' end
MOBILE=SYSTEM=='Android' or SYSTEM=='iOS'
FNNS=SYSTEM:find'\79\83'-- What does FNSF stand for? IDK so don't ask me lol
function love.conf(t) function love.conf(t)
for k, v in pairs(love) do print(k, v) end t.identity='Techmino' -- Saving folder
print('\n\n\n') t.version="11.4"
t.gammacorrect=false
SYSTEM=love._os if SYSTEM=='OS X' then SYSTEM='macOS' end t.appendidentity=true -- Search files in source then in save directory
MOBILE=SYSTEM == 'Android' or SYSTEM == 'iOS' t.accelerometerjoystick=false -- Accelerometer=joystick on ios/android
FNNS=SYSTEM:find'\79\83'-- What does FNSF stand for? IDK so don't ask me lol
t.identity = 'Techmino' -- Saving folder
t.version = "11.4"
t.gammacorrect = false
t.appendidentity = true -- Search files in source then in save directory
t.accelerometerjoystick = false -- Accelerometer=joystick on ios/android
if t.audio then if t.audio then
t.audio.mic = false t.audio.mic=false
t.audio.mixwithsystem = true t.audio.mixwithsystem=true
end end
local W = t.window local W=t.window
W.title = "Techmino " .. require "version".string W.title="Techmino "..require "version".string
W.width, W.height = 1280, 720 W.width,W.height=1280,720
W.minwidth, W.minheight = 640, 360 W.minwidth,W.minheight=640,360
W.vsync = 0 -- Unlimited FPS W.vsync=0 -- Unlimited FPS
W.msaa = 16 -- Multi-sampled antialiasing W.msaa=0 -- Multi-sampled antialiasing
W.depth = 0 -- Bits/samp of depth buffer W.depth=0 -- Bits/samp of depth buffer
W.stencil = 1 -- Bits/samp of stencil buffer W.stencil=1 -- Bits/samp of stencil buffer
W.display = 1 -- Monitor ID W.display=1 -- Monitor ID
W.highdpi = true -- High-dpi mode for the window on a Retina display W.highdpi=true -- High-dpi mode for the window on a Retina display
W.x, W.y = nil, nil -- Position of the window W.x,W.y=nil,nil -- Position of the window
if love.filesystem.getInfo('media/image/icon.png') then if love.filesystem.getInfo('media/image/icon.png') then
W.icon = 'media/image/icon.png' W.icon='media/image/icon.png'
end end
if MOBILE then if MOBILE then
W.borderless = true W.borderless=true
W.resizable = false W.resizable=false
W.fullscreen = true W.fullscreen=true
else else
W.borderless = false W.borderless=false
W.resizable = true W.resizable=true
W.fullscreen = false W.fullscreen=false
end end
local M = t.modules local M=t.modules
M.window, M.system, M.event, M.thread = true, true, true, true M.window,M.system,M.event,M.thread=true,true,true,true
M.timer, M.math, M.data = true, true, true M.timer,M.math,M.data=true,true,true
M.video, M.audio, M.sound = true, true, true M.video,M.audio,M.sound=true,true,true
M.graphics, M.font, M.image = true, true, true M.graphics,M.font,M.image=true,true,true
M.mouse, M.touch, M.keyboard, M.joystick = true, true, true, true M.mouse,M.touch,M.keyboard,M.joystick=true,true,true,true
M.physics = false M.physics=false
end end

View File

@@ -81,7 +81,7 @@ scene.widgetList={
WIDGET.newSwitch{name='clickFX', x=950,y=980,lim=360,disp=SETval('clickFX'), code=function() SETTING.clickFX=not SETTING.clickFX applySettings() end}, WIDGET.newSwitch{name='clickFX', x=950,y=980,lim=360,disp=SETval('clickFX'), code=function() SETTING.clickFX=not SETTING.clickFX applySettings() end},
WIDGET.newSwitch{name='power', x=950,y=1070,lim=360,disp=SETval('powerInfo'), code=function() SETTING.powerInfo=not SETTING.powerInfo applySettings() end}, WIDGET.newSwitch{name='power', x=950,y=1070,lim=360,disp=SETval('powerInfo'), code=function() SETTING.powerInfo=not SETTING.powerInfo applySettings() end},
WIDGET.newSwitch{name='clean', x=950,y=1160,lim=360,disp=SETval('cleanCanvas'), code=function() SETTING.cleanCanvas=not SETTING.cleanCanvas applySettings() end}, WIDGET.newSwitch{name='clean', x=950,y=1160,lim=360,disp=SETval('cleanCanvas'), code=function() SETTING.cleanCanvas=not SETTING.cleanCanvas applySettings() end},
WIDGET.newSwitch{name='fullscreen', x=950,y=1250,lim=360,disp=SETval('fullscreen'),hideF=function() return MOBILE end,code=function() SETTING.fullscreen=not SETTING.fullscreen applySettings() end}, WIDGET.newSwitch{name='fullscreen', x=950,y=1250,lim=360,disp=SETval('fullscreen'), code=function() SETTING.fullscreen=not SETTING.fullscreen applySettings() end,hideF=function() return MOBILE end},
WIDGET.newKey{name='bg_on', x=680,y=1340,w=200,h=80,code=function() SETTING.bg='on'applySettings() end}, WIDGET.newKey{name='bg_on', x=680,y=1340,w=200,h=80,code=function() SETTING.bg='on'applySettings() end},
WIDGET.newKey{name='bg_off', x=900,y=1340,w=200,h=80,code=function() SETTING.bg='off'applySettings() end}, WIDGET.newKey{name='bg_off', x=900,y=1340,w=200,h=80,code=function() SETTING.bg='off'applySettings() end},

View File

@@ -3,9 +3,12 @@ return[=[
正在点亮科技树... 正在点亮科技树...
0.17.10: 暂停 Break 0.17.10: 暂停 Break
新增: 改动:
不允许移动端退出全屏模式 添加抗锯齿和横竖屏的设置选项
抗锯齿和垂直同步设置选项 丢失的文本会显示为内部名称而不是神秘符号
修复:
调整galaxy和quarks背景的粒子颜色减少对游戏画面的影响
添加N64和N64_plus旋转系统修复None和None_plus搞反 #805
0.17.9: 暂停 Break 0.17.9: 暂停 Break
修复: 修复: