This commit is contained in:
parent
a6b5d12cfc
commit
55888be3d1
1 changed files with 22 additions and 0 deletions
|
@ -71,6 +71,8 @@ void CLayerCollision::render(DVECTOR &MapPos)
|
||||||
|
|
||||||
case 1:
|
case 1:
|
||||||
case 2:
|
case 2:
|
||||||
|
case 3:
|
||||||
|
case 4:
|
||||||
f4=GetPrimF4();
|
f4=GetPrimF4();
|
||||||
setXYWH(f4,x,y,16,16);
|
setXYWH(f4,x,y,16,16);
|
||||||
setRGB0(f4,0,0,90);
|
setRGB0(f4,0,0,90);
|
||||||
|
@ -140,6 +142,26 @@ void CLayerCollision::render(DVECTOR &MapPos)
|
||||||
AddPrimToList(f3,0);
|
AddPrimToList(f3,0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 15:
|
||||||
|
f3=GetPrimF3();
|
||||||
|
setXY3(f3,x+16,y,
|
||||||
|
x,y,
|
||||||
|
x+16,y+16);
|
||||||
|
setRGB0(f3,0,0,90);
|
||||||
|
setSemiTrans(f3,true);
|
||||||
|
AddPrimToList(f3,0);
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 16:
|
||||||
|
f3=GetPrimF3();
|
||||||
|
setXY3(f3,x,y,
|
||||||
|
x+16,y,
|
||||||
|
x,y+16);
|
||||||
|
setRGB0(f3,0,0,90);
|
||||||
|
setSemiTrans(f3,true);
|
||||||
|
AddPrimToList(f3,0);
|
||||||
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
f4=GetPrimF4();
|
f4=GetPrimF4();
|
||||||
setXYWH(f4,x,y,16,16);
|
setXYWH(f4,x,y,16,16);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue