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

    explain syntax

    johny4
    johny4
    Freshmen
    Freshmen


    Male
    Number of posts : 14
    Age : 36
    Location : Slovakia
    Job : Magna Slovteca Trnava (BMW)
    Hobbie : PC games,DJ tiesto music, sleeping,FB
    Registration date : 2011-01-30

    explain syntax Empty explain syntax

    Post by johny4 Sun Feb 06, 2011 11:54 am

    Could someone explain to me this syntax?

    Code:
          shapenum = weaponscale[gamestate.weapon]*2-SPR_KNIFEREADY+gamestate.weaponframe;
          bufferofs+=((viewheight+1)/4)*80;
          SimpleScaleShape(viewwidth*3/8,shapenum,(viewheight+1)/2);
          SimpleScaleShape(viewwidth*5/8,shapenum+1,(viewheight+1)/2);
          bufferofs-=((viewheight+1)/4)*80;

    /I would make hires sprites(1280x896).
    mmed
    mmed
    Don't Hurt Me!
    Don't Hurt Me!


    Male
    Number of posts : 52
    Age : 30
    Registration date : 2012-07-25

    explain syntax Empty Re: explain syntax

    Post by mmed Tue Jul 31, 2012 12:14 pm

    YOU ARE CRAZY???


    the engine does not support 1280x896 sprites !!!!!!
    You would have to make a new graphics engine,also you would have to put in a resolution higher than that of the sprites and if this game is in mode software render = runing very slowly ... You idiot!


      Current date/time is Thu Nov 21, 2024 4:57 am