mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
Debug commands now affect game
This commit is contained in:
@@ -5,7 +5,7 @@ class IMICFPS
|
||||
"<c=ff5555>#{string}</c>"
|
||||
end
|
||||
def self.warn(string)
|
||||
"<c=ff5500>#{string}</c>"
|
||||
"<c=ff7700>#{string}</c>"
|
||||
end
|
||||
def self.notice(string)
|
||||
"<c=55ff55>#{string}</c>"
|
||||
|
||||
@@ -10,13 +10,13 @@ class IMICFPS
|
||||
end
|
||||
|
||||
def setup
|
||||
$debug = self
|
||||
set(:skydome, true)
|
||||
|
||||
subcommand(:boundingboxes, :boolean)
|
||||
subcommand(:wireframe, :boolean)
|
||||
subcommand(:fps, :boolean)
|
||||
subcommand(:stats, :boolean)
|
||||
subcommand(:motd, :string)
|
||||
subcommand(:mode, :integer)
|
||||
subcommand(:gravity, :decimal)
|
||||
subcommand(:skydome, :boolean)
|
||||
end
|
||||
|
||||
def handle(arguments, console)
|
||||
|
||||
Reference in New Issue
Block a user