borders

社区服务
高级搜索
猴岛论坛CSGO反恐精英CS作弊器交流讨论borders
发帖 回复
倒序阅读 最近浏览的帖子最近浏览的版块
0个回复

borders

楼层直达
作弊辅导员_h

ZxID:1019634

等级: 元老
定做作弊器
举报 只看楼主 使用道具 楼主   发表于: 2007-06-29 0

There nothing special


code:--------------------------------------------------------------------------------
void Border(int x,int y,int w, int h, ColorEntry* clr)
{
 oglSubtractive = true;
 gEngfuncs.pfnFillRGBA( x-2, y-2, w+4, 1 , 255, 255, 255, 255  );
 gEngfuncs.pfnFillRGBA( x-2, y-2, 1, h+4 , 255, 255, 255, 255  );
 gEngfuncs.pfnFillRGBA( x-5, y+h+5, w+10, 1 ,255, 255, 255, 255  );
 gEngfuncs.pfnFillRGBA( x+w+4, y-4, 1, h+10 , 255, 255, 255, 255  );

 gEngfuncs.pfnFillRGBA( x-4, y-4, w+8, 2 , clr->r,clr->g,clr->b,clr->a );
 gEngfuncs.pfnFillRGBA( x-4, y-4, 2, h+8 , clr->r,clr->g,clr->b,clr->a );
 gEngfuncs.pfnFillRGBA( x-4, y+h+3, w+8, 2 , clr->r,clr->g,clr->b,clr->a );
 gEngfuncs.pfnFillRGBA( x+w+2, y-4, 2, h+9 , clr->r,clr->g,clr->b,clr->a );

 oglSubtractive = false;
 gEngfuncs.pfnFillRGBA( x-5, y-5, w+10, 1 , 255, 255, 255, 255  );
 gEngfuncs.pfnFillRGBA( x-5, y-5, 1, h+10 , 255, 255, 255, 255  );
 gEngfuncs.pfnFillRGBA( x-2, y+h+2, w+4, 1 , 255, 255, 255, 255  );
 gEngfuncs.pfnFillRGBA( x+w+1, y-1, 1, h+3 , 255, 255, 255, 255  );
}

void Menuline(int x,int y,int w, int h, ColorEntry* clr) 
{
 oglSubtractive = true; 
   gEngfuncs.pfnFillRGBA( x-2, y-2, w+4, 1 , 255, 255, 255, 255  );
   gEngfuncs.pfnFillRGBA( x-4, y-4, w+8, 2 , clr->r,clr->g,clr->b,clr->a );
   gEngfuncs.pfnFillRGBA( x-2, y-5, w+4, 1 , 255, 255, 255, 255 );
   oglSubtractive = false;
}

void Nickline(int x,int y,int w, int h, ColorEntry* clr) 
{
oglSubtractive = true;
 gEngfuncs.pfnFillRGBA( x+w+4, y-1, 1, h+5 , 255, 255, 255, 255 );
 gEngfuncs.pfnFillRGBA( x+w+2, y-4, 2, h+9 , clr->r,clr->g,clr->b,clr->a);
 gEngfuncs.pfnFillRGBA( x+w+1, y-1, 1, h+5 , 255, 255, 255, 255);
oglSubtractive = false;
}

void DrawGrid(int x,int y,int w,int h,int size,ColorEntry* clr1,ColorEntry* clr2)
{
 int s = size;
 int s1 = s+1;
 int s2 = s-1;
 for(int v=x;v<=x+w-s2;v+=s1)
 {
  tintArea(  v, y, s, h,clr1);
  tintArea(v+s, y, s, h,clr2);
 }
 for(v=y;v<=y+h-s2;v+=s1)
 {
  tintArea(x,  v, w, s,clr1);
  tintArea(x,v+s, w, s,clr2);
 }
}


密码被盗,请联系cscheat取回
« 返回列表
发帖 回复