diff --git a/Zframework/init.lua b/Zframework/init.lua index f0396f92..7234db52 100644 --- a/Zframework/init.lua +++ b/Zframework/init.lua @@ -177,9 +177,6 @@ function love.keypressed(i) LOG.print("luaVer:".._VERSION) LOG.print("jitVer:"..jit.version) LOG.print("jitVerNum:"..jit.version_num) - local r=rnd()<.5 - love._setGammaCorrect(r) - LOG.print("GammaCorrect: "..(r and"on"or"off"),"warn") elseif i=="f3"then for _=1,8 do local P=PLAYERS.alive[rnd(#PLAYERS.alive)] diff --git a/parts/scenes/calculator.lua b/parts/scenes/calculator.lua index a4310c23..c8400b6c 100644 --- a/parts/scenes/calculator.lua +++ b/parts/scenes/calculator.lua @@ -89,6 +89,12 @@ function scene.keyDown(k) SFX.play("clear_2") elseif v%1==0 and v>=8001 and v<=8012 then love.keypressed("f"..(v-8000)) + elseif v==123456 then + gc.setWireframe(not gc.isWireframe()) + LOG.print("Wireframe: "..(gc.isWireframe()and"on"or"off"),"warn") + elseif v==654321 then + love._setGammaCorrect(not gc.isGammaCorrect()) + LOG.print("GammaCorrect: "..(gc.isGammaCorrect()and"on"or"off"),"warn") elseif v==670 then LOG.print("Screen Info:") LOG.print("x y: "..SCR.x.." "..SCR.y)