MCPcopy Create free account
hub / github.com/DescentDevelopers/Descent3 / FORM_HANDLE

Function FORM_HANDLE

Descent3/spew.cpp:145–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143#define MAX_SPEWS_PER_FRAME 5 // maximum number of spews 1 can emit per frame
144
145static inline int FORM_HANDLE(int counter, int slot) { return (((counter & 0xFF) << 16) + (slot & 0xFF)); }
146
147static inline int GET_SLOT(int handle) { return (handle & 0xFF); }
148

Callers 1

SpewCreateFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected