- Added Polyobj_MoveTo, Polyobj_OR_MoveTo, and Polyobj_Stop.

- Cleaned up a couple of warnings.

SVN r2483 (trunk)
This commit is contained in:
Randy Heit 2010-08-01 19:14:10 +00:00
commit b9ea9a415e
7 changed files with 220 additions and 32 deletions

View file

@ -228,7 +228,7 @@ void FNodeBuilder::CreateSubsectorsForReal ()
set = ptr.SegPtr->next;
}
sub.numlines = (DWORD)(SegList.Size() - firstline);
sub.firstline = (seg_t *)firstline;
sub.firstline = (seg_t *)(size_t)firstline;
// Sort segs by linedef for special effects
qsort (&SegList[firstline], sub.numlines, sizeof(USegPtr), SortSegs);
@ -1107,12 +1107,12 @@ int ClassifyLineBackpatchC (node_t &node, const FSimpleVert *v1, const FSimpleVe
if (CPU.bSSE2)
{
func = ClassifyLineSSE2;
diff = (char *)ClassifyLineSSE2 - (char *)calleroffset;
diff = int((char *)ClassifyLineSSE2 - (char *)calleroffset);
}
else
{
func = ClassifyLine2;
diff = (char *)ClassifyLine2 - (char *)calleroffset;
diff = int((char *)ClassifyLine2 - (char *)calleroffset);
}
calleroffset--;