Hallo Markus,
animPart[count].image = SDL_DisplayFormat(temp);
animPart[count].pause = pause;
imageWidth = animPart[count].image->w;
imageHeight = animPart[count].image->h;
>
> In SpriteBase wir "SpriteFrame" als Datentyp verwendet. Hier ist die Struktur dazu:
>
> ~~~c
> struct SpriteFrame {
> SDL_Surface *image;
> int pause;
> };
>
ist fuer
animPart[count].image
Speicher angelegt worden ? Oder liefert SDL_DisplayFormat(temp) einen Pointer auf das Bild zurueck ?
Gruß
Hans