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

Function xGridBoundInit

src/SB/Core/x/xGrid.cpp:11–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9volatile S32 gGridIterActive = 0;
10
11void xGridBoundInit(xGridBound* bound, void* data)
12{
13 bound->data = data;
14 bound->gx = -1;
15 bound->gz = -1;
16 bound->ingrid = 0;
17 bound->oversize = 0;
18 bound->head = 0;
19 bound->next = 0;
20 bound->gpad = 0xea;
21}
22
23// FIXME: Usual floating point problems, floating point loads get pulled to the start.
24// Also, there's something funny going on with the malloc + memset at the end,

Callers 3

InitMethod · 0.85
xGridEmptyFunction · 0.85
xEntInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected