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

    Code help/tutorials needed for SDL

    jayngo26
    jayngo26
    Spear of Destiny
    Spear of Destiny


    Male
    Number of posts : 643
    Age : 143
    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

    tutorials - Code help/tutorials needed for SDL Empty Code help/tutorials needed for SDL

    Post by jayngo26 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/
    avatar
    WLHack
    Senior Member
    Senior Member


    Male
    Number of posts : 800
    Age : 35
    Location : Finland
    Registration date : 2007-03-26

    tutorials - Code help/tutorials needed for SDL Empty Re: Code help/tutorials needed for SDL

    Post by WLHack 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
    jayngo26
    Spear of Destiny
    Spear of Destiny


    Male
    Number of posts : 643
    Age : 143
    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

    tutorials - Code help/tutorials needed for SDL Empty Re: Code help/tutorials needed for SDL

    Post by jayngo26 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


    tutorials - Code help/tutorials needed for SDL Empty Re: Code help/tutorials needed for SDL

    Post by Sponsored content


      Current date/time is Mon Oct 14, 2024 10:52 am