using drawTextBox for room editing
This commit is contained in:
parent
222f4478ca
commit
f7947af505
@ -205,11 +205,11 @@ function doEditorEdit()
|
|||||||
editor.room_points = {}
|
editor.room_points = {}
|
||||||
end
|
end
|
||||||
if editor.room_mode == "delete" then
|
if editor.room_mode == "delete" then
|
||||||
love.graphics.print("Select room to delete", 0, 20)
|
drawTextBox("Select room to delete", 0, 20)
|
||||||
elseif #editor.room_points == 0 then
|
elseif #editor.room_points == 0 then
|
||||||
love.graphics.print("Select top left of new room", 0, 20)
|
drawTextBox("Select top left of new room", 0, 20)
|
||||||
else
|
else
|
||||||
love.graphics.print("Select bottom right of new room", 0, 20)
|
drawTextBox("Select bottom right of new room", 0, 20)
|
||||||
end
|
end
|
||||||
elseif not editor.palette_mode then
|
elseif not editor.palette_mode then
|
||||||
if LevelTiles[vertical] ~= nil
|
if LevelTiles[vertical] ~= nil
|
||||||
|
Loading…
Reference in New Issue
Block a user