blob: 0cc587254ab3eb8c2cdca7945eb605e0b5ba0fc1 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
/******************************************************************************
tiny.c
mamedriv.c substitute file for "tiny" MAME builds.
Copyright Nicola Salmoria and the MAME Team.
Visit http://mamedev.org for licensing and usage restrictions.
The list of used drivers. Drivers have to be included here to be recognized
by the executable.
To save some typing, we use a hack here. This file is recursively #included
twice, with different definitions of the DRIVER() macro. The first one
declares external references to the drivers; the second one builds an array
storing all the drivers.
******************************************************************************/
#include "driver.h"
#ifndef DRIVER_RECURSIVE
#define DRIVER_RECURSIVE
/* step 1: declare all external references */
#define DRIVER(NAME) extern game_driver driver_##NAME;
#include "tiny.c"
/* step 2: define the drivers[] array */
#undef DRIVER
#define DRIVER(NAME) &driver_##NAME,
const game_driver * const drivers[] =
{
#include "tiny.c"
0 /* end of array */
};
#else /* DRIVER_RECURSIVE */
DRIVER( robby ) /* (c) 1981 Bally Midway */
DRIVER( gridlee ) /* [1983 Videa] prototype - no copyright notice */
DRIVER( alienar ) /* (c) 1985 Duncan Brown */
DRIVER( carpolo ) /* (c) 1977 Exidy */
DRIVER( sidetrac ) /* (c) 1979 Exidy */
DRIVER( targ ) /* (c) 1980 Exidy */
DRIVER( spectar ) /* (c) 1980 Exidy */
DRIVER( teetert ) /* (c) 1982 Exidy */
DRIVER( circus ) /* (c) 1977 Exidy */
DRIVER( robotbwl ) /* (c) 197? Exidy */
DRIVER( crash ) /* (c) 1979 Exidy */
DRIVER( ripcord ) /* (c) 1979 Exidy */
DRIVER( starfire ) /* (c) 1979 Exidy */
DRIVER( starfira ) /* (c) 1979 Exidy */
DRIVER( fireone ) /* (c) 1979 Exidy */
DRIVER( starfir2 ) /* (c) 1979 Exidy */
DRIVER( wrally ) /* (c) 1993 - Ref 930705 */
#endif /* DRIVER_RECURSIVE */
|