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

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

imlib: refactor image::PutPart? and image::PutPartMasked?, get rid of
unused methods image::PutPartXrev? and image::fill_image.

  • Property svn:keywords set to Id
File size: 1.0 KB
2 *  Abuse - dark 2D side-scrolling platform game
3 *  Copyright (c) 1995 Crack dot Com
[494]4 *  Copyright (c) 2005-2011 Sam Hocevar <>
[56]5 *
6 *  This software was released into the Public Domain. As with most public
[555]7 *  domain software, no warranty is made or implied by Crack dot Com, by
8 *  Jonathan Clark, or by Sam Hocevar.
[56]9 */
[2]11#ifndef _VIDEO_HPP_
12#define _VIDEO_HPP_
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
[481]22#include "image.h"
[162]24extern int xres,yres;
[2]25extern int xoff,yoff;
[643]26extern image *main_screen;
28void set_mode(int mode, int argc=0, char **argv=NULL);
29void close_graphics();
[524]30void update_window_done();
[2]32void update_dirty(image *im, int xoff=0, int yoff=0);
[524]33void put_part_image(image *im, int x, int y, int x1, int y1, int x2, int y2);
34void put_image(image * im, int x, int y);
36void clear_put_image(image *im, int x, int y);
37int get_vmode();
Note: See TracBrowser for help on using the repository browser.