12345678910111213141516171819202122232425262728293031323334353637 |
- #ifndef DISPLAY_H_
- #define DISPLAY_H_
- #include <SDL/SDL.h>
- void init_sdl();
- void wait_for_keypress();
- void display_buffer(int width, int height, char *cur_buffer, char *prev_buffer, int delay, char* changed_blocks);
- void create_window(int width, int height);
- #define NCOLORS 256
- SDL_Color colors[NCOLORS];
- SDL_Surface *screen;
- #endif
|