| 2149 | RpAtomic* NPC_BubBud_RenderCB(RpAtomic* atomic); |
| 2150 | |
| 2151 | void zNPCBubbleBuddy::Setup() |
| 2152 | { |
| 2153 | zNPCCommon::Setup(); |
| 2154 | if (!this->rast_fresnel && !this->rast_enviro) |
| 2155 | { |
| 2156 | char* nam_fresTxtr = "gloss_edge"; |
| 2157 | this->aid_fresnelTxtr = xStrHash(nam_fresTxtr); |
| 2158 | this->txtr_fresnel = NPCC_FindRWTexture(this->aid_fresnelTxtr); |
| 2159 | this->rast_fresnel = NPCC_FindRWRaster(this->txtr_fresnel); |
| 2160 | this->aid_enviroTxtr = xStrHash(nam_fresTxtr); |
| 2161 | this->txtr_enviro = NPCC_FindRWTexture(this->aid_enviroTxtr); |
| 2162 | this->rast_enviro = NPCC_FindRWRaster(this->txtr_enviro); |
| 2163 | } |
| 2164 | this->model->PipeFlags = (this->model->PipeFlags & 0xffffffcf) | 0x10; |
| 2165 | this->model->Data->renderCallBack = NPC_BubBud_RenderCB; |
| 2166 | if (this->model->Data->renderCallBack == NULL) |
| 2167 | { |
| 2168 | this->model->Data->renderCallBack = AtomicDefaultRenderCallBack; |
| 2169 | } |
| 2170 | } |
| 2171 | |
| 2172 | void zNPCBubbleBuddy::Reset() |
| 2173 | { |
nothing calls this directly
no test coverage detected