mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-06 19:22:40 +01:00
aefaef
This commit is contained in:
parent
cfcd209dc1
commit
eff534136b
@ -582,12 +582,16 @@ end
|
||||
|
||||
------------------------------------------------ Старт программы --------------------------------------------------------------
|
||||
|
||||
--Создаем пустой мастерпиксельс
|
||||
--createEmptyMasterPixels()
|
||||
local args = {...}
|
||||
|
||||
--Рисуем весь интерфейс
|
||||
drawAll()
|
||||
new()
|
||||
|
||||
if args[1] == "o" or args[1] == "open" or args[1] == "-o" or args[1] == "load" then
|
||||
masterPixels = image.load(args[2])
|
||||
else
|
||||
new()
|
||||
end
|
||||
|
||||
while true do
|
||||
local e = {event.pull()}
|
||||
@ -738,7 +742,7 @@ while true do
|
||||
else
|
||||
masterPixels = image.load(data[1])
|
||||
reCalculateImageSizes()
|
||||
drawImage()
|
||||
drawBackgroundAndImage()
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user