Wolf3d Haven Forum

Please log in or register. Smile

Join the forum, it's quick and easy

Wolf3d Haven Forum

Please log in or register. Smile

Wolf3d Haven Forum

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Wolf3d Haven Forum

A friendly Wolfenstein 3D community, about Wolfenstein 3D, the game that gave birth to first person shooters...


    wider status bar.

    Agent_Falcon93
    Agent_Falcon93
    Can I Play, Daddy?
    Can I Play, Daddy?


    Male
    Number of posts : 42
    Age : 38
    Location : subterranean caverns & catacombs
    Job : Entrepreneur
    Hobbie : Beach Days & Gardening
    Message : Author of Castle Erzengel Demo, and the upcoming Runes of North Castle Court, and the rest of the Series : Knights of the ᛋᛋ.
    Registration date : 2021-12-05

    wider status bar.  Empty wider status bar.

    Post by Agent_Falcon93 Wed Sep 20, 2023 9:17 am

    http://dhw.wolfenstein3d.com/viewtopic.php?t=8533&highlight=border
    The solution was redacted, someone please help, I've looked at source code with this working but where I thought it needed changed is still the default code. 
    ie I have no idea what to do.



    wider status bar.  Right-arrow



    wider status bar.  Right-arrow farao "Call Pizza Hut and say Ardwolf"  wider status bar.  1f355
    Agent_Falcon93
    Agent_Falcon93
    Can I Play, Daddy?
    Can I Play, Daddy?


    Male
    Number of posts : 42
    Age : 38
    Location : subterranean caverns & catacombs
    Job : Entrepreneur
    Hobbie : Beach Days & Gardening
    Message : Author of Castle Erzengel Demo, and the upcoming Runes of North Castle Court, and the rest of the Series : Knights of the ᛋᛋ.
    Registration date : 2021-12-05

    wider status bar.  Empty wider status bar. SOLVED

    Post by Agent_Falcon93 Wed Sep 20, 2023 12:18 pm

    Thanks to Nex for helping me narrow down the lines of code to change. 


    in WL_Game.cpp
    replace 5 lines with the new 2 lines
    Code:
    ===================
    =
    = DrawPlayBorder
    =
    ===================
    */

    void DrawPlayBorder (void)
    {
     const int px = scaleFactor; // size of one "pixel"

        if (bordercol != VIEWCOLOR)
            DrawStatusBorder(bordercol);
        else
        {


     const int reducedStatusBorderWidth = 320 - 16; // 16 pixels total reduction (8 pixels on each side)
    const int statusborderw = (screenWidth - px * reducedStatusBorderWidth) / 2;

                /*
            const int statusborderw = (screenWidth-px*320)/2;
            VWB_BarScaledCoord (0, screenHeight-px*STATUSLINES,
                statusborderw+px*8, px*STATUSLINES, bordercol);
            VWB_BarScaledCoord (screenWidth-statusborderw-px*8, screenHeight-px*STATUSLINES,
                statusborderw+px*8, px*STATUSLINES, bordercol);
                */



    wider status bar.  Right-arrow



    wider status bar.  Right-arrow farao "Call Pizza Hut and say Ardwolf"  wider status bar.  1f355

      Current date/time is Sun Nov 10, 2024 11:59 pm