- create engine CCMD printcoords.

This commit is contained in:
Mitchell Richters 2020-07-11 21:29:32 +10:00
parent 2bdf5f38e5
commit 38fa10326d

View file

@ -108,6 +108,15 @@ int32_t circlewall=-1;
int16_t editstatus = 0;
static fix16_t global100horiz; // (-100..300)-scale horiz (the one passed to drawrooms)
CCMD(printcoords)
{
Printf("pos.x: %d\n", globalposx);
Printf("pos.y: %d\n", globalposy);
Printf("pos.z: %d\n", globalposz);
Printf("ang: %d\n" , globalang);
Printf("horiz: %d\n", fix16_to_int(global100horiz));
}
int32_t(*getpalookup_replace)(int32_t davis, int32_t dashade) = NULL;
// adapted from build.c