This commit is contained in:
parent
41a833f080
commit
250e2d89b1
3 changed files with 23 additions and 4 deletions
|
@ -16,8 +16,15 @@ const u32 YInc=16<<16;
|
|||
/*****************************************************************************/
|
||||
static const int TILE2D_WIDTH=16;
|
||||
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);
|
||||
#if defined(__TERRITORY_EUR__)
|
||||
static const int SCREEN_TILE_ADJ_W =1;
|
||||
static const int SCREEN_TILE_ADJ_H =2; // Extra line needed :o(
|
||||
#else
|
||||
static const int SCREEN_TILE_ADJ_W =1;
|
||||
static const int SCREEN_TILE_ADJ_H =1;
|
||||
#endif
|
||||
static const int SCREEN_TILE2D_WIDTH=((512/TILE2D_WIDTH)+SCREEN_TILE_ADJ_W);
|
||||
static const int SCREEN_TILE2D_HEIGHT=((256/TILE2D_HEIGHT)+SCREEN_TILE_ADJ_H);
|
||||
static const int PrimCount=SCREEN_TILE2D_WIDTH*SCREEN_TILE2D_HEIGHT;
|
||||
static const int PrimMemSize=PrimCount*sizeof(TSPRT);
|
||||
|
||||
|
|
|
@ -23,11 +23,17 @@ int ShowPolyz=0;
|
|||
#endif
|
||||
|
||||
static const int BLOCK_SIZE =16;
|
||||
#if defined(__TERRITORY_EUR__)
|
||||
static const int SCREEN_TILE_ADJ_U =2;
|
||||
static const int SCREEN_TILE_ADJ_D =2; // Extra line needed :o(
|
||||
static const int SCREEN_TILE_ADJ_L =3;
|
||||
static const int SCREEN_TILE_ADJ_R =3;
|
||||
#else
|
||||
static const int SCREEN_TILE_ADJ_U =2;
|
||||
static const int SCREEN_TILE_ADJ_D =1;
|
||||
static const int SCREEN_TILE_ADJ_L =3;
|
||||
static const int SCREEN_TILE_ADJ_R =3;
|
||||
|
||||
#endif
|
||||
static const int SCREEN_TILE3D_WIDTH =(INGAME_SCREENW/BLOCK_SIZE)+SCREEN_TILE_ADJ_L+SCREEN_TILE_ADJ_R;
|
||||
static const int SCREEN_TILE3D_HEIGHT =(INGAME_SCREENH/BLOCK_SIZE)+SCREEN_TILE_ADJ_U+SCREEN_TILE_ADJ_D;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue