移除两个无尽模式的评级要求,改为沙盒关卡;自定义模式不再显示在地图上(虽然之前也看不见)
This commit is contained in:
@@ -102,6 +102,6 @@ return{
|
||||
{name="infinite", x=-800, y=-400, size=35,shape=1,icon="infinite"},
|
||||
{name="infinite_dig", x=-1000, y=-600, size=35,shape=1,icon="infinite"},
|
||||
|
||||
{name="custom_puzzle", x=0, y=2600, size=45,shape=1,icon="none"},
|
||||
{name="custom_clear", x=0, y=2600, size=45,shape=1,icon="none"},
|
||||
{name="custom_puzzle"},
|
||||
{name="custom_clear"},
|
||||
}
|
||||
@@ -1264,7 +1264,7 @@ local function gameOver()--Save record
|
||||
local m=M.unlock[i]
|
||||
local n=MODES[m].name
|
||||
if not RANKS[n]then
|
||||
RANKS[n]=MODES[m].score and 0 or 6
|
||||
RANKS[n]=MODES[m].getRank and 0 or 6
|
||||
needSave=true
|
||||
end
|
||||
end
|
||||
|
||||
@@ -38,7 +38,7 @@ local function onMode(x,y)
|
||||
x=(cam.x1-640+x)/cam.k1
|
||||
y=(cam.y1-360+y)/cam.k1
|
||||
for name,M in next,MODES do
|
||||
if RANKS[name]then
|
||||
if RANKS[name]and M.x then
|
||||
local s=M.size
|
||||
if M.shape==1 then
|
||||
if x>M.x-s and x<M.x+s and y>M.y-s and y<M.y+s then return name end
|
||||
@@ -163,7 +163,7 @@ function Tmr.mode()
|
||||
end
|
||||
local x1,y1=(cam.x1-180)/cam.k1,cam.y1/cam.k1
|
||||
for name,M in next,MODES do
|
||||
if RANKS[name]then
|
||||
if RANKS[name]and M.x then
|
||||
local SEL
|
||||
local s=M.size
|
||||
if M.shape==1 then
|
||||
@@ -225,7 +225,7 @@ function Pnt.mode()
|
||||
gc.setLineWidth(8)
|
||||
gc.setColor(1,1,1,.2)
|
||||
for name,M in next,MODES do
|
||||
if R[name]and M.unlock then
|
||||
if R[name]and M.unlock and M.x then
|
||||
for _=1,#M.unlock do
|
||||
local m=MODES[M.unlock[_]]
|
||||
gc.line(M.x,M.y,m.x,m.y)
|
||||
|
||||
Reference in New Issue
Block a user