source: abuse/trunk/src/imlib/video.h @ 523

Last change on this file since 523 was 523, checked in by Sam Hocevar, 11 years ago

imlib: remove dead code.

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