| 1135 | } |
| 1136 | |
| 1137 | void zNPCB_SB2::Init(xEntAsset* asset) |
| 1138 | { |
| 1139 | xModelInstance * m; |
| 1140 | |
| 1141 | _singleton = this; |
| 1142 | boss_cam.init(); |
| 1143 | init_sound(); |
| 1144 | zNPCCommon::Init(asset); |
| 1145 | this->cfg_npc->dst_castShadow = 30.0f; |
| 1146 | memset((void*)this->flag.face_player, 0, 0x10); |
| 1147 | this->said_intro = 0; |
| 1148 | |
| 1149 | m = this->model; |
| 1150 | this->models[0] = this->model; |
| 1151 | |
| 1152 | this->models[1] = m->Next; |
| 1153 | this->models[2] = m->Next; |
| 1154 | this->models[3] = m->Next; |
| 1155 | |
| 1156 | this->models[0]->Data->boundingSphere.radius = 100.0f; |
| 1157 | this->models[1]->Data->boundingSphere.radius = 100.0f; |
| 1158 | this->models[2]->Data->boundingSphere.radius = 100.0f; |
| 1159 | this->models[3]->Data->boundingSphere.radius = 100.0f; |
| 1160 | |
| 1161 | set_alpha_blend(this->models[0]); |
| 1162 | this->init_hands(); |
| 1163 | this->init_bounds(); |
| 1164 | this->reset_bounds(); |
| 1165 | |
| 1166 | this->penby = FALSE; |
| 1167 | this->bupdate = 0; |
| 1168 | this->bound.type = TRUE; |
| 1169 | this->bound.sph.center.y = 1e38f; |
| 1170 | this->bound.sph.r = 0.0f; |
| 1171 | |
| 1172 | response_curve::init((U32)&rc_scale, 0, 0, 0, 0, 0, 0); |
| 1173 | |
| 1174 | this->init_slugs(); |
| 1175 | } |
| 1176 | |
| 1177 | void zNPCB_SB2::Setup() |
| 1178 | { |
nothing calls this directly
no test coverage detected