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...


2 posters

    How to show item count on the status bar

    ToMi
    ToMi
    Freshmen
    Freshmen


    Male
    Number of posts : 23
    Age : 16
    Location : Czech Republic
    Registration date : 2021-03-29

    How to show item count on the status bar Empty How to show item count on the status bar

    Post by ToMi Thu Apr 29, 2021 6:15 am

    Do someone know how can I make the status bar to display the treasure count? I've seen that the SNES port of Wolf3D has this feature.
    Nexion
    Nexion
    Seasoned Wolfer
    Seasoned Wolfer


    Number of posts : 275
    Age : 112
    Location : Dimension of Anti-Time
    Hobbie : bringing chaos & madness into universe
    Message : Planet N
    Registration date : 2008-02-27

    How to show item count on the status bar Empty Re: How to show item count on the status bar

    Post by Nexion Thu Apr 29, 2021 7:23 am

    Depends. As far as i know ECWolf doesn't have custom statusbars. In case of coding, you would have to just change LatchNumber (6,16,6,gamestate.score); in DrawScore to LatchNumber (6,16,6,gamestate.treasurecount); and make sure gamestate.treasurecount++; for the bo_item happens before GivePoints()/DrawScore(); or the display will lag behind by one.

      Current date/time is Thu Apr 18, 2024 10:07 pm