MCPcopy Create free account
hub / github.com/OpenFodder/openfodder / CheckList

Method CheckList

Source/Utils/micropather.h:248–255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246 }
247 #ifdef DEBUG
248 void CheckList()
249 {
250 MPASSERT( totalCost == FLT_MAX );
251 for( PathNode* it = next; it != this; it=it->next ) {
252 MPASSERT( it->prev == this || it->totalCost >= it->prev->totalCost );
253 MPASSERT( it->totalCost <= it->next->totalCost );
254 }
255 }
256 #endif
257
258 void CalcTotalCost() {

Callers 4

OpenQueueMethod · 0.80
PushMethod · 0.80
PopMethod · 0.80
UpdateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected