Last change
on this file since 481 was
481,
checked in by Sam Hocevar, 12 years ago
|
Fuck the history, I'm renaming all .hpp files to .h for my own sanity.
|
-
Property svn:keywords set to
Id
|
File size:
924 bytes
|
Rev | Line | |
---|
[56] | 1 | /* |
---|
| 2 | * Abuse - dark 2D side-scrolling platform game |
---|
| 3 | * Copyright (c) 1995 Crack dot Com |
---|
| 4 | * |
---|
| 5 | * This software was released into the Public Domain. As with most public |
---|
| 6 | * domain software, no warranty is made or implied by Crack dot Com or |
---|
| 7 | * Jonathan Clark. |
---|
| 8 | */ |
---|
| 9 | |
---|
[2] | 10 | #ifndef _VIDEO_HPP_ |
---|
| 11 | #define _VIDEO_HPP_ |
---|
| 12 | #include "system.h" |
---|
| 13 | |
---|
| 14 | #define TRI_1024x768x256 0x62 |
---|
| 15 | #define TRI_800x600x256 0x5e |
---|
| 16 | #define TRI_640x480x256 0x5c |
---|
| 17 | #define VGA_320x200x256 0x13 |
---|
| 18 | #define CGA_640x200x2 6 |
---|
| 19 | #define XWINDOWS_256 256 |
---|
| 20 | #define XWINDOWS_2 2 |
---|
| 21 | |
---|
[481] | 22 | #include "image.h" |
---|
[2] | 23 | |
---|
| 24 | |
---|
| 25 | extern unsigned char current_background; |
---|
[162] | 26 | extern int xres,yres; |
---|
[2] | 27 | extern int xoff,yoff; |
---|
| 28 | extern image *screen; |
---|
| 29 | |
---|
| 30 | void set_mode(int mode, int argc=0, char **argv=NULL); |
---|
| 31 | void close_graphics(); |
---|
| 32 | void fill_image(image *im, int x1, int y1, int x2, int y2); |
---|
| 33 | void update_dirty(image *im, int xoff=0, int yoff=0); |
---|
| 34 | |
---|
| 35 | |
---|
| 36 | void clear_put_image(image *im, int x, int y); |
---|
| 37 | int get_vmode(); |
---|
| 38 | |
---|
| 39 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.