Error Rendering Menu

Discussion in 'Subnautica Accounts - Buy Sell Trade' started by vaisefud3, 12/6/17.

Thread Status:
Not open for further replies.
  1. vaisefud3

    vaisefud3
    Expand Collapse
    High Risk Status: This user has been flagged as high risk due to one or more reasons

    0   0   0

    Offline
    Hey, I'm receiving a send error report when trying to render my menu...
    Can someone help me?

    Class:
    Code:
    void RenderMenu(LPDIRECT3DDEVICE9 pDevice);
    Code:
    Code:
    void MyMenu::RenderMenu(LPDIRECT3DDEVICE9 pDevice) {
    FillRGB_A(3, 3, 186, numtotal * 25 + 23, Black, pDevice);
    DrawBorder_A(1, 1, 190, 25, 2, White, pDevice);
    DrawBorder_A(1, 1, 190, (numtotal + 1) * 25 + 2, 2, White, pDevice);

    WriteText_A(pDevice, 15, 5, White, "CrossFire by Darkratos");

    if(numtotal > 0){
    for(int i = 0; i < numtotal; i++) {
    if(*MENU.var) {
    WriteText_A(pDevice, 95 - (getTextWidth(MENU.item) / 2), 30, MENU.colorON, MENU.item);
    }else{
    WriteText_A(pDevice, 95 - (getTextWidth(MENU.item) / 2), 30, MENU.colorOFF, MENU.item);
    }
    }
    }
    }
    Am I missing something?
    If needed, I'll send more code.
    Thanks
     
    • This user is inactive. Hasn't logged into their account in over 60 days.
Thread Status:
Not open for further replies.