MCPcopy Create free account
hub / github.com/diasurgical/DevilutionX / PushActiveStep

Function PushActiveStep

Source/engine/path.cpp:146–151  ·  view source on GitHub ↗

* @brief push pPath onto the pnode_tblptr stack */

Source from the content-addressed store, hash-verified

144 * @brief push pPath onto the pnode_tblptr stack
145 */
146void PushActiveStep(uint16_t pPath)
147{
148 assert(gdwCurPathStep < MaxPathNodes);
149 pnode_tblptr[gdwCurPathStep] = pPath;
150 gdwCurPathStep++;
151}
152
153/**
154 * @brief pop and return a node from the pnode_tblptr stack

Callers 1

SetCoordsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected