adventskalender-2009/src/draw.h
Aaron Mueller e12b581fc8 Build a initial structure to build the game
This includes:
  * Change the Makefile so we can build the source with SDL
  * Create a config file for all global variables
  * Initialize a simple game loop to see something on the screen
  * Stub for building a drawing lib
  * Modify the README a little bit
2009-12-07 16:57:30 +01:00

20 lines
382 B
C

#ifndef DRAW_H
#define DRAW_H
/*
* Draw a single pixel on the surface with the given color. This is the basic
* function to paint on the screen. We will be use this function for all paint
* stuff.
*/
void drawPixel(int x, int y, int color);
/*
* This function will be called for every frame. Here you can actual draw things
* on the screen.
*/
void drawScreen();
#endif