??
did not commit??
This commit is contained in:
parent
e5215e929c
commit
ef81bf810b
|
@ -501,9 +501,6 @@ extern INT32 cv_debug;
|
||||||
extern UINT8 shiftdown, ctrldown, altdown;
|
extern UINT8 shiftdown, ctrldown, altdown;
|
||||||
extern boolean capslock;
|
extern boolean capslock;
|
||||||
|
|
||||||
// WARNING: a should be unsigned but to add with 2048, it isn't!
|
|
||||||
#define AIMINGTODY(a) (FINETANGENT((2048+(((INT32)a)>>ANGLETOFINESHIFT)) & FINEMASK)*160)
|
|
||||||
|
|
||||||
// if we ever make our alloc stuff...
|
// if we ever make our alloc stuff...
|
||||||
#define ZZ_Alloc(x) Z_Malloc(x, PU_STATIC, NULL)
|
#define ZZ_Alloc(x) Z_Malloc(x, PU_STATIC, NULL)
|
||||||
#define ZZ_Calloc(x) Z_Calloc(x, PU_STATIC, NULL)
|
#define ZZ_Calloc(x) Z_Calloc(x, PU_STATIC, NULL)
|
||||||
|
|
|
@ -26,6 +26,10 @@ extern INT32 centerx, centery;
|
||||||
|
|
||||||
extern fixed_t centerxfrac, centeryfrac;
|
extern fixed_t centerxfrac, centeryfrac;
|
||||||
extern fixed_t projection, projectiony;
|
extern fixed_t projection, projectiony;
|
||||||
|
extern fixed_t fovtan;
|
||||||
|
|
||||||
|
// WARNING: a should be unsigned but to add with 2048, it isn't!
|
||||||
|
#define AIMINGTODY(a) FixedDiv((FINETANGENT((2048+(((INT32)a)>>ANGLETOFINESHIFT)) & FINEMASK)*160)>>FRACBITS, fovtan)
|
||||||
|
|
||||||
extern size_t validcount, linecount, loopcount, framecount;
|
extern size_t validcount, linecount, loopcount, framecount;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue