mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
Added extras menu, stubbed map editor, made asset viewer and map editor accessible from extras menu
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
require_relative "lib/main_menu"
|
||||
require_relative "lib/turn_table"
|
||||
|
||||
class AssetViewerWindow < IMICFPS::Window
|
||||
def initialize(*args)
|
||||
super(*args)
|
||||
|
||||
push_state(IMICFPS::AssetViewerTool::MainMenu)
|
||||
end
|
||||
end
|
||||
|
||||
AssetViewerWindow.new.show
|
||||
@@ -18,6 +18,10 @@ class IMICFPS
|
||||
|
||||
@manifests.sort_by! { |m| m.name.downcase }
|
||||
|
||||
button "Back", margin_bottom: 25 do
|
||||
pop_state
|
||||
end
|
||||
|
||||
flow(margin: 10) do
|
||||
@manifests.each do |manifest|
|
||||
button manifest.name do
|
||||
@@ -25,10 +29,6 @@ class IMICFPS
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
button "Exit", margin_top: 25 do
|
||||
window.close
|
||||
end
|
||||
end
|
||||
|
||||
def update
|
||||
|
||||
Reference in New Issue
Block a user