MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / idUsercmdGenLocal

Method idUsercmdGenLocal

neo/framework/UsercmdGen.cpp:468–484  ·  view source on GitHub ↗

================ idUsercmdGenLocal::idUsercmdGenLocal ================ */

Source from the content-addressed store, hash-verified

466================
467*/
468idUsercmdGenLocal::idUsercmdGenLocal( void ) {
469 lastCommandTime = 0;
470 initialized = false;
471
472 flags = 0;
473 impulse = 0;
474
475 toggled_crouch.Clear();
476 toggled_run.Clear();
477 toggled_zoom.Clear();
478 toggled_run.on = in_alwaysRun.GetBool();
479
480 lastLookValuePitch = lastLookValueYaw = 0.0f;
481
482 ClearAngles();
483 Clear();
484}
485
486/*
487================

Callers

nothing calls this directly

Calls 3

ClearFunction · 0.85
ClearMethod · 0.45
GetBoolMethod · 0.45

Tested by

no test coverage detected