[gameprogrammer] Re: SDL: how to render image already loaded to the memory?



Melomori Lee escribió:


2007/1/16, Roger D Vargas <luo_hei@xxxxxxxx <mailto:luo_hei@xxxxxxxx>>:

    SDL blitting functions?

    Melomori Lee escribió:
     > Hello!
     >
     > I have the following question concerning SDL:  how can I render the
     > image that is in the memory (i.e. already loaded from file or
    received
     > from the network)?
     >
     > Thank you in advance for any help,
     >
     > Melomori Lee
     >
     > ---------------------
     > To unsubscribe go to http://gameprogrammer.com/mailinglist.html
     >
     >
     >


Hello!

for example, we have image in memory (we don't have its copy on the hard-drive) and the question is whether we can render it?
Surely you mean that you have images in SDL surfaces. To blit a surface to screen you use SDL_BlitSurface. Please, refer to SDL docs and examples.


--
http://dsgp.blogspot.com | Linux, programación, juegos
Have no place I can be since I found Serenity
But you can’t take the sky from me

        
        
                
______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y móviles desde 1 céntimo por minuto. http://es.voice.yahoo.com

---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: