mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-03 02:30:58 +00:00
- make sector panning variables floats and added some convenience wrappers.
This commit is contained in:
parent
82d80f3f07
commit
d545eb7aa9
17 changed files with 96 additions and 99 deletions
|
@ -1749,8 +1749,8 @@ void renderDrawMapView(int32_t dax, int32_t day, int32_t zoome, int16_t ang)
|
|||
asm2 = (globalx2<<globalyshift);
|
||||
globalx1 <<= globalxshift;
|
||||
globaly2 <<= globalyshift;
|
||||
set_globalpos(((int64_t) globalposx<<(20+globalxshift))+(((uint32_t) sec->floorxpanning)<<24),
|
||||
((int64_t) globalposy<<(20+globalyshift))-(((uint32_t) sec->floorypanning)<<24),
|
||||
set_globalpos(((int64_t) globalposx<<(20+globalxshift))+(((uint32_t) sec->floorxpan())<<24),
|
||||
((int64_t) globalposy<<(20+globalyshift))-(((uint32_t) sec->floorypan())<<24),
|
||||
globalposz);
|
||||
renderFillPolygon(npoints);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue