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

Function xParCmdTexInit

src/SB/Core/x/xParSys.cpp:135–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

133}
134
135void xParCmdTexInit(xParCmdTex* tex)
136{
137 tex->unit_count = tex->rows * tex->cols;
138 tex->unit_width = (tex->x2 - tex->x1) / tex->cols;
139 tex->unit_height = (tex->y2 - tex->y1) / tex->rows;
140}
141
142void xParSysInit(void* b, void* tasset)
143{

Callers 1

xParSysInitFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected