2 #include <SDL_image/SDL_image.h>
4 #include "musk/image.h"
6 // TODO: Find a way to copy the SDL framework AND the resources
7 // TODO: move source code in src, resources in res
9 int main(int argc
, char **argv
)
11 SDL_Init(SDL_INIT_EVERYTHING
);
12 IMG_Init(IMG_INIT_PNG
);
14 SDL_Surface
*screen
= SDL_SetVideoMode(640, 480, 32, SDL_SWSURFACE
);
15 musk::Image
hello("hello.bmp");