This commit is contained in:
parent
34c4760092
commit
c9298f5c2f
@ -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_WIDTH=((512/TILE2D_WIDTH)+1);
|
||||||
static const int SCREEN_TILE2D_HEIGHT=((256/TILE2D_HEIGHT)+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()
|
void CLayerTile::render()
|
||||||
{
|
{
|
||||||
|
#ifdef __VERSION_DEBUG__
|
||||||
|
if(PretendToBeAPS2)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
sTileMapElem *MapPtr=Map+GetMapOfs();
|
sTileMapElem *MapPtr=Map+GetMapOfs();
|
||||||
s16 TileX,TileY;
|
s16 TileX,TileY;
|
||||||
sOT *ThisOT=OtPtr+LayerOT;
|
sOT *ThisOT=OtPtr+LayerOT;
|
||||||
|
@ -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 DeltaTableSizeX=SCREEN_TILE3D_WIDTH+1;
|
||||||
static const int DeltaTableSizeY=SCREEN_TILE3D_HEIGHT+1;
|
static const int DeltaTableSizeY=SCREEN_TILE3D_HEIGHT+1;
|
||||||
|
|
||||||
|
#ifdef __VERSION_DEBUG__
|
||||||
|
int PretendToBeAPS2=false;
|
||||||
|
#endif
|
||||||
|
|
||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
// 0 LUF
|
// 0 LUF
|
||||||
@ -276,6 +279,12 @@ s32 *OutPtr;
|
|||||||
/*****************************************************************************/
|
/*****************************************************************************/
|
||||||
void CLayerTile3d::render()
|
void CLayerTile3d::render()
|
||||||
{
|
{
|
||||||
|
#ifdef __VERSION_DEBUG__
|
||||||
|
if(PretendToBeAPS2)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
#endif
|
||||||
int MapOfs=GetMapOfs();
|
int MapOfs=GetMapOfs();
|
||||||
sTileMapElem *MapPtr=Map+MapOfs;
|
sTileMapElem *MapPtr=Map+MapOfs;
|
||||||
u8 *RGBMapPtr=RGBMap+MapOfs;
|
u8 *RGBMapPtr=RGBMap+MapOfs;
|
||||||
|
Loading…
Reference in New Issue
Block a user