This commit is contained in:
parent
d6747572a6
commit
d57be650f7
1 changed files with 21 additions and 17 deletions
|
@ -84,9 +84,12 @@ sLayerShadeBackGfx *GfxList=Data->GfxList;
|
|||
|
||||
for (i=0; i<Data->GfxCount; i++)
|
||||
{
|
||||
POLY_GT4 *sGt4,*Gt4=GetPrimGT4();
|
||||
int PosX=(GfxList->PosX*BB)-XOfs;
|
||||
int PosY=(GfxList->PosY*BB)-YOfs;
|
||||
if (PosX>0-64 && PosX<512+64)
|
||||
if (PosY>0-64 && PosY<256+64)
|
||||
{
|
||||
POLY_GT4 *sGt4,*Gt4=GetPrimGT4();
|
||||
sLayerShadeBackGfxType &ThisType=Data->TypeList[GfxList->Type];
|
||||
|
||||
Gt4->x0=PosX+(GfxList->Ofs[0][0])*BM; Gt4->y0=PosY+(GfxList->Ofs[0][1])*BM;
|
||||
|
@ -106,6 +109,7 @@ sLayerShadeBackGfx *GfxList=Data->GfxList;
|
|||
setSemiTrans(Gt4,1);
|
||||
Gt4->tpage=ThisType.TPage;// | GfxList->Trans<<5;
|
||||
AddPrim(ThisOT,Gt4);
|
||||
}
|
||||
/*
|
||||
// Bodge it cos artist made the fuckers too big
|
||||
sGt4=GetPrimGT4(); *sGt4=*Gt4;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue