mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Deleted rubyscreen.dll, eradicated semicolons from when... statements, compiling is now before setting up the system, appeased vocal dissenters
This commit is contained in:
@@ -205,10 +205,10 @@ class SpriteAnimation
|
||||
sprite.visible = true
|
||||
sprite.src_rect.set(pattern % 5 * 192, pattern / 5 * 192, 192, 192)
|
||||
case @_animation_height
|
||||
when 0; sprite.z = 1
|
||||
when 1; sprite.z = sprite.y+32+15
|
||||
when 2; sprite.z = sprite.y+32+32+17
|
||||
else; sprite.z = 2000
|
||||
when 0 then sprite.z = 1
|
||||
when 1 then sprite.z = sprite.y+32+15
|
||||
when 2 then sprite.z = sprite.y+32+32+17
|
||||
else sprite.z = 2000
|
||||
end
|
||||
sprite.ox = 96
|
||||
sprite.oy = 96
|
||||
|
||||
@@ -219,9 +219,13 @@ module PluginManager
|
||||
optional = false
|
||||
exact = false
|
||||
case def_arg
|
||||
when :optional; optional = true
|
||||
when :exact; exact = true
|
||||
when :optional_exact; optional = true; exact = true
|
||||
when :optional
|
||||
optional = true
|
||||
when :exact
|
||||
exact = true
|
||||
when :optional_exact
|
||||
optional = true
|
||||
exact = true
|
||||
else
|
||||
self.error("Expected first dependency argument to be one of " +
|
||||
":optional, :exact or :optional_exact, but got #{dep_arg.inspect}.")
|
||||
|
||||
Reference in New Issue
Block a user