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

Method Squad_Walk_Target_SetAll

Source/Fodder.cpp:240–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238}
239
240void cFodder::Squad_Walk_Target_SetAll(int16 pValue) {
241
242 for (unsigned int x = 0; x < 10; ++x) {
243
244 for (unsigned int y = 0; y < 30; ++y) {
245
246 mSquad_WalkTargets[x][y].asInt = pValue;
247 mSquad_WalkTargets[x][y].asInt = pValue;
248 mSquad_WalkTargets[x][y].asInt = pValue;
249 mSquad_WalkTargets[x][y].asInt = pValue;
250 mSquad_WalkTargets[x][y].asInt = pValue;
251 mSquad_WalkTargets[x][y].asInt = pValue;
252 mSquad_WalkTargets[x][y].asInt = pValue;
253 mSquad_WalkTargets[x][y].asInt = pValue;
254 mSquad_WalkTargets[x][y].asInt = pValue;
255 mSquad_WalkTargets[x][y].asInt = pValue;
256 }
257 }
258
259}
260
261/**
262 * Execute one cycle of the current phase

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected