| 440 | } |
| 441 | |
| 442 | void zNPCMgr::Startup() |
| 443 | { |
| 444 | PrepTypeTable(); |
| 445 | selfbase.id = 'NPCM'; |
| 446 | selfbase.baseType = 0xAB; |
| 447 | npcFactory = new ('NPCM', NULL) xFactory(0x60); |
| 448 | zNPCMsg_Startup(); |
| 449 | zNPCSpawner_Startup(); |
| 450 | zNPCTypes_StartupTypes(); |
| 451 | zNPCTypes_RegisterTypes(npcFactory); |
| 452 | bmgr = xBehaveMgr_GetSelf(); |
| 453 | xFactory* behaveMgrFactory = bmgr->GetFactory(); |
| 454 | zNPCGoals_RegisterTypes(behaveMgrFactory); |
| 455 | } |
| 456 | |
| 457 | void zNPCMgr::Shutdown() |
| 458 | { |
no test coverage detected