[SDL] SDL Surface Array

Brønnum-Hansen bronnum-hansen at mail.dk
Fri Feb 20 09:53:00 PST 2004


It is because I want an integer to decide which image is shown. And I can't really find any other way to do this.
I've tried SDL_Surface array[8]; but I get a lot of errors.

Best regards,
Christian

M.A. Oude Kotte <marc at solcon.nl> wrote:
> Pure out of curiosity:
> - why do you want an array of surfaces?
> - why, if you really want one, don't you just do SDL_Surface
> array[8]; 
> or something similar? :)
> 
> Marc
> 
> 
> Brønnum-Hansen wrote:
> > Hi!
> > 
> > Is it possible to make an array of SDL Surfaces?
> > If not, is there an alternative?
> > 
> > I hope you can help me as this is a rather large problem
> for me.
> > Christian
> > 
> > _______________________________________________
> > SDL mailing list
> > SDL at libsdl.org
> > http://www.libsdl.org/mailman/listinfo/sdl
> > 
> > 
> 
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl





More information about the SDL mailing list