- floatification of p_3dfloors, p_3dmidtex and p_acs.cpp plus some leftovers.
- removed all references to Doom specific headers from xs_Float.h and cmath.h.
This commit is contained in:
parent
35bb686281
commit
dabed04d2a
26 changed files with 319 additions and 335 deletions
|
|
@ -150,8 +150,8 @@ static int WriteSIDEDEFS (FILE *file)
|
|||
|
||||
for (int i = 0; i < numsides; ++i)
|
||||
{
|
||||
msd.textureoffset = LittleShort(short(sides[i].GetTextureXOffset(side_t::mid) >> FRACBITS));
|
||||
msd.rowoffset = LittleShort(short(sides[i].GetTextureYOffset(side_t::mid) >> FRACBITS));
|
||||
msd.textureoffset = LittleShort(short(sides[i].GetTextureXOffsetF(side_t::mid)));
|
||||
msd.rowoffset = LittleShort(short(sides[i].GetTextureYOffsetF(side_t::mid)));
|
||||
msd.sector = LittleShort(short(sides[i].sector - sectors));
|
||||
uppercopy (msd.toptexture, GetTextureName (sides[i].GetTexture(side_t::top)));
|
||||
uppercopy (msd.bottomtexture, GetTextureName (sides[i].GetTexture(side_t::bottom)));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue