/** * \brief Contructor. */ ptb::save_player_position::save_player_position() : m_player_index(1), m_activated(false), m_collision(false), m_ready(true), m_can_be_reactivated(false) { set_can_move_items(false); set_phantom(true); } // save_player_position::save_player_position()
/** * \brief Constructor. */ rp::pause_game::pause_game() : m_layer_name( RP_PAUSE_LAYER_DEFAULT_TARGET_NAME ) { set_phantom( true ); set_can_move_items( false ); set_artificial( true ); } // rp::pause_game::pause_game()
/** * \brief Constructor. */ bear::forced_movement_toggle::forced_movement_toggle() : m_apply_to_activator(false) { set_phantom(true); set_can_move_items(false); set_artificial(true); } // forced_movement_toggle::forced_movement_toggle()
/** * \brief Constructor. */ bear::mouse_over_manager::mouse_over_manager() : m_sample(NULL) { set_global(true); set_artificial(true); set_phantom(true); } // mouse_over_manager::mouse_over_manager()
/** * \brief Constructor. */ bear::explosion_effect_item::explosion_effect_item() : m_force(0), m_dust_count(100), m_splinter_count(10) { set_phantom(true); set_can_move_items(false); set_artificial(true); } // explosion_effect_item::explosion_effect_item()
/** * \brief Load the resources needed by this item. */ void rp::bonus::pre_cache() { super::pre_cache(); set_phantom(true); get_level_globals().load_model("model/bonus.cm"); get_level_globals().load_sound("sound/bwow.ogg"); } // bonus::pre_cache()
/** * \brief Constructor. */ rp::zeppelin::zeppelin() : m_hit(false), m_item(NULL) { set_mass(100); set_density(0.001); set_system_angle_as_visual_angle(true); set_phantom(true); set_artificial(false); } // rp::zeppelin::zeppelin()
/** * \brief Constructor. */ bear::decorative_item::decorative_item() : m_kill_when_finished(false), m_kill_on_contact(false), m_stop_on_bottom_contact(false), m_kill_when_leaving(false), m_shadow_x(0), m_shadow_y(0) { set_phantom(true); set_can_move_items(false); set_artificial(true); } // decorative_item::decorative_item()
/** * \brief Constructor. */ ptb::hideout_revealing::hideout_revealing() : m_player_in_zone(false), m_definitive_disclosure(false), m_revealing_opacity(0), m_hideout_opacity(1), m_current_revealed(false), m_last_revealed(false), m_hideout_found(false), m_revelation_duration(0.25), m_last_modification(0) { set_phantom(true); set_can_move_items(false); } // hideout_revealing::hideout_revealing()
/** * \brief Contructor. */ ptb::power_effect::power_effect() : m_air(NULL), m_fire(NULL), m_water(NULL) { set_phantom(true); set_can_move_items(false); set_artificial(true); set_mass(1); } // power_effect::power_effect()
/** * \brief Copy constructor. * \param that The instance to copy from. */ rp::zeppelin::zeppelin( const zeppelin& that ) : super(that), m_hit(false), m_item( that.m_item == NULL ? NULL : that.m_item->clone() ) { set_mass(100); set_density(0.001); set_system_angle_as_visual_angle(true); set_phantom(true); set_artificial(false); } // rp::zeppelin::zeppelin()
/** * \brief Constructor. */ bear::ambient_sound::ambient_sound() { set_can_move_items(false); set_phantom(true); } // ambient_sound::ambient_sound()
/** * \brief Contructor. */ ptb::corrupting_bonus_attractor::corrupting_bonus_attractor() { set_phantom(true); set_can_move_items(false); set_size(600, 600); } // corrupting_bonus_attractor::corrupting_bonus_attractor()
/** * \brief Constructor. */ rp::level_exit::level_exit() { set_phantom(true); set_can_move_items(false); } // level_exit::level_exit()
/** * \brief Constructor. */ rp::cursor::cursor() { set_phantom(true); set_can_move_items(false); set_artificial(false); } // rp::cursor::cursor()
/** * \brief Contructor. */ ptb::honeypot::honeypot() : sniffable("honeypot"), m_given(false) { set_phantom(true); set_can_move_items(false); } // honeypot::honeypot()
/** * \brief Constructor. */ bear::reference_item::reference_item() { set_phantom(true); set_artificial(true); set_can_move_items(false); } // reference_item::reference_item()