LunaCON: Properly implement rotatesprite16 by adding ROTATESPRITE_FULL16 to orientation.

git-svn-id: https://svn.eduke32.com/eduke32@3611 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2013-03-25 19:19:05 +00:00
parent 30f510d521
commit 9d3b96a636

View file

@ -1728,8 +1728,8 @@ local handle =
return format("_con.rotatesprite(%s,%s,%s,%s,%s,%s,%s,%s,0,%s,%s,%s,%s)", ...) return format("_con.rotatesprite(%s,%s,%s,%s,%s,%s,%s,%s,0,%s,%s,%s,%s)", ...)
end, end,
rotatesprite16 = function(...) -- TODO: non <<16 coordinates rotatesprite16 = function(...) -- (orientation|ROTATESPRITE_FULL16)
return format("_con.rotatesprite(%s/65536,%s/65536,%s,%s,%s,%s,%s,%s,0,%s,%s,%s,%s)", ...) return format("_con.rotatesprite(%s,%s,%s,%s,%s,%s,%s,_bit.bor(%s,2048),0,%s,%s,%s,%s)", ...)
end, end,
rotatespritea = function(...) rotatespritea = function(...)