struct WAD::Demo::Interaction
- WAD::Demo::Interaction
- Struct
- Value
- Object
Overview
"This byte encodes multiple actions in different bits"
Defined in:
wa-cr/wad/wad-data/demo.crConstructors
Instance Method Summary
-
#clone
Returns a copy of
self
with all instance variables cloned. - #initialize
-
#interact_save : Bool
"Opens a door or flips a switch; or in special mode the game to saved to the slot specified by the next three bits: 1xx0001x is slot 1, 1xx1011x is slot 6".
-
#interact_save=(interact_save : Bool)
"Opens a door or flips a switch; or in special mode the game to saved to the slot specified by the next three bits: 1xx0001x is slot 1, 1xx1011x is slot 6".
-
#save_slot : UInt8
Save game slot, used if interact_save == true and special_mode == true.
-
#save_slot=(save_slot : UInt8)
Save game slot, used if interact_save == true and special_mode == true.
-
#shoot_pause : Bool
"If set, the weapon is fired; or in special mode pause is toggled"
-
#shoot_pause=(shoot_pause : Bool)
"If set, the weapon is fired; or in special mode pause is toggled"
-
#special_mode : Bool
"Sets special mode, changing the meaning of the first two bits".
-
#special_mode=(special_mode : Bool)
"Sets special mode, changing the meaning of the first two bits".
-
#weapon_slot : UInt8
Set to 1 by default, because if it is used, the weapon_switch bit will equal 1.
-
#weapon_slot=(weapon_slot : UInt8)
Set to 1 by default, because if it is used, the weapon_switch bit will equal 1.
-
#weapon_switch : Bool
"Changes to the weapon slot specified by the next three bits: xx0001xx is slot 1, xx1101xx is slot 7".
-
#weapon_switch=(weapon_switch : Bool)
"Changes to the weapon slot specified by the next three bits: xx0001xx is slot 1, xx1101xx is slot 7".
Constructor Detail
Instance Method Detail
"Opens a door or flips a switch; or in special mode the game to saved to the slot specified by the next three bits: 1xx0001x is slot 1, 1xx1011x is slot 6".
"Opens a door or flips a switch; or in special mode the game to saved to the slot specified by the next three bits: 1xx0001x is slot 1, 1xx1011x is slot 6".
Save game slot, used if interact_save == true and special_mode == true. Set to 1 by default, because if it is used, the interact_save bit will equal 1.
Save game slot, used if interact_save == true and special_mode == true. Set to 1 by default, because if it is used, the interact_save bit will equal 1.
"If set, the weapon is fired; or in special mode pause is toggled"
"Sets special mode, changing the meaning of the first two bits".
Set to 1 by default, because if it is used, the weapon_switch bit will equal 1.
Set to 1 by default, because if it is used, the weapon_switch bit will equal 1.
"Changes to the weapon slot specified by the next three bits: xx0001xx is slot 1, xx1101xx is slot 7".
"Changes to the weapon slot specified by the next three bits: xx0001xx is slot 1, xx1101xx is slot 7".