Last change
on this file since 17 was
2,
checked in by Sam Hocevar, 17 years ago
|
- imported original 0.7.0 tarball
|
File size:
671 bytes
|
Rev | Line | |
---|
[2] | 1 | #ifndef _VIDEO_HPP_ |
---|
| 2 | #define _VIDEO_HPP_ |
---|
| 3 | #include "system.h" |
---|
| 4 | |
---|
| 5 | #define TRI_1024x768x256 0x62 |
---|
| 6 | #define TRI_800x600x256 0x5e |
---|
| 7 | #define TRI_640x480x256 0x5c |
---|
| 8 | #define VGA_320x200x256 0x13 |
---|
| 9 | #define CGA_640x200x2 6 |
---|
| 10 | #define XWINDOWS_256 256 |
---|
| 11 | #define XWINDOWS_2 2 |
---|
| 12 | |
---|
| 13 | #include "image.hpp" |
---|
| 14 | |
---|
| 15 | |
---|
| 16 | extern unsigned char current_background; |
---|
| 17 | extern unsigned int xres,yres; |
---|
| 18 | extern int xoff,yoff; |
---|
| 19 | extern image *screen; |
---|
| 20 | |
---|
| 21 | void set_mode(int mode, int argc=0, char **argv=NULL); |
---|
| 22 | void close_graphics(); |
---|
| 23 | void fill_image(image *im, int x1, int y1, int x2, int y2); |
---|
| 24 | void update_dirty(image *im, int xoff=0, int yoff=0); |
---|
| 25 | |
---|
| 26 | |
---|
| 27 | void clear_put_image(image *im, int x, int y); |
---|
| 28 | int get_vmode(); |
---|
| 29 | |
---|
| 30 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.