MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / AnimPick

Method AnimPick

src/SB/Game/zNPCTypeRobot.cpp:1703–1727  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1701}
1702
1703U32 zNPCSleepy::AnimPick(int gid, en_NPC_GOAL_SPOT gspot, xGoal* rawgoal)
1704{
1705 U32 uVar1 = 0;
1706 int iVar2 = -1;
1707
1708 switch (gid)
1709 {
1710 case 'NGR4':
1711 iVar2 = 0xc;
1712 break;
1713 case 'NGR=':
1714 iVar2 = 0xe;
1715 break;
1716 default:
1717 uVar1 = zNPCRobot::AnimPick(gid, gspot, rawgoal);
1718 break;
1719 }
1720
1721 if (iVar2 >= 0)
1722 {
1723 uVar1 = g_hash_roboanim[iVar2];
1724 }
1725
1726 return uVar1;
1727}
1728
1729S32 FODR_grul_alert(xGoal* goal, void*, en_trantype* trantype, float, void*)
1730{

Callers

nothing calls this directly

Calls 1

AnimPickFunction · 0.50

Tested by

no test coverage detected