equal
deleted
inserted
replaced
171 |
171 |
172 local fastX = {} |
172 local fastX = {} |
173 local fastY = {} |
173 local fastY = {} |
174 local fastCount = 0 |
174 local fastCount = 0 |
175 local fastIndex = 0 |
175 local fastIndex = 0 |
176 local fastColour |
176 local fastColour = 0x0a0a0a |
177 |
177 |
178 local currX = {} |
178 local currX = {} |
179 local currY = {} |
179 local currY = {} |
180 local currCount = 0 |
180 local currCount = 0 |
181 |
181 |
723 end |
723 end |
724 |
724 |
725 end |
725 end |
726 |
726 |
727 function onSpecialPoint(x,y,flag) |
727 function onSpecialPoint(x,y,flag) |
728 addHashData(x) |
728 if flag == 99 then |
729 addHashData(y) |
729 fastX[fastCount] = x |
730 addHashData(flag) |
730 fastY[fastCount] = y |
731 specialPointsX[specialPointsCount] = x |
731 fastCount = fastCount + 1 |
732 specialPointsY[specialPointsCount] = y |
732 else |
733 specialPointsFlag[specialPointsCount] = flag |
733 addHashData(x) |
734 specialPointsCount = specialPointsCount + 1 |
734 addHashData(y) |
|
735 addHashData(flag) |
|
736 specialPointsX[specialPointsCount] = x |
|
737 specialPointsY[specialPointsCount] = y |
|
738 specialPointsFlag[specialPointsCount] = flag |
|
739 specialPointsCount = specialPointsCount + 1 |
|
740 end |
735 end |
741 end |
736 |
742 |
737 function InterpretPoints() |
743 function InterpretPoints() |
738 |
744 |
739 -- flags run from 0 to 127 |
745 -- flags run from 0 to 127 |
1247 usedWeapons[at] = 0 |
1253 usedWeapons[at] = 0 |
1248 end |
1254 end |
1249 |
1255 |
1250 function onAchievementsDeclaration() |
1256 function onAchievementsDeclaration() |
1251 usedWeapons[amSkip] = nil |
1257 usedWeapons[amSkip] = nil |
|
1258 usedWeapons[amExtraTime] = nil |
1252 |
1259 |
1253 usedRope = usedWeapons[amRope] ~= nil |
1260 usedRope = usedWeapons[amRope] ~= nil |
1254 usedPortal = usedWeapons[amPortalGun] ~= nil |
1261 usedPortal = usedWeapons[amPortalGun] ~= nil |
1255 usedSaucer = usedWeapons[amJetpack] ~= nil |
1262 usedSaucer = usedWeapons[amJetpack] ~= nil |
1256 |
1263 |