This commit is contained in:
parent
9ef50aa1e5
commit
f05b09726f
6 changed files with 24 additions and 7 deletions
|
@ -27,6 +27,9 @@
|
||||||
#include "game\game.h"
|
#include "game\game.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GFX_OTPOS_H__
|
||||||
|
#include "gfx\otpos.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
@ -169,7 +172,7 @@ void CNpcPendulumHazard::render()
|
||||||
{
|
{
|
||||||
if ( maxY >= 0 && minY <= VidGetScrH() )
|
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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -31,6 +31,9 @@
|
||||||
#include "friend\friend.h"
|
#include "friend\friend.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GFX_OTPOS_H__
|
||||||
|
#include "gfx\otpos.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
@ -198,7 +201,7 @@ void CNpcRisingWeightHazard::render()
|
||||||
{
|
{
|
||||||
if ( maxY >= 0 && minY <= VidGetScrH() )
|
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() )
|
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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -35,6 +35,9 @@
|
||||||
#include "friend\friend.h"
|
#include "friend\friend.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GFX_OTPOS_H__
|
||||||
|
#include "gfx\otpos.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
@ -290,7 +293,7 @@ void CNpcDualPlatform::render()
|
||||||
{
|
{
|
||||||
if ( y2 >= 0 && y1 <= VidGetScrH() )
|
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() )
|
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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,6 +27,10 @@
|
||||||
#include "game\game.h"
|
#include "game\game.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GFX_OTPOS_H__
|
||||||
|
#include "gfx\otpos.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
@ -156,7 +160,7 @@ void CNpcFishHookPlatform::render()
|
||||||
{
|
{
|
||||||
y2 = VidGetScrH();
|
y2 = VidGetScrH();
|
||||||
}
|
}
|
||||||
DrawLine( x1, y1, x2, y2, 0, 0, 0, 8 );
|
DrawLine( x1, y1, x2, y2, 0, 0, 0, OTPOS__ACTOR_POS+1 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,10 @@
|
||||||
#include "game\game.h"
|
#include "game\game.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef __GFX_OTPOS_H__
|
||||||
|
#include "gfx\otpos.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
void CNpcPendulumPlatform::postInit()
|
void CNpcPendulumPlatform::postInit()
|
||||||
|
@ -191,7 +195,7 @@ void CNpcPendulumPlatform::render()
|
||||||
{
|
{
|
||||||
if ( y2Boundary >= 0 && y1Boundary <= VidGetScrH() )
|
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.
Loading…
Add table
Reference in a new issue