mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-29 04:50:42 +00:00
- create engine CCMD printcoords
.
This commit is contained in:
parent
2bdf5f38e5
commit
38fa10326d
1 changed files with 9 additions and 0 deletions
|
@ -108,6 +108,15 @@ int32_t circlewall=-1;
|
||||||
int16_t editstatus = 0;
|
int16_t editstatus = 0;
|
||||||
static fix16_t global100horiz; // (-100..300)-scale horiz (the one passed to drawrooms)
|
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;
|
int32_t(*getpalookup_replace)(int32_t davis, int32_t dashade) = NULL;
|
||||||
|
|
||||||
// adapted from build.c
|
// adapted from build.c
|
||||||
|
|
Loading…
Reference in a new issue