e12b581fc8
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
20 lines
382 B
C
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
|
|
|