add an SDL variant, with makefile. Compiles on mac os x
cosmetic changes
Introduce game class, which has some bare minimums, which means it
bootstraps and simply responds to event "quit". Inspired by sdltutorials
Draw surface on screen.
make it possible to draw a part of a surface
drawTile simplifies drawing from a tileset
Add a very basic map, of 10x10 (fixed) size. And draw it on screen using
a tileset.
Add working ubuntu (linux) makefile. Ignore makefile.
remove default makefile + ignore .swp files
make OSX makefile use sdl-config, so it automagically refers to your
correct LIB/INCLUDE paths
cleanup old stuff
Clean up
move source files to base level, remove sdl source dir
move ignores to root level
calculate amount of cells for width/height on screen + set max map size
to 256x256
refactor: calculate 1-dimensional array (cell index) from x and y by
using public static method on Cell
make it work on MSYS/MinGW (Windows)
add a sample tileset to work with
the png version should be used in game, the loss-less bmp is here to expand and derive the png from
Introduce SDL_image, load tileset.png now. Also add readme.md