Skip to content

Instantly share code, notes, and snippets.

@antonijn
Last active December 22, 2015 23:49
Show Gist options
  • Save antonijn/6549710 to your computer and use it in GitHub Desktop.
Save antonijn/6549710 to your computer and use it in GitHub Desktop.
graphics.h
#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