This commit is contained in:
Daveo 2001-07-26 19:12:49 +00:00
parent 9ef50aa1e5
commit f05b09726f
6 changed files with 24 additions and 7 deletions

View File

@ -27,6 +27,9 @@
#include "game\game.h"
#endif
#ifndef __GFX_OTPOS_H__
#include "gfx\otpos.h"
#endif
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@ -169,7 +172,7 @@ void CNpcPendulumHazard::render()
{
if ( maxY >= 0 && minY <= VidGetScrH() )
{
DrawLine( x1, y1, x2, y2, 0, 0, 0, 0 );
DrawLine( x1, y1, x2, y2, 0, 0, 0, OTPOS__ACTOR_POS+1 );
}
}
}

View File

@ -31,6 +31,9 @@
#include "friend\friend.h"
#endif
#ifndef __GFX_OTPOS_H__
#include "gfx\otpos.h"
#endif
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@ -198,7 +201,7 @@ void CNpcRisingWeightHazard::render()
{
if ( maxY >= 0 && minY <= VidGetScrH() )
{
DrawLine( x1, y1, x2, y2, 0, 0, 0, 0 );
DrawLine( x1, y1, x2, y2, 0, 0, 0, OTPOS__ACTOR_POS+1 );
}
}
@ -229,7 +232,7 @@ void CNpcRisingWeightHazard::render()
{
if ( maxY >= 0 && minY <= VidGetScrH() )
{
DrawLine( x1, y1, x2, y2, 0, 0, 0, 0 );
DrawLine( x1, y1, x2, y2, 0, 0, 0, OTPOS__ACTOR_POS+1 );
}
}
}

View File

@ -35,6 +35,9 @@
#include "friend\friend.h"
#endif
#ifndef __GFX_OTPOS_H__
#include "gfx\otpos.h"
#endif
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@ -290,7 +293,7 @@ void CNpcDualPlatform::render()
{
if ( y2 >= 0 && y1 <= VidGetScrH() )
{
DrawLine( x1, y1, x2, y2, 0, 0, 0, 0 );
DrawLine( x1, y1, x2, y2, 0, 0, 0, OTPOS__ACTOR_POS+1 );
}
}
@ -332,7 +335,7 @@ void CNpcDualPlatform::render()
{
if ( y2 >= 0 && y1 <= VidGetScrH() )
{
DrawLine( x1, y1, x2, y2, 0, 0, 0, 0 );
DrawLine( x1, y1, x2, y2, 0, 0, 0, OTPOS__ACTOR_POS+1 );
}
}
}

View File

@ -27,6 +27,10 @@
#include "game\game.h"
#endif
#ifndef __GFX_OTPOS_H__
#include "gfx\otpos.h"
#endif
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
@ -156,7 +160,7 @@ void CNpcFishHookPlatform::render()
{
y2 = VidGetScrH();
}
DrawLine( x1, y1, x2, y2, 0, 0, 0, 8 );
DrawLine( x1, y1, x2, y2, 0, 0, 0, OTPOS__ACTOR_POS+1 );
}
}

View File

@ -27,6 +27,10 @@
#include "game\game.h"
#endif
#ifndef __GFX_OTPOS_H__
#include "gfx\otpos.h"
#endif
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void CNpcPendulumPlatform::postInit()
@ -191,7 +195,7 @@ void CNpcPendulumPlatform::render()
{
if ( y2Boundary >= 0 && y1Boundary <= VidGetScrH() )
{
DrawLine( x1, y1, x2, y2, 0, 0, 0, 8 );
DrawLine( x1, y1, x2, y2, 0, 0, 0, OTPOS__ACTOR_POS+1 );
}
}
}

Binary file not shown.