Jump to content

  • Log In with Google      Sign In   
  • Create Account


SDL_Surface from embedded resource?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 KazenoZ   Members   -  Reputation: 152

Like
0Likes
Like

Posted 02 March 2012 - 10:07 AM

Hello,

A rather simple question, probably a bit of a rought answer though =\
Is there a way to create a SDL_Surface from an embedded resource in C++?
Maybe from bytes saved to an external file?

I'm mainly looking for any way that would allow a game to function using SDL without having to pack all the graphics along with it.

Is there anything like that that can be supported by SDL?
Thanks!

Sponsor:

#2 KazenoZ   Members   -  Reputation: 152

Like
0Likes
Like

Posted 07 March 2012 - 12:08 PM

Bump.
Anyone? Maybe a solution not through SDL? Maybe it's possible in some way to write out the files' bytes into a text file and use those to reconstruct the files in a temporary folder once the project runs? Would that be possible?




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS