/usr/share/games/adanaxisgpl/mushruby/MushEvents.rb is in adanaxisgpl-data 1.2.5.dfsg.1-5ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | #%Header {
##############################################################################
#
# File data-adanaxis/mushruby/MushEvents.rb
#
# Author Andy Southgate 2006-2007
#
# This file contains original work by Andy Southgate. The author and his
# employer (Mushware Limited) irrevocably waive all of their copyright rights
# vested in this particular version of this file to the furthest extent
# permitted. The author and Mushware Limited also irrevocably waive any and
# all of their intellectual property rights arising from said file and its
# creation that would otherwise restrict the rights of any party to use and/or
# distribute the use of, the techniques and methods used herein. A written
# waiver can be obtained via http://www.mushware.com/.
#
# This software carries NO WARRANTY of any kind.
#
##############################################################################
#%Header } 8QxVWy3fHAjg0CgzVz0hFg
# $Id: MushEvents.rb,v 1.7 2007/03/21 11:56:04 southa Exp $
# $Log: MushEvents.rb,v $
# Revision 1.7 2007/03/21 11:56:04 southa
# Rail effects and damage icons
#
# Revision 1.6 2007/03/13 21:45:02 southa
# Release process
#
# Revision 1.5 2006/10/17 11:05:54 southa
# Expiry events
#
# Revision 1.4 2006/10/14 16:59:43 southa
# Ruby Deco objects
#
# Revision 1.3 2006/10/13 14:21:25 southa
# Collision handling
#
# Revision 1.2 2006/10/12 22:04:45 southa
# Collision events
#
# Revision 1.1 2006/10/09 16:00:14 southa
# Intern generation
#
# Revision 1.1 2006/08/17 08:57:10 southa
# Event handling
#
require 'MushEvent.rb'
class MushEventTimer < MushEvent
def initialize
@id = 0
end
attr_accessor :id
end
class MushEventCollision < MushEvent
mush_accessor :m_piece1, :m_piece2, :m_chunkNum1, :m_chunkNum2, :m_collisionPoint
def mPiecesSwap!
@m_piece1, @m_piece2 = @m_piece2, @m_piece1
@m_chunkNum1, @m_chunkNum2 = @m_chunkNum2, @m_chunkNum1
end
end
class MushEventExpiry < MushEvent
end
|