- removed the __asm nop breakpoints for debugging. They not only do not work on non-MSVC but also not on 64 bit.

This commit is contained in:
Christoph Oelckers 2014-05-08 09:48:39 +02:00
parent a4076ffe38
commit 1d4ea9f162
6 changed files with 20 additions and 32 deletions

View file

@ -312,13 +312,11 @@ static void PrepareTransparentDoors(sector_t * sector)
int i;
sector_t * nextsec=NULL;
#ifdef _MSC_VER
#ifdef _DEBUG
if (sector-sectors==2)
{
__asm nop
int a = 0;
}
#endif
#endif
P_Recalculate3DFloors(sector);

View file

@ -96,11 +96,11 @@ static sector_t *currentsector;
static void AddLine (seg_t *seg)
{
#ifdef _MSC_VER
#ifdef _DEBUG
if (seg->linedef-lines==38)
__asm nop
#endif
if (seg->linedef - lines == 38)
{
int a = 0;
}
#endif
angle_t startAngle, endAngle;
@ -382,13 +382,11 @@ static void DoSubsector(subsector_t * sub)
//if (!clipper.CheckBox(sub->bbox)) return;
#ifdef _MSC_VER
#ifdef _DEBUG
if (sub->sector-sectors==931)
{
__asm nop
int a = 0;
}
#endif
#endif
sector=sub->sector;

View file

@ -218,13 +218,11 @@ sector_t * gl_FakeFlat(sector_t * sec, sector_t * dest, area_t in_area, bool bac
return sec;
}
#ifdef _MSC_VER
#ifdef _DEBUG
if (sec-sectors==560)
{
__asm nop
int a = 0;
}
#endif
#endif
if (in_area==area_above)

View file

@ -334,11 +334,11 @@ void GLFlat::Draw(int pass)
int i;
int rel = getExtraLight();
#ifdef _MSC_VER
#ifdef _DEBUG
if (sector->sectornum == 2)
__asm nop
#endif
{
int a = 0;
}
#endif
@ -572,17 +572,11 @@ void GLFlat::ProcessSector(sector_t * frontsector)
{
lightlist_t * light;
#ifdef _MSC_VER
#ifdef _DEBUG
if (frontsector==NULL)
{
__asm int 3
}
if (frontsector->sectornum==0)
{
__asm nop
int a = 0;
}
#endif
#endif
// Get the real sector for this one.

View file

@ -311,11 +311,11 @@ void GLWall::SplitWall(sector_t * frontsector, bool translucent)
}
::SplitWall.Clock();
#ifdef _MSC_VER
#ifdef _DEBUG
if (seg->linedef-lines==1)
__asm nop
#endif
{
int a = 0;
}
#endif
if (lightlist.Size()>1)
@ -1445,11 +1445,11 @@ void GLWall::Process(seg_t *seg, sector_t * frontsector, sector_t * backsector)
sector_t * realfront;
sector_t * realback;
#ifdef _MSC_VER
#ifdef _DEBUG
if (seg->linedef-lines==636)
__asm nop
#endif
{
int a = 0;
}
#endif
// note: we always have a valid sidedef and linedef reference when getting here.

View file

@ -459,11 +459,11 @@ void GLWall::Draw(int pass)
FLightNode * node;
int rel;
#ifdef _MSC_VER
#ifdef _DEBUG
if (seg->linedef-lines==879)
__asm nop
#endif
{
int a = 0;
}
#endif