mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2025-12-23 04:22:50 +01:00
1233
This commit is contained in:
parent
389e0770d0
commit
bc04616e8e
@ -285,3 +285,5 @@ end
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -300,4 +300,10 @@ function floppyBlock()
|
|||||||
return 0
|
return 0
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
floppyBlock()
|
floppyBlock()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -465,7 +465,7 @@ function buffer.draw(force)
|
|||||||
--Если хоть что-то изменилось, то начинаем работу
|
--Если хоть что-то изменилось, то начинаем работу
|
||||||
if somethingIsChanged or force then
|
if somethingIsChanged or force then
|
||||||
|
|
||||||
gpu.setBackground(buffer.screen.current[index]])
|
gpu.setBackground(buffer.screen.current[index]])
|
||||||
gpu.setForeground(buffer.screen.current[indexPlus1])
|
gpu.setForeground(buffer.screen.current[indexPlus1])
|
||||||
gpu.set(x, y, buffer.screen.current[indexPlus2])
|
gpu.set(x, y, buffer.screen.current[indexPlus2])
|
||||||
|
|
||||||
@ -501,7 +501,7 @@ function buffer.draw(force)
|
|||||||
-- table.insert(buffer.screen.changes[buffer.screen.current[indexPlus1]][buffer.screen.current[index]], table.concat(massiv))
|
-- table.insert(buffer.screen.changes[buffer.screen.current[indexPlus1]][buffer.screen.current[index]], table.concat(massiv))
|
||||||
|
|
||||||
--Смещаемся по иксу вправо
|
--Смещаемся по иксу вправо
|
||||||
x = x + #massiv - 1
|
-- x = x + #massiv - 1
|
||||||
end
|
end
|
||||||
|
|
||||||
x = x + 1
|
x = x + 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user