This commit is contained in:
Paul 2001-07-31 16:30:15 +00:00
parent 34c4760092
commit c9298f5c2f
2 changed files with 20 additions and 0 deletions

View File

@ -19,6 +19,10 @@ static const int TILE2D_HEIGHT=12;
static const int SCREEN_TILE2D_WIDTH=((512/TILE2D_WIDTH)+1);
static const int SCREEN_TILE2D_HEIGHT=((256/TILE2D_HEIGHT)+1);
#ifdef __VERSION_DEBUG__
extern int PretendToBeAPS2;
#endif
/*****************************************************************************/
/*****************************************************************************/
/*****************************************************************************/
@ -110,6 +114,13 @@ int YPos=MapPos.vy>>MapXYShift;
/*****************************************************************************/
void CLayerTile::render()
{
#ifdef __VERSION_DEBUG__
if(PretendToBeAPS2)
{
return;
}
#endif
sTileMapElem *MapPtr=Map+GetMapOfs();
s16 TileX,TileY;
sOT *ThisOT=OtPtr+LayerOT;

View File

@ -35,6 +35,9 @@ static const int RENDER_Y_OFS =INGAME_SCREENOFS_Y-(SCREEN_TILE_ADJ_U*BLOCK_SIZ
static const int DeltaTableSizeX=SCREEN_TILE3D_WIDTH+1;
static const int DeltaTableSizeY=SCREEN_TILE3D_HEIGHT+1;
#ifdef __VERSION_DEBUG__
int PretendToBeAPS2=false;
#endif
/*****************************************************************************/
// 0 LUF
@ -276,6 +279,12 @@ s32 *OutPtr;
/*****************************************************************************/
void CLayerTile3d::render()
{
#ifdef __VERSION_DEBUG__
if(PretendToBeAPS2)
{
return;
}
#endif
int MapOfs=GetMapOfs();
sTileMapElem *MapPtr=Map+MapOfs;
u8 *RGBMapPtr=RGBMap+MapOfs;