Last active
December 22, 2015 23:49
-
-
Save antonijn/6549710 to your computer and use it in GitHub Desktop.
graphics.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#ifndef GRAPHICS_H | |
#define GRAPHICS_H | |
#define SCREEN_WIDTH 320 | |
#define SCREEN_HEIGHT 300 | |
#define SCREEN_SIZE ((unsigned long)SCREEN_WIDTH * (unsigned long)SCREEN_HEIGHT) | |
void initgraphics(void); | |
void destroygraphics(void); | |
void setpix(int x, int y, int col); | |
int getpix(int x, int y); | |
#endif /* GRAPHICS_H */ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment