~ubuntu-branches/ubuntu/raring/mame/raring-proposed

« back to all changes in this revision

Viewing changes to mess/src/mess/video/crt.h

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach, Jordi Mallach, Emmanuel Kasper
  • Date: 2011-12-19 22:56:27 UTC
  • mfrom: (0.1.2)
  • Revision ID: package-import@ubuntu.com-20111219225627-ub5oga1oys4ogqzm
Tags: 0.144-1
[ Jordi Mallach ]
* Fix syntax errors in DEP5 copyright file (lintian).
* Use a versioned copyright Format specification field.
* Update Vcs-* URLs.
* Move transitional packages to the new metapackages section, and make
  them priority extra.
* Remove references to GNU/Linux and MESS sources from copyright.
* Add build variables for s390x.
* Use .xz tarballs as it cuts 4MB for the upstream sources.
* Add nplayers.ini as a patch. Update copyright file to add CC-BY-SA-3.0.

[ Emmanuel Kasper ]
* New upstream release. Closes: #651538.
* Add Free Desktop compliant png icons of various sizes taken from
  the hydroxygen iconset
* Mess is now built from a new source package, to avoid possible source
  incompatibilities between mame and the mess overlay.
* Mame-tools are not built from the mame source package anymore, but
  from the mess source package

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*************************************************************************
2
 
 
3
 
    video/crt.h
4
 
 
5
 
    CRT video emulation for TX-0 and PDP-1
6
 
 
7
 
*************************************************************************/
8
 
 
9
 
#ifndef CRT_H_
10
 
#define CRT_H_
11
 
 
12
 
 
13
 
/*----------- defined in video/crt.c -----------*/
14
 
 
15
 
typedef struct _crt_interface crt_interface;
16
 
struct _crt_interface
17
 
{
18
 
        int num_levels;
19
 
        int offset_x, offset_y;
20
 
        int width, height;
21
 
};
22
 
 
23
 
void crt_plot(device_t *device, int x, int y);
24
 
void crt_eof(device_t *device);
25
 
void crt_update(device_t *device, bitmap_t *bitmap);
26
 
 
27
 
DECLARE_LEGACY_DEVICE(CRT, crt);
28
 
 
29
 
#define MCFG_CRT_ADD(_tag, _interface) \
30
 
        MCFG_DEVICE_ADD(_tag, CRT, 0) \
31
 
        MCFG_DEVICE_CONFIG(_interface)
32
 
 
33
 
#endif /* CRT_H_ */