Page 2 of 2 FirstFirst 12
Results 16 to 24 of 24
  1. #16
    Mr.Magicman's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Sitting in my cave full of thoughts learning Asembly
    Posts
    2,103
    Reputation
    16
    Thanks
    646
    My Mood
    Cold
    Quote Originally Posted by whit View Post


    Nope's ..
    Even if someone made a function for it you wouldnt get the oval your looking for (size and angles and such)...

    Easier to do it in MSPain and put it as a sprite

  2. #17
    seaplusplus's Avatar
    Join Date
    Jan 2011
    Gender
    male
    Posts
    107
    Reputation
    4
    Thanks
    49
    My Mood
    Drunk
    Quote Originally Posted by Mr.Magicman View Post


    Even if someone made a function for it you wouldnt get the oval your looking for (size and angles and such)...

    Easier to do it in MSPain and put it as a sprite
    You could try stretching out a circle...

  3. #18
    Mr.Magicman's Avatar
    Join Date
    Sep 2009
    Gender
    male
    Location
    Sitting in my cave full of thoughts learning Asembly
    Posts
    2,103
    Reputation
    16
    Thanks
    646
    My Mood
    Cold
    Quote Originally Posted by seaplusplus View Post
    You could try stretching out a circle...
    i want to see you trying...

  4. #19
    DannyIzHere's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Location
    In front of my PC.
    Posts
    828
    Reputation
    -3
    Thanks
    44
    My Mood
    Fine
    Quote Originally Posted by ^...,^ View Post
    aggred i wont to see this... small or big white or black
    Its big and black trust me .

  5. #20
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    Quote Originally Posted by DannyIzHere View Post


    Its big and black trust me .
    Lol wtf. Who the fk are you O.O
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

  6. #21
    DannyIzHere's Avatar
    Join Date
    Nov 2010
    Gender
    male
    Location
    In front of my PC.
    Posts
    828
    Reputation
    -3
    Thanks
    44
    My Mood
    Fine
    Quote Originally Posted by flameswor10 View Post
    Lol wtf. Who the fk are you O.O
    Im a member on MPGH.
    Nice to meet you.

  7. #22
    flameswor10's Avatar
    Join Date
    Jul 2009
    Gender
    male
    Posts
    12,528
    Reputation
    981
    Thanks
    10,404
    My Mood
    In Love
    Quote Originally Posted by DannyIzHere View Post


    Im a member on MPGH.
    Nice to meet you.
    Nice to meet you too.
    No I do not make game hacks anymore, please stop asking.


    Been MPGH Minion: 6 July 2011 - 1 August 2012

  8. #23
    Sidero's Avatar
    Join Date
    Dec 2008
    Gender
    male
    Posts
    5
    Reputation
    10
    Thanks
    0
    @flamswor10

    cool story bro

  9. #24
    topblast's Avatar
    Join Date
    Mar 2010
    Gender
    male
    Location
    Far from around you Programmer: C++ | VB | C# | JAVA
    Posts
    3,607
    Reputation
    149
    Thanks
    4,922
    My Mood
    Cool
    I could of made this for u... and mine would of been a little less ...... useless code.

    I JUST EDITED HIS FUNCTION REMOVED A LOT OF UN-NEEDED CODE WHAT WOULD OF BEEN JUST THERE TO WASTE MEMORY LIKE THE 4th VERTEX, THE TEXTURE FVF FLAG AND ALSO REMOVE A LOT OF THE DEFINE CODE WITH THIS.

    [php]void FillARGBTriangle(int x1, int y1, int x2, int y2, int x3, int y3, D3DCOLOR color, IDirect3DDevice9 *pDevice)
    {
    struct Vertex
    {
    float x,y,z,ht;
    DWORD Color;
    enum FVF
    {
    FVF_Flags = (D3DFVF_XYZRHW | D3DFVF_DIFFUSE)
    };
    } V[3] = {
    {(float)x1,(float)y1,0.0f, 0.0f, color},
    {(float)x2,(float)y2,0.0f, 0.0f, color},
    {(float)x3,(float)y3,0.0f, 0.0f, color},
    }
    // I am not going to add render states because.. I DONT WANT TO.
    pDevice->SetTexture(0, NULL);// No need for the texture u have this auto NULL
    pDevice->SetFVF( Vertex::FVF_Flags ); //No need for the texture there.. U dont have the parts for texture mapping.
    pDevice->DrawPrimitiveUP(D3DPT_TRIANGLESTRIP,2,V,sizeof(Ve rtex));
    }[/php]
    Last edited by topblast; 01-14-2011 at 06:17 PM.
    I just like programming, that is all.

    Current Stuff:

    • GPU Programmer (Cuda)
    • Client/Server (Cloud Server)
    • Mobile App Development

Page 2 of 2 FirstFirst 12