mirror of
https://github.com/cyberarm/i-mic-rts.git
synced 2025-12-13 14:52:35 +00:00
Added version file
This commit is contained in:
@@ -4,6 +4,7 @@ rescue LoadError
|
|||||||
require "cyberarm_engine"
|
require "cyberarm_engine"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
require_relative "lib/version"
|
||||||
require_relative "lib/window"
|
require_relative "lib/window"
|
||||||
require_relative "lib/camera"
|
require_relative "lib/camera"
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ class IMICRTS
|
|||||||
def setup
|
def setup
|
||||||
@title = Gosu::Font.new(56, name: "Noto Sans Display", bold: true)
|
@title = Gosu::Font.new(56, name: "Noto Sans Display", bold: true)
|
||||||
@text = Gosu::Font.new(18, name: "Noto Sans Thaana", bold: true)
|
@text = Gosu::Font.new(18, name: "Noto Sans Thaana", bold: true)
|
||||||
@name = "I-MIC RTS"
|
@name = IMICRTS::NAME
|
||||||
@logo = Gosu::Image.new("assets/logo.png")
|
@logo = Gosu::Image.new("assets/logo.png")
|
||||||
|
|
||||||
@messages = ["Loading", "Compiling Protons", "Launching Warhead", "git push origin --force"]
|
@messages = ["Loading", "Compiling Protons", "Launching Warhead", "git push origin --force"]
|
||||||
|
|||||||
5
lib/version.rb
Normal file
5
lib/version.rb
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
class IMICRTS
|
||||||
|
NAME = "I-MIC RTS"
|
||||||
|
VERSION = "0.0.1"
|
||||||
|
VERSION_NAME = "InDev"
|
||||||
|
end
|
||||||
@@ -3,7 +3,7 @@ class IMICRTS
|
|||||||
def setup
|
def setup
|
||||||
@last_update_time = Gosu.milliseconds
|
@last_update_time = Gosu.milliseconds
|
||||||
|
|
||||||
self.caption = "I-MIC RTS (#{Gosu.language})"
|
self.caption = "#{IMICRTS::NAME} (#{IMICRTS::VERSION} #{IMICRTS::VERSION_NAME})"
|
||||||
# push_state(Boot)
|
# push_state(Boot)
|
||||||
push_state(MainMenu)
|
push_state(MainMenu)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user