summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/pocketc.h
blob: 51e6865b246034435bed44b94a69b1062337d995 (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
// license:GPL-2.0+
// copyright-holders:Peter Trauner
/*****************************************************************************
 *
 * includes/pocketc.h
 *
 ****************************************************************************/

#ifndef MAME_INCLUDES_POCKETC_H
#define MAME_INCLUDES_POCKETC_H

#include "emupal.h"

typedef const char *POCKETC_FIGURE[];

class pocketc_state : public driver_device
{
public:
	pocketc_state(const machine_config &mconfig, device_type type, const char *tag)
		: driver_device(mconfig, type, tag) { }

	void pocketc(machine_config &config);

protected:
	void pocketc_draw_special(bitmap_ind16 &bitmap,int x, int y, const POCKETC_FIGURE fig, int color);

	static const unsigned short pocketc_colortable[8][2];

private:
	DECLARE_PALETTE_INIT(pocketc);

};

#endif // MAME_INCLUDES_POCKETC_H