void HudGaugeWingmanStatus::pageIn() { bm_page_in_aabitmap( Wingman_status_left.first_frame, Wingman_status_left.num_frames); bm_page_in_aabitmap( Wingman_status_middle.first_frame, Wingman_status_middle.num_frames); bm_page_in_aabitmap( Wingman_status_right.first_frame, Wingman_status_right.num_frames); bm_page_in_aabitmap( Wingman_status_dots.first_frame, Wingman_status_dots.num_frames); }
void HudGaugeWeaponLinking::pageIn() { bm_page_in_aabitmap(arc.first_frame, arc.num_frames); for(int i = 0; i < NUM_WEAPON_LINK_MODES; i++) { bm_page_in_aabitmap(weapon_linking_modes[i].first_frame, weapon_linking_modes[i].num_frames); } }
// called at beginning of level to page in all ship icons // used in this level void hud_ship_icon_page_in(ship_info *sip) { hud_frames *sgp; if ( sip->shield_icon_index == 255 ) { return; } // load in shield frames if not already loaded Assert(sip->shield_icon_index < (ubyte)Hud_shield_filenames.size()); sgp = &Shield_gauges.at(sip->shield_icon_index); if ( sgp->first_frame == -1 ) { sgp->first_frame = bm_load_animation(Hud_shield_filenames.at(sip->shield_icon_index).c_str(), &sgp->num_frames); if ( sgp->first_frame == -1 ) { Warning(LOCATION, "Could not load in the HUD shield ani: %s\n", Hud_shield_filenames.at(sip->shield_icon_index).c_str()); return; } } int i; for (i=0; i<sgp->num_frames; i++ ) { bm_page_in_aabitmap(sgp->first_frame+i, 1); } }
void training_mission_page_in() { int i; for ( i = 0; i < NUM_DIRECTIVE_GAUGES; i++ ) { bm_page_in_aabitmap( Directive_gauge[i].first_frame, Directive_gauge[i].num_frames ); } }
void HudGaugeEscort::pageIn() { int i; for ( i = 0; i < NUM_ESCORT_FRAMES; i++ ) { bm_page_in_aabitmap( Escort_gauges[i].first_frame, Escort_gauges[i].num_frames); } }
void hud_shield_mini_load() { Shield_mini_gauge.first_frame = bm_load_animation(current_hud->Shield_mini_fname, &Shield_mini_gauge.num_frames); if (Shield_mini_gauge.first_frame == -1) { Warning(LOCATION, "Could not load in the HUD shield ani: Shield_mini_fname\n"); } else { bm_page_in_aabitmap(Shield_mini_gauge.first_frame, Shield_mini_gauge.num_frames); Shield_mini_loaded = true; } }
void HudGaugeEts::pageIn() { bm_page_in_aabitmap( Ets_bar.first_frame, Ets_bar.num_frames ); }
void HudGaugeLock::pageIn() { bm_page_in_aabitmap( Lock_gauge.first_frame, Lock_gauge.num_frames ); bm_page_in_aabitmap( Lock_anim.first_frame, Lock_anim.num_frames ); }
void hudets_page_in() { bm_page_in_aabitmap(Ets_gauge.first_frame, Ets_gauge.num_frames); }
void HudGaugeTalkingHead::pageIn() { bm_page_in_aabitmap( Head_frame.first_frame, Head_frame.num_frames ); }
void HudGaugeShieldMini::pageIn() { bm_page_in_aabitmap( Shield_mini_gauge.first_frame, Shield_mini_gauge.num_frames ); }
void HudGaugeDirectives::pageIn() { bm_page_in_aabitmap(directives_top.first_frame, directives_top.num_frames); bm_page_in_aabitmap(directives_middle.first_frame, directives_middle.num_frames); bm_page_in_aabitmap(directives_bottom.first_frame, directives_bottom.num_frames); }
void HudGaugeRadarOrb::pageIn() { bm_page_in_aabitmap( Radar_gauge.first_frame, Radar_gauge.num_frames ); }
void radar_page_in() { bm_page_in_aabitmap( Radar_gauge.first_frame, Radar_gauge.num_frames ); }
void HudGaugeReticle::pageIn() { bm_page_in_aabitmap( crosshair.first_frame, crosshair.num_frames); }
void HudGaugeThreatIndicator::pageIn() { bm_page_in_aabitmap(threat_arc.first_frame, threat_arc.num_frames); bm_page_in_aabitmap(laser_warn.first_frame, laser_warn.num_frames); bm_page_in_aabitmap(lock_warn.first_frame, lock_warn.num_frames); }
void HudGaugeThrottle::pageIn() { bm_page_in_aabitmap( throttle_frames.first_frame, throttle_frames.num_frames); }
void hudlock_page_in() { bm_page_in_aabitmap( Lock_gauge.first_frame, Lock_gauge.num_frames ); }
void hudshield_page_in() { bm_page_in_aabitmap( Shield_mini_gauge.first_frame, Shield_mini_gauge.num_frames ); }