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

Function xEntDriveInit

src/SB/Core/x/xEntDrive.cpp:8–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6#include <types.h>
7
8void xEntDriveInit(xEntDrive* drv, xEnt* driven)
9{
10 if (drv == NULL)
11 {
12 return;
13 }
14
15 drv->flags = 0;
16 drv->driven = driven;
17 drv->driver = NULL;
18 drv->s = 0.0f;
19 drv->tm = 0.0f;
20 drv->tmr = 0.0f;
21 drv->odriver = NULL;
22 drv->os = 0.0f;
23 drv->otm = 0.0f;
24 drv->otmr = 0.0f;
25}
26
27void xEntDriveMount(xEntDrive* drv, xEnt* driver, F32 mt, const xCollis* coll)
28{

Callers 6

ResetMethod · 0.85
zEntPickupInitFunction · 0.85
zPlatform_InitFunction · 0.85
xEntDriveMountFunction · 0.85
xEntDriveDismountFunction · 0.85
xEntDriveUpdateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected