screen is what I’m trying to blit to images, and I’m trying to get
images to draw to the screen.
I’ve got screen and images defined as follows:
screen = SDL_SetVideoMode(640, 480, 0,
SDL_HWSURFACE|SDL_FULLSCREEN);
images = SDL_SetVideoMode(640, 480, 0,
SDL_HWSURFACE|SDL_FULLSCREEN);
I honestly don’t know how to check to see if the rectangles clip the
screen. I’m sorry, I just haven’t had much experience with game
programming and sdl in general yet.
with SDL_SetVideoMode() you initialize the screen buffer. Obviously there can
only be one. Other surfaces should be created by SDL_AllocSurface(…)
screen is what I’m trying to blit to images, and I’m trying to get
images to draw to the screen.
I’ve got screen and images defined as follows:
screen = SDL_SetVideoMode(640, 480, 0,
SDL_HWSURFACE|SDL_FULLSCREEN);
images = SDL_SetVideoMode(640, 480, 0,
SDL_HWSURFACE|SDL_FULLSCREEN);
I honestly don’t know how to check to see if the rectangles clip the
screen. I’m sorry, I just haven’t had much experience with game
programming and sdl in general yet.
with SDL_SetVideoMode() you initialize the screen buffer. Obviously there can
only be one. Other surfaces should be created by SDL_AllocSurface(…)