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


    Code help/tutorials needed for SDL

    Share

    jayngo26
    Spear of Destiny
    Spear of Destiny

    Male
    Number of posts : 643
    Age : 136
    Location : Random
    Job : Partime Evil Semi-Genius Plotting To Take Over Half The World. Partime Undead Charged With Keeping the Darkness Dark
    Hobbie : Staying Out Of Sunlight
    Message : Wolfenstein:Umbrella Beginnings Episode 2 released! Download now!

    Registration date : 2008-08-09

    Code help/tutorials needed for SDL

    Post by jayngo26 on Fri Feb 12, 2010 6:31 pm

    Ok. Now that I started getting into SDL I have a load of questions. I really want to add outside atmosphere (particularly stars/moon and falling snow). I know I have all the files for it in SDL. Just don't know how to get it to work. Also, I use chaosedit and I know there are some options to enable it to work in there, i think?

    I also want to enable 64+ walltile code. I see the Brother Tank code on DHW, but it's so long. Just wondering if SDL has an easier way of adding more walltiles...

    Please help!



    http://jayngoware.com/

    WLHack
    Senior Member
    Senior Member

    Male
    Number of posts : 798
    Age : 28
    Location : Finland
    Registration date : 2007-03-26

    Re: Code help/tutorials needed for SDL

    Post by WLHack on Fri Feb 12, 2010 10:24 pm

    For the walls try this. I used it in ToS and if you open ToS demo with
    ChaosEdit for instance you notice it enables more than 64 walls
    (and more than 64 doors)...

    I suppose you have commented out the correct defines
    in version.h. Have you included the corresponding *.cpp/*.h
    files in your project? If you have done this - make sure
    that in ChaosEdit you have selected "use feature flags"
    and the features you want to use...

    This should work unless you have forgotten something.



    Hammer: I can see it now: you and the moon - wear a necktie so I'll know you.
    Building a new webpage...

    jayngo26
    Spear of Destiny
    Spear of Destiny

    Male
    Number of posts : 643
    Age : 136
    Location : Random
    Job : Partime Evil Semi-Genius Plotting To Take Over Half The World. Partime Undead Charged With Keeping the Darkness Dark
    Hobbie : Staying Out Of Sunlight
    Message : Wolfenstein:Umbrella Beginnings Episode 2 released! Download now!

    Registration date : 2008-08-09

    Re: Code help/tutorials needed for SDL

    Post by jayngo26 on Sat Feb 13, 2010 10:54 am

    Ok. Now I have starry sky and snow falling on level 1. haha. awesome! So easy just to uncomment stuff! Thanks!



    http://jayngoware.com/

    Sponsored content

    Re: Code help/tutorials needed for SDL

    Post by Sponsored content Today at 12:21 pm


      Current date/time is Sat Dec 10, 2016 12:21 pm