Follow this tutorial, but don't do step 10, and 11. Instead add the SMW source. (add every file
but leveleditor, linfunc, net, options, screenshot, worldeditor)
http://http://lazyfoo.net/SDL_tutorials/lesson01/windows/devcpp/index.phpThen goto
http://http://www.libsdl.org/projects/SDL_mixer/ and get SDL_mixer-devel-1.2.8-VC8 or any later versions.
Open it up.
Copy the contents of the include folder to C:Dev-Cppinclude
Copy the contents of the lib folder to C:Dev-Cpplib
Then goto
http://http://www.libsdl.org/projects/SDL_image/ and get SDL_image-devel-1.2.6-VC8 or any later versions.
Open it up.
Copy the contents of the include folder to C:Dev-Cppinclude
Copy the contents of the lib folder to C:Dev-Cpplib
Now, we should still have dev C++ open from following lazy foo's tutorial. So we go back to Project->Project Options-> Parameters, inside the linker box we
add -lSDL_Image -lSDL_Mixer
so it looks like this:
-lmingw32 -lSDLmain -lSDL -lSDL_Image -lSDL_Mixer
Then you should be able to compile it.
This is just for the people who want to change stuff like gravity

Have fun.