Wolf3d Haven Forum

Please log in or register. Smile
Wolf3d Haven Forum

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


    explain syntax

    Share

    johny4
    Freshmen
    Freshmen

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

    explain syntax

    Post by johny4 on 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
    Don't Hurt Me!
    Don't Hurt Me!

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

    Re: explain syntax

    Post by mmed on 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 Sat Sep 24, 2016 1:52 pm