mirror of
https://github.com/ZDoom/Raze.git
synced 2025-01-18 14:41:55 +00:00
Make 'double ghoriz' static in polymost.c.
git-svn-id: https://svn.eduke32.com/eduke32@2409 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
6065fbd38c
commit
2dca87b80a
2 changed files with 6 additions and 4 deletions
|
@ -111,7 +111,7 @@ pthtyp *gltexcache(int32_t dapicnum, int32_t dapalnum, int32_t dameth);
|
|||
extern int32_t globalnoeffect;
|
||||
extern int32_t drawingskybox;
|
||||
|
||||
extern double gyxscale, gxyaspect, /*gviewxrange,*/ ghalfx, grhalfxdown10, ghoriz;
|
||||
extern double gyxscale, gxyaspect, /*gviewxrange,*/ ghalfx, grhalfxdown10 /*, ghoriz*/;
|
||||
|
||||
#define FOGSCALE 0.0000768
|
||||
|
||||
|
|
|
@ -115,8 +115,8 @@ int32_t shadescale_unbounded = 0;
|
|||
|
||||
int32_t r_usenewshading = 1;
|
||||
|
||||
static double gviewxrange;
|
||||
double gyxscale, gxyaspect, ghalfx, grhalfxdown10, grhalfxdown10x, ghoriz;
|
||||
static double gviewxrange, ghoriz;
|
||||
double gyxscale, gxyaspect, ghalfx, grhalfxdown10, grhalfxdown10x;
|
||||
double gcosang, gsinang, gcosang2, gsinang2;
|
||||
double gchang, gshang, gctang, gstang, gvisibility;
|
||||
float gtang = 0.0;
|
||||
|
@ -4446,7 +4446,9 @@ void polymost_drawrooms()
|
|||
}
|
||||
#endif
|
||||
|
||||
ox2 = (searchx-ghalfx)/ratio; oy2 = (searchy-ghoriz)/ ratio; oz2 = ghalfx;
|
||||
ox2 = (searchx-ghalfx)/ratio;
|
||||
oy2 = (searchy-ghoriz)/ratio; // ghoriz is (ydimen>>1) here
|
||||
oz2 = ghalfx;
|
||||
|
||||
//Tilt rotation
|
||||
ox = ox2*gctang + oy2*gstang;
|
||||
|
|
Loading…
Reference in a new issue