0 Members and 1 Guest are viewing this topic.
oapiRegisterPanelArea ( AID_GEARIND, _R( 313, 30, 343, 61), PANEL_REDRAW_USER, PANEL_MOUSE_IGNORE, PANEL_MAP_BACKGROUND);oapiRegisterPanelArea ( AID_BAYIND, _R( 691, 49, 697, 55), PANEL_REDRAW_USER, PANEL_MOUSE_IGNORE, PANEL_MAP_BACKGROUND);case AID_GEARIND: switch (dg->gear_status) { case DeltaGlider::DOOR_CLOSED: oapiBlt (surf, dg->srf[0], 313, 30, 0, 0, 30, 31); break; case DeltaGlider::DOOR_OPEN: oapiBlt (surf, dg->srf[0], 0, 0, 0, 0, 30, 31); break; default: oapiBlt (surf, dg->srf[0], 313, 30, 0, 0, 30, 31); break; }return true;case AID_BAYIND: switch (dg->radiator_status) { case DeltaGlider::DOOR_CLOSED: oapiBlt (surf, dg->srf[1], 691, 49, 0, 0, 7, 7); break; case DeltaGlider::DOOR_OPEN: oapiBlt (surf, dg->srf[1], 0, 0, 0, 0, 7, 7); break; default: oapiBlt (surf, dg->srf[1], 691, 49, 0, 0, 7, 7); break; }return true;