Contents
1
.
SDL
2
.
Setting Up SDL
1
.
SDL
¶
libSDL_dev
(http://www.libsdl.org/release/SDL-devel-1.2.14-VC8.zip)
2
.
Setting Up SDL
¶
Setting_Up_SDL
(http://lazyfoo.net/SDL_tutorials/lesson01/windows/msvsnet0508e/index.php)
= Source Codes=
#include "SDL.h"
int main(int argc,char **argv)
{
SDL_Surface *pScreen;
SDL_Init(SDL_INIT_EVERYTHING);
pScreen = SDL_
SetVideoMode
(640,480,32,SDL_SWSURFACE);
SDL_
FillRect
(pScreen,&pScreen->clip_rect,SDL_
MapRGB
(pScreen->format,0,0,255));
SDL_Flip(pScreen);
SDL_Delay(2000);
}
Retrieved from http://wiki.zeropage.org/wiki.php/게임프로그래밍
last modified 2021-02-07 05:28:41